You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, if the bulb is on, the fading and color changes work great.
If the bulb is off, the returned state is a bit different, hue etc are moved under 'dft_on_state'.
Whether on or off, light.on() (stuck into demo.py) fails with
"RuntimeError: Error connecting to bulb".
Clearly connecting works, as we get the status below (this is from the "off" state), but accessing the on-off status is not working.
{"system":{"get_sysinfo":{"sw_ver":"1.4.3 Build 170504 Rel.144921","hw_ver":"1.0","model":"LB130(US)","description":"Smart Wi-Fi LED Bulb with Color Changing","alias":"The Tulip","mic_type":"IOT.SMARTBULB","dev_state":"normal","mic_mac":"50C7BF24C860","deviceId":"801296681DBB068B73C4153BF4B86BDB1801D9ED","oemId":"05BF7B3BE1675C5A6867B7A7E4C9F6F7","hwId":"111E35908497A05512E259BB76801E10","is_factory":false,"disco_ver":"1.0","ctrl_protocols":{"name":"Linkie","version":"1.0"},"light_state":{"on_off":0,"dft_on_state":{"mode":"normal","hue":300,"saturation":90,"color_temp":3800,"brightness":0}},"is_dimmable":1,"is_color":1,"is_variable_color_temp":1,"preferred_state":[{"index":0,"hue":0,"saturation":0,"color_temp":2700,"brightness":50},{"index":1,"hue":0,"saturation":75,"color_temp":0,"brightness":100},{"index":2,"hue":120,"saturation":75,"color_temp":0,"brightness":100},{"index":3,"hue":240,"saturation":75,"color_temp":0,"brightness":100}],"rssi":-60,"active_mode":"none","heapsize":309692,"err_code":0}}}
The text was updated successfully, but these errors were encountered:
First, neat code, I love it.
However, if the bulb is on, the fading and color changes work great.
If the bulb is off, the returned state is a bit different, hue etc are moved under 'dft_on_state'.
Whether on or off, light.on() (stuck into demo.py) fails with
"RuntimeError: Error connecting to bulb".
Clearly connecting works, as we get the status below (this is from the "off" state), but accessing the on-off status is not working.
{"system":{"get_sysinfo":{"sw_ver":"1.4.3 Build 170504 Rel.144921","hw_ver":"1.0","model":"LB130(US)","description":"Smart Wi-Fi LED Bulb with Color Changing","alias":"The Tulip","mic_type":"IOT.SMARTBULB","dev_state":"normal","mic_mac":"50C7BF24C860","deviceId":"801296681DBB068B73C4153BF4B86BDB1801D9ED","oemId":"05BF7B3BE1675C5A6867B7A7E4C9F6F7","hwId":"111E35908497A05512E259BB76801E10","is_factory":false,"disco_ver":"1.0","ctrl_protocols":{"name":"Linkie","version":"1.0"},"light_state":{"on_off":0,"dft_on_state":{"mode":"normal","hue":300,"saturation":90,"color_temp":3800,"brightness":0}},"is_dimmable":1,"is_color":1,"is_variable_color_temp":1,"preferred_state":[{"index":0,"hue":0,"saturation":0,"color_temp":2700,"brightness":50},{"index":1,"hue":0,"saturation":75,"color_temp":0,"brightness":100},{"index":2,"hue":120,"saturation":75,"color_temp":0,"brightness":100},{"index":3,"hue":240,"saturation":75,"color_temp":0,"brightness":100}],"rssi":-60,"active_mode":"none","heapsize":309692,"err_code":0}}}
The text was updated successfully, but these errors were encountered: