HHH - Motion controlled lighting with adaptive ontime

Henning shared this idea 9 months ago
Completed

Hello. I realized I should share my way of doing motion controlled lighting. I think I did this already in the past but cannot find the topic anymore?

Anyway:

I use a virtual meter called "Timer meter" with many different values for different things:

/0453562068c5e1cbc2524d0c9389a6fc

Then I have a rule with a sheduler running every minute. (many other timers I have is moving only every 30min etc)

/bd4646dd9a6127cdba70ea9a76e828de

You can see that the rule above only step down the value if it is above 0.

And when it is 0 it turns the lights off.


And another rule turns the lights on when the motion sensor detects.

/ac3133bdc63c1b52967eb6df042ae141


It also sets the "ontime" to different values depending on the time of the day controlled by the last rule.

/21ece4b0453fb494fa185135fe6368c2


It might look very complexed but I use it for almost everything and have no problems.

Ask questions if you like!

/// Henning

Comments (2)

photo
1

good idea we have to share more rules. Zipato should make a tipic for it ...

photo
1

I have a different approach: