[SOLVED] Help wanted to get Astro rules working

If you need more than one offset: yes.

I need one with no offset end one with an offset

Yes, create two astro things.

I finaly found why my rules do not trigger!

When I change the offset for my astro thing it seems that the time is not recalculated to the new time (there is no rescheduling of the thing). Thats why my rules do not trigger while I’m testing my astro rules.

when I reboot my Openhab device, all things get scheduled and the rules are working.
It’s a small bug or something?

thanks for helping me guys!

No. The time is recalculated on changes/during openHAB restart and every night at 00:00:

2018-06-08 15:28:36.221 [INFO ] [thome.binding.astro.internal.job.Job] - Scheduled Astro event-jobs for thing astro:sun:shutterkitchen

2018-06-09 00:00:30.208 [INFO ] [thome.binding.astro.internal.job.Job] - Scheduled Astro event-jobs for thing astro:sun:shutterkitchen

is this in the openhab.log or event.log?

In that one

1 Like

I see indeed that the rescheduling is happening at midnight.
But the rule was triggering without using the offset.
after delete the thing and create a new one with another name, it works fine!