adamkempenich / magichome-python

MagicHome Wifi protocol for python.
MIT License
58 stars 17 forks source link

Unable to update RGB light status with Type 3 #7

Open DasCondor opened 2 years ago

DasCondor commented 2 years ago

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?

adamkempenich commented 2 years ago

Just saw this. What kind of light is it?