Hi guys, Been using Openhab for years, many, many times reloaded from scratch.
NOW! Pi4+, loaded current openhab image with etcher. Love the easy setup, accepted default addons except camera. Set the map to my location “washington state, Seattle, USA”. Created a user and the first thing I did was added “Local Sun” in Things. In “Model” configured basic “empty” location the added Local Sun with 2 points, ‘Start sun rise’ and ‘Start sun set’. Simple right?
NOTE: I have another Pi running my home same setup with regards to Astro all works fine.
Now checking sun rise point, it says 2024-10-10 15:25; sun set point, it says 2024-10-11 02:32 ?
Comparing my Good running openhab = sun rise 2024-10-10 07:25 sun set 2024-10-10 18:32.
Not only time is wrong but the date, what?
I have tried reloading several images on serveral PIs, placed the good SD in all my PIs, works well. The problem follows the fresh loaded SD card.
I confirmed loacation coordinates, I confirmed operating system (linux) proper date and time.
Also using putty, I used Openhabian-Config to update and check configuration of time.
I am a loss. Please help.
Might be related to this. Maybe the patch didn’t work?
Precisely what image ?
What do the timestamps in openhab.log say?
Is the java process running with some -Duser.timezone=...
setting ?
Is there any such setting in /etc/default/openhab
?
Image = openhabian-raspios64-latest-202408242032-crc54da0025.img.xz
Opernhab log /var/log/openhab/openhab.log after a reboot
2024-10-10 23:39:21.685 [INFO ] [org.openhab.core.Activator ] - Starting openHAB 4.2.2 (Release Build)
2024-10-10 23:39:23.321 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Time zone set to 'America/Los_Angeles'.
2024-10-10 23:39:23.335 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Location set to '47.20637349244116,-123.06106925010683'.
2024-10-10 23:39:23.337 [INFO ] [.core.internal.i18n.I18nProviderImpl] - Locale set to 'en_US'.
2024-10-10 23:39:54.066 [INFO ] [.core.model.lsp.internal.ModelServer] - Started Language Server Protocol (LSP) service on port 5007
2024-10-10 23:40:14.143 [INFO ] [e.automation.internal.RuleEngineImpl] - Rule engine started.
Java Sorry I am not a programmer unless you give me the exact line to input I am loss.
any such setting Well to be safe I compared the openhab file to the file on my working system both are the same.
BTW Thank you for your help!
ODD: I looked in “Items” and Start SunRise and Start SunSet show the correct Dates & Times but under the Model they are wrong. Again unlike my working system Items and points are the same.
OK = Solved. I open openhabian-config again this time I documented each thing I did to make sure I did all I needed. When I went back to the MODEL after a reboot all is working. I think there is an issue in the image, that can be fixed via openhabian-config. What item fixed I am not sure. Thank you for your help.