Broadlink SP3 stops working after a few days

Logged an issue - see how we go

Same issue here, so thanks for raising it. Would be ideal if it could be a service call (say, broadlink.connect) so it’s not trying thousands of times to connect to a device that’s off.

Hello. I’ve had same issue with 2 SP3s. I’m using HA on RPI 3 B+ and after restart they work from 5 to 20 minutes then randomly unavailable or just do not respond. Digging into python code I’ve found that they create socket descriptor per device instead of per request. So I’ve implemented my version of “mjg59/python-broadlink” module which creates socket as soon as communication with plug needed and it fixed issue. I’ve tested it for few days and it works smooth so created PR https://github.com/mjg59/python-broadlink/pull/283 and hope it will help. Thank you

1 Like