[Solved] Auto reset motion sensor state
-
Is there any way to set the state of a motion sensor (binary_sensor) to "off" from Home Assistant?
My sensor sends a TRIPPED=0 when there's no movement, but if the message is lost or the sensor goes out of battery, I want it to appear as "off" in HA after some time. -
You could use a template binary sensor that is based on the mysensors binary sensor but also checks time since last changed state.
See the last example here for how to use last changed state.
-
@martinhjelmare great idea! Thank you.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login