samemory / homebridge-eufy-security

Work in progress
Apache License 2.0
97 stars 14 forks source link

Error message with version 0.2.3 #44

Closed BigKrisch closed 3 years ago

BigKrisch commented 3 years ago

Hello!

Describe The Bug:

Since version 0.2.3 the plugin always generated the following error message. The error message seems to come from the cameras that do not run via Homebase (Indoor Cam Pan & Tilt and Indoor Cam). These are also displayed in Home with "no response".

Logs:

[20.6.2021, 21:07:01] Registering platform 'homebridge-eufy-security.EufySecurity'
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loaded homebridge-eufy-security v0.2.3 child bridge successfully
[20.6.2021, 21:07:01] Loaded 23 cached accessories from cachedAccessories.0EA81DEBA8F2.
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Gartentür
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Freisitz
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Gartentor 
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Balkon
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Gartentür Kontaktsensor
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Garten Bewegungssensor
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Balkon Bewegungssensor
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Katzenklappe Bewegungssensor
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Balkontür Bewegungssensor
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Halle
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Haustür
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Garage
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Halle Bewegungssensor
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Haustür Bewegungssensor
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Vorhäuschen 
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: eufy HomeBase 2 Süd
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: eufy HomeBase 2 Nord
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Schlafzimmer Schrank
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Katzenthron
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Esszimmer
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Tankraum
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Wohnzimmer
[20.6.2021, 21:07:01] [homebridge-eufy-security] Loading accessory from cache: Katzenklappe
Preparing Advertiser for 'Homebridge-EufySecurity 3B70' using ciao backend!
Starting to advertise 'Homebridge-EufySecurity 3B70' using ciao backend!
[20.6.2021, 21:07:01] Homebridge v1.3.4 (Homebridge-EufySecurity) is running on port 50693.
[20.6.2021, 21:07:14] [homebridge-eufy-security] Restoring existing accessory from cache: Gartentür
[20.6.2021, 21:07:14] [homebridge-eufy-security] Restoring existing accessory from cache: Freisitz
[20.6.2021, 21:07:14] [homebridge-eufy-security] Restoring existing accessory from cache: Gartentor 
[20.6.2021, 21:07:14] [homebridge-eufy-security] Restoring existing accessory from cache: Balkon
[20.6.2021, 21:07:14] [homebridge-eufy-security] Restoring existing accessory from cache: Gartentür Kontaktsensor
[20.6.2021, 21:07:14] [homebridge-eufy-security] Restoring existing accessory from cache: Garten Bewegungssensor
[20.6.2021, 21:07:14] [homebridge-eufy-security] Restoring existing accessory from cache: Balkon Bewegungssensor
[20.6.2021, 21:07:14] [homebridge-eufy-security] Restoring existing accessory from cache: Katzenklappe Bewegungssensor
[20.6.2021, 21:07:14] [homebridge-eufy-security] Restoring existing accessory from cache: Balkontür Bewegungssensor
[20.6.2021, 21:07:14] [homebridge-eufy-security] Restoring existing accessory from cache: Halle
[20.6.2021, 21:07:14] [homebridge-eufy-security] Restoring existing accessory from cache: Haustür
[20.6.2021, 21:07:14] [homebridge-eufy-security] Restoring existing accessory from cache: Garage
[20.6.2021, 21:07:14] [homebridge-eufy-security] Restoring existing accessory from cache: Halle Bewegungssensor
[20.6.2021, 21:07:14] [homebridge-eufy-security] Restoring existing accessory from cache: Haustür Bewegungssensor
[20.6.2021, 21:07:14] [homebridge-eufy-security] Restoring existing accessory from cache: Vorhäuschen 
[20.6.2021, 21:07:14] [homebridge-eufy-security] Restoring existing accessory from cache: eufy HomeBase 2 Süd
[20.6.2021, 21:07:15] [homebridge-eufy-security] Restoring existing accessory from cache: eufy HomeBase 2 Nord
[20.6.2021, 21:07:15] [homebridge-eufy-security] Restoring existing accessory from cache: Schlafzimmer Schrank
[20.6.2021, 21:07:15] [homebridge-eufy-security] Restoring existing accessory from cache: Katzenthron
[20.6.2021, 21:07:15] [homebridge-eufy-security] Restoring existing accessory from cache: Esszimmer
[20.6.2021, 21:07:15] [homebridge-eufy-security] Restoring existing accessory from cache: Tankraum
[20.6.2021, 21:07:15] [homebridge-eufy-security] Restoring existing accessory from cache: Wohnzimmer
[20.6.2021, 21:07:15] [homebridge-eufy-security] Restoring existing accessory from cache: Katzenklappe
[20.6.2021, 21:07:16] [Homebridge UI] Terminal session ended.
[20.6.2021, 21:07:17] [Homebridge UI] Starting terminal session
[20.6.2021, 21:07:30] [homebridge-eufy-security] Eufy Guard Mode:  { value: 2, timestamp: 1623612544000 }
[20.6.2021, 21:07:30] [homebridge-eufy-security] Eufy Guard Mode:  { value: 2, timestamp: 1623612544000 }
[20.6.2021, 21:07:30] [homebridge-eufy-security] Eufy Guard Mode:  { value: 2, timestamp: 1598198228000 }
[20.6.2021, 21:07:30] [homebridge-eufy-security] Eufy Guard Mode:  { value: 2, timestamp: 1598198228000 }
(node:16537) UnhandledPromiseRejectionWarning: TypeError: this.eufyDevice.isEnabled is not a function
    at SecurityCameraAccessory.handleOnGet (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:186:42)
    at On.emit (events.js:375:28)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1508:14
    at new Promise (<anonymous>)
    at On.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1506:12)
    at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
    at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
    at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:113:16)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:16537) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:16537) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:16537) UnhandledPromiseRejectionWarning: TypeError: this.eufyDevice.isMotionDetectionEnabled is not a function
    at SecurityCameraAccessory.handleMotionOnGet (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:223:42)
    at On.emit (events.js:375:28)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1508:14
    at new Promise (<anonymous>)
    at On.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1506:12)
    at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
    at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
    at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:113:16)
(node:16537) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)
(node:16537) UnhandledPromiseRejectionWarning: TypeError: this.eufyDevice.isEnabled is not a function
    at SecurityCameraAccessory.handleOnGet (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:186:42)
    at On.emit (events.js:375:28)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1508:14
    at new Promise (<anonymous>)
    at On.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1506:12)
    at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
    at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
    at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:113:16)
(node:16537) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 6)
(node:16537) UnhandledPromiseRejectionWarning: TypeError: this.eufyDevice.isMotionDetectionEnabled is not a function
    at SecurityCameraAccessory.handleMotionOnGet (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:223:42)
    at On.emit (events.js:375:28)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1508:14
    at new Promise (<anonymous>)
    at On.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1506:12)
    at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
    at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
    at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:113:16)
(node:16537) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 7)
(node:16537) UnhandledPromiseRejectionWarning: TypeError: this.eufyDevice.isEnabled is not a function
    at SecurityCameraAccessory.handleOnGet (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:186:42)
    at On.emit (events.js:375:28)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1508:14
    at new Promise (<anonymous>)
    at On.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1506:12)
    at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
    at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
    at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:113:16)
(node:16537) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 9)
(node:16537) UnhandledPromiseRejectionWarning: TypeError: this.eufyDevice.isMotionDetectionEnabled is not a function
    at SecurityCameraAccessory.handleMotionOnGet (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:223:42)
    at On.emit (events.js:375:28)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1508:14
    at new Promise (<anonymous>)
    at On.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1506:12)
    at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
    at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
    at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:113:16)
(node:16537) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 10)
(node:16537) UnhandledPromiseRejectionWarning: TypeError: this.eufyDevice.isEnabled is not a function
    at SecurityCameraAccessory.handleOnGet (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:186:42)
    at On.emit (events.js:375:28)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1508:14
    at new Promise (<anonymous>)
    at On.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1506:12)
    at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
    at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
    at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:113:16)
(node:16537) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 12)
(node:16537) UnhandledPromiseRejectionWarning: TypeError: this.eufyDevice.isMotionDetectionEnabled is not a function
    at SecurityCameraAccessory.handleMotionOnGet (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:223:42)
    at On.emit (events.js:375:28)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1508:14
    at new Promise (<anonymous>)
    at On.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1506:12)
    at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
    at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
    at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:113:16)
(node:16537) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 13)
(node:16537) UnhandledPromiseRejectionWarning: TypeError: this.eufyDevice.isEnabled is not a function
    at SecurityCameraAccessory.handleOnGet (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:186:42)
    at On.emit (events.js:375:28)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1508:14
    at new Promise (<anonymous>)
    at On.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1506:12)
    at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
    at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
    at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:113:16)
(node:16537) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 15)
(node:16537) UnhandledPromiseRejectionWarning: TypeError: this.eufyDevice.isMotionDetectionEnabled is not a function
    at SecurityCameraAccessory.handleMotionOnGet (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:223:42)
    at On.emit (events.js:375:28)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1508:14
    at new Promise (<anonymous>)
    at On.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1506:12)
    at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
    at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
    at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:113:16)
(node:16537) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 16)
(node:16537) UnhandledPromiseRejectionWarning: TypeError: this.eufyDevice.isEnabled is not a function
    at SecurityCameraAccessory.handleOnGet (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:186:42)
    at On.emit (events.js:375:28)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1508:14
    at new Promise (<anonymous>)
    at On.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1506:12)
    at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
    at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
    at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:113:16)
(node:16537) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 18)
(node:16537) UnhandledPromiseRejectionWarning: TypeError: this.eufyDevice.isMotionDetectionEnabled is not a function
    at SecurityCameraAccessory.handleMotionOnGet (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:223:42)
    at On.emit (events.js:375:28)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1508:14
    at new Promise (<anonymous>)
    at On.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1506:12)
    at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
    at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
    at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
    at Object.__awaiter (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:113:16)
(node:16537) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 19)
(node:16537) UnhandledPromiseRejectionWarning: TypeError: this.eufyDevice.isMotionDetected is not a function
    at SecurityCameraAccessory.isMotionDetected (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:154:46)
    at SecurityCameraAccessory.handleMotionDetectedGet (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:164:37)
    at MotionDetected.emit (events.js:375:28)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1508:14
    at new Promise (<anonymous>)
    at MotionDetected.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1506:12)
    at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
    at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
    at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
(node:16537) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 20)
(node:16537) UnhandledPromiseRejectionWarning: TypeError: this.eufyDevice.isMotionDetected is not a function
    at SecurityCameraAccessory.isMotionDetected (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:154:46)
    at SecurityCameraAccessory.handleMotionDetectedGet (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:164:37)
    at MotionDetected.emit (events.js:375:28)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1508:14
    at new Promise (<anonymous>)
    at MotionDetected.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1506:12)
    at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
    at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
    at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
(node:16537) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 21)
(node:16537) UnhandledPromiseRejectionWarning: TypeError: this.eufyDevice.isMotionDetected is not a function
    at SecurityCameraAccessory.isMotionDetected (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:154:46)
    at SecurityCameraAccessory.handleMotionDetectedGet (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:164:37)
    at MotionDetected.emit (events.js:375:28)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1508:14
    at new Promise (<anonymous>)
    at MotionDetected.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1506:12)
    at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
    at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
    at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
(node:16537) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 22)
(node:16537) UnhandledPromiseRejectionWarning: TypeError: this.eufyDevice.isMotionDetected is not a function
    at SecurityCameraAccessory.isMotionDetected (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:154:46)
    at SecurityCameraAccessory.handleMotionDetectedGet (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:164:37)
    at MotionDetected.emit (events.js:375:28)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1508:14
    at new Promise (<anonymous>)
    at MotionDetected.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1506:12)
    at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
    at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
    at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
(node:16537) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 23)
(node:16537) UnhandledPromiseRejectionWarning: TypeError: this.eufyDevice.isMotionDetected is not a function
    at SecurityCameraAccessory.isMotionDetected (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:154:46)
    at SecurityCameraAccessory.handleMotionDetectedGet (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:164:37)
    at MotionDetected.emit (events.js:375:28)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1508:14
    at new Promise (<anonymous>)
    at MotionDetected.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1506:12)
    at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
    at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
    at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
(node:16537) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 24)
(node:16537) UnhandledPromiseRejectionWarning: TypeError: this.eufyDevice.isMotionDetected is not a function
    at SecurityCameraAccessory.isMotionDetected (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:154:46)
    at SecurityCameraAccessory.handleMotionDetectedGet (/usr/local/lib/node_modules/homebridge-eufy-security/src/securityCameraAccessory.ts:164:37)
    at MotionDetected.emit (events.js:375:28)
    at /usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1508:14
    at new Promise (<anonymous>)
    at MotionDetected.<anonymous> (/usr/local/lib/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:1506:12)
    at step (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:143:27)
    at Object.next (/usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:124:57)
    at /usr/local/lib/node_modules/homebridge/node_modules/tslib/tslib.js:117:75
    at new Promise (<anonymous>)
(node:16537) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 25)
[20.6.2021, 21:07:33] [homebridge-eufy-security] This plugin slows down Homebridge. The read handler for the characteristic 'Motion Detected' was slow to respond! See https://git.io/JtMGR for more info.
[20.6.2021, 21:07:33] [homebridge-eufy-security] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[20.6.2021, 21:07:33] [homebridge-eufy-security] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[20.6.2021, 21:07:33] [homebridge-eufy-security] This plugin slows down Homebridge. The read handler for the characteristic 'Motion Detected' was slow to respond! See https://git.io/JtMGR for more info.
[20.6.2021, 21:07:33] [homebridge-eufy-security] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[20.6.2021, 21:07:33] [homebridge-eufy-security] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[20.6.2021, 21:07:33] [homebridge-eufy-security] This plugin slows down Homebridge. The read handler for the characteristic 'Motion Detected' was slow to respond! See https://git.io/JtMGR for more info.
[20.6.2021, 21:07:33] [homebridge-eufy-security] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[20.6.2021, 21:07:33] [homebridge-eufy-security] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[20.6.2021, 21:07:33] [homebridge-eufy-security] This plugin slows down Homebridge. The read handler for the characteristic 'Motion Detected' was slow to respond! See https://git.io/JtMGR for more info.
[20.6.2021, 21:07:33] [homebridge-eufy-security] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[20.6.2021, 21:07:33] [homebridge-eufy-security] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[20.6.2021, 21:07:33] [homebridge-eufy-security] This plugin slows down Homebridge. The read handler for the characteristic 'Motion Detected' was slow to respond! See https://git.io/JtMGR for more info.
[20.6.2021, 21:07:33] [homebridge-eufy-security] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[20.6.2021, 21:07:33] [homebridge-eufy-security] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[20.6.2021, 21:07:33] [homebridge-eufy-security] This plugin slows down Homebridge. The read handler for the characteristic 'Motion Detected' was slow to respond! See https://git.io/JtMGR for more info.
[20.6.2021, 21:07:33] [homebridge-eufy-security] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[20.6.2021, 21:07:33] [homebridge-eufy-security] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.

Plugin Config:

{
    "username": "xxx@xxx.com",
    "password": "secret",
    "hkHome": 1,
    "hkAway": 0,
    "hkNight": 3,
    "hkOff": 2,
    "_bridge": {
        "name": "Homebridge-EufySecurity",
        "username": "0E:A8:1D:EB:A8:F2",
        "port": 50773
    },
    "platform": "EufySecurity"
}

Environment:

lenoxys commented 3 years ago

Trying to fix with the new version. Please check.