Astro binding fires sunrise events at midnight

After reinstall the binding and restart the server it works again but It is very weird… Not 100% of times event came at 00:00:32 but most times It came at this time.

I am getting some very odd behaviour from Astro with events triggering at odd times. This list of phase changes shows how weirdly it is working.
07/11/2019 05:30:36 Phase changed from NIGHT to ASTRO_DAWN
07/11/2019 06:12:26 Phase changed from ASTRO_DAWN to NAUTIC_DAWN
07/11/2019 06:47:07 Phase changed from NAUTIC_DAWN to CIVIL_DAWN
07/11/2019 07:27:02 Phase changed from CIVIL_DAWN to DAYLIGHT
07/11/2019 14:49:13 Phase changed from DAYLIGHT to ASTRO_DAWN
07/11/2019 15:01:58 Phase changed from ASTRO_DAWN to DAYLIGHT
07/11/2019 16:07:22 Phase changed from DAYLIGHT to NAUTIC_DAWN
07/11/2019 16:22:02 Phase changed from NAUTIC_DAWN to DAYLIGHT
07/11/2019 16:41:41 Phase changed from DAYLIGHT to CIVIL_DUSK
07/11/2019 17:26:40 Phase changed from CIVIL_DUSK to NAUTIC_DUSK
07/11/2019 17:33:52 Phase changed from NAUTIC_DUSK to CIVIL_DAWN
07/11/2019 17:39:54 Phase changed from CIVIL_DAWN to NAUTIC_DUSK
07/11/2019 17:55:58 Phase changed from NAUTIC_DUSK to ASTRO_DUSK
07/11/2019 18:41:18 Phase changed from ASTRO_DUSK to SUN_RISE
07/11/2019 18:41:58 Phase changed from SUN_RISE to NIGHT
07/11/2019 18:49:25 Phase changed from NIGHT to DAYLIGHT
07/11/2019 18:56:59 Phase changed from DAYLIGHT to NIGHT
07/11/2019 19:03:56 Phase changed from NULL to NIGHT
08/11/2019 05:31:18 Phase changed from NIGHT to ASTRO_DAWN
08/11/2019 06:10:46 Phase changed from ASTRO_DAWN to NAUTIC_DAWN
08/11/2019 07:00:32 Phase changed from NAUTIC_DAWN to CIVIL_DAWN
08/11/2019 07:20:41 Phase changed from CIVIL_DAWN to DAYLIGHT
08/11/2019 16:16:25 Phase changed from DAYLIGHT to ASTRO_DAWN
08/11/2019 16:41:37 Phase changed from ASTRO_DAWN to CIVIL_DUSK
08/11/2019 17:15:33 Phase changed from CIVIL_DUSK to NAUTIC_DUSK
08/11/2019 17:38:07 Phase changed from NAUTIC_DUSK to NAUTIC_DAWN
08/11/2019 17:45:23 Phase changed from NAUTIC_DAWN to ASTRO_DUSK
08/11/2019 18:24:44 Phase changed from ASTRO_DUSK to NIGHT
08/11/2019 18:46:19 Phase changed from NIGHT to CIVIL_DAWN
08/11/2019 18:53:43 Phase changed from CIVIL_DAWN to NIGHT
08/11/2019 19:51:12 Phase changed from NIGHT to SUN_RISE
08/11/2019 20:17:06 Phase changed from SUN_RISE to NIGHT
08/11/2019 20:28:10 Phase changed from NIGHT to DAYLIGHT
08/11/2019 20:59:40 Phase changed from DAYLIGHT to NIGHT

I haven’t included the thing file because I don’t believe it is a configuration issue as it has been working fine up to a week or so ago.

I’ve tried uninstalling and reinstalling the astro binding but it’s still the same.

I’m thinking about doing a fresh openhabian install but I really have better things to do than spend an hour or so trying to restore something that used to work.

It’s clearly not random. There seems to be a ghostly “second channel” operating in opposition. I don’t suggest it is a real channel because it is not interfering at “dawn” times, only “dusk” (by throwing in false dawn changes)

I have one puzzle

The change from NIGHT to NULL is missing. Did you reboot or reload files at this time?

Would that coincide with a daylight savings time change?

You are right, I did reboot around 1900 on 7th, which explains why it didn’t go to NULL.

Good question about DST. I went away the day following the clock change and didn’t notice the problem until I got back. Looking back through the log, it was working on 2nd Nov and changed through the dusk states to night at about the right times. The next change is at 12.27 on the 3rd from NIGHT to DAYLIGHT so looks like something went wrong overnight on the 2nd.