Hi,
i am using astro for having a trigger for sunrise and sunset. The rules work a few days after i restart OH, then they stop working. I do not modify or restart my server during that time. Any ideas where i can search for an error?
The actual time of sunset and sunrise is displayed correctly. I use a mail action to see when the rule doesnt fire (with a working address obv).
Should i use astro in a different way to achieve my goal? What really puzzles me is that it works a few days and then stops …
rule "Licht aus"
when
Channel 'astro:sun:local:rise#event' triggered START
then
Stehlampe_Dimmer.sendCommand(0)
TischlampeRGB_Dimmer.sendCommand(0)
sendMail("mailaddress", "Sonnenaufgang", "Die Sonne ist aufgegangen.")
end
rule "Licht an"
when
Channel 'astro:sun:local:set#event' triggered START
then
Stehlampe_Dimmer.sendCommand(50)
TischlampeRGB_Dimmer.sendCommand(50)
sendMail("mailaddress", "Sonnenuntergang", "Die Sonne ist untergegangen.")
end