Bluetooth temperature sensor - disconnected

Hello!
So i have a bluetooth sensor that works similarly to the xiaomi temperature sensor https://github.com/tim-hellhake/xiaomi-temperature-humidity-sensor-adapter/blob/master/xiaomi-temperature-humidity-sensor-adapter.js
I have based my adapter on this one, I can see the device, get all the infos but after I add the device it always says it is disconnected.


Although if I refresh the page the value will update (and in my logs I can see the values being printed). Any idea of what is happening?
Is the plugin for the Xiaomi sensors working well? (just to compare). The Ruuvi tag are also similar.
Thank you for the help!

Does this occur with all devices or just the Bluetooth ones?

Just BT ones. But, if I remember correctly, I had this adapter working properly before (last time I worked with it was 1 or 2 months ago)… It would read, refresh and display the measurements without the disconnect warning. And I have not made any major changes to the code (I even tried to revert the ones I did with no success).
Thank you once again!

Honestly, it’s probably just one of a whole host of issues with noble. See here: https://github.com/noble/noble/issues/465