corbin wrote:Hi farhanito,
My lights have arrived, and like you I was able to control them through sending commands.
To get the light status, I have used a lua script to send {"id":1,"method\":"get_prop","params":["power"]}\r\n to the light and then inspect the result. This works ok but only polls once a minute.
Can I ask why you want to get the status? for my setup I can't see a need - the switch on and off is ok.
regards,
Corbin
Hello Corbin, how are your bulbs working?
I am very new to all this and understand some of lua. How would I by LUA replicate the "Sunrise" and "Sunset" scene from the app?
{"id":1,"method":"set_scene", "params": ["hsv", 300, 70, 100]} ?
Thanks