Closed iCarl closed 5 years ago
bluepy leaves things to be desired.. Could you try adding AttributeError to the errors caught on line 293 ?
When it goes through the failed connecting steps, is it always the same mac adress? What range do you have from where you're running this to the closest plejd? Could you try to run it closer (to several of them?)
In this house I just have a Plejd CTR-01. It's about 2 meters and a wall between the Plejd and my Pi 3B.
Any effect by trying to catch that AttributeError ?
It reconnects nicely, but sometimes it still won’t respond.
Seems to be solved since your with the last update and with the addition on line 293. Works great!
So running with catching the AttributeError as well on line 293? I wonder if that's needed, do you get log lines with "Write failed: AttributeError" or similar?
No it doesn't. But it seems to reconnect more often, it might just be my imagination.
Plejd has been disconnecting for a few couple of days.
The most recent log when this was happening is:
It won't always reconnect, bud it did this time, What could be the cause?