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

Bug: cannot upgrade beyond v2.13.1

Open kyi561 opened this issue 9 months ago • 0 comments

Describe the Bug

Cannot upgrade beyond v2.13.1 as it keeps saying there are files missing in the repo/npm for the @abandonware/bluetooth_hci_socket components

full upgrade error log attached

@switchbot_homebridge-switchbot-error.log

To Reproduce

Perform upgrade to any version beyond what’s currently installed (v2.13.1)

Expected Behavior

Successful plugin upgrade

Relevant Log Output

Full log attached to description section

Config for homebridge-switchbot

"platforms": [
        {
            "name": "Config",
            "port": 8581,
            "platform": "config"
        },
        {
            "name": "SwitchBot",
            "credentials": {
                "token": "xxxxxx",
                "secret": "xxxxx",
                "notice": "Keep your Token & Secret a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "xxx1",
                        "configDeviceName": "Living Room Fan",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "bot": {
                            "mode": "switch",
                            "deviceType": "fan",
                            "allowPush": true,
                            "doublePress": 1
                        },
                        "firmware": "4.9",
                        "offline": false,
                        "external": false,
                        "logging": "standard"
                    },
                    {
                        "deviceId": "xxx2",
                        "configDeviceName": "Obe's Bedroom Fan",
                        "configDeviceType": "Bot",
                        "connectionType": "OpenAPI",
                        "bot": {
                            "mode": "switch",
                            "deviceType": "fan",
                            "allowPush": true,
                            "doublePress": 1
                        }
                    }
                ],
                "webhookURL": "POST https://api.switch-bot.com/v1.0/webhook/setupWebhook",
                "logging": "standard"
            },
            "platform": "SwitchBot"
        },

Screenshots

No response

Device and Model

Synology NAS ds923+

Node.js Version

V20.9.0

NPM Version

Uncertain how to find this info

Homebridge Version

V1.7.0

Homebridge Switchbot Plugin Version

V2.13.1

Homebridge Config UI X Plugin Version

V4.56.2

Operating System

Synology DSM 7.2.1-69057 update 5

kyi561 avatar May 05 '24 08:05 kyi561