homebridge-eufy-security / plugin

Homebridge plugin to control certain Eufy Security devices
Apache License 2.0
166 stars 24 forks source link

[Bug]: Plugin causing bootloop after saving config. Might be by cameras... #92

Closed jabackes closed 1 year ago

jabackes commented 2 years ago

What happened?

I have two different cameras an am part of the Eufy Security beta team. I have one that is for sure on a beta firmware (and don't know how to enroll it into the "standard" firmware. Officialy I'm probably not supposed to even mention that I have it here. Anyway. I'd been wanting to setup Eufy Security plugin to get my doorbell on the HomeKit side so I can get notifications outside of the Eufy app.

When setting up the guest admin account everything works on my iOS devices in the Eufy App, but when adding the plugin (I've tried the installing versions 1.0.8, 2.0.0, 2.0.1 and the 2.1.0b2 builds, in each case I either reset the plugin and re-login, or paste my credentials as saved from the original 2.0.1 install.)

No matter what I do, when logged in with my credentials I begin experiencing a boot loop.

Device Type

other (UnSupported)

Plugin Version

v2.0.x (Supported)

HomeBridge Version

v1.4.x (Supported)

NodeJS Version

v14 (Supported)

Operating System

Mac OS X 11+ (Supported)

Relevant log output

[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:39:26)
    at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:295:50)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:39:26)
    at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:295:50)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:39:26)
    at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:295:50)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:39:26)
    at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:295:50)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:39:26)
    at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:295:50)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:39:26)
    at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:295:50)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:275:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:61:26)
    at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:51)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:61:26)
    at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:51)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:61:26)
    at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:51)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:61:26)
    at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:51)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:61:26)
    at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:51)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
[6/24/2022, 12:44:04 PM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined
    at new NodeError (node:internal/errors:372:5)
    at Function.from (node:buffer:323:9)
    at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:24:35)
    at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:34:18)
    at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:61:26)
    at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:51)
    at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:51
    at Array.map (<anonymous>)
    at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:276:29)
    at Socket.<anonymous> (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:364:26)
github-actions[bot] commented 2 years ago

Did you check this Common Issues pages ?

jabackes commented 2 years ago

Did you check this Common Issues pages ?

yes I have, not seen on this list ^_^ thanks, good bot!

jabackes commented 2 years ago

I just tried to disable my "porch" camera which is my beta camera... testing again...

jabackes commented 2 years ago

I just tried to disable my "porch" camera which is my beta camera... testing again...

no change. still getting boot loop... here's a listing of all the cameras I do have and their versions:

Camera - "Front Door" - Battery/Wired Doorbell (I think they called it the "add on") - T8210 - Ver. 2.2.3.3 Camera - "River View" - eufyCam 2C - Ver. 1.7.4 subsystem 1.0.98-20210826 Camera - "Star Chickens" - eufyCam 2C - Ver. 1.7.4 subsystem 1.0.98-20210826 Camera - "Solar Camera" - SoloCam S40 - Ver. 1.0.8.9 - This camera was part of a past Beta test Camera - "PlayRoom Pan-N-Tilt" - Indoor Cam Pan&Tilt - 2.1.1.5 Camera - "Porch" SoloCamPro - Beta Camera ( I've removed it from the app, I'll add it back in and get the Firmware info) Door Lock - "Front Door" Smart Lock Touch- T8510 - 2.0.2.3 HomeBase2 - 3.1.9.0h subsystem 1.3.0.9 - Wireless bridged to network

thieren commented 2 years ago

Hi @jabackes

seems to be an issue with eufy-security-client library which is used to connect to eufy cloud.

I just tried to disable my "porch" camera which is my beta camera... testing again...

How did you 'disable' it? Just adding it to ignoreDevices will not work, because this setting will only be used when the connection is already established. Looks like the connection is not ever finished in your case.

Could you please share two things?

  1. your config json without the credentials of course
  2. enable debug logging see here and get the logs from /var/lib/homebridge/eufysecurity/log-lib.log (if your on linux)
jabackes commented 2 years ago

Hi @jabackes

seems to be an issue with eufy-security-client library which is used to connect to eufy cloud.

I just tried to disable my "porch" camera which is my beta camera... testing again...

How did you 'disable' it? Just adding it to ignoreDevices will not work, because this setting will only be used when the connection is already established. Looks like the connection is not ever finished in your case.

I’ll share the requested bits soon. I disable the camera by removing it from my eufy app/account. Just to see what would happen. As it turns out it also needs to charge, so I’ll do that regardless and re add it and get the log files and the json.

jabackes commented 2 years ago

{ "bridge": { "name": "Hilltop HomeBridge", "username": "REDACTED", "port": 51920, "pin": "REDACTED", "advertiser": "bonjour-hap", "bind": [ "en0", "en1" ] }, "accessories": [], "platforms": [ { "name": "Config", "port": 8581, "auth": "form", "theme": "dark-mode", "tempUnits": "f", "lang": "auto", "platform": "config" }, { "platform": "EufySecurity", "username": "REDACTED", "password": "REDACTED", "pollingIntervalMinutes": 30, "hkHome": 1, "hkAway": 0, "hkNight": 3, "hkOff": 63, "enableDetailedLogging": 0, "country": "US", "CameraMaxLivestreamDuration": 30, "cleanCache": true, "enableCamera": true, "ignoreStations": [ "" ], "ignoreDevices": [ "" ] } ], "disabledPlugins": [ "homebridge-eufy-security" ] }

jabackes commented 2 years ago

[6/24/2022, 1:12:17 PM] [EufySecurity-2.0.1] INFO: You're using guest admin account with this plugin! This is recommanded way! [6/24/2022, 1:12:17 PM] [EufySecurity-2.0.1] INFO: You're using guest admin account with this plugin! This is recommanded way! [6/24/2022, 1:12:17 PM] [EufySecurity-2.0.1] INFO: You're using guest admin account with this plugin! This is recommanded way! [6/24/2022, 1:12:17 PM] [EufySecurity-2.0.1] INFO: You're using guest admin account with this plugin! This is recommanded way! [6/24/2022, 1:12:17 PM] [EufySecurity-2.0.1] INFO: Updating accessory: eufy HomeBase2 [6/24/2022, 1:12:17 PM] [EufySecurity-2.0.1] INFO: Updating accessory: Solar Camera [6/24/2022, 1:12:17 PM] [EufySecurity-2.0.1] INFO: Updating accessory: PlayRoom Pan-N-Tilt [6/24/2022, 1:12:17 PM] [EufySecurity-2.0.1] INFO: Updating accessory: River View [6/24/2022, 1:12:17 PM] [EufySecurity-2.0.1] INFO: Updating accessory: Star-Chickens [6/24/2022, 1:12:17 PM] [EufySecurity-2.0.1] INFO: Updating accessory: Solar Camera [6/24/2022, 1:12:17 PM] [EufySecurity-2.0.1] INFO: Updating accessory: PlayRoom Pan-N-Tilt [6/24/2022, 1:12:17 PM] [EufySecurity-2.0.1] INFO: Updating accessory: Front Door [6/24/2022, 1:12:17 PM] [EufySecurity-2.0.1] INFO: Updating accessory: Front Door [6/24/2022, 1:12:22 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [6/24/2022, 1:12:27 PM] [HB Supervisor] Restarting Homebridge... [6/24/2022, 1:12:27 PM] [HB Supervisor] Starting Homebridge with extra flags: -I [6/24/2022, 1:12:27 PM] [HB Supervisor] Started Homebridge v1.5.0 with PID: 75423 [6/24/2022, 1:12:27 PM] Loaded config.json with 0 accessories and 2 platforms. [6/24/2022, 1:12:27 PM] Loaded 9 cached accessories from cachedAccessories. [6/24/2022, 1:12:27 PM] --- npm WARN config global --global, --local are deprecated. Use --location=global instead. [6/24/2022, 1:12:28 PM] Loaded plugin: homebridge-config-ui-x@4.48.1 [6/24/2022, 1:12:28 PM] Registering platform 'homebridge-config-ui-x.config' [6/24/2022, 1:12:28 PM] --- [6/24/2022, 1:12:28 PM] Disabled plugin: homebridge-eufy-security@2.0.1 [6/24/2022, 1:12:28 PM] --- [6/24/2022, 1:12:28 PM] Loading 2 platforms... [6/24/2022, 1:12:28 PM] Ignoring config for the platform "EufySecurity" in your config.json as the plugin "homebridge-eufy-security" has been disabled. [6/24/2022, 1:12:28 PM] Failed to find plugin to handle accessory eufy HomeBase2 [6/24/2022, 1:12:28 PM] Removing orphaned accessory eufy HomeBase2 [6/24/2022, 1:12:28 PM] Failed to find plugin to handle accessory Solar Camera [6/24/2022, 1:12:28 PM] Removing orphaned accessory Solar Camera [6/24/2022, 1:12:28 PM] Failed to find plugin to handle accessory PlayRoom Pan-N-Tilt [6/24/2022, 1:12:28 PM] Removing orphaned accessory PlayRoom Pan-N-Tilt [6/24/2022, 1:12:28 PM] Failed to find plugin to handle accessory River View [6/24/2022, 1:12:28 PM] Removing orphaned accessory River View [6/24/2022, 1:12:28 PM] Failed to find plugin to handle accessory Star-Chickens [6/24/2022, 1:12:28 PM] Removing orphaned accessory Star-Chickens [6/24/2022, 1:12:28 PM] Failed to find plugin to handle accessory Solar Camera [6/24/2022, 1:12:28 PM] Removing orphaned accessory Solar Camera [6/24/2022, 1:12:28 PM] Failed to find plugin to handle accessory PlayRoom Pan-N-Tilt [6/24/2022, 1:12:28 PM] Removing orphaned accessory PlayRoom Pan-N-Tilt [6/24/2022, 1:12:28 PM] Failed to find plugin to handle accessory Front Door [6/24/2022, 1:12:28 PM] Removing orphaned accessory Front Door [6/24/2022, 1:12:28 PM] Failed to find plugin to handle accessory Front Door [6/24/2022, 1:12:28 PM] Removing orphaned accessory Front Door Setup Payload: X-HM://0024IYY9HD3VZ Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
└────────────┘     

[6/24/2022, 1:12:28 PM] Homebridge v1.5.0 (HAP v0.10.2) (Hilltop HomeBridge) is running on port 51920. [6/24/2022, 1:12:31 PM] [Homebridge UI] Running Command: npm install -g homebridge-plugin-eufy-security@latest [6/24/2022, 1:13:01 PM] [Homebridge UI] Changes to config.json saved. [6/24/2022, 1:13:13 PM] [Homebridge UI] Changes to config.json saved. [6/24/2022, 1:15:23 PM] [Homebridge UI] Changes to config.json saved. [6/24/2022, 1:15:24 PM] [Homebridge UI] Homebridge restart request received [6/24/2022, 1:15:24 PM] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process [6/24/2022, 1:15:24 PM] [Homebridge UI] Sending SIGTERM to Homebridge [6/24/2022, 1:15:24 PM] Got SIGTERM, shutting down Homebridge... [6/24/2022, 1:15:29 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [6/24/2022, 1:15:34 PM] [HB Supervisor] Restarting Homebridge... [6/24/2022, 1:15:34 PM] [HB Supervisor] Starting Homebridge with extra flags: -I [6/24/2022, 1:15:34 PM] [HB Supervisor] Started Homebridge v1.5.0 with PID: 75703 [6/24/2022, 1:15:34 PM] Loaded config.json with 0 accessories and 3 platforms. [6/24/2022, 1:15:34 PM] Loaded 0 cached accessories from cachedAccessories. [6/24/2022, 1:15:34 PM] --- npm WARN config global --global, --local are deprecated. Use --location=global instead. [6/24/2022, 1:15:35 PM] Loaded plugin: homebridge-config-ui-x@4.48.1 [6/24/2022, 1:15:35 PM] Registering platform 'homebridge-config-ui-x.config' [6/24/2022, 1:15:35 PM] --- [6/24/2022, 1:15:35 PM] Disabled plugin: homebridge-eufy-security@2.0.1 [6/24/2022, 1:15:35 PM] --- [6/24/2022, 1:15:35 PM] Loaded plugin: homebridge-plugin-eufy-security@0.1.8 [6/24/2022, 1:15:35 PM] Registering platform 'homebridge-plugin-eufy-security.EufySecurityHomebridgePlugin' [6/24/2022, 1:15:35 PM] --- [6/24/2022, 1:15:35 PM] Loading 3 platforms... [6/24/2022, 1:15:35 PM] Ignoring config for the platform "EufySecurity" in your config.json as the plugin "homebridge-eufy-security" has been disabled. [6/24/2022, 1:15:35 PM] [EufySecurityHomebridgePlugin] Initializing EufySecurityHomebridgePlugin platform... [6/24/2022, 1:15:35 PM] [EufySecurityHomebridgePlugin] Initializing child bridge 0E:D8:83:3C:66:68 Setup Payload: X-HM://0024IYY9HD3VZ Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
└────────────┘     

[6/24/2022, 1:15:35 PM] Homebridge v1.5.0 (HAP v0.10.2) (Hilltop HomeBridge) is running on port 51920. [6/24/2022, 1:15:35 PM] [homebridge-plugin-eufy-security] Launched child bridge with PID 75707 [6/24/2022, 1:15:36 PM] Registering platform 'homebridge-plugin-eufy-security.EufySecurityHomebridgePlugin' [6/24/2022, 1:15:36 PM] [homebridge-plugin-eufy-security] Loaded homebridge-plugin-eufy-security v0.1.8 child bridge successfully [6/24/2022, 1:15:36 PM] [homebridge-plugin-eufy-security] push client enabled [6/24/2022, 1:15:36 PM] [homebridge-plugin-eufy-security] no credentials found. register new... [6/24/2022, 1:15:36 PM] Homebridge v1.5.0 (HAP v0.10.2) (homebridge-plugin-eufy-security) is running on port 51957. [6/24/2022, 1:15:37 PM] [homebridge-plugin-eufy-security] wait a short time (5sec)... [6/24/2022, 1:15:49 PM] [homebridge-plugin-eufy-security] failed to register push token HTTPError: Response code 423 (Locked) at Request. (/usr/local/lib/node_modules/homebridge-plugin-eufy-security/node_modules/got/dist/source/as-promise/index.js:118:42) at processTicksAndRejections (node:internal/process/task_queues:96:5) { code: 'ERR_NON_2XX_3XX_RESPONSE', timings: { start: 1656101749236, socket: 1656101749236, lookup: 1656101749237, connect: 1656101749369, secureConnect: 1656101749490, upload: 1656101749490, response: 1656101749607, end: 1656101749607, error: undefined, abort: undefined, phases: { wait: 0, dns: 1, tcp: 132, tls: 121, request: 0, firstByte: 117, download: 0, total: 371 } } }

/usr/local/lib/node_modules/homebridge-plugin-eufy-security/node_modules/got/dist/source/as-promise/index.js:118 request._beforeError(new types_1.HTTPError(response)); ^ HTTPError: Response code 423 (Locked) at Request. (/usr/local/lib/node_modules/homebridge-plugin-eufy-security/node_modules/got/dist/source/as-promise/index.js:118:42) at processTicksAndRejections (node:internal/process/task_queues:96:5) [6/24/2022, 1:15:50 PM] [homebridge-plugin-eufy-security] Child bridge process ended [6/24/2022, 1:15:50 PM] [homebridge-plugin-eufy-security] Process Ended. Code: 1, Signal: null [6/24/2022, 1:15:57 PM] [homebridge-plugin-eufy-security] Restarting Process... [6/24/2022, 1:15:57 PM] [homebridge-plugin-eufy-security] Launched child bridge with PID 75742 [6/24/2022, 1:15:57 PM] Registering platform 'homebridge-plugin-eufy-security.EufySecurityHomebridgePlugin' [6/24/2022, 1:15:57 PM] [homebridge-plugin-eufy-security] Loaded homebridge-plugin-eufy-security v0.1.8 child bridge successfully [6/24/2022, 1:15:57 PM] [homebridge-plugin-eufy-security] push client enabled [6/24/2022, 1:15:57 PM] [homebridge-plugin-eufy-security] credentials found. reusing them... [6/24/2022, 1:15:57 PM] Homebridge v1.5.0 (HAP v0.10.2) (homebridge-plugin-eufy-security) is running on port 51957. [6/24/2022, 1:16:00 PM] [homebridge-plugin-eufy-security] failed to register push token HTTPError: Response code 423 (Locked) at Request. (/usr/local/lib/node_modules/homebridge-plugin-eufy-security/node_modules/got/dist/source/as-promise/index.js:118:42) at processTicksAndRejections (node:internal/process/task_queues:96:5) { code: 'ERR_NON_2XX_3XX_RESPONSE', timings: { start: 1656101759973, socket: 1656101759973, lookup: 1656101759974, connect: 1656101760109, secureConnect: 1656101760370, upload: 1656101760370, response: 1656101760499, end: 1656101760499, error: undefined, abort: undefined, phases: { wait: 0, dns: 1, tcp: 135, tls: 261, request: 0, firstByte: 129, download: 0, total: 526 } } }

/usr/local/lib/node_modules/homebridge-plugin-eufy-security/node_modules/got/dist/source/as-promise/index.js:118 request._beforeError(new types_1.HTTPError(response)); ^ HTTPError: Response code 423 (Locked) at Request. (/usr/local/lib/node_modules/homebridge-plugin-eufy-security/node_modules/got/dist/source/as-promise/index.js:118:42) at processTicksAndRejections (node:internal/process/task_queues:96:5) [6/24/2022, 1:16:02 PM] [homebridge-plugin-eufy-security] Child bridge process ended [6/24/2022, 1:16:02 PM] [homebridge-plugin-eufy-security] Process Ended. Code: 1, Signal: null [6/24/2022, 1:16:07 PM] [Homebridge UI] Changes to config.json saved. [6/24/2022, 1:16:09 PM] [Homebridge UI] Homebridge restart request received [6/24/2022, 1:16:09 PM] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process [6/24/2022, 1:16:09 PM] [Homebridge UI] Sending SIGTERM to Homebridge [6/24/2022, 1:16:09 PM] Got SIGTERM, shutting down Homebridge... [6/24/2022, 1:16:14 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [6/24/2022, 1:16:19 PM] [HB Supervisor] Restarting Homebridge... [6/24/2022, 1:16:19 PM] [HB Supervisor] Starting Homebridge with extra flags: -I [6/24/2022, 1:16:19 PM] [HB Supervisor] Started Homebridge v1.5.0 with PID: 75772 [6/24/2022, 1:16:20 PM] Loaded config.json with 0 accessories and 3 platforms. [6/24/2022, 1:16:20 PM] Loaded 0 cached accessories from cachedAccessories. [6/24/2022, 1:16:20 PM] --- npm WARN config global --global, --local are deprecated. Use --location=global instead. [6/24/2022, 1:16:20 PM] Loaded plugin: homebridge-config-ui-x@4.48.1 [6/24/2022, 1:16:20 PM] Registering platform 'homebridge-config-ui-x.config' [6/24/2022, 1:16:20 PM] --- [6/24/2022, 1:16:21 PM] Disabled plugin: homebridge-eufy-security@2.0.1 [6/24/2022, 1:16:21 PM] --- [6/24/2022, 1:16:21 PM] Loaded plugin: homebridge-plugin-eufy-security@0.1.8 [6/24/2022, 1:16:21 PM] Registering platform 'homebridge-plugin-eufy-security.EufySecurityHomebridgePlugin' [6/24/2022, 1:16:21 PM] --- [6/24/2022, 1:16:21 PM] Loading 3 platforms... [6/24/2022, 1:16:21 PM] Ignoring config for the platform "EufySecurity" in your config.json as the plugin "homebridge-eufy-security" has been disabled. [6/24/2022, 1:16:21 PM] [EufySecurityHomebridgePlugin] Initializing EufySecurityHomebridgePlugin platform... [6/24/2022, 1:16:21 PM] [EufySecurityHomebridgePlugin] Initializing child bridge 0E:D8:83:3C:66:68 Setup Payload: X-HM://0024IYY9HD3VZ Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
└────────────┘     

[6/24/2022, 1:16:21 PM] Homebridge v1.5.0 (HAP v0.10.2) (Hilltop HomeBridge) is running on port 51920. [6/24/2022, 1:16:21 PM] [homebridge-plugin-eufy-security] Launched child bridge with PID 75776 [6/24/2022, 1:16:21 PM] Registering platform 'homebridge-plugin-eufy-security.EufySecurityHomebridgePlugin' [6/24/2022, 1:16:21 PM] [homebridge-plugin-eufy-security] Loaded homebridge-plugin-eufy-security v0.1.8 child bridge successfully [6/24/2022, 1:16:21 PM] [homebridge-plugin-eufy-security] push client disabled [6/24/2022, 1:16:21 PM] Homebridge v1.5.0 (HAP v0.10.2) (homebridge-plugin-eufy-security) is running on port 51957.

/usr/local/lib/node_modules/homebridge-plugin-eufy-security/node_modules/got/dist/source/as-promise/index.js:118 request._beforeError(new types_1.HTTPError(response)); ^ HTTPError: Response code 423 (Locked) at Request. (/usr/local/lib/node_modules/homebridge-plugin-eufy-security/node_modules/got/dist/source/as-promise/index.js:118:42) at processTicksAndRejections (node:internal/process/task_queues:96:5) [6/24/2022, 1:16:27 PM] [homebridge-plugin-eufy-security] Child bridge process ended [6/24/2022, 1:16:27 PM] [homebridge-plugin-eufy-security] Process Ended. Code: 1, Signal: null [6/24/2022, 1:16:34 PM] [homebridge-plugin-eufy-security] Restarting Process... [6/24/2022, 1:16:34 PM] [homebridge-plugin-eufy-security] Launched child bridge with PID 75799 [6/24/2022, 1:16:34 PM] Registering platform 'homebridge-plugin-eufy-security.EufySecurityHomebridgePlugin' [6/24/2022, 1:16:34 PM] [homebridge-plugin-eufy-security] Loaded homebridge-plugin-eufy-security v0.1.8 child bridge successfully [6/24/2022, 1:16:35 PM] [homebridge-plugin-eufy-security] push client disabled [6/24/2022, 1:16:35 PM] Homebridge v1.5.0 (HAP v0.10.2) (homebridge-plugin-eufy-security) is running on port 51957.

/usr/local/lib/node_modules/homebridge-plugin-eufy-security/node_modules/got/dist/source/as-promise/index.js:118 request._beforeError(new types_1.HTTPError(response)); ^ HTTPError: Response code 423 (Locked) at Request. (/usr/local/lib/node_modules/homebridge-plugin-eufy-security/node_modules/got/dist/source/as-promise/index.js:118:42) at processTicksAndRejections (node:internal/process/task_queues:96:5) [6/24/2022, 1:16:39 PM] [homebridge-plugin-eufy-security] Child bridge process ended [6/24/2022, 1:16:39 PM] [homebridge-plugin-eufy-security] Process Ended. Code: 1, Signal: null [6/24/2022, 1:16:40 PM] [homebridge-plugin-eufy-security] Restarting child bridge... [6/24/2022, 1:16:44 PM] [Homebridge UI] Changes to config.json saved. [6/24/2022, 1:16:44 PM] [Homebridge UI] Running Command: npm uninstall -g homebridge-plugin-eufy-security [6/24/2022, 1:16:46 PM] [homebridge-plugin-eufy-security] Restarting Process... [6/24/2022, 1:16:47 PM] [homebridge-plugin-eufy-security] Launched child bridge with PID 75822 Error: Plugin /usr/local/lib/node_modules/homebridge-plugin-eufy-security does not contain a package.json. at Function.loadPackageJSON (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:418:13) at PluginManager.loadPlugin (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:397:52) at ChildBridgeFork.loadPlugin (/usr/local/lib/node_modules/homebridge/src/childBridgeFork.ts:104:44) at process. (/usr/local/lib/node_modules/homebridge/src/childBridgeFork.ts:260:23) at process.emit (node:events:527:28) at process.emit (/usr/local/lib/node_modules/homebridge/node_modules/source-map-support/source-map-support.js:516:21) at emit (node:internal/child_process:938:14) at processTicksAndRejections (node:internal/process/task_queues:84:21) [6/24/2022, 1:16:47 PM] [homebridge-plugin-eufy-security] Child bridge process ended [6/24/2022, 1:16:47 PM] [homebridge-plugin-eufy-security] Process Ended. Code: 1, Signal: null [6/24/2022, 1:16:54 PM] [homebridge-plugin-eufy-security] Restarting Process... [6/24/2022, 1:16:54 PM] [homebridge-plugin-eufy-security] Launched child bridge with PID 75834 Error: Plugin /usr/local/lib/node_modules/homebridge-plugin-eufy-security does not contain a package.json. at Function.loadPackageJSON (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:418:13) at PluginManager.loadPlugin (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:397:52) at ChildBridgeFork.loadPlugin (/usr/local/lib/node_modules/homebridge/src/childBridgeFork.ts:104:44) at process. (/usr/local/lib/node_modules/homebridge/src/childBridgeFork.ts:260:23) at process.emit (node:events:527:28) at process.emit (/usr/local/lib/node_modules/homebridge/node_modules/source-map-support/source-map-support.js:516:21) at emit (node:internal/child_process:938:14) at processTicksAndRejections (node:internal/process/task_queues:84:21) [6/24/2022, 1:16:54 PM] [homebridge-plugin-eufy-security] Child bridge process ended [6/24/2022, 1:16:54 PM] [homebridge-plugin-eufy-security] Process Ended. Code: 1, Signal: null [6/24/2022, 1:17:01 PM] [homebridge-plugin-eufy-security] Restarting Process... [6/24/2022, 1:17:01 PM] [homebridge-plugin-eufy-security] Launched child bridge with PID 75841 Error: Plugin /usr/local/lib/node_modules/homebridge-plugin-eufy-security does not contain a package.json. at Function.loadPackageJSON (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:418:13) at PluginManager.loadPlugin (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:397:52) at ChildBridgeFork.loadPlugin (/usr/local/lib/node_modules/homebridge/src/childBridgeFork.ts:104:44) at process. (/usr/local/lib/node_modules/homebridge/src/childBridgeFork.ts:260:23) at process.emit (node:events:527:28) at process.emit (/usr/local/lib/node_modules/homebridge/node_modules/source-map-support/source-map-support.js:516:21) at emit (node:internal/child_process:938:14) at processTicksAndRejections (node:internal/process/task_queues:84:21) [6/24/2022, 1:17:01 PM] [homebridge-plugin-eufy-security] Child bridge process ended [6/24/2022, 1:17:01 PM] [homebridge-plugin-eufy-security] Process Ended. Code: 1, Signal: null [6/24/2022, 1:17:08 PM] [homebridge-plugin-eufy-security] Restarting Process... [6/24/2022, 1:17:08 PM] [homebridge-plugin-eufy-security] Launched child bridge with PID 75856 Error: Plugin /usr/local/lib/node_modules/homebridge-plugin-eufy-security does not contain a package.json. at Function.loadPackageJSON (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:418:13) at PluginManager.loadPlugin (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:397:52) at ChildBridgeFork.loadPlugin (/usr/local/lib/node_modules/homebridge/src/childBridgeFork.ts:104:44) at process. (/usr/local/lib/node_modules/homebridge/src/childBridgeFork.ts:260:23) at process.emit (node:events:527:28) at process.emit (/usr/local/lib/node_modules/homebridge/node_modules/source-map-support/source-map-support.js:516:21) at emit (node:internal/child_process:938:14) at processTicksAndRejections (node:internal/process/task_queues:84:21) [6/24/2022, 1:17:09 PM] [homebridge-plugin-eufy-security] Child bridge process ended [6/24/2022, 1:17:09 PM] [homebridge-plugin-eufy-security] Process Ended. Code: 1, Signal: null [6/24/2022, 1:17:16 PM] [homebridge-plugin-eufy-security] Restarting Process... [6/24/2022, 1:17:16 PM] [homebridge-plugin-eufy-security] Launched child bridge with PID 75871 Error: Plugin /usr/local/lib/node_modules/homebridge-plugin-eufy-security does not contain a package.json. at Function.loadPackageJSON (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:418:13) at PluginManager.loadPlugin (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:397:52) at ChildBridgeFork.loadPlugin (/usr/local/lib/node_modules/homebridge/src/childBridgeFork.ts:104:44) at process. (/usr/local/lib/node_modules/homebridge/src/childBridgeFork.ts:260:23) at process.emit (node:events:527:28) at process.emit (/usr/local/lib/node_modules/homebridge/node_modules/source-map-support/source-map-support.js:516:21) at emit (node:internal/child_process:938:14) at processTicksAndRejections (node:internal/process/task_queues:84:21) [6/24/2022, 1:17:16 PM] [homebridge-plugin-eufy-security] Child bridge process ended [6/24/2022, 1:17:16 PM] [homebridge-plugin-eufy-security] Process Ended. Code: 1, Signal: null [6/24/2022, 1:17:23 PM] [homebridge-plugin-eufy-security] Restarting Process... [6/24/2022, 1:17:23 PM] [homebridge-plugin-eufy-security] Launched child bridge with PID 75880 Error: Plugin /usr/local/lib/node_modules/homebridge-plugin-eufy-security does not contain a package.json. at Function.loadPackageJSON (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:418:13) at PluginManager.loadPlugin (/usr/local/lib/node_modules/homebridge/src/pluginManager.ts:397:52) at ChildBridgeFork.loadPlugin (/usr/local/lib/node_modules/homebridge/src/childBridgeFork.ts:104:44) at process. (/usr/local/lib/node_modules/homebridge/src/childBridgeFork.ts:260:23) at process.emit (node:events:527:28) at process.emit (/usr/local/lib/node_modules/homebridge/node_modules/source-map-support/source-map-support.js:516:21) at emit (node:internal/child_process:938:14) at processTicksAndRejections (node:internal/process/task_queues:84:21) [6/24/2022, 1:17:23 PM] [homebridge-plugin-eufy-security] Child bridge process ended [6/24/2022, 1:17:23 PM] [homebridge-plugin-eufy-security] Process Ended. Code: 1, Signal: null [6/24/2022, 1:17:23 PM] [Homebridge UI] Changes to config.json saved. [6/24/2022, 1:17:26 PM] [Homebridge UI] Homebridge restart request received [6/24/2022, 1:17:26 PM] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process [6/24/2022, 1:17:26 PM] [Homebridge UI] Sending SIGTERM to Homebridge [6/24/2022, 1:17:26 PM] Got SIGTERM, shutting down Homebridge... [6/24/2022, 1:17:31 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [6/24/2022, 1:17:36 PM] [HB Supervisor] Restarting Homebridge... [6/24/2022, 1:17:36 PM] [HB Supervisor] Starting Homebridge with extra flags: -I [6/24/2022, 1:17:36 PM] [HB Supervisor] Started Homebridge v1.5.0 with PID: 75902 [6/24/2022, 1:17:36 PM] Loaded config.json with 0 accessories and 2 platforms. [6/24/2022, 1:17:36 PM] Loaded 0 cached accessories from cachedAccessories. [6/24/2022, 1:17:36 PM] --- npm WARN config global --global, --local are deprecated. Use --location=global instead. [6/24/2022, 1:17:37 PM] Loaded plugin: homebridge-config-ui-x@4.48.1 [6/24/2022, 1:17:37 PM] Registering platform 'homebridge-config-ui-x.config' [6/24/2022, 1:17:37 PM] --- [6/24/2022, 1:17:37 PM] Disabled plugin: homebridge-eufy-security@2.0.1 [6/24/2022, 1:17:37 PM] --- [6/24/2022, 1:17:37 PM] Loading 2 platforms... [6/24/2022, 1:17:37 PM] Ignoring config for the platform "EufySecurity" in your config.json as the plugin "homebridge-eufy-security" has been disabled. Setup Payload: X-HM://0024IYY9HD3VZ Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
└────────────┘     

[6/24/2022, 1:17:37 PM] Homebridge v1.5.0 (HAP v0.10.2) (Hilltop HomeBridge) is running on port 51920. [6/24/2022, 1:19:30 PM] [Homebridge UI] Running Command: npm install -g homebridge-myq@latest [6/24/2022, 1:29:15 PM] [Homebridge UI] Changes to config.json saved. [6/24/2022, 1:29:15 PM] [Homebridge UI] Running Command: npm uninstall -g homebridge-myq [6/25/2022, 1:10:43 AM] [Homebridge UI] Running job to cleanup config.json backup files older than 60 days... [6/25/2022, 1:20:39 AM] [Homebridge UI] Running scheduled instance backup... [6/25/2022, 1:20:39 AM] [Homebridge UI] Creating temporary backup archive at /var/folders/kk/3dkk191x0v94vc9w0h23xys40000gn/T/homebridge-backup-stfVFI/homebridge-backup-0E8EE657DD73.tar.gz [6/25/2022, 1:20:39 AM] [Homebridge UI] Backup is skipping "storage/eufysecurity/log-lib.log.0" because it is larger than 10MB. [6/26/2022, 1:10:43 AM] [Homebridge UI] Running job to cleanup config.json backup files older than 60 days... [6/26/2022, 1:20:39 AM] [Homebridge UI] Running scheduled instance backup... [6/26/2022, 1:20:39 AM] [Homebridge UI] Creating temporary backup archive at /var/folders/kk/3dkk191x0v94vc9w0h23xys40000gn/T/homebridge-backup-04wb3F/homebridge-backup-0E8EE657DD73.tar.gz [6/26/2022, 1:20:39 AM] [Homebridge UI] Backup is skipping "storage/eufysecurity/log-lib.log.0" because it is larger than 10MB. [6/27/2022, 1:10:43 AM] [Homebridge UI] Running job to cleanup config.json backup files older than 60 days... [6/27/2022, 1:20:39 AM] [Homebridge UI] Running scheduled instance backup... [6/27/2022, 1:20:39 AM] [Homebridge UI] Creating temporary backup archive at /var/folders/kk/3dkk191x0v94vc9w0h23xys40000gn/T/homebridge-backup-ph0VrH/homebridge-backup-0E8EE657DD73.tar.gz [6/27/2022, 1:20:39 AM] [Homebridge UI] Backup is skipping "storage/eufysecurity/log-lib.log.0" because it is larger than 10MB. [6/27/2022, 9:49:16 AM] [Homebridge UI] Failed login attempt [6/27/2022, 9:49:16 AM] [Homebridge UI] If you've forgotten your password you can reset to the default of admin/admin by deleting the "auth.json" file (/Users/jabackes/.homebridge/auth.json) and then restarting Homebridge. [6/27/2022, 9:49:29 AM] [Homebridge UI] [homebridge-eufy-security] Incoming Request: /init [6/27/2022, 9:49:30 AM] [Homebridge UI] [homebridge-eufy-security] [2.0.1] INFO: connected! [6/27/2022, 9:49:30 AM] [Homebridge UI] [homebridge-eufy-security] Incoming Request: /getStations [6/27/2022, 9:49:30 AM] [Homebridge UI] [homebridge-eufy-security] [2.0.1] INFO: Need to refresh the devices list [6/27/2022, 9:49:33 AM] [Homebridge UI] [homebridge-eufy-security] Terminating child process... [6/27/2022, 9:49:33 AM] [Homebridge UI] [homebridge-eufy-security] Child process ended [6/27/2022, 9:50:32 AM] [Homebridge UI] Changes to config.json saved. [6/27/2022, 9:50:35 AM] [Homebridge UI] Homebridge restart request received [6/27/2022, 9:50:35 AM] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process [6/27/2022, 9:50:35 AM] [Homebridge UI] Sending SIGTERM to Homebridge [6/27/2022, 9:50:35 AM] Got SIGTERM, shutting down Homebridge... [6/27/2022, 9:50:40 AM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null [6/27/2022, 9:50:45 AM] [HB Supervisor] Restarting Homebridge... [6/27/2022, 9:50:45 AM] [HB Supervisor] Starting Homebridge with extra flags: -I [6/27/2022, 9:50:45 AM] [HB Supervisor] Started Homebridge v1.5.0 with PID: 42428 [6/27/2022, 9:50:45 AM] Loaded config.json with 0 accessories and 2 platforms. [6/27/2022, 9:50:45 AM] Loaded 0 cached accessories from cachedAccessories. [6/27/2022, 9:50:45 AM] --- npm WARN config global --global, --local are deprecated. Use --location=global instead. [6/27/2022, 9:50:46 AM] Loaded plugin: homebridge-config-ui-x@4.48.1 [6/27/2022, 9:50:46 AM] Registering platform 'homebridge-config-ui-x.config' [6/27/2022, 9:50:46 AM] --- [6/27/2022, 9:50:46 AM] Loaded plugin: homebridge-eufy-security@2.0.1 [6/27/2022, 9:50:46 AM] Registering platform 'homebridge-eufy-security.EufySecurity' [6/27/2022, 9:50:46 AM] --- [6/27/2022, 9:50:46 AM] Loading 2 platforms... [6/27/2022, 9:50:46 AM] [EufySecurity] Initializing EufySecurity platform... [6/27/2022, 9:50:46 AM] [EufySecurity-2.0.1] WARN: warning: planned changes, see https://github.com/homebridge-eufy-security/plugin/issues/1 [6/27/2022, 9:50:46 AM] [EufySecurity-2.0.1] INFO: Country set: US [6/27/2022, 9:50:46 AM] [EufySecurity-2.0.1] INFO: Finished initializing! Setup Payload: X-HM://0024IYY9HD3VZ Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

┌────────────┐     
└────────────┘     

[6/27/2022, 9:50:46 AM] Homebridge v1.5.0 (HAP v0.10.2) (Hilltop HomeBridge) is running on port 51920. [6/27/2022, 9:50:46 AM] Error: ENOENT: no such file or directory, rename '/Users/jabackes/.homebridge/eufysecurity/log-lib.log.0' -> '/Users/jabackes/.homebridge/eufysecurity/log-lib.log.1' [6/27/2022, 9:50:46 AM] Got SIGTERM, shutting down Homebridge... [6/27/2022, 9:50:46 AM] [EufySecurity-2.0.1] ERROR: Error while shutdown : TypeError: Cannot read properties of undefined (reading 'close') at EufySecurityPlatform.pluginShutdown (/usr/local/lib/node_modules/homebridge-eufy-security/src/platform.ts:173:23) at HomebridgeAPI. (/usr/local/lib/node_modules/homebridge-eufy-security/src/platform.ts:149:18) at HomebridgeAPI.emit (node:events:527:28) at HomebridgeAPI.signalShutdown (/usr/local/lib/node_modules/homebridge/src/api.ts:279:10) at BridgeService.teardown (/usr/local/lib/node_modules/homebridge/src/bridgeService.ts:571:14) at Server.teardown (/usr/local/lib/node_modules/homebridge/src/server.ts:198:24) at signalHandler (/usr/local/lib/node_modules/homebridge/src/cli.ts:93:12) at process.emit (node:events:527:28) at process.emit (/usr/local/lib/node_modules/homebridge/node_modules/source-map-support/source-map-support.js:516:21) [6/27/2022, 9:50:51 AM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at new NodeError (node:internal/errors:372:5) at Function.from (node:buffer:323:9) at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:27:35) at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:55:18) at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:60:26) at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:50) at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:284:51 at Array.map () at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:284:29) at Socket. (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:361:26) [6/27/2022, 9:50:51 AM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at new NodeError (node:internal/errors:372:5) at Function.from (node:buffer:323:9) at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:27:35) at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:55:18) at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:60:26) at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:50) at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:284:51 at Array.map () at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:284:29) at Socket. (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:361:26) [6/27/2022, 9:50:51 AM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at new NodeError (node:internal/errors:372:5) at Function.from (node:buffer:323:9) at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:27:35) at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:55:18) at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:60:26) at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:50) at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:284:51 at Array.map () at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:284:29) at Socket. (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:361:26) [6/27/2022, 9:50:51 AM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at new NodeError (node:internal/errors:372:5) at Function.from (node:buffer:323:9) at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:27:35) at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:55:18) at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:60:26) at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:50) at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:284:51 at Array.map () at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:284:29) at Socket. (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:361:26) [6/27/2022, 9:50:51 AM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at new NodeError (node:internal/errors:372:5) at Function.from (node:buffer:323:9) at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:27:35) at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:55:18) at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:60:26) at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:50) at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:284:51 at Array.map () at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:284:29) at Socket. (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:361:26) [6/27/2022, 9:50:51 AM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at new NodeError (node:internal/errors:372:5) at Function.from (node:buffer:323:9) at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:27:35) at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:55:18) at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:60:26) at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:50) at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:284:51 at Array.map () at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:284:29) at Socket. (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:361:26) [6/27/2022, 9:50:51 AM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at new NodeError (node:internal/errors:372:5) at Function.from (node:buffer:323:9) at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:27:35) at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:55:18) at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:60:26) at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:50) at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:284:51 at Array.map () at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:284:29) at Socket. (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:361:26) [6/27/2022, 9:50:51 AM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at new NodeError (node:internal/errors:372:5) at Function.from (node:buffer:323:9) at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:27:35) at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:55:18) at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:60:26) at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:50) at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:284:51 at Array.map () at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:284:29) at Socket. (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:361:26) [6/27/2022, 9:50:51 AM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at new NodeError (node:internal/errors:372:5) at Function.from (node:buffer:323:9) at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:27:35) at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:55:18) at buildLookupWithKeyPayload (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:60:26) at P2PClientProtocol.lookupByAddress (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:304:50) at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:284:51 at Array.map () at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:284:29) at Socket. (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:361:26) [6/27/2022, 9:50:51 AM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at new NodeError (node:internal/errors:372:5) at Function.from (node:buffer:323:9) at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:27:35) at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:55:18) at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:84:26) at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:313:51) at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:285:51 at Array.map () at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:285:29) at Socket. (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:361:26) [6/27/2022, 9:50:51 AM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at new NodeError (node:internal/errors:372:5) at Function.from (node:buffer:323:9) at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:27:35) at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:55:18) at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:84:26) at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:313:51) at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:285:51 at Array.map () at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:285:29) at Socket. (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:361:26) [6/27/2022, 9:50:51 AM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at new NodeError (node:internal/errors:372:5) at Function.from (node:buffer:323:9) at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:27:35) at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:55:18) at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:84:26) at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:313:51) at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:285:51 at Array.map () at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:285:29) at Socket. (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:361:26) [6/27/2022, 9:50:51 AM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at new NodeError (node:internal/errors:372:5) at Function.from (node:buffer:323:9) at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:27:35) at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:55:18) at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:84:26) at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:313:51) at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:285:51 at Array.map () at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:285:29) at Socket. (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:361:26) [6/27/2022, 9:50:51 AM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at new NodeError (node:internal/errors:372:5) at Function.from (node:buffer:323:9) at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:27:35) at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:55:18) at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:84:26) at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:313:51) at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:285:51 at Array.map () at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:285:29) at Socket. (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:361:26) [6/27/2022, 9:50:51 AM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at new NodeError (node:internal/errors:372:5) at Function.from (node:buffer:323:9) at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:27:35) at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:55:18) at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:84:26) at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:313:51) at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:285:51 at Array.map () at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:285:29) at Socket. (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:361:26) [6/27/2022, 9:50:51 AM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at new NodeError (node:internal/errors:372:5) at Function.from (node:buffer:323:9) at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:27:35) at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:55:18) at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:84:26) at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:313:51) at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:285:51 at Array.map () at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:285:29) at Socket. (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:361:26) [6/27/2022, 9:50:51 AM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at new NodeError (node:internal/errors:372:5) at Function.from (node:buffer:323:9) at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:27:35) at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:55:18) at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:84:26) at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:313:51) at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:285:51 at Array.map () at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:285:29) at Socket. (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:361:26) [6/27/2022, 9:50:51 AM] TypeError: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined at new NodeError (node:internal/errors:372:5) at Function.from (node:buffer:323:9) at stringWithLength (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:27:35) at p2pDidToBuffer (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:55:18) at buildLookupWithKeyPayload2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/utils.ts:84:26) at P2PClientProtocol.lookupByAddress2 (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:313:51) at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:285:51 at Array.map () at P2PClientProtocol.lookup (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:285:29) at Socket. (/usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/p2p/session.ts:361:26) [6/27/2022, 9:50:51 AM] [EufySecurity-2.0.1] INFO: You're using guest admin account with this plugin! This is recommanded way! [6/27/2022, 9:50:51 AM] [EufySecurity-2.0.1] INFO: You're using guest admin account with this plugin! This is recommanded way! [6/27/2022, 9:50:51 AM] [EufySecurity-2.0.1] INFO: You're using guest admin account with this plugin! This is recommanded way! [6/27/2022, 9:50:51 AM] [EufySecurity-2.0.1] INFO: You're using guest admin account with this plugin! This is recommanded way! [6/27/2022, 9:50:51 AM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null

thieren commented 2 years ago

Hey,

unfortunately you didn't turn on debug messages.

It's this setting in the config:

"enableDetailedLogging": 0,

set it to true and there will be a much more messages in the logs.

Also please share it as a file attachment. It's much easier to read that way. Thx!

jabackes commented 2 years ago

OH! sorry about the attachment. I'll do both those things right now. sorry for my delays!

jabackes commented 2 years ago

homebridge.log.txt

thieren commented 2 years ago

sorry for my delays!

no rush.

Unfortunately the log doesn't show too much. There are other logs, that should help a bit more here. Can you look into /var/lib/homebridge/eufysecurity/log-lib.log (if you're on linux) That log should contain information about the login process with the eufy-security-client library. Please share this.

Edit: could also be /var/local/lib/... - not entirely sure.

thieren commented 2 years ago

Hi @jabackes

I've deleted your response since there might be sensitive data in your logs. Please see here as to why you may want to clear the logs before sharing them.

As to your logs itself: I don't see any reference to the error in the original post. Actually the log output is mostly fine. There is a homebridge shutdown at the beginning, but that could've been manually. Hard to say. But again, your mentioned error from the beginning is not listed there.

If you didn't have done already I'd suggest you completely remove the plugins data (e.g. remove the platform config. remove any files under the eufysecurity directory where you found the log file, uninstall the plugin with sudo npm uninstall -g homebridge-eufy-security, and even remove the cached accessories in homebridge see here for more on that) and then start from scratch. Sorry if this isn't the help you hoped for.

jabackes commented 2 years ago

trying these steps. I'd never removed the cached devices. so maybe its something there? I just did a full clear out of the Eufy security plugin. so I will try and re-install now and report back.

jabackes commented 2 years ago

none of this worked, so here's what I've tried since your suggestion.

I removed the Eufy plugins from my ~/.homebridge directory and for that matter completely removed and re-installed homebridge (this plugin is the only one I am trying to work with right now, so it's no big deal for me) I followed the information at homebridge.io to install the latest versions of npm and node. (Currently node is -v 16.16.0 and npm is 8.14.0)

I've re-installed homebridge and completely scrubbed it. I don't have it connected to my Home in HomeKit yet. I am now installing the beta version of the plugin to see if that works, otherwise the release was showing similar problems just before I decided to reset it.

I do have a "guest" account as you've seen before.

I ran the uninstall command as you'd listed but then manually deleted any files from the .homebridge directory related to eufysecurity.

I'll update you more in a few when/if I have more to report.

jabackes commented 2 years ago
eufysecurity detected

the beta version logged me in... and I now see this screen, so, progress!

jabackes commented 2 years ago

dang. so, hit save on the plugin after that onboarding step. it stated to save reboot homebridge, upon reboot was notified in the logs that it was adding devices, got to the "Doorbell Camera" and the server SIGTERMed. I'll enable debug mode again with this version and see if I can get additional info.

jabackes commented 2 years ago

okay, so yeah, boot loop again with same setup. I have that log-lib.log file I can post. what should I search to sanitize, or do you want me to DM that in some way?

thieren commented 2 years ago

okay, so yeah, boot loop again with same setup. I have that log-lib.log file I can post. what should I search to sanitize, or do you want me to DM that in some way?

The fact that it's showing the devices in the config is very good.

Best would be if you send me the log via discord. The link is on the main page of this repo.

jabackes commented 2 years ago

I'll look for that. I was looking at the Eufy security non plugin and compatibility and noticed that the Eufy smart lock with touch I have is showing as X on the compatibility... could that be breaking things?

jabackes commented 2 years ago

I have the T8510 which shows a red x on the compatibility page (https://bropat.github.io/eufy-security-client/#/supported_devices)

thieren commented 2 years ago

I'll look for that. I was looking at the Eufy security non plugin and compatibility and noticed that the Eufy smart lock with touch I have is showing as X on the compatibility... could that be breaking things?

You could remove the lock temporarily in the eufy app and try again, but honestly I don't think so. Even if it's not supported other users do have this lock also and don't report problems.

Alos I think this lock should work in the next release of eufy-security-client. I'll update the plugin accordingly if it does.

Any update on the log file?

jabackes commented 2 years ago

I finally found the discord link and pinged you there. I have the latest version of the log file. I did try and install the beta install (which showed all the accessories on the homebridge accessories page, so that's awesome!) but still getting the same loop.

¯(°_o)/¯

jabackes commented 2 years ago

Still not resolved after you're suggestions about removing the pan-and-tilt camera from Discord discussion. Could be my setup, could be other factors. regardless I'll have to put the problem to bed and just do without for a while I guess. oh well.

one day I'll go back and try adding one device at a time and see what I can see. is there a chance that it's because I have some of these items added into Home already? I have two or three cameras that supported HomeKit on their own. the Pan and tilt, and my two C cams are HomeKit compatible out of the box.