@Senfbrot wrote:
Hello guys,
basically, I am missing an idea to implement the following:Setup: I have installed Hassio on a Raspberry, implemented Philips Hue lights via Deconz and connected Hassio to Google Home/Assistant (manual method, not Nabu Casa). Now I can flawlessly turn on my lights with voice commands or change colors, brightness, etc…
Now what I want to implement: I would like the light to be turned on with different colors depending on daytime. For simplification, say orange at night and white at day. And here is my problem: I want this to be the default action. That means, if I say “Hey Google, light on” the light should go on with the appropiate color.
A possible solution would be to track the state of the light, and if it turns on, change the color appropiately. But this results in a flickering of the light, as for a brief moment the light flashes to the last light setting before changing to the right one.
I also tried to artificically change the last light setting without turning the light on or with zero brightness, but this either does not work or cause the light to flash.
I have found the lights_profiles.csv method, where you can choose a profile for a specific light to be the default one. That works with the google commands. But I have no idea if - and if yes, how - I can automatically change the default value in the .csv. Simply loading a profile while the light is turned off does unfortunately not work, because you can only change the profile while turning a light on.
TL;DR: I want my light do turn on with different colors at specific times using “Hey Google, light on” instead of “Hey Google, turn light on orange”.
Thanks in advance for your help, any ideas would be highly appreciated.
Posts: 2
Participants: 2