In the topic “New plugin: Personal Thermostat” I mentioned that I use the following rules:
when [Telefoon Harry is absent for 5 minutes and Telefoon Margreet is absent for 5 minutes and Telefoon Floris is absent for 5 minutes] and its after 8:30 and its before 22:00 and mode of thermostaat = \"auto\" then $SavedTempsetPoint = $thermostaat.temperatureSetpoint and set mode of thermostaat to \"eco\" and set $NobodyHome = 1
and
when [Telefoon Harry is present or Telefoon Margreet is present or Telefoon Floris is present] and its after 8:30 and its before 22:00 and $NobodyHome = 1 then set temp of thermostaat to $SavedTempsetPoint and set $NobodyHome = 0 and set mode of thermostaat to \"auto\"
So today I decided to check how often that had happened the last days/weeks/month. Not one single time!
I created these rules on version 0.8 and they worked fine. Now, on version 0.9 the second rule still works but the first doesn’t do anything (and in spring/summer when switching to 0.9 it wasn’t necessary so I didn’t think any further).
Due to the new syntax I had to change it a little but now I have no idea what’s wrong.
Even when I change the rule to when Telefoon Harry is absent then $SavedTempsetPoint = $thermostaat.temperatureSetpoint and set mode of thermostaat to \"eco\" and set $NobodyHome = 1
it still doesn’t work.
This is completely event driven but even if I change it to when every 10 seconds and if Telefoon Harry is absent then $SavedTempsetPoint = $thermostaat.temperatureSetpoint and set mode of thermostaat to \"eco\" and set $NobodyHome = 1
it still doesn’t work.
Is this a bug in the rules or in the ShellPresenceSensor evaluation?