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

bluetooth connection issues after some time - with easy workaround ? #24

Open
Robert-Riedl opened this issue Apr 10, 2024 · 1 comment

Comments

@Robert-Riedl
Copy link

I have now currently 3 devices that are being read with the Bridge and have run in a strange issue - sometimes some devices stop responding (not always the same one, though some more often than others).

But its immediately fixed with restarting the waveplus bridge python script.

so for now, I just have a cronjob that restarts it hourly...

I realize this is difficult to diagnose, with all the variables of different hardware, range and bluetooth in general...
maybe you have some idea though ?

@Robert-Riedl
Copy link
Author

i've disabled my workaround to capture the logoutput:

2024-04-12 15:15:23 -      __main__[  DEBUG] - Reading sensor data for device schlafzimmer
2024-04-12 15:15:23 - libs.waveplus[WARNING] - Failed to communicate with device                                schlafzimmer (attempt 1 of 4): Helper not started (did you call connect()?)
2024-04-12 15:15:24 - libs.waveplus[WARNING] - Failed to communicate with device                                schlafzimmer (attempt 2 of 4): Helper not started (did you call connect()?)
2024-04-12 15:15:25 - libs.waveplus[WARNING] - Failed to communicate with device                                schlafzimmer (attempt 3 of 4): Helper not started (did you call connect()?)
2024-04-12 15:15:25 - libs.waveplus[WARNING] - Failed to communicate with device                                schlafzimmer (attempt 4 of 4): Helper not started (did you call connect()?)
2024-04-12 15:15:25 -      __main__[  ERROR] - Failed to communicate with device schlafzimmer: Failed to communicate with device 2930223305/schlafzimmer

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