Open meanwhile28 opened 2 years ago
Ich habe das gleiche Problem
@peterbaumert I have the same problem. The adapter is no longer usable and does not get past a restart loop.
Unifi protect version :1.21.3 JS Controller: 4.0.21 NodeJS : 14.19.1
UPDATE: After I updated the JS controller (4.0.21) and nodeJS (14.19.1) to the latest version and did the iob fix, the adapter is currently green again and works again
Hi, muss mich leider anschließen. Hab mir nun extra ne Unifi Chime zugelegt da iobroker nun nicht mehr "klingelt" Ich nutze UniFi OS UDM Pro 2.5.17 Unifi Protect 2.2.11 Unifi Protect Adapter v0.0.13 Node.js: v16.19.0
Will have a look those days, sorry didn't have much free time the past year.
Bei mir habe ich das selbe Problem. Dazu kommt das ich alle Bewegungserkennungen der Kameras außer "Ring" deaktiviert habe, trotzdem werden Bewegungen laut Log permanent erfasst. Ich nutze derzeit 14 Kameras und eine Türklingel. `
host.iobroker | 2023-05-30 04:54:28.808 | warn | Do not restart adapter system.adapter.unifi-protect.0 because restart loop detected -- | -- | -- | -- host.iobroker | 2023-05-30 04:54:28.808 | info | Restart adapter system.adapter.unifi-protect.0 because enabled host.iobroker | 2023-05-30 04:54:28.808 | error | instance system.adapter.unifi-protect.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.iobroker | 2023-05-30 04:54:28.808 | error | Caught by controller[0]: at processTicksAndRejections (node:internal/process/task_queues:95:5) host.iobroker | 2023-05-30 04:54:28.808 | error | Caught by controller[0]: at ProtectApi.launchUpdatesListener (/opt/iobroker/node_modules/iobroker.unifi-protect/protect_api/protect-api.js:177:69) host.iobroker | 2023-05-30 04:54:28.808 | error | Caught by controller[0]: TypeError: Cannot read properties of null (reading 'lastUpdateId') host.iobroker | 2023-05-30 04:54:28.807 | error | Caught by controller[0]: 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(). The promise rejected with the reason: unifi-protect.0 | 2023-05-30 04:54:28.258 | warn | Terminated (UNCAUGHT_EXCEPTION): Without reason unifi-protect.0 | 2023-05-30 04:54:28.258 | debug | Plugin sentry destroyed unifi-protect.0 | 2023-05-30 04:54:28.258 | info | terminating unifi-protect.0 | 2023-05-30 04:54:28.258 | info | cleaned everything up... unifi-protect.0 | 2023-05-30 04:54:28.257 | debug | 192.168.1.1: Disconnecting websocket! unifi-protect.0 | 2023-05-30 04:54:28.257 | debug | 192.168.1.1: Clearing Login Credentials! unifi-protect.0 | 2023-05-30 04:54:28.253 | error | Cannot read properties of null (reading 'lastUpdateId') unifi-protect.0 | 2023-05-30 04:54:28.253 | error | TypeError: Cannot read properties of null (reading 'lastUpdateId') at ProtectApi.launchUpdatesListener (/opt/iobroker/node_modules/iobroker.unifi-protect/protect_api/protect-api.js:177:69) at processTicksAndRejections (node:internal/process/task_queues:95:5) unifi-protect.0 | 2023-05-30 04:54:28.252 | error | unhandled promise rejection: Cannot read properties of null (reading 'lastUpdateId') unifi-protect.0 | 2023-05-30 04:54:28.252 | error | 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(). unifi-protect.0 | 2023-05-30 04:54:28.251 | error | 192.168.1.1: Unable to parse response from UniFi Protect. Will retry again later. unifi-protect.0 | 2023-05-30 04:54:28.251 | error | 192.168.1.1: Controller API connection terminated because it was taking too long. This error can usually be safely ignored.` @peterbaumert Prima Arbeit vielen Dank
Adapter wird neugestartet und looped bei Erkennung von Bewegungen die erkannt werden.
To Reproduce
Bewegung auslösen
Expected behavior
Snapshot wird erstellt und gespeichert.
unifi-protect.0
Versions: