I am currently trying to move my lighting from ST Webcore to Hubitat and wonder what is the best process.
Each of my webcore pistons has multiple actions based on time of day and mode etc using asynchronous execution...
An example of one piston as the following:
Daytime lighting between 10am and 8pm if mode is Home
Evening lighting between 8pm and 10pm if mode is Home
Dimmed lighting from 10pm to 10am if mode is Home
Night lighting if mode is Night
Lights off after x minutes (this is used because i am activating Hue Scenes and need to turn of the physical bulb)
Can this be done with one rule rather than multiple different ones?
I should clarify...if you set your time windows up as separate modes, you can use the "set dimmers per mode" functionality, and most of this can be done in a single rule. If you want time only and not modes, then multiple rules are needed.
Correct. A normal rule will subscribe to all of the conditions, so a change in any of the conditions will cause the rule to be evaluated. If you wanted the triggering device to be different than the condition, then you would want to go with a triggered rule. Hope that makes sense...I can describe in further detail if needed.
That's what I recently did. Used to just have Home, Night, and Away. Still have Night and Away, but split Home into Home - Morning, Home - Day, Home - Evening, and Home - Night to take advantage of the dimmers by mode ability. Now have things like this (using Motion Lighting). Same capability exists in Rule Machine as well.
Looks like that's the way I will go then. Currently I'm using virtual switches to mirror my ST location mode but will work on getting my presence sensors and modes moved over to Hubitat before I do the lighting I think!
The trickier bit will be moving my Bed and Night modes, bed is when 1 of us in bed and the other not, night is when we both go to bed. This is based on the power draw of zwave plugs for mine and my wife's phone chargers. I think I may now be able to crack this though as recently got power monitoring working in HE for the plugs we use
Yes I do. I think the problem is actually within the built in app on HE (Life 360 Connector), since opening the app configuration and hitting Done seems to reset the presence detection to the correct location. But so far it hasn't been reliable for more than a couple days before I have to reset it again.
I am using Hub Link in HE which subscribes to events in ST.
And I then have a number of virtual switches called "ST Location Mode Away, ST Location Mode Home" etc
In WebCore (ST) I have automations that turn of all the unused switches and turns on the required one when the mode changes. i,e when the mode goes to Away all switches except "ST Location Mode Away" turns off. This is then mirrored in HE.
In HE i then have rules that show fire when one of those switches come on
Also as far as I can tell Life360 is proving pretty accurate in HE