Skip to content
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

Time sync offset (1 hr ahead) #33

Open
mmatesic01 opened this issue Feb 6, 2022 · 2 comments
Open

Time sync offset (1 hr ahead) #33

mmatesic01 opened this issue Feb 6, 2022 · 2 comments

Comments

@mmatesic01
Copy link

mmatesic01 commented Feb 6, 2022

Hi.

When I am starting script as lywsd02 sync "MAC address" my time syncs but time is set +1 hour ahead.
What do I have to do to set the proper time zone?

@mmatesic01
Copy link
Author

Hi,

Nobody here with some a advice?

@nonflammable
Copy link

Change line:
https://github.com/h4/lywsd02/blob/master/scripts/lywsd02#L17
to:
client.time = datetime.utcnow()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants