-
-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug: BLE Device does not work #1161
Comments
I bought the switchbot a few months ago and was really excited to add this to homebridge, and this plugin has not worked once. There have been updates to the app and I have gotten different error messages, but I am now receiving this same error as well when trying to connect through BLE. {
"name": "SwitchBot",
"credentials": {
"notice": "Keep your Token & Secret a secret!"
},
"options": {
"devices": [
{
"configDeviceName": "Sconces",
"deviceId": "D7343130293B",
"configDeviceType": "Bot",
"connectionType": "BLE",
"scanDuration": 5,
"type": "switch",
"mode": "switch",
"disableCaching": true,
"logging": "debug"
}
],
"BLE": true,
"discoverBLE": true,
"logging": "debug"
},
"platform": "SwitchBot"
} |
Hi there. Running into the same error with Switchbot plugin v4.3.1 on Homebridge v1.9.0 on a Raspberry Pi 3B today. The connection itself seems to work fine: The Pi can find the BLE MAC of the Switchbot when running However, nothing happens when I click on the device button in either the Homebridge UI or the Home App on my phone. I started some live logs while clicking on the device in the Home App and discovered the same error:
|
Describe the Bug
Got a Switchbot Bot. Wether it was declared as switch or press mode neither works.
The prerequisites for the BLE mode were met as far as I can tell from the docs. Identification of the switchbot works with the bluetooth of the raspi. But the communication via the plug-in does not work.
To Reproduce
Add Switchbot Bot to Homebridge Setup on Raspberry Pi.
Expected Behavior
Depends: When declared as switch an error code is espected. Declared in "press" mode nothing happens.
Relevant Log Output
Config for homebridge-switchbot
Screenshots
No response
Device and Model
Raspberry Pi 3
Node.js Version
v23.5.0
NPM Version
10.9.2
Homebridge Version
1.8.5
Homebridge Switchbot Plugin Version
4.1.7
Homebridge Config UI X Plugin Version
No response
Operating System
Raspbian
The text was updated successfully, but these errors were encountered: