iobroker-community-adapters/ioBroker.unifi-protect

Stündliche Adapter Restarts

tritanium73 opened this issue · 0 comments

Beinahe jede Stunde kommen diese "Fehlermeldungen" & der Adapter startet neu...:

`

host.iobroker 2024-05-21 11:30:00.317 info instance system.adapter.daswetter.0 started with pid 2532561
unifi-protect.0 2024-05-21 11:27:01.830 info 192.168.50.203: Discovered camera: Küche [UVC G3 Flex] (address: 192.168.50.84 mac: D021F9982373).
unifi-protect.0 2024-05-21 11:27:01.820 info 192.168.50.203: Discovered camera: Hauszuwegung [UVC G3 Dome] (address: 192.168.50.82 mac: F09FC22FC38B).
unifi-protect.0 2024-05-21 11:27:01.816 info 192.168.50.203: Discovered camera: Elektrokeller Fenster [UVC G3 Dome] (address: 192.168.50.83 mac: F09FC22FC517).
unifi-protect.0 2024-05-21 11:27:01.811 info 192.168.50.203: Discovered camera: Haustür [UVC G3 Dome] (address: 192.168.50.80 mac: F09FC2134657).
unifi-protect.0 2024-05-21 11:27:01.799 info 192.168.50.203: Discovered camera: Elektrokeller Tür [UVC G3] (address: 192.168.50.81 mac: F09FC27F9651).
unifi-protect.0 2024-05-21 11:26:57.867 info 192.168.50.203: Connected to the UniFi realtime update events API.
unifi-protect.0 2024-05-21 11:26:57.799 info 192.168.50.203: Connected to the Protect controller API (address: 192.168.50.203 mac: D021F9753C55).
unifi-protect.0 2024-05-21 11:26:55.970 info starting. Version 1.0.0 in /opt/iobroker/node_modules/iobroker.unifi-protect, node: v18.20.2, js-controller: 5.0.19
host.iobroker 2024-05-21 11:26:53.903 info instance system.adapter.unifi-protect.0 started with pid 2532102
host.iobroker 2024-05-21 11:26:23.695 info Restart adapter system.adapter.unifi-protect.0 because enabled
host.iobroker 2024-05-21 11:26:23.695 error instance system.adapter.unifi-protect.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
unifi-protect.0 2024-05-21 11:26:23.481 info terminating
unifi-protect.0 2024-05-21 11:26:22.978 warn Terminated (UNCAUGHT_EXCEPTION): Without reason
unifi-protect.0 2024-05-21 11:26:22.977 info terminating
unifi-protect.0 2024-05-21 11:26:22.976 info cleaned everything up...
unifi-protect.0 2024-05-21 11:26:22.962 error Cannot read properties of null (reading 'cameras')
unifi-protect.0 2024-05-21 11:26:22.961 error TypeError: Cannot read properties of null (reading 'cameras') at ProtectApi.refreshDevices (/opt/iobroker/node_modules/iobroker.unifi-protect/protect_api/protect-api.js:238:46) at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
unifi-protect.0 2024-05-21 11:26:22.959 error unhandled promise rejection: Cannot read properties of null (reading 'cameras')
unifi-protect.0 2024-05-21 11:26:22.958 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 2024-05-21 11:26:22.954 error 192.168.50.203: Unable to parse response from UniFi Protect. Will retry again later.
 
`

Um dieses zu Reproduzieren muss ich nur eine Stunde warten :-)

Zusätzlich habe ich noch den "Unify Network" Adapter laufen, wo auch geringfügig Probleme bestehen, das sich DPs nicht updaten, erst wenn ich den Adapter mal neu starte, geht das wieder für eine Zeit lang.

Zum Einsatz hier kommt ein "CloudKey G2 Plus" mit der Version 3.2.12

IOBroker Versions:

  • Protect Adapter version: 1.0.0
  • Network Adapter Version : 0.7.0
  • JS-Controller version: 5.0.19
  • NPM: 10.5.0
  • Node version: 18.20.2
  • Operating system: Ubuntu 22.04 LTS

Vielleicht hat ja jemand Ideen, wie wir das Problem in den Griff bekommen, falls also noch was benötigt wird, einfahc Bescheid geben

gruß Micha