As many I have a heating schedule which is pretty simple. What I want to achieve is that this schedule only is active when I’m not on vacation.
I have created a virtual switch (virtual switch plugin) which PLEG listenens to which is called ‘Vakantie’ (dutch for vacation). If this is NOT switched on the normal schedule should run.
I can’t get it working and really have no clue what I’m doing wrong as this is not really a complicated scenario.
Please see below logic. Any suggestions on what I’m doing wrong?
Schedules
Name Type Time Days
Slapen_Weekend Weekly 23:00:00 5,6
Slapen_week Weekly 22:20:00 1,2,3,4,7
Opstaan_week Weekly 06:20:00 1,2,3,4,5
Opstaan_weekend Weekly 07:00:00 6,7
Thuis Weekly 16:45:00 1,2,3,4,5
Weg Weekly 08:10:00 1,2,3,4,5
Device Properties
Name Device Name Device Variable
vakantieswstat Vakantie Status
Conditions
Name Expression
heatslapen (Slapen_weekend or Slapen_week) and vakantieswstat != 1
heatopstaan (Opstaan_weekend or Opstaan_week) and vakantieswstat != 1
Thuis thuis and vakantieswstat != 1
Weg weg and vakantieswstat != 1
Actions
Actions for Condition: heatslapen
Device Action Arguments
Kamer Thermostaat SetCurrentSetpoint NewCurrentSetpoint=16
Actions for Condition: heatopstaan
Device Action Arguments
Kamer Thermostaat SetCurrentSetpoint NewCurrentSetpoint=19
Actions for Condition: Thuis
Device Action Arguments
Kamer Thermostaat SetCurrentSetpoint NewCurrentSetpoint=19
Actions for Condition: Weg
Device Action Arguments
Kamer Thermostaat SetCurrentSetpoint NewCurrentSetpoint=14