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?

  • thisNotMyName@lemmy.world
    link
    fedilink
    English
    arrow-up
    3
    ·
    1 year ago

    A quick and dirty solution would be using a date input helper, that get’s updated with every run and is used in a condition. But there is probably a smarter way