The desired function here will always be in 5-minute blocks between 5 and 30min. And so on for the 10- and 5-minute might be on the right track by focusing on the finishes_at time, assuming the now() timedeltas are precise ‘s solution also gives me an idea. When there’s 15min left on the timer, the 15min button’s LED should turn on and the others turn off. And I want the scene button LEDs to update as it progresses.įor example, when there’s a 30min request, we illuminate the 30min button and leave the others off. The four scene buttons will set the fan to run for 5, 10, 15, or 30 minutes. Yikes!įor full context, I’m looking to DIY a fancy bath fan timer using a Zooz ZEN32 scene switch Zooz 800 Series Z-Wave Long Range Scene Controller Switch ZEN32 800LR - The Smartest House. Much easier if you can count on the timer never pausing and restarting… but anyways, here’s what i got for ya: alias: handle test timer startĪnd this: alias: handle test timer stop eventsĭidn’t realize this would be so complicated. and when stated, set the “5 minute left timer” again: If i had to do this i think i’d create a “5 minute left timer”… and that timer was set each time the main timer was started or restarted… cancelled when the main timer was cancelled or finished. i have a way for you, but it’s more complicated and messy than 's one liner template…īut template sensors like that only update once at minute, and not necessarily on the minute boundary you may want… This one’s a tough request (at least for me)… an interesting puzzle on how to do this at all cleanly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |