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
bug: Ping service: Is creating pings with same port #1200
Comments
that is interesting. I wonder if bridges is stopping and that is causing the port to be identified as unused. Can you share the log file? |
It was a report from manufacture, they are going to get in touch |
Also raised in this forum post - I've asked for a log. Since it's async, I suspect the driver is likely starting to detect the next device before the previous device is counted as registered in the OS. @Williangalvani not sure if you've got some idea how to fix/avoid that. |
This has been raised again, but I've also realised a possible cause, and thought of some ideas for potentially fixing it:
|
It may also be worth just storing a set of known used ports as a blacklist, since I imagine Python's variables will update faster than a port connection does. It's more important to have unique ports than to always have the same / consistent ports, so if we use a blacklist + port connection checking then that may be sufficient. |
Bug description
Steps to reproduce
Connect two pings and a ping360
Primary pain point(s)
The UI does not make sense and it's not possible to know which sensor is being used
Prerequisites
The text was updated successfully, but these errors were encountered: