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

Events from the API seem to have an incorrect time? #218

Open
dbrb2 opened this issue Jan 6, 2025 · 0 comments
Open

Events from the API seem to have an incorrect time? #218

dbrb2 opened this issue Jan 6, 2025 · 0 comments

Comments

@dbrb2
Copy link

dbrb2 commented Jan 6, 2025

I suspect this isn't anything to do with surePy, but perhaps it could be relevant....

I have noticed that when an event occurs - such as my cat leaving the house, I get an alert via the API (and indeed via the official app) within seconds.

However, the time in that event is ~3 minutes in the past
The offset seems to vary a little, but is normally about 3 minutes

So as an example, my cat left at 2121 today
I then retrieved an alert in HA showing "cat away since: 2116" (and this matched the app)

Does this suggest perhaps the hub itself has a time sync problem....?
I had assumed the zigbee message went to the hub, which timestamped the event and sent it to the cloud?

I'll maybe add a local offset for my logging here...I've also raised a ticket with SureFlap.

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

1 participant