Brandawg93/homebridge-ezviz

Service Loop after Configure homebridge-ezviz Plugin

ahmadshaugi81 opened this issue · 1 comments

Hi, I just install the homebridge-ezviz plugin. But everyitme I configured it and add accessories, the Homebridge service are keep restarting. If I remove homebridge-ezviz configuration, without removing the plugin, then Homebridge service run normally and service loop was stopped.

This is the debug log

[5/4/2022, 4:29:10 PM] Homebridge v1.4.1 (HAP v0.10.2) (Homebridge 5237) is running on port 51305.
[5/4/2022, 4:29:10 PM] [EZVIZ] New camera found: X5S(E01076328)
[5/4/2022, 4:29:10 PM] [EZVIZ] Configuring accessory X5SE01076328
[5/4/2022, 4:29:10 PM] TypeError: Cannot read properties of undefined (reading 'find')
at EZVIZPlatform.configureAccessory (/usr/local/lib/node_modules/homebridge-ezviz/src/index.ts:88:44)
at /usr/local/lib/node_modules/homebridge-ezviz/src/index.ts:134:14
at Array.forEach ()
at EZVIZPlatform. (/usr/local/lib/node_modules/homebridge-ezviz/src/index.ts:114:13)
at Generator.next ()
at /usr/local/lib/node_modules/homebridge-ezviz/dist/index.js:8:71
at new Promise ()
at __awaiter (/usr/local/lib/node_modules/homebridge-ezviz/dist/index.js:4:12)
at EZVIZPlatform.addCameras (/usr/local/lib/node_modules/homebridge-ezviz/dist/index.js:86:16)
at EZVIZPlatform. (/usr/local/lib/node_modules/homebridge-ezviz/src/index.ts:171:18)
[5/4/2022, 4:29:10 PM] Got SIGTERM, shutting down Homebridge...

On what device are you running homebridge: MacBook Pro
On what iOS version are you having issues: MacOS Monterrey
What camera types are having issues:
Does this issue occur consistently or randomly: Consistent
If applicable, what was the last version that worked properly: First time used.

@ahmadshaugi81 - this issue is being automatically closed because it does not follow either the feature request or bug report issue template. The issue templates have been designed to help in the troubleshooting (or feature request) process. Please use them and populate it as completely as possible to streamline troubleshooting or feature request discussions.