eschava / node-red-contrib-xiaomi-ble

Xiaomi Bluetooth4 (BLE) sensors
MIT License
19 stars 15 forks source link

LYWSD03MMC error: Peripheral already connected #26

Closed kobbejager closed 3 years ago

kobbejager commented 3 years ago

Recently, I added 4 square temperature and humidity sensors (LYWSD03MMC) to my setup with 2 older round sensors. This works well for a while, but after some time, the LYWSD03MMC nodes go one by one into an error state "Peripheral already connected". In a couple of hours, I loose connection to all square sensors, while the older round sensors continue to work.

Restarting my raspberry pi seems to be the only trick to make them work again. For a short while...

kobbejager commented 3 years ago

b108's fork seems to have a patch for this error. I'm going to apply this and give it a try.

eschava commented 3 years ago

Wow, please keep me posted!

kobbejager commented 3 years ago

My sensors have been working flawlessly for a couple of days now. It seems that this patch has solved the issue.

eschava commented 3 years ago

Thanks, will integrate it

eschava commented 3 years ago

Done, 1.3.1 version released with it

talkleasy commented 3 years ago

Thanks for sorting. Works for me as well.