Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 107714

Extend the timeout of a motion detector

$
0
0

I have some Zigbee/MQTT motion detectors that have a maximum timeout of 2 minutes. I want to extend this timeout to e.g. 10 minutes and I want to use the state of these motion detectors not as triggers (it’s easy to add a delay there) but as conditions in other automations.

My first idea was to create boolean helpers and have an automation that sets those to false after a delay, but boolean helpers can’t convey the “unavailable” state and also don’t have device classes, so they can only be on/off and not detected/clear.

Ideally I would create some kind of template sensor that can look into the past (“state is clear if motion hasn’t been detected for 10 minutes”) - is something like that possible?

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 107714

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>