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

Reliable way to detect dongle disconnects #154

Open
reinux opened this issue Apr 8, 2021 · 3 comments
Open

Reliable way to detect dongle disconnects #154

reinux opened this issue Apr 8, 2021 · 3 comments

Comments

@reinux
Copy link
Contributor

reinux commented Apr 8, 2021

It seems that the only way to detect when the dongle has disconnected is if a request returns null.

Is there a way we can detect when the dongle disconnects more reliably? Mine seems to be somewhat unstable, and occasionally requires restarting the NetworkManager.

@jacobussystems
Copy link

@reinux Is the instability maybe related to #152?

@reinux
Copy link
Contributor Author

reinux commented Apr 8, 2021

I am using a ConBee II, so it may be, though it isn't as severe in my case -- only once every 10-20 hours as opposed to the 5-10 minutes that #152 reports.

Either way, I think it would be good to have a way to detect disconnects so that we can handle it properly. USB isn't always super reliable, after all.

What might be nice is an exception and a way to reset the connection synchronously.

@jacobussystems
Copy link

Thanks - I agree re. disconnect detection.

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

No branches or pull requests

3 participants