Astro - rule stops working at some point

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

There was an issue with that a loooong time ago, so if you are on an old build you should upgrade:

Do you mean OH? I am on 2.1.0 - maybe time for an upgrade? :wink:

That’s what we are talking about :grinning:

Yessssss.

1 Like

Alright, will do that. Thanks for the quick help :slight_smile:

1 Like