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

HomeBridge updated to 1.8.3 which updated Node.JS to 20.14.0 - Had to downgrade to 20.11.0 because of homebridge-eufy-security plug-in - getting a warning #2075

Closed
DWLaurie opened this issue Jun 24, 2024 · 2 comments
Labels

Comments

@DWLaurie
Copy link

Describe The Bug

HomeBridge updated to 1.8.3 which updated Node.JS to 20.14.0 - Had to downgrade to 20.11.0 because of homebridge-eufy-security plug-in - getting a warning

A bug happened!
HomeBridge updated to 1.8.3 which updated Node.js to 20.14.0
I have downgraded Node.js to 20.11.0 but getting this warning:

"[Homebridge UI] [homebridge-config-ui-x] Failed to check registry.npmjs.org for updates: "Cannot read properties of undefined (reading 'length')" - see https://homebridge.io/w/JJSz6 for help."

I checked the perviously mentioned URL and found the phrase "Failed to check registry.npmjs.org for updates" under "NPM Registry Issues".
Hiowever the keywords of "Cannot read properties..." are not listed.
I have not been able to determine what is causing this yet.

PlugIn Version v3.4.2
HomeBridge Version v1.8.3

cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm

*** Homebridge Raspbian "homebridge/homebridge-raspbian-image-v1.1.0-(64bit)" - Raspberry Pi 3 Model B Rev 1.2 ***

Logs

[24/06/2024, 08:58:16] [Hubitat-v2] [Device Event]: (Basement - LG Sidekick) [POWER] is 0.735
[24/06/2024, 08:58:42] [Homebridge UI] [homebridge-config-ui-x] Failed to check registry.npmjs.org for updates: "Cannot read properties of undefined (reading 'length')" - see https://homebridge.io/w/JJSz6 for help.
[24/06/2024, 08:58:42] [Homebridge UI] [homebridge-config-ui-x] Failed to check registry.npmjs.org for updates: "Cannot read properties of undefined (reading 'length')" - see https://homebridge.io/w/JJSz6 for help.
[24/06/2024, 08:58:46] [Hubitat-v2] [Device Event]: (Basement - LG Sidekick) [POWER] is 0.774

Config

{
    "bridge": {
        "name": "Homebridge E75B",
        "username": "USERNAME",
        "port": 51114,
        "pin": "PIN",
        "advertiser": "avahi",
        "bind": [
            "eth0"
        ]
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "dark-mode",
            "tempUnits": "f",
            "lang": "auto",
            "platform": "config"
        },
        {
            "name": "Hubitat-v2",
            "app_url_local": "LOCAL_URL",
            "app_url_cloud": "CLOUD_URL",
            "use_cloud": false,
            "app_id": 187,
            "access_token": "TOKEN",
            "direct_port": 8000,
            "polling_seconds": 3600,
            "temperature_unit": "F",
            "round_levels": true,
            "adaptive_lighting": true,
            "adaptive_lighting_offset": 0,
            "consider_fan_by_name": false,
            "consider_light_by_name": false,
            "validateTokenId": false,
            "logConfig": {
                "debug": false,
                "showChanges": true
            },
            "platform": "Hubitat-v2",
            "_bridge": {
                "username": "USERNAME",
                "port": 59168
            }
        },
        {
            "country": "US",
            "language": "en-US",
            "auth_mode": "token",
            "refresh_token": "REFRESH_TOKEN",
            "username": "USERNAME",
            "password": "PASSWORD",
            "platform": "LGThinQ",
            "devices": [
                {
                    "id": "ID",
                    "name": "Pedestal Washer",
                    "type": "WASHER",
                    "washer_trigger": false
                },
                {
                    "id": "ID",
                    "name": "Washer",
                    "type": "WASHER",
                    "washer_trigger": true,
                    "washer_door_lock": false
                },
                {
                    "id": "ID",
                    "name": "Kitchen Range",
                    "type": "OVEN"
                },
                {
                    "id": "ID",
                    "name": "Dryer",
                    "type": "DRYER",
                    "washer_trigger": true,
                    "washer_door_lock": false
                }
            ],
            "thinq1": false,
            "refresh_interval": 60,
            "_bridge": {
                "username": "USERNAME",
                "port": 42665
            }
        },
        {
            "username": "USERNAME",
            "password": "PASSWORD",
            "country": "US",
            "deviceName": "",
            "platform": "EufySecurity",
            "_bridge": {
                "username": "USERNAME",
                "port": 50825
            },
            "cameras": [
                {
                    "serialNumber": "SERIAL_NUMBER",
                    "rtsp": false,
                    "snapshotHandlingMethod": 3,
                    "refreshSnapshotIntervalMinutes": 0
                },
                {
                    "serialNumber": "SERIAL_NUMBER",
                    "rtsp": false,
                    "snapshotHandlingMethod": 3,
                    "refreshSnapshotIntervalMinutes": 0
                },
                {
                    "serialNumber": "SERIAL_NUMBER",
                    "rtsp": false,
                    "snapshotHandlingMethod": 3,
                    "refreshSnapshotIntervalMinutes": 0
                },
                {
                    "serialNumber": "SERIAL_NUMBER",
                    "rtsp": false,
                    "refreshSnapshotIntervalMinutes": 0
                },
                {
                    "serialNumber": "SERIAL_NUMBER",
                    "rtsp": false,
                    "refreshSnapshotIntervalMinutes": 0
                },
                {
                    "serialNumber": "SERIAL_NUMBER",
                    "rtsp": false,
                    "snapshotHandlingMethod": 3,
                    "refreshSnapshotIntervalMinutes": 0
                },
                {
                    "serialNumber": "SERIAL_NUMBER",
                    "rtsp": false,
                    "snapshotHandlingMethod": 3,
                    "refreshSnapshotIntervalMinutes": 0
                },
                {
                    "serialNumber": "SERIAL_NUMBER",
                    "rtsp": false,
                    "snapshotHandlingMethod": 3,
                    "refreshSnapshotIntervalMinutes": 0
                }
            ],
            "ignoreDevices": []
        }
    ],
    "disabledPlugins": []
}

Homebridge UI Version

UI v4.56.2

Homebridge Version

v1.8.3

Node.js Version

v20.11.0

Operating System

Official Homebridge Raspberry Pi Image

Environment Info

None

Raspberry Pi Model

Raspberry Pi 3 B+

@DWLaurie DWLaurie added the bug label Jun 24, 2024
@donavanbecker
Copy link
Contributor

this is fixed with the latest version of Hombridge UI. v4.56.3

duplicate to #2070

@DWLaurie
Copy link
Author

Upgrading seems to have worked, thank you!

@DWLaurie DWLaurie closed this as not planned Won't fix, can't repro, duplicate, stale Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants