Hi,
How do you configure a scene that will turn on lights when motion and does not turn off until motion sensor has been safe for X time?
I am looking for both Lua and block options, if available.
Until now I have only found option for "delay" meaning lights will turn off after given time no matter if there has been motion during "delay" period.
Hope someone has found a solution for this.
This was a half-joke but it actually works. If you set "Allow to restart a running scene" to 'no' (similar to "if fibaro:countScenes() > 1 then fibaro:abort() end")
you can code like this (almost like in the old days).
Please login or register to see this code.
In practice the fibaro.sleep loop should be changed to a setTimeout loop to adopt the new coding style imposed, because sleep is a bit heavy on the system... - but that's left as an exercise to the reader.
The condition secti