Closed asc6 closed 1 year ago
This appears to be a new issue in version 2.X and this error didn't exist before in the 1.x versions.
@asc6 It is not an issue with v2.0
This happens when Bluetooth connection cannot be established.
Interesting, I don't recall seeing that error before so maybe it's just now logging or something. I also get [SwitchBot] Curtain: G Office Curtain wasn't able to establish BLE Connection, node-switchbot: [object Object]
which I assume is related. The extra info at the end of both messages is what made me thing it was a bug.
I'll see if I can fix the root issue around bluetooth connectivity then. Thanks!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been closed as no further activity has occurred.
Describe The Bug
When accessing curtains over bluetooth, gives an error after the first curtain. This happens both on standard refresh of bots as well as executing a command
To Reproduce
Send multiple HomeKit updates (like with a scene) for BLE devices
Expected behavior
Bluetooth connectivity with no error.
Relevant log output
Config for homebridge-switchbot
Screenshots
No response
Device & Model
Curtain Bot: Firmware v6.0 (all 3)
Node.js Version
v16.18.0
NPM Version
v8.19.2
Homebridge Version
v1.5.1
Homebridge Switchbot Plugin Version
v2.2.2
Homebridge Config UI X Plugin Version
v4.50.1
Operating System
Raspberry Pi OS Lite