NEWS
[Neuer Adapter] Reolink Kamera
-
nein läuft nicht im Docker sondern direkt auf einem Mini-PC. Wie hast du denn den Adapter eingestellt für die Kamera?
-
@idefix01 Wichtig sind zwei Punkte:
- https oder http
- Standart port 443 / 80 oder spezieller
Sonst ist bei Dir alles so wie bei mir.
Der Port, wenn nicht standart, wird einfach an die ip gehängt a.b.c.d:3288
-
@idefix01 Aber das sieht doch gut aus.
-
also müssen die Settings alle (Null) sein?
-
@Idefix01 Jetzt verstehe ich Deine Frage. Die Daten werden noch nicht gelesen. Die sind nur zum Steuern da. Nur Motion wird noch zusätzlich gelesen. Leider im polling betrieb, da push nicht geht ohne reolink server.
-
@idefix01 Ja, schreib einfach mal was rein und Deine Kamera macht das dann.
-
ok verstehe, also alles i.O soweit. Danke
-
@idefix01 Ich muss da mal ein Kommentar dran machen, bis wir das Lesen implementiert haben.
-
ok alles klar
-
Hallo,
Ich habe den Adapter installier und eingerichtet alles super. könnten Sie mir noch erklären wie ich das in der vis alles angezeigt bekomme!
Danke! -
Hallo @wallsin,
Leider hat das noch keiner geschafft ohne transcoding. Unter Linux gibt es da viele Tools. Der Adapter hilft da aber nicht. Gruß Christian. -
Vielen dank!
-
Hallo Zusammen,
ich habe jetzt wieder etwas mehr Zeit um mich mit der Adapter-Entwicklung zu beschäftigen.
@oelison hat ja schon viel entwickelt und integriert. VIELEN DANK dafür.Dazu habe ich jetzt einen neuen minor release veröffentlicht (0.1.0). Dabei wurde der Code etwas aufgeräumt, optimiert und ein paar gewünschte Funktionen integriert:
- added getAutoFocus funktion
- beim Start, prüft Status von Autofocus
- added getIrLight funktion
- beim Start, prüft Status von IR Licht
- added getWhiteLED function
- beim Start, prüft Status von LEDs
- added getMailNotification function & setMailNotification function
- beim Start, Ein- bzw. Ausschalten der Mail Benachrichtigung
Falls eure Kamera eine der Funktionen nicht unterstützen sollte, wird im Datenpunkt "Error or not supported" angezeigt.
Falls Ihr noch Wünsche habt oder Verbesserungsvorschläge, melde euch.
Ich bin jetzt wieder mehr aktiv.Danke & viele Grüße
aendue -
@andy-grundt super, dass der Adapter so viel Interesse weckt. Kommst du an den Motion Trigger heran? Also, wenn Bewegung, dann Datenpunkt true?
-
@hansi1234 Motion Detection wird schon gelesen. Findest du unter: reolink.0.sensor.motion
-
@andy-grundt ah funktioniert das? Geht auch Mensch, Fahrzeug , Tiererkennung?
-
@andy-grundt autsch, hab über git die neue version eingespielt.
host.ioBroker 2022-10-25 19:47:34.662 warn Do not restart adapter system.adapter.reolink.0 because restart loop detected host.ioBroker 2022-10-25 19:47:34.662 error instance system.adapter.reolink.0 terminated with code 6 (UNCAUGHT_EXCEPTION) reolink.0 2022-10-25 19:47:33.970 warn Terminated (UNCAUGHT_EXCEPTION): Without reason reolink.0 2022-10-25 19:47:33.968 error Cannot read properties of null (reading 'val') reolink.0 2022-10-25 19:47:33.968 error TypeError: Cannot read properties of null (reading 'val') at ReoLinkCam.onReady (/opt/iobroker/node_modules/iobroker.reolink/main.js:67:36) reolink.0 2022-10-25 19:47:33.968 error unhandled promise rejection: Cannot read properties of null (reading 'val') reolink.0 2022-10-25 19:47:33.967 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(). host.ioBroker 2022-10-25 19:47:02.266 error instance system.adapter.reolink.0 terminated with code 6 (UNCAUGHT_EXCEPTION) reolink.0 2022-10-25 19:47:01.628 warn Terminated (UNCAUGHT_EXCEPTION): Without reason reolink.0 2022-10-25 19:47:01.626 error Cannot read properties of null (reading 'val') reolink.0 2022-10-25 19:47:01.625 error TypeError: Cannot read properties of null (reading 'val') at ReoLinkCam.onReady (/opt/iobroker/node_modules/iobroker.reolink/main.js:67:36) reolink.0 2022-10-25 19:47:01.625 error unhandled promise rejection: Cannot read properties of null (reading 'val') reolink.0 2022-10-25 19:47:01.624 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(). host.ioBroker 2022-10-25 19:46:39.189 error instance system.adapter.reolink.0 terminated with code 6 (UNCAUGHT_EXCEPTION) reolink.0 2022-10-25 19:46:38.565 warn Terminated (UNCAUGHT_EXCEPTION): Without reason reolink.0 2022-10-25 19:46:38.556 error Cannot read properties of null (reading 'val') reolink.0 2022-10-25 19:46:38.556 error TypeError: Cannot read properties of null (reading 'val') at ReoLinkCam.onReady (/opt/iobroker/node_modules/iobroker.reolink/main.js:67:36) reolink.0 2022-10-25 19:46:38.555 error unhandled promise rejection: Cannot read properties of null (reading 'val') reolink.0 2022-10-25 19:46:38.554 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(). host.ioBroker 2022-10-25 19:46:31.252 warn Do not restart adapter system.adapter.reolink.2 because restart loop detected host.ioBroker 2022-10-25 19:46:31.251 error instance system.adapter.reolink.2 terminated with code 6 (UNCAUGHT_EXCEPTION) host.ioBroker 2022-10-25 19:46:30.973 warn Do not restart adapter system.adapter.reolink.1 because restart loop detected host.ioBroker 2022-10-25 19:46:30.973 error instance system.adapter.reolink.1 terminated with code 6 (UNCAUGHT_EXCEPTION) host.ioBroker 2022-10-25 19:46:30.807 warn Do not restart adapter system.adapter.reolink.0 because restart loop detected host.ioBroker 2022-10-25 19:46:30.807 error instance system.adapter.reolink.0 terminated with code 6 (UNCAUGHT_EXCEPTION) reolink.2 2022-10-25 19:46:30.379 warn Terminated (UNCAUGHT_EXCEPTION): Without reason reolink.2 2022-10-25 19:46:30.360 error Cannot read properties of null (reading 'val') reolink.2 2022-10-25 19:46:30.360 error TypeError: Cannot read properties of null (reading 'val') at ReoLinkCam.onReady (/opt/iobroker/node_modules/iobroker.reolink/main.js:67:36) reolink.2 2022-10-25 19:46:30.359 error unhandled promise rejection: Cannot read properties of null (reading 'val') reolink.2 2022-10-25 19:46:30.355 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(). reolink.1 2022-10-25 19:46:30.318 warn Terminated (UNCAUGHT_EXCEPTION): Without reason reolink.1 2022-10-25 19:46:30.288 error Cannot read properties of null (reading 'val') reolink.1 2022-10-25 19:46:30.281 error TypeError: Cannot read properties of null (reading 'val') at ReoLinkCam.onReady (/opt/iobroker/node_modules/iobroker.reolink/main.js:67:36) reolink.1 2022-10-25 19:46:30.272 error unhandled promise rejection: Cannot read properties of null (reading 'val') reolink.1 2022-10-25 19:46:30.267 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(). reolink.0 2022-10-25 19:46:30.182 warn Terminated (UNCAUGHT_EXCEPTION): Without reason reolink.0 2022-10-25 19:46:30.151 error Cannot read properties of null (reading 'val') reolink.0 2022-10-25 19:46:30.151 error TypeError: Cannot read properties of null (reading 'val') at ReoLinkCam.onReady (/opt/iobroker/node_modules/iobroker.reolink/main.js:67:36) reolink.0 2022-10-25 19:46:30.150 error unhandled promise rejection: Cannot read properties of null (reading 'val') reolink.0 2022-10-25 19:46:30.148 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(). host.ioBroker 2022-10-25 19:45:55.574 error instance system.adapter.reolink.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.ioBroker 2022-10-25 19:45:55.345 error instance system.adapter.reolink.1 terminated with code 6 (UNCAUGHT_EXCEPTION) host.ioBroker 2022-10-25 19:45:55.186 error instance system.adapter.reolink.2 terminated with code 6 (UNCAUGHT_EXCEPTION) reolink.0 2022-10-25 19:45:54.772 warn Terminated (UNCAUGHT_EXCEPTION): Without reason reolink.0 2022-10-25 19:45:54.766 error Cannot read properties of null (reading 'val') reolink.0 2022-10-25 19:45:54.766 error TypeError: Cannot read properties of null (reading 'val') at ReoLinkCam.onReady (/opt/iobroker/node_modules/iobroker.reolink/main.js:67:36) reolink.0 2022-10-25 19:45:54.765 error unhandled promise rejection: Cannot read properties of null (reading 'val') reolink.0 2022-10-25 19:45:54.764 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(). reolink.1 2022-10-25 19:45:54.665 warn Terminated (UNCAUGHT_EXCEPTION): Without reason reolink.1 2022-10-25 19:45:54.631 error Cannot read properties of null (reading 'val') reolink.1 2022-10-25 19:45:54.631 error TypeError: Cannot read properties of null (reading 'val') at ReoLinkCam.onReady (/opt/iobroker/node_modules/iobroker.reolink/main.js:67:36) reolink.1 2022-10-25 19:45:54.630 error unhandled promise rejection: Cannot read properties of null (reading 'val') reolink.1 2022-10-25 19:45:54.629 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(). reolink.2 2022-10-25 19:45:54.550 warn Terminated (UNCAUGHT_EXCEPTION): Without reason reolink.2 2022-10-25 19:45:54.526 error Cannot read properties of null (reading 'val') reolink.2 2022-10-25 19:45:54.523 error TypeError: Cannot read properties of null (reading 'val') at ReoLinkCam.onReady (/opt/iobroker/node_modules/iobroker.reolink/main.js:67:36) reolink.2 2022-10-25 19:45:54.522 error unhandled promise rejection: Cannot read properties of null (reading 'val') reolink.2 2022-10-25 19:45:54.518 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(). host.ioBroker 2022-10-25 19:45:20.651 error instance system.adapter.reolink.0 terminated with code 6 (UNCAUGHT_EXCEPTION) host.ioBroker 2022-10-25 19:45:20.547 error instance system.adapter.reolink.1 terminated with code 6 (UNCAUGHT_EXCEPTION) host.ioBroker 2022-10-25 19:45:20.251 error instance system.adapter.reolink.2 terminated with code 6 (UNCAUGHT_EXCEPTION) reolink.1 2022-10-25 19:45:19.913 warn Terminated (UNCAUGHT_EXCEPTION): Without reason reolink.0 2022-10-25 19:45:19.910 warn Terminated (UNCAUGHT_EXCEPTION): Without reason reolink.1 2022-10-25 19:45:19.895 error Cannot read properties of null (reading 'val')
-
@hansi1234 ja das funktioniert. Warum sollte es auch nicht, wenn wir es einbauen.
Allerdings muss der Status von der Kamera abgefragt werden (Polling). Push funktioniert leider nicht. (Bei Push würde sich die Kamera melden)
Wenn die Kamera ein Objekt erkennt, hat diese den Status für 30 Sekunden. Im Adapter kannst du die Abfragezeit einstellen. Default ist 10s.Zurzeit ist es ein allgemeiner Status von allen 3 (Mensch, Auto, Tier)
-
@da_woody Kannst du mal auf debug stellen und dann nochmal die Fehlermeldung zuschicken?
EDIT: Fehler in GetAutoFocus Funktion gefunden. Bitte nochmal neu von GitHub installieren.
-
@andy-grundt alle instanzen gestoppt, update,
host.ioBroker 2022-10-25 20:11:56.768 warn Do not restart adapter system.adapter.reolink.0 because restart loop detected host.ioBroker 2022-10-25 20:11:56.768 error instance system.adapter.reolink.0 terminated with code 6 (UNCAUGHT_EXCEPTION) reolink.0 2022-10-25 20:11:56.074 warn Terminated (UNCAUGHT_EXCEPTION): Without reason reolink.0 2022-10-25 20:11:56.061 error Cannot read properties of null (reading 'val') reolink.0 2022-10-25 20:11:56.061 error TypeError: Cannot read properties of null (reading 'val') at ReoLinkCam.onReady (/opt/iobroker/node_modules/iobroker.reolink/main.js:67:36) reolink.0 2022-10-25 20:11:56.061 error unhandled promise rejection: Cannot read properties of null (reading 'val') reolink.0 2022-10-25 20:11:56.060 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(). host.ioBroker 2022-10-25 20:11:23.963 error instance system.adapter.reolink.0 terminated with code 6 (UNCAUGHT_EXCEPTION) reolink.0 2022-10-25 20:11:23.354 warn Terminated (UNCAUGHT_EXCEPTION): Without reason reolink.0 2022-10-25 20:11:23.347 error Cannot read properties of null (reading 'val') reolink.0 2022-10-25 20:11:23.347 error TypeError: Cannot read properties of null (reading 'val') at ReoLinkCam.onReady (/opt/iobroker/node_modules/iobroker.reolink/main.js:67:36) reolink.0 2022-10-25 20:11:23.346 error unhandled promise rejection: Cannot read properties of null (reading 'val') reolink.0 2022-10-25 20:11:23.345 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(). host.ioBroker 2022-10-25 20:10:51.498 error instance system.adapter.reolink.0 terminated with code 6 (UNCAUGHT_EXCEPTION) reolink.0 2022-10-25 20:10:50.867 warn Terminated (UNCAUGHT_EXCEPTION): Without reason reolink.0 2022-10-25 20:10:50.860 error Cannot read properties of null (reading 'val') reolink.0 2022-10-25 20:10:50.859 error TypeError: Cannot read properties of null (reading 'val') at ReoLinkCam.onReady (/opt/iobroker/node_modules/iobroker.reolink/main.js:67:36) reolink.0 2022-10-25 20:10:50.859 error unhandled promise rejection: Cannot read properties of null (reading 'val') reolink.0 2022-10-25 20:10:50.858 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().