Open hansw1204 opened 1 day ago
What version were you coming from?
Have you installed all prerequisites of node-switchbot
and noble
?
Side note: I am noticing that you haven't updated your config as it was stated in the
I am unsure of the original version but had two updates waiting so updated once, then once again to 4.0.0. I have updated the config since but get the same. How do I install the pre-requisites for node-switchbot and noble? I was unaware that additional updates had to be done. Many thanks for your help!
Thank you but I have never used BLE, as far as I am aware. Is that required now? The Hub2 is connected via Wifi and I am using the OpenAPI. Also, I am running Homebridge in Docker on a Synology NAS and have no clue how I would install those things.
Thank you but I have never used BLE, as far as I am aware. Is that required now?
The Hub2 is connected via Wifi and I am using the OpenAPI. Also, I am running Homebridge in Docker on a Synology NAS and have no clue how I would install those things.
That module is part of the plugin. So if it can't be installed the plugin cannot work. It is what allows the plugin to work with BLE if you wish to use BLE
I am not using BLE but v4.0.0 is not working for me. It just keeps restarting. However, v 3.8.3 is working for me.
@donavanbecker nope latest beta doesn't solve the problem. In the Homebridge docker container, it looks like you are attempting to activate BLE by default , even if the configuration doesn't require it. Reverting to 3.8.3 does fix the issue.
@donavanbecker nope latest beta doesn't solve the problem. In the Homebridge docker container, it looks like you are attempting to activate BLE by default , even if the configuration doesn't require it. Reverting to 3.8.3 does fix the issue.
In what way does it look like it is atempting to activate BLE by default?
providing no new (debug) logs really doesn't help me get any where
Here is the log for the beta. I have activated debug log for the HUb2, the Bot and one of my nine Indoor/Outdoor Meters. EDIT new link to file https://www.icloud.com/iclouddrive/096UDEe2gpaNJln_3_CyT26rA#@switchbot_homebridge-switchbot.log
Sorry not on the computer anymore. From Donavan log here is what made me suspect the BLE issue:There is a socket that cannot be created by BLE @.**@./bluetooth-hci-socket/lib/native.js:12class BluetoothHciSocketWrapped extends BluetoothHciSocket {^Error: socket creation failed at new BluetoothHciSocketWrapped @.**@./bluetooth-hci-socket/lib/native.js:12:1) at new Hci @.**@./noble/lib/hci-socket/hci.js:100:18) at new NobleBindings @.**@./noble/lib/hci-socket/bindings.js:27:15) at module.exports @.**@./noble/lib/resolve-bindings.js:36:12) at module.exports @.**@./noble/with-custom-binding.js:3:53) at Object.
@donavanbecker nope latest beta doesn't solve the problem. In the Homebridge docker container, it looks like you are attempting to activate BLE by default , even if the configuration doesn't require it. Reverting to 3.8.3 does fix the issue.
In what way does it look like it is atempting to activate BLE by default? providing no new logs really doesn't help me get any where
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>
Describe the Bug
After updating to 4.0.0, the child bridge keeps restarting. So had to downgrade to v3.8.3
To Reproduce
Update plugin to v4.0.0
Expected Behavior
Just run normally
Relevant Log Output
Config for homebridge-switchbot
Screenshots
No response
Device and Model
Switch Bot Hub2, Bot and Sensors
Node.js Version
v20.18.0
NPM Version
N/A
Homebridge Version
v1.8.4
Homebridge Switchbot Plugin Version
v4.0.0
Homebridge Config UI X Plugin Version
v4.61.0
Operating System
Docker