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

Got error when receiving: {'code': -9999, 'message': 'user ack timeout'} when I sent get_properties to yeelink.light.ceiling23, I got message above. any other device the same codes are working #1969

Open
luoning opened this issue Sep 20, 2024 · 1 comment

Comments

@luoning
Copy link

luoning commented Sep 20, 2024

Got error when receiving: {'code': -9999, 'message': 'user ack timeout'}
when I sent get_properties to yeelink.light.ceiling23, I got message above. any other device the same codes are working

@rytilahti
Copy link
Owner

It could be that you are trying to request more properties than the firmware supports using a single query. You could try get_properties(wanted_properties, max_properties=1) to see if that works for that device, and increment the value until you find the sweet spot for your use case.

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