this post was submitted on 14 Nov 2023
17 points (100.0% liked)

homeassistant

12027 readers
112 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

I have an automation that turns my driveway lights on when motion is detected. It normally works fairly well but it was windy last night and that caused the automation to trip endlessly as my trees and bushes were whipping around. Lights would come on, shut off 10 minutes later, then turn right back on again. It basically did this all night until I disabled the automation.

I'll do some fine tuning of the motion sensors which will help and I'm considering adding a condition to the automation where it won't trip if the wind speed is above a certain level but how can I add some kind of cool down timer to the automation to prevent it from endlessly engaging?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] champagne_laugh@lemmy.world 6 points 1 year ago (1 children)

I'm using the timer helper for this sort of thing. You can have a condition in your automation for not triggering if the cool down timer is active.

[โ€“] Buelldozer@lemmy.today 2 points 1 year ago

I didn't know that the timer helper existed, I'll check that out!