-
-
Notifications
You must be signed in to change notification settings - Fork 554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Moonlight sync with HA #452
Comments
Does miiocli report the values correctly? If yes, this might be an issue on homeassistant's side. |
Miiocli is the mi home app? If so the answer is yes: the app report the correct value |
Please install this library by "pip". It provides a command line interface called |
|
Hi, sorry for the delay. This is the output:
While on Mi Home App is showing as Night Mode (the real status of the lamp at the moment, not green). |
Thanks! If you turn off the "night mode" does the component/library work as expected? |
Yes. If I change color in HA I can see the change in Mi Home app and viceversa. So the Issue seems related to night mode. Can in be implemented somehow? |
Ok. It can be done via script but there's still a issue. Set scene allow values from 1 to 4 while my moonlight bedlamp has 6 scene. And I'm intrested in using the sixth (night mode). So @syssi do you think it is still achievable? |
Honestly I don't know. You could use the miioclio tool to test all cases. I assume the night mode is a fixed brightness + colortemp. Do you want to cancel the night mode if you change the brightness f.e.? |
Yes. I want to create a goodnight scene (with lamps on night mode) but also a goodmorning scene with a different brightness. |
Well. I see that moonlight bedlamp has 6 available scene while component allow to choose between 4. @rytilahti maybe it can be added to the component? |
I've added scene 5 and 6 in the past. I will close this issue. https://github.com/rytilahti/python-miio/blob/master/miio/philips_moonlight.py#L250-L258 |
Thank you! |
Hi,
I noticed that if I change color or brightness using moonlight lamp the result doesn't change in HA (0.84.6).
The text was updated successfully, but these errors were encountered: