Skip to content
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: Bot failed BLEpushChanges with BLE Connection, Error Message: "No devices found during discovery." #1155

Open
Bennsen1984 opened this issue Dec 24, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Bennsen1984
Copy link

Describe the Bug

Hi, i switch from my Macbook Homebridge to an Raspberry Pi Homebridge.

All works fine just the switchbot plugin can´t connect to my bot anymore.
Same config as on my Macbook, after i add the node to bt settings it works perfect. If i shut down the Homebridge on my mac and power up the Homebridge on the Raspberry PI the device is not found.

Same config on the Raspberry PI Switchbot plugin , same device ID but all the time is get the "Bot failed BLEpushChanges with BLE Connection, Error Message: "No devices found during discovery.""

i am on Homebridge v1.8.5.

any idea? would be awesome.
Thanks for any help

To Reproduce

...

Expected Behavior

Like on mac that the bot starts...

Relevant Log Output

[24/12/2024, 17:16:11] [SwitchBot] Restoring existing accessory from cache: Bot deviceId: XXXXXXXXX
[24/12/2024, 17:16:22] [SwitchBot] No devices found during discovery.
[24/12/2024, 17:16:22] [SwitchBot] Bot: Bot failed BLEpushChanges with BLE Connection, Error Message: "No devices found during discovery."

Config for homebridge-switchbot

{
    "name": "SwitchBot",
    "credentials": {
        "token": "XXXXXXXXX",
        "secret": "XXXXXXXX",
        "notice": "Keep your Token & Secret a secret!"
    },
    "options": {
        "devices": [
            {
                "configDeviceName": "Bot",
                "deviceId": "XXX",
                "configDeviceType": "Bot",
                "connectionType": "BLE",
                "customBLEaddress": "XXX",
                "type": "door"
            }
        ],
        "deviceConfig": {
            "Bot": {
                "hide_device": false,
                "mode": "press",
                "type": "door",
                "connectionType": "BLE"
            }
        }
    },
    "_bridge": {
        "username": "0E:E3:70:FD:46:B9",
        "port": 56427
    },
    "platform": "SwitchBot"
}

Screenshots

No response

Device and Model

BOT

Node.js Version

22.12.0

NPM Version

10.9.0

Homebridge Version

1.8.5.

Homebridge Switchbot Plugin Version

4.1.7

Homebridge Config UI X Plugin Version

4.65.2

Operating System

Debian GNU/Linux Bookworm (12)

@domre77
Copy link

domre77 commented Dec 27, 2024

I’m seeing exactly the same on my pi 4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

7 participants