I have yeelight bulb configured with Mozilla WebThings on RPI.
It seems that when I’m sending PUT REST via POSTMAN with following parameters
(A) https://{gateway}.mozilla-iot.org/things/yeelight-{bulb_id}/properties/on
body: {“on”:false}
Current state is:
When bulb is ON request (A) make it OFF
When bulb is OFF request (A) make it ON
Is it work as design or it is a bug?
Expected state
When bulb is OFF request (A) make it OFF (OFF state remains)
I’ve tested version 0.2.1 and I’m not sure if the issue has been fixed correctly.
The current status is:
When the Bulb is:
ON and get OFF PUT REST it’s fine
OFF an get ON PUT REST it’s fine
ON and get ON PUT REST - the resonse tooks around 2 minutes, and Error message
OFF and get OFF PUT REST - the response tooks around 2 minutes and Error message
Error message is "Could not get any response
There was an error connecting to https://xxx.mozilla-iot.org/things/yeelight-0xxxxxx/properties/on."
My expectation is:
that in all 4 cases described above we should get HTTP response 200 status almost immediately independent from the current state of a bulb and a type of the REST sent to it.