homebridge-switchbot icon indicating copy to clipboard operation
homebridge-switchbot copied to clipboard

Support Request:

Open RyderCragie opened this issue 2 years ago • 0 comments

Describe Your Problem

If my SwitchBot Bot is off and I turn it on via the SwitchBot app, Alexa or Google Home, it doesn't switch to "On" in Apple HomeKit or Homebridge. It is the same if it is on and I turn it off.

Config for homebridge-switchbot

{
    "bridge": {
        "name": "Homebridge B569",
        "username": "0E:7E:21:80:B5:69",
        "port": 51344,
        "pin": "209-15-365",
        "advertiser": "bonjour-hap"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Homebridge",
            "port": 80,
            "auth": "form",
            "theme": "auto",
            "tempUnits": "c",
            "lang": "auto",
            "loginWallpaper": "/Volumes/2 TB HDD/Other/Black.jpg",
            "proxyHost": "homebridge.rydercragie.com",
            "platform": "config"
        },
        {
            "pruning": {
                "pruneMissingCachedAccessories": false,
                "restartsBeforeMissingAccessoriesPruned": 3,
                "pruneAllAccessoriesNextRestart": false
            },
            "whiteEffects": {
                "simultaniousDevicesColorWhite": true,
                "colorWhiteThreshold": 10,
                "colorWhiteThresholdSimultaniousDevices": 50,
                "colorOffThresholdSimultaniousDevices": 5
            },
            "deviceManagement": {
                "blacklistOrWhitelist": "blacklist",
                "blacklistedUniqueIDs": [
                    ""
                ]
            },
            "advancedOptions": {
                "periodicDiscovery": true,
                "namesWithMacAddress": false,
                "logLevel": 3
            },
            "platform": "homebridge-magichome-dynamic-platform"
        },
        {
            "name": "TuyaWebPlatform",
            "options": {
                "username": "*censored*",
                "password": "*censored*",
                "countryCode": "44",
                "platform": "smart_life"
            },
            "defaults": [
                {
                    "id": "03644406c44f33befe4f",
                    "device_type": "light"
                },
                {
                    "id": "50842002b4e62d5730f4",
                    "device_type": "fan"
                }
            ],
            "scenes": false,
            "platform": "TuyaWebPlatform"
        },
        {
            "name": "SwitchBot",
            "credentials": {
                "openToken": "*censored*",
                "notice": "Keep your token a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "F32E8407CE18",
                        "configDeviceType": "Bot",
                        "ble": false,
                        "customBLEaddress": "F32E8407CE18",
                        "bot": {
                            "mode": "switch"
                        }
                    }
                ]
            },
            "platform": "SwitchBot"
        }
    ]
}

Device & Model

SwitchBot Bot

Node.js Version

16.15.0

NPM Version

8.12.1

Homebridge Version

1.4.1

Homebridge SwitchBot Plugin Version

1.13.0

Homebridge Config UI X Plugin Version

4.46.0

Operating System

macOS Monterey (Latest)

RyderCragie avatar Jun 03 '22 20:06 RyderCragie