Olivier1974
(Olivier Toussaint)
January 12, 2023, 10:13am
11
Isn’t it easier to just base your automation on the 50 seconds without move detection?
If door is open, you wait for motion clear for a maximum of 50 seconds. Then, if it times out, you can stop the automation, otherwise turn off the light.
A motion sensor is not supposed to become clear instantly.
There is blueprint for that specific case.
I created this from an automation I have been using for awhile. Its not made in the traditional way most lighting automations are done. I prefer to use timers as they seem to be much more reliable especially if you are tinkering with automations alot. This method has proven to be pretty reliable in turning off the lights and fan.
This blueprint requires 2 sensors. A motion and a door/contact sensor.
It also requires 2 timers. One for the light and one for the fan.
It operates under the assump…
or, even better
Hey there,
I created a blueprint for the “wasp in the box” principle. This project is inspired by the App Daemon script wernerhp/ha.appdaemon.wasp .
Why?
I wanted to solve the problem: “The lights in my bathroom should stay on as long as I am in the room. No matter if I move or not.”
For that, the “wasp in the box” principle can be applied. It’s works as the following:
Imagine a wasp that is flying. As long as it flies, there is movement. Now put this wasp inside a box. As long as the box is…
Based on last_update