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
So I cloned the repo, was able to get the connection working between lights.
I have been able to turn the lights on and off. However, I am unable to set the RGB lighting with the color numbers.
I am able to set the white hue from 'soft' to 'cool'.
So what am I doing wrong.
sample code: from magichome import MagicHomeApi controller1 = MagicHomeApi('XXX.XXX.XXX.XXX',3,True) controller1.get_status() output: b'\x815#a\x01\x01\x00\x00\x00\x00\x07\xf0\x0fB' controller1.update_device(0,0,255) result: 'Cool' white light appears.
Any thoughts?
The text was updated successfully, but these errors were encountered:
So I cloned the repo, was able to get the connection working between lights.
I have been able to turn the lights on and off. However, I am unable to set the RGB lighting with the color numbers.
I am able to set the white hue from 'soft' to 'cool'.
So what am I doing wrong.
sample code:
from magichome import MagicHomeApi
controller1 = MagicHomeApi('XXX.XXX.XXX.XXX',3,True)
controller1.get_status()
output: b'\x815#a\x01\x01\x00\x00\x00\x00\x07\xf0\x0fB'
controller1.update_device(0,0,255)
result: 'Cool' white light appears.
Any thoughts?
The text was updated successfully, but these errors were encountered: