Bug: Failed BLEpushChanges With BLE Connection, Error Message: No Devices Found During Discovery.
Bug: failed BLEpushChanges with BLE Connection, Error Message: "No devices found during discovery."
Describe the Bug
The SwitchBot Curtain 3 device is unable to be controlled from the home app, resulting in an error message. This issue is specific to the BLE (Bluetooth Low Energy) connection and is not related to other connection types.
To Reproduce
To reproduce this issue, follow these steps:
- Ensure that the SwitchBot Curtain 3 device is properly paired with the home app.
- Open the home app and attempt to control the SwitchBot Curtain 3 device.
- Observe the error message "No devices found during discovery."
Expected Behavior
The expected behavior is that the SwitchBot Curtain 3 device can be controlled from the home app without any issues.
Relevant Log Output
The following log output is relevant to this issue:
[11/03/2025, 17:47:47] [SwitchBot] Initializing SwitchBot platform...
[11/03/2025, 17:47:48] [SwitchBot] Restoring existing accessory from cache: Curtains deviceId: DEB33427683C
[11/03/2025, 17:47:48] [SwitchBot] Curtain3: Curtains Standby ...
[11/03/2025, 17:48:27] [SwitchBot] Curtain3: Curtains Position Mode: 0, Mode: Performance Mode
[11/03/2025, 17:48:32] [SwitchBot] Curtain3: Curtains failed BLEpushChanges with BLE Connection, Error Message: "No devices found during discovery."
Config for homebridge-switchbot
The following is the configuration for the homebridge-switchbot plugin:
{
"name": "SwitchBot",
"credentials": {
"token": "",
"secret": "",
"notice": "Keep your Token & Secret a secret!"
},
"options": {
"devices": [
{
"configDeviceName": "Curtains",
"deviceId": "DEB33427683C",
"configDeviceType": "Curtain3",
"connectionType": "BLE",
"logging": "standard"
}
],
"BLE": true,
"discoverBLE": true,
"disableLogsforBLE": true,
"logging": "standard"
},
"platform": "SwitchBot"
}
Screenshots
Unfortunately, there are no screenshots available to demonstrate this issue.
Device and Model
The device affected by this issue is the SwitchBot Curtain 3.
Node.js Version
The Node.js version being used is v20.11.1.
NPM Version
The NPM version being used is v10.2.4.
Homebridge Version
The Homebridge version being used is v1.9.0.
Homebridge Switchbot Plugin Version
The Homebridge Switchbot plugin version being used is v4.3.1.
Homebridge Config UI X Plugin Version
Unfortunately, the Homebridge Config UI X plugin version is not available.
Operating System
The operating system being used is Raspbian.
Troubleshooting Steps
To troubleshoot this issue, follow these steps:
- Check the device pairing: Ensure that the SwitchBot Curtain 3 device is properly paired with the home app.
- Check the BLE connection: Ensure that the BLE connection is enabled and functioning properly.
- Check the device configuration: Ensure that the device configuration is correct and up-to-date.
- Check the log output: Check the log output for any error messages or clues that may indicate the cause of the issue.
- Reset the device: Reset the SwitchBot Curtain 3 device to its default settings and re-pair it with the home app.
Possible Causes
The possible causes of this issue are:
- Incorrect device configuration: The device configuration may be incorrect or outdated, leading to the issue.
- BLE connection issues: The BLE connection may be experiencing issues, such as interference or connectivity problems.
- Device pairing issues: The device pairing may be experiencing issues, such as incorrect pairing or pairing with the wrong device.
- Homebridge or plugin issues: Homebridge or the Switchbot plugin may be experiencing issues, such as bugs or compatibility problems.
Conclusion
The SwitchBot Curtain 3 device is unable to be controlled from the home app due to a failed BLEpushChanges with BLE Connection error message. This issue is specific to the BLE connection and is not related to other connection types. To troubleshoot this issue, follow the troubleshooting steps outlined above. The possible causes of this issue are incorrect device configuration, BLE connection issues, device pairing issues, and Homebridge or plugin issues.
Q&A: Bug: failed BLEpushChanges with BLE Connection, Error Message: "No devices found during discovery."
Q: What is the issue with the SwitchBot Curtain 3 device?
A: The SwitchBot Curtain 3 device is unable to be controlled from the home app due to a failed BLEpushChanges with BLE Connection error message.
Q: What is the error message?
A: The error message is "No devices found during discovery."
Q: What are the possible causes of this issue?
A: The possible causes of this issue are:
- Incorrect device configuration: The device configuration may be incorrect or outdated, leading to the issue.
- BLE connection issues: The BLE connection may be experiencing issues, such as interference or connectivity problems.
- Device pairing issues: The device pairing may be experiencing issues, such as incorrect pairing or pairing with the wrong device.
- Homebridge or plugin issues: Homebridge or the Switchbot plugin may be experiencing issues, such as bugs or compatibility problems.
Q: How can I troubleshoot this issue?
A: To troubleshoot this issue, follow these steps:
- Check the device pairing: Ensure that the SwitchBot Curtain 3 device is properly paired with the home app.
- Check the BLE connection: Ensure that the BLE connection is enabled and functioning properly.
- Check the device configuration: Ensure that the device configuration is correct and up-to-date.
- Check the log output: Check the log output for any error messages or clues that may indicate the cause of the issue.
- Reset the device: Reset the SwitchBot Curtain 3 device to its default settings and re-pair it with the home app.
Q: What are the system requirements for this issue?
A: The system requirements for this issue are:
- Node.js Version: v20.11.1
- NPM Version: v10.2.4
- Homebridge Version: v1.9.0
- Homebridge Switchbot Plugin Version: v4.3.1
- Operating System: Raspbian
Q: Can I upgrade or downgrade the Homebridge or plugin versions?
A: Yes, you can upgrade or downgrade the Homebridge or plugin versions to see if it resolves the issue. However, be sure to follow the proper upgrade or downgrade procedures to avoid any potential issues.
Q: Can I reset the device to its default settings?
A: Yes, you can reset the SwitchBot Curtain 3 device to its default settings by following the manufacturer's instructions. This may resolve the issue if it is caused by a configuration problem.
Q: Can I contact support for further assistance?
A: Yes, you can contact the manufacturer's support team for further assistance with this issue. They may be able to provide additional troubleshooting steps or resolve the issue for you.
Q: Is this issue specific to the SwitchBot Curtain 3 device?
A: Yes, this issue is specific to the SwitchBot Curtain 3 device. However, it may also affect other devices that use the same BLE connection technology.
Q: Can I prevent this issue from occurring in the future?
A: Yes, you can prevent this issue from occurring in the future by regularly checking the device configuration and BLE connection, and by following the manufacturer's instructions for troubleshooting and maintenance.