As you can see, all the events are fired at midnight. For my reference I checked the state of the Sunrise Start and it shows correct 21:21. The clock of the Raspberry is also correct. Other cron jobs are correct too.
I tried the Things installed through PaperUI too no change. Reinstalling of the binding didn’t help.
Check what time you get in your items (e.g. Sunset_Time). Also check your regional settings (PaperUI -> Configurtaion -> System). I had the issue, that OpenHab was using the wrong time-zone, so in the logs the time was wrong. If I remember correctly, I had to add “-Duser:timezone=Europe/Madrid” in “start_runtime.sh”.
I’ve never seen anything quite like that with standard OH 2.4.0
It looks like weird coordinates behaviour.
The job schedule at 30 secs past midnight is normal.
Did you use the same names here? That can result in conflict between xxx.things file versions and PaperUI versions. Some obscure problem from file (like wrong quote marks) could still be lurking.
A suggestion - create new named things in PaperUI to test e.g. astro:sun:myhome
the thing created in PaperUI was named astro:sun:local, things created through astro.things astro:sun:home, so it was different.
Amazing that the moon events are fired correctly.
rm /etc/oipenhab2/things/astro.things
rm /etc/openhab2/items/astro.items
remove astro binding through PaperUI
systemctl stop openhab2.service
rm /var/lib/openhab2/tmp/* -r
rm /var/lib/openhab2/cache/* -r
systemctl start openhab2.service
wait long to be sure it’s finished
Install Astro Binding with PaperUI
Add both things from inbox
From Configuration - Things - Lokale Sonnendaten - create Item “LokaleSonnendaten_Set_Startzeit”
In HABPanel create dummy widget and add LokaleSonnendaten_Set_Startzeit Format HH:mm
Well it doesn’t happen for other people.
I’m struggling to think what can influence this outside of polar locations.
As you are using your system defaults now, may we see the values of your discovered Astro Things? (PaperUI - Configuration - Things - Local Sun - Edit)
Can you confirm that you are running plain ordinary OH 2.4 release?
Not the Arctic. Got me beaten, I see nothing odd there.
There can be date weirdness running jobs at exactly midnight - but your Astro version is clearly running with the fix, 30 seconds past midnight.
There is an outstanding Astro issue about locations outside of system time zone / locale. But this does not seem to a very good fit to your symptoms.
I have thought of something - range events earliest/latest modifiers. If these have got inadvertently set to 00:00 or something (the kind of thing that might happen when trying to clear entries in PaperUI) it might cause this effect.
Once again I would suggest starting with a completely new named sun Thing (so that it cannot pick up any cached ranges etc.) for a trial.
@ Peter
The actual config is completly without config files. Only created through PaperUI.
So, that can’t be the problem.
@rossko57
At midnight ther are a lot of events coming from openweather binding. I will try to deactivate this.
I will give it a new try to create it again with completly different names.
As @rossko57 said, there is a problem, when using other Geo-Positions in your Things-File, than in your Default-Parameters defined in your PaperUI. Your settings are different there.
Hi Peter,
thank you.
The next try is to configure all within config files with unique thing names. I will set the coordinates equal to the system settings, thanks. Also I will deactivate openweather binding.
I will report tomorrow.
Greetings Zennix
Hello, I have exactly the same problem since few days. At 00:00:32 I receive the event of sunset end. Astro binding has been working for 1 year more or less. I did not change anything. Maybe the Raspberry was rebooted because power fails but I think this was after the problem.
the same problem here. Astro binding installed and configured through PaperUI. Openhab 2.4. The DateTime values for day start and day end are correctly set (according to the location), but all astro:sun:events are fired at 00:00:30.
Any idea where to look and what to change?
Hi,
There is no replay from the developer. I checked a lot without any success. Now I solved it for me with a timer in a rule counting from the information from correctly set sun rise time.