OpenWonderLabs / homebridge-switchbot

The Homebridge SwitchBot plugin allows you to access your SwitchBot Device(s) from HomeKit. Homebridge.
https://www.switch-bot.com/
ISC License
229 stars 47 forks source link

Bug: cannot upgrade beyond v2.13.1 #970

Closed kyi561 closed 1 month ago

kyi561 commented 2 months ago

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

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 1 month ago

This issue has been closed as no further activity has occurred.