Open janek515 opened 2 years ago
It seems to me that you can't connect successfully to the bulb. Please try to send a nc
to the bulb to test the basic connectivity.
See here: https://github.com/sbidy/pywizlight/issues/89#issuecomment-947428357
It appears to be something else as the response seems fine.
{"method":"getSystemConfig","env":"pro","result":{"mac":"6c29901***","homeId":763***,"roomId":11***,"rgn":"eu","moduleName":"ESP03_SHTW1W_01","fwVersion":"1.28.0","groupId":0,"ping":0}}
Can you please try to send the same command (turn off) via nc
: {"method": "setPilot", "params": {"state": False}}
(replace the part after echo
)
It works as expected and returns {"method":"setPilot","env":"pro","result":{"success":true}}
OS: Windows 11 22623.875 Python: 3.11
Hi, I am able to connect to the bulb and to get its state info back, but when i try altering its state in any way using
bulb.turn_off()
orbulb.set_state(PilotBuilder(colortemp=color_temp))
the following error message is printed: