Page 1 of 1

Save the scene after changing via Google home

Posted: Thu Jul 25, 2019 6:40 pm
by AdrianWójcik
Hello,
how to save the current status of the lights after changing it from another source?

I trying to implement:
If I have daylight switched on with motion sensor and changes color with Google home, I want the next motion sensor detect presence to trigger scene with color set with GH. I need to update the triggered scene after changing the status of the light bulbs. How to do it?

help ;)

Re: Save the scene after changing via Google home

Posted: Thu Jul 25, 2019 9:46 pm
by MarcusZ.
Hello,

your question may be not specific or clear enough (only the next time?) in detail to answer it correctly, so here is just one basic idea:

Would it be suitable to have the motion sensor just turn on (and off) the light? The last on state will then still be valid (unless changed otherwise, or other evil things happen, depending on the way your other means of hue control do its work).

The problem is, you could only detect a change from off to on, and vice versa, using state of a group.
As far as I know, unless not added recently, the bridge does not offer any way to detect a change of color as such. This would only be possible if the change was triggered "smarter" than the regular voice assistant, like using hue hardware, or if a companion sensor gets updated at the status change. Only then you have a chance to update the scene using a rule.

If I got you wrong, and your use case is more or less completely different, please add some more information to reconsider.

Regards,
Marcus

Re: Save the scene after changing via Google home

Posted: Thu Jul 25, 2019 10:09 pm
by AdrianWójcik
Motion sensor turns the lights on. When the lights are on, I change the color via GH. Next detection of presence turns the lights on or maintains it with the color I've chosen by voice.

How to do that?

Re: Save the scene after changing via Google home

Posted: Thu Jul 25, 2019 11:36 pm
by MarcusZ.
AdrianWójcik wrote: Thu Jul 25, 2019 10:09 pm Motion sensor turns the lights on. When the lights are on, I change the color via GH. Next detection of presence turns the lights on or maintains it with the color I've chosen by voice.

How to do that?
As there is not really any more information in that saying, I cannot add more than: have you already tried what I suggested before, and if so, what about it is not working as you require?

Do you already have working motion sensor rules? Did you create those with the original app (and understand what they do) or from scratch using all 4 hue? Sorry, but without knowing where you struggle, it's hard to help in a meaningful way.

Regards,
Marcus

Re: Save the scene after changing via Google home

Posted: Sun Jul 28, 2019 4:20 pm
by AdrianWójcik
I have working rules and I understand how it works. At the beginning I used the original application. I was not happy with it. I'm currently using all 4 hue.

I don't know how to do this in all 4 hue:
1. Sensor snooze
2. Automatic updating of currently used scene for motion sensor after changing it via GH ("Store light state to scene" I need a trigger ;) )

Re: Save the scene after changing via Google home

Posted: Sun Jul 28, 2019 4:52 pm
by AdrianWójcik
3. turn on/off motion sensor via GH