Astro binding phase name is incorrect - NIGHT when it should be DAYLIGHT

  • Platform information:
    • Hardware: Intel

    • OS: 18.04.4 LTS (Bionic Beaver)

    • Java Runtime Environment:

      • openjdk version “1.8.0_232”
      • OpenJDK Runtime Environment (Zulu 8.42.0.21-CA-linux32) (build 1.8.0_232-b18)
      • OpenJDK Client VM (Zulu 8.42.0.21-CA-linux32) (build 25.232-b18, mixed mode)
    • openHAB version: 2.5.4-1

The astro binding is reporting the wrong phase name today, after many months/years of working fine.

My issue is astro_sun_9fe96e5d_phase_name is being set to NIGHT, at 09:43 in the morning.

However, other times look ok to me e.g. astro_sun_9fe96e5d_set_start at 20:57 is correct, along with astro_sun_9fe96e5d_daylight_end. The sunrise time astro_sun_9fe96e5d_rise_start is also correct at 05:13.

An odd one is astro_sun_9fe96e5d_night_start being set to UNDEF - perhaps it’s related?

I’m at a loss to explain it - the sunrise / sunset times look fine to me, but the phase name is NIGHT.

This started at ~5am this morning. Grepping for ‘phase’ shows it cycles through all the phases to DAYLIGHT, but then back to NIGHT.

2020-05-12 13:07:09.285 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_phase_name changed from DAYLIGHT to NOON
2020-05-12 13:12:09.284 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_phase_name changed from NOON to DAYLIGHT
2020-05-12 20:56:00.010 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_phase_name changed from DAYLIGHT to SUN_SET
2020-05-12 21:00:00.008 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_phase_name changed from SUN_SET to CIVIL_DUSK
2020-05-12 21:44:00.006 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_phase_name changed from CIVIL_DUSK to NAUTIC_DUSK
2020-05-12 22:45:00.009 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_phase_name changed from NAUTIC_DUSK to ASTRO_DUSK
2020-05-13 00:00:30.396 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_phase_name changed from ASTRO_DUSK to ASTRO_DAWN
2020-05-13 03:27:00.007 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_phase_name changed from ASTRO_DAWN to NAUTIC_DAWN
2020-05-13 03:27:09.284 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_phase_name changed from NAUTIC_DAWN to NIGHT
2020-05-13 04:29:00.006 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_phase_name changed from NIGHT to CIVIL_DAWN
2020-05-13 04:32:09.288 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_phase_name changed from CIVIL_DAWN to NIGHT
2020-05-13 05:13:00.006 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_phase_name changed from NIGHT to SUN_RISE
2020-05-13 05:17:00.004 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_phase_name changed from SUN_RISE to DAYLIGHT
2020-05-13 05:17:09.288 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_phase_name changed from DAYLIGHT to NIGHT

The items are configured via PaperUI. The following is a log of all astro log entries I have in events.log after a restart.

Any help greatly appreciated.

This is a log of all events related to by astro items after a restart.

2020-05-13 09:43:33.576 [hingStatusInfoChangedEvent] - 'astro:sun:9fe96e5d' changed from UNINITIALIZED to INITIALIZING
2020-05-13 09:43:33.754 [hingStatusInfoChangedEvent] - 'astro:sun:9fe96e5d' changed from INITIALIZING to ONLINE
2020-05-13 09:43:34.826 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_rise_duration changed from NULL to 4
2020-05-13 09:43:34.920 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_noon_end changed from NULL to 2020-05-13T13:08:00.000+0100
2020-05-13 09:43:34.993 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_astroDawn_end changed from NULL to 2020-05-13T03:27:00.000+0100
2020-05-13 09:43:35.024 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_civilDawn_duration changed from NULL to 44
2020-05-13 09:43:35.026 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_noon_duration changed from NULL to 1
2020-05-13 09:43:35.027 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_astroDusk_end changed from NULL to UNDEF
2020-05-13 09:43:35.027 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_nauticDusk_end changed from NULL to 2020-05-13T22:48:00.000+0100
2020-05-13 09:43:35.029 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_eclipse_total changed from NULL to 2020-12-14T16:15:00.000+0000
2020-05-13 09:43:35.051 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_rise_end changed from NULL to 2020-05-13T05:17:00.000+0100
2020-05-13 09:43:35.056 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_astroDawn_start changed from NULL to UNDEF
2020-05-13 09:43:35.098 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_set_start changed from NULL to 2020-05-13T20:57:00.000+0100
2020-05-13 09:43:35.123 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_civilDusk_end changed from NULL to 2020-05-13T21:46:00.000+0100
2020-05-13 09:43:35.128 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_nauticDawn_start changed from NULL to 2020-05-13T03:27:00.000+0100
2020-05-13 09:43:35.134 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_eveningNight_start changed from NULL to UNDEF
2020-05-13 09:43:35.177 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_nauticDusk_duration changed from NULL to 62
2020-05-13 09:43:35.178 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_daylight_start changed from NULL to 2020-05-13T05:17:00.000+0100
2020-05-13 09:43:35.196 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_set_duration changed from NULL to 5
2020-05-13 09:43:35.231 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_civilDawn_start changed from NULL to 2020-05-13T04:29:00.000+0100
2020-05-13 09:43:35.237 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_civilDawn_end changed from NULL to 2020-05-13T05:13:00.000+0100
2020-05-13 09:43:35.238 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_night_start changed from NULL to UNDEF
2020-05-13 09:43:35.248 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_season_spring changed from NULL to 2020-03-20T03:51:00.000+0000
2020-05-13 09:43:35.256 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_eclipse_ring changed from NULL to 2020-06-21T07:41:00.000+0100
2020-05-13 09:43:35.257 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_set_end changed from NULL to 2020-05-13T21:02:00.000+0100
2020-05-13 09:43:35.260 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_nauticDusk_start changed from NULL to 2020-05-13T21:46:00.000+0100
2020-05-13 09:43:35.263 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_nauticDawn_duration changed from NULL to 62
2020-05-13 09:43:35.287 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_civilDusk_start changed from NULL to 2020-05-13T21:02:00.000+0100
2020-05-13 09:43:35.289 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_daylight_duration changed from NULL to 940
2020-05-13 09:43:35.291 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_morningNight_end changed from NULL to UNDEF
2020-05-13 09:43:35.294 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_night_duration changed from NULL to UNDEF
2020-05-13 09:43:35.303 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_astroDawn_duration changed from NULL to UNDEF
2020-05-13 09:43:35.313 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_daylight_end changed from NULL to 2020-05-13T20:57:00.000+0100
2020-05-13 09:43:35.320 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_season_winter changed from NULL to 2020-12-21T10:04:00.000+0000
2020-05-13 09:43:35.486 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_nauticDawn_end changed from NULL to 2020-05-13T04:29:00.000+0100
2020-05-13 09:43:35.487 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_eclipse_partial changed from NULL to 2022-04-30T21:42:00.000+0100
2020-05-13 09:43:35.487 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_season_summer changed from NULL to 2020-06-20T22:45:00.000+0100
2020-05-13 09:43:35.488 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_astroDusk_start changed from NULL to 2020-05-13T22:48:00.000+0100
2020-05-13 09:43:35.488 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_phase_name changed from NULL to NIGHT
2020-05-13 09:43:35.489 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_rise_start changed from NULL to 2020-05-13T05:13:00.000+0100
2020-05-13 09:43:35.489 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_civilDusk_duration changed from NULL to 44
2020-05-13 09:43:35.490 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_morningNight_start changed from NULL to 2020-05-13T00:41:00.000+0100
2020-05-13 09:43:35.490 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_season_name changed from NULL to SPRING
2020-05-13 09:43:35.491 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_eveningNight_end changed from NULL to UNDEF
2020-05-13 09:43:35.492 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_night_end changed from NULL to UNDEF
2020-05-13 09:43:35.493 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_morningNight_duration changed from NULL to UNDEF
2020-05-13 09:43:35.493 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_season_autumn changed from NULL to 2020-09-22T14:32:00.000+0100
2020-05-13 09:43:35.494 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_eveningNight_duration changed from NULL to UNDEF
2020-05-13 09:43:35.500 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_noon_start changed from NULL to 2020-05-13T13:07:00.000+0100
2020-05-13 09:43:35.501 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_astroDusk_duration changed from NULL to UNDEF

I did check there is no solar eclipse around this time!

There are a lot of UNDEF in there; this is he kind of thing you see where the events make no sense e.g. sunset in the summer arctic. May we know your latitude?
The times of most events do suggest there is nothing unusual there, though.

This looks like calculation messing up somewhere

Hi,

I have the location in the binding config set to (roughly) 53.5000,-2.4000

I have recently installed the gpstracker binding - I’m now wondering if that affects the astro binding somehow.

…and just like that, it’s working again after another restart.

2020-05-13 12:12:24.150 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_phase_name changed from NULL to DAYLIGHT

Whether it’s because I restarted after 12pm or something, I don’t know… I’ll keep my eye on it over the next few days.

Full output:

2020-05-13 12:12:22.071 [hingStatusInfoChangedEvent] - 'astro:sun:9fe96e5d' changed from UNINITIALIZED to INITIALIZING
2020-05-13 12:12:22.235 [hingStatusInfoChangedEvent] - 'astro:sun:9fe96e5d' changed from INITIALIZING to ONLINE
2020-05-13 12:12:23.221 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_rise_duration changed from NULL to 4
2020-05-13 12:12:23.234 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_noon_end changed from NULL to 2020-05-13T13:08:00.000+0100
2020-05-13 12:12:23.278 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_astroDawn_end changed from NULL to 2020-05-13T03:27:00.000+0100
2020-05-13 12:12:23.318 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_eclipse_total changed from NULL to 2020-12-14T16:15:00.000+0000
2020-05-13 12:12:23.329 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_rise_end changed from NULL to 2020-05-13T05:17:00.000+0100
2020-05-13 12:12:23.330 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_astroDawn_start changed from NULL to UNDEF
2020-05-13 12:12:23.331 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_nauticDusk_end changed from NULL to 2020-05-13T22:48:00.000+0100
2020-05-13 12:12:23.331 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_astroDusk_end changed from NULL to UNDEF
2020-05-13 12:12:23.343 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_noon_duration changed from NULL to 1
2020-05-13 12:12:23.349 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_civilDawn_duration changed from NULL to 44
2020-05-13 12:12:23.367 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_set_start changed from NULL to 2020-05-13T20:57:00.000+0100
2020-05-13 12:12:23.373 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_civilDusk_end changed from NULL to 2020-05-13T21:46:00.000+0100
2020-05-13 12:12:23.406 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_nauticDawn_start changed from NULL to 2020-05-13T03:27:00.000+0100
2020-05-13 12:12:23.407 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_eveningNight_start changed from NULL to UNDEF
2020-05-13 12:12:23.438 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_nauticDusk_duration changed from NULL to 62
2020-05-13 12:12:23.455 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_daylight_start changed from NULL to 2020-05-13T05:17:00.000+0100
2020-05-13 12:12:23.470 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_set_duration changed from NULL to 5
2020-05-13 12:12:23.515 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_civilDawn_start changed from NULL to 2020-05-13T04:29:00.000+0100
2020-05-13 12:12:23.575 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_civilDawn_end changed from NULL to 2020-05-13T05:13:00.000+0100
2020-05-13 12:12:23.599 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_night_start changed from NULL to UNDEF
2020-05-13 12:12:23.612 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_season_spring changed from NULL to 2020-03-20T03:51:00.000+0000
2020-05-13 12:12:23.647 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_eclipse_ring changed from NULL to 2020-06-21T07:41:00.000+0100
2020-05-13 12:12:23.693 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_set_end changed from NULL to 2020-05-13T21:02:00.000+0100
2020-05-13 12:12:23.781 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_nauticDusk_start changed from NULL to 2020-05-13T21:46:00.000+0100
2020-05-13 12:12:23.781 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_nauticDawn_duration changed from NULL to 62
2020-05-13 12:12:23.839 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_civilDusk_start changed from NULL to 2020-05-13T21:02:00.000+0100
2020-05-13 12:12:23.842 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_daylight_duration changed from NULL to 940
2020-05-13 12:12:23.850 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_morningNight_end changed from NULL to UNDEF
2020-05-13 12:12:23.869 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_night_duration changed from NULL to UNDEF
2020-05-13 12:12:23.881 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_astroDawn_duration changed from NULL to UNDEF
2020-05-13 12:12:23.883 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_daylight_end changed from NULL to 2020-05-13T20:57:00.000+0100
2020-05-13 12:12:23.901 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_season_winter changed from NULL to 2020-12-21T10:04:00.000+0000
2020-05-13 12:12:24.138 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_nauticDawn_end changed from NULL to 2020-05-13T04:29:00.000+0100
2020-05-13 12:12:24.139 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_eclipse_partial changed from NULL to 2022-04-30T21:42:00.000+0100
2020-05-13 12:12:24.139 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_season_summer changed from NULL to 2020-06-20T22:45:00.000+0100
2020-05-13 12:12:24.140 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_astroDusk_start changed from NULL to 2020-05-13T22:48:00.000+0100
2020-05-13 12:12:24.150 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_phase_name changed from NULL to DAYLIGHT
2020-05-13 12:12:24.150 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_rise_start changed from NULL to 2020-05-13T05:13:00.000+0100
2020-05-13 12:12:24.151 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_civilDusk_duration changed from NULL to 44
2020-05-13 12:12:24.152 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_morningNight_start changed from NULL to 2020-05-13T00:41:00.000+0100
2020-05-13 12:12:24.152 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_season_name changed from NULL to SPRING
2020-05-13 12:12:24.153 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_eveningNight_end changed from NULL to UNDEF
2020-05-13 12:12:24.153 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_night_end changed from NULL to UNDEF
2020-05-13 12:12:24.154 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_morningNight_duration changed from NULL to UNDEF
2020-05-13 12:12:24.154 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_astroDusk_duration changed from NULL to UNDEF
2020-05-13 12:12:24.162 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_noon_start changed from NULL to 2020-05-13T13:07:00.000+0100
2020-05-13 12:12:24.174 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_season_autumn changed from NULL to 2020-09-22T14:32:00.000+0100
2020-05-13 12:12:24.189 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_eveningNight_duration changed from NULL to UNDEF

I’m guessing it was some freak maths error in the calculation, like an overflow or suchlike. This lasted over two calendar days, it seems?

Looking at your “funny” updates list, the most fundamental looking would maybe be astrodusk and astrodawn messing up to UNDEF. The day/night stuff no doubt derives from those.

See what happens at next midnight, when the day ahead is calculated.

Thanks for the help @rossko57. It looks fine today - the phase name is working as usual.

Interestingly, I think there’s something related.

There is now no astronomical night time for where I live - the last date with astronomical night was 13th May (the day I had the problem). I don’t know if it’s the cause, but it sounds too much of a coincidence.

See https://www.timeanddate.com/sun/uk/manchester

For ref, here’s the log on “switch over” today (14th May) just past midnight:

2020-05-14 00:00:30.431 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_rise_start changed from 2020-05-13T05:13:00.000+0100 to 2020-05-14T05:11:00.000+0100
2020-05-14 00:00:30.453 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_rise_end changed from 2020-05-13T05:17:00.000+0100 to 2020-05-14T05:16:00.000+0100
2020-05-14 00:00:30.453 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_rise_duration changed from 4 to 5
2020-05-14 00:00:30.454 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_set_start changed from 2020-05-13T20:57:00.000+0100 to 2020-05-14T20:59:00.000+0100
2020-05-14 00:00:30.454 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_set_end changed from 2020-05-13T21:02:00.000+0100 to 2020-05-14T21:03:00.000+0100
2020-05-14 00:00:30.455 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_set_duration changed from 5 to 4
2020-05-14 00:00:30.455 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_noon_start changed from 2020-05-13T13:07:00.000+0100 to 2020-05-14T13:07:00.000+0100
2020-05-14 00:00:30.456 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_noon_end changed from 2020-05-13T13:08:00.000+0100 to 2020-05-14T13:08:00.000+0100
2020-05-14 00:00:30.456 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_morningNight_start changed from 2020-05-13T00:41:00.000+0100 to UNDEF
2020-05-14 00:00:30.459 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_astroDawn_end changed from 2020-05-13T03:27:00.000+0100 to 2020-05-14T03:24:00.000+0100
2020-05-14 00:00:30.461 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_nauticDawn_start changed from 2020-05-13T03:27:00.000+0100 to 2020-05-14T03:24:00.000+0100
2020-05-14 00:00:30.462 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_nauticDawn_end changed from 2020-05-13T04:29:00.000+0100 to 2020-05-14T04:27:00.000+0100
2020-05-14 00:00:30.464 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_nauticDawn_duration changed from 62 to 63
2020-05-14 00:00:30.465 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_civilDawn_start changed from 2020-05-13T04:29:00.000+0100 to 2020-05-14T04:27:00.000+0100
2020-05-14 00:00:30.466 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_civilDawn_end changed from 2020-05-13T05:13:00.000+0100 to 2020-05-14T05:11:00.000+0100
2020-05-14 00:00:30.469 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_astroDusk_start changed from 2020-05-13T22:48:00.000+0100 to 2020-05-14T22:51:00.000+0100
2020-05-14 00:00:30.471 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_nauticDusk_start changed from 2020-05-13T21:46:00.000+0100 to 2020-05-14T21:48:00.000+0100
2020-05-14 00:00:30.471 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_nauticDusk_end changed from 2020-05-13T22:48:00.000+0100 to 2020-05-14T22:51:00.000+0100
2020-05-14 00:00:30.473 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_nauticDusk_duration changed from 62 to 63
2020-05-14 00:00:30.475 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_civilDusk_start changed from 2020-05-13T21:02:00.000+0100 to 2020-05-14T21:03:00.000+0100
2020-05-14 00:00:30.476 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_civilDusk_end changed from 2020-05-13T21:46:00.000+0100 to 2020-05-14T21:48:00.000+0100
2020-05-14 00:00:30.477 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_civilDusk_duration changed from 44 to 45
2020-05-14 00:00:30.482 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_daylight_start changed from 2020-05-13T05:17:00.000+0100 to 2020-05-14T05:16:00.000+0100
2020-05-14 00:00:30.483 [vent.ItemStateChangedEvent] - astro_sun_9fe96e5d_daylight_end changed from 2020-05-13T20:57:00.000+0100 to 2020-05-14T20:59:00.000+0100

Yup, too much coincidence. So we get the kind of sequence where “astronomical dusk” can have a start, but no end, and likewise “astronomical dawn” can end without having begun.
That seems to be exactly born out in your most recent log.

I’ve no idea how the phase change “state machine” derives its changes, but looks to have messed up in this edge case.
I’d say to log a github report on Astro binding, to have that looked into.

Hello,

i discovered the same issue today at my main location (geolocation=“53.47092,9.719799999999964,3.12”) while a second location I have configured (geolocation=“53.989512,9.56855250000001,22”) is just fine.
I had a look at older logs and discovered the same issue on the second location on May 12th.
As you already estimated it seems to be related to a change in Astronomical Twilight.

I’ve submitted the bug report here: https://github.com/openhab/openhab-addons/issues/7642

Fingers crossed :slight_smile:

1 Like