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

Better status polling #5

Open
Murkrow02 opened this issue Jul 4, 2024 · 0 comments
Open

Better status polling #5

Murkrow02 opened this issue Jul 4, 2024 · 0 comments

Comments

@Murkrow02
Copy link
Contributor

The client pings the matrix every x seconds to know if is online and to update current playing widet.

This can slow down the widget on the matrix by calling when there's no need and could be improved by only use polling when BLE is not available.

When BLE is available the device should update its status only when disconnected from BLE and also retrieve the current playing widget when a BLE notification is sent

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