Hey folks,
It’s not that Easy to build really clever rules to control your home.
I hope we can collect some nice idea in this thread.
Mobile phone present variable:
If device x is present then $device-online = "true"
Evening variable
If 240 minutes before sunset then $abend = "true"
- Control lamp
A:
If lightmode-switch is on and $nodexxlight.light <= "25" and kleine Stehlampe is turned off and nodexxpir is present and "$abend" = "true" then turn on kleine Stehlampe
B:
If lightmode-switch is on and kleine Stehlampe is turned on for min(2) minutes and $nodexxlight.light >= 35 for 5 minutes then turn off kleine Stehlampe
C:
If lightmode-switch is on and kleine Stehlampe is turned on for min(2) minutes and nodexxpir is absent for 5 minutes and rftv is turned off then turn off kleine Stehlampe
Regards
n3ro