|
@ -18,7 +18,7 @@ end |
|
|
// Turn on heating if someone returns home during heating time period |
|
|
// Turn on heating if someone returns home during heating time period |
|
|
rule "Heizung Wohnzimmer ein 2" |
|
|
rule "Heizung Wohnzimmer ein 2" |
|
|
when |
|
|
when |
|
|
Item Presence_Overall received command ON |
|
|
Item Presence_Overall changed to ON |
|
|
then |
|
|
then |
|
|
if (ThermostatEGWohnzimmer_Status.state==ON) { |
|
|
if (ThermostatEGWohnzimmer_Status.state==ON) { |
|
|
sendCommand(ThermostatEGWohnzimmer_4_SetTemperature, 19) |
|
|
sendCommand(ThermostatEGWohnzimmer_4_SetTemperature, 19) |
|
@ -28,7 +28,7 @@ end |
|
|
// Turn off (turn to a lower temperature) heating if everybody has left home or heating time period is over |
|
|
// Turn off (turn to a lower temperature) heating if everybody has left home or heating time period is over |
|
|
rule "Heizung Wohnzimmer aus" |
|
|
rule "Heizung Wohnzimmer aus" |
|
|
when |
|
|
when |
|
|
Item Presence_Overall received command OFF or |
|
|
Item Presence_Overall changed to OFF or |
|
|
Time cron "0 0 22 ? * MON" or |
|
|
Time cron "0 0 22 ? * MON" or |
|
|
Time cron "0 0 22 ? * TUE" or |
|
|
Time cron "0 0 22 ? * TUE" or |
|
|
Time cron "0 0 22 ? * WED" or |
|
|
Time cron "0 0 22 ? * WED" or |
|
|