No, the only solution I can suggest is to pass the React call to your own backend somewhere, perform the request there, then forward the response back to your App. Less than ideal
Beiträge von jymbob
-
-
You can specify a no-cors request if you use the fetch API rather than the XMLHttpRequest object:
Edit:
Of course, looking into it, while that allows the response to happen, you get an "opaque" response so still can't access the JSON packet in javascript.
Agreed that adding some headers might fix this, but my understanding from another support request is that space on these devices is tight
-
Thanks. Sent and response received
Apparently it's a memory limitation at the moment, so a known issue. I've asked if the docs can be updated
-
How do I report this bug to the developers to get it fixed in the next firmware release?
66er any ideas?
-
No difference with or without the trailing slash.
However, if I switch it to color mode it works. Looks like turn=toggle is missing from the white endpoint.
-
According to this page RGBW2 should support http://192.168.x.xxx/white/n/?turn=toggle, but I get "Bad turn!"
I'm trying to use a wifi connected button to switch a light that won't have a wired switch, but without toggle I'm stumped.
Was this feature removed? Can it be added back?
Firmware: 20191216-090536/v1.5.7@c30657ba
-
I've just installed my first RGBW2, and that doesn't appear to require anything on the switch input.