-
-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sync_clock functionality doesn't use home assistant time #97
Comments
if you use the sync_clock it will use the time.localtime() from the home-assistant server. Note: velbustcp (from velbus) also has a sync clock functionality, this one will use the time from the container/system where its running. are you use it came from the hass sync_clock service? |
Hey @cereal2nd I call the sync_clock service from HA, I just collected the logs from the velbus integration. 2024-04-02 20:33:27.539 DEBUG (MainThread) [velbus-protocol] TX: RawMessage(priority=fb, address=00, rtr=False, command=216, data=b'd8 01 14 21') I believe that is the SYNC clock command. But when I check {{ now() }} in my HA, i see 22:33 I don't know if you can use home assistant time in the sync instead of the time.localtime which is apparentaly the linux host time. Doesn't really matter as the "non-issue" is solveable, but using actual configurable HA time might be somewhat easier/nicer to have? Anyway, sorry for the long post, the trouble and false issue rapport. Cheers |
I have an issue where the sync clock function uses a system time of the velserv tcp server (which in my case is a docker container with the wrong time).
Using velbuslink software (this uses the same TCP server as connection) I can set the correct time from the software.
Could the integration somehow use the timestamp of home assistant in the sync message?
The text was updated successfully, but these errors were encountered: