Hey all,
I’ve already read a few threads about astro & rule triggers. I do experience some quirks as well that rules are not being triggered properly. This is how I’m affected:
I do have astro binding sunset Switches like the below:
Switch EG_Blinds_Close_Event {astro="planet=sun, type=set, property=end, offset=1"}
Then I have a rule that closes the blinds at that point in time.
rule "OG Rolläden Abend"
when
Item OG_Blinds_Close_Event received update ON
then
logInfo("OG Rollaeden", "Abend Stellung für alle OG Rollaeden")
sendCommand(og_rollaeden, 2)
end
I can see the item change in events.log, but the corresponding logInfo that the rule is triggred does not apprear.
2015-09-12 19:54:00 - OG_Blinds_Close_Event state updated to ON
2015-09-12 19:54:00 - OG_Blinds_Close_Event state updated to OFF
One minute later, I do have a second rule based on Astro, that turns on the lights after the blinds are closed which is exectud properly.
item:
Switch EG_Lights_On_Event {astro="planet=sun, type=set, property=end, offset=2"}
rule:
rule "OG Lichter an"
when
Item OG_Lights_On_Event received update ON
then
logInfo("OG Lampen", "Schalte OG Lampen an")
gOG_Lichter?.members.forEach(light,i|createTimer(now.plusSeconds(i)) [|sendCommand(light, ON)])
end
events.log & openhab.log
2015-09-12 19:55:00 - OG_Lights_On_Event state updated to ON
2015-09-12 19:55:00 - OG_Lights_On_Event state updated to OFF
2015-09-12 19:55:00.026 [INFO ] [openhab.model.script.OG Lampen] - Schalte OG Lampen an
Something is preventing Openhab to execute the rule. I dont think its a hardware issue, since its a Core i5 server with 12GB main memory runnung Ubuntu Server.
Any ideas how to get to the bottom of this?
Thanks much.