WavePlus_Bridge icon indicating copy to clipboard operation
WavePlus_Bridge copied to clipboard

bluetooth connection issues after some time - with easy workaround ?

Open Robert-Riedl opened this issue 1 year ago • 1 comments

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 avatar Apr 10 '24 15:04 Robert-Riedl

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

Robert-Riedl avatar Apr 12 '24 13:04 Robert-Riedl