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

Inconsistent/slow updates from locks #22

Closed
jbergler opened this issue Apr 21, 2023 · 4 comments
Closed

Inconsistent/slow updates from locks #22

jbergler opened this issue Apr 21, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@jbergler
Copy link
Owner

I've played a little more and It's getting some of the status updates, some take over a minute to come through. Is there anything i can do to improve this?
Screenshot 2023-04-21 at 09 24 21

Originally posted by @stevearmitage in #1 (comment)

@jbergler
Copy link
Owner Author

@stevearmitage I think I'll need more data from you to dig into this.

My suspicion is that the data is just not coming through TTLock's cloud reliably, but if you could turn on debug mode for the extension your home assistant logs should have the raw events as they are received via the webhook.

If you see an event come in, but it's not being processed can you share those logs and I can take a look.

@stevearmitage
Copy link

This is probably the cause

This error originated from a custom integration.

Logger: custom_components.ttlock.api
Source: custom_components/ttlock/api.py:88
Integration: TTLock (documentation, issues)
First occurred: 14:39:13 (1 occurrences)
Last logged: 14:39:13

Received bad state for <custom_components.ttlock.api.ApiLock object at 0xffff576f53f0> state={'errcode': -3003, 'errmsg': 'The gateway is busy. Please try again later.', 'description': '网关正忙,请稍后再试。'}

@jbergler
Copy link
Owner Author

jbergler commented Apr 21, 2023 via email

@jbergler jbergler added the bug Something isn't working label Apr 21, 2023
@jbergler
Copy link
Owner Author

For the record, I think this was addressed by the changes for #34 so I'm going to mark this as closed but please feel free to re-open it if you still see these issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants