NEWS
[Neuer Adapter] Reolink Kamera
-
@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().
-
@da_woody Ich habe jetzt mal die Autofokus Funktion deaktiviert. Leider habe ich keine Kamera mit Autofokus und daher konnte ich das nicht testen. Bitte lade dir in 10 min nochmal die aktuelle Version von GitHub.
Danke
-
@andy-grundt mach ich morgen. bin heute erledigt und muß die hufe hochlagern...
ist ja kein stress. mit der vorigen war alles noch grün... -
@da_woody OK, geb dann bitte nochmal bescheid! Danke
-
@andy-grundt moin! gerade noch mal drübergespielt, jetzt wurde reolink.0 grün. die beiden anderen instanzen gestartet, auch beide grün.
log:reolink.2 2022-10-26 06:16:19.517 warn Read-only state "reolink.2.disc.mounted" has been written without ack-flag with value "false" reolink.2 2022-10-26 06:16:19.471 warn Read-only state "reolink.2.disc.free" has been written without ack-flag with value "0" reolink.2 2022-10-26 06:16:19.424 warn Read-only state "reolink.2.disc.formatted" has been written without ack-flag with value "false" reolink.2 2022-10-26 06:16:19.413 warn Read-only state "reolink.2.disc.capacity" has been written without ack-flag with value "0" reolink.1 2022-10-26 06:16:12.548 warn Read-only state "reolink.1.disc.mounted" has been written without ack-flag with value "false" reolink.1 2022-10-26 06:16:12.492 warn Read-only state "reolink.1.disc.free" has been written without ack-flag with value "0" reolink.1 2022-10-26 06:16:12.435 warn Read-only state "reolink.1.disc.formatted" has been written without ack-flag with value "false" reolink.1 2022-10-26 06:16:12.386 warn Read-only state "reolink.1.disc.capacity" has been written without ack-flag with value "0" reolink.0 2022-10-26 06:15:45.925 warn Read-only state "reolink.0.disc.mounted" has been written without ack-flag with value "false" reolink.0 2022-10-26 06:15:45.878 warn Read-only state "reolink.0.disc.free" has been written without ack-flag with value "0" reolink.0 2022-10-26 06:15:45.833 warn Read-only state "reolink.0.disc.formatted" has been written without ack-flag with value "false" reolink.0 2022-10-26 06:15:45.784 warn Read-only state "reolink.0.disc.capacity" has been written without ack-flag with value "0"
hatte gestern auch bei Hosts eine fehlermeldung. da stand was von "restart loop endeckt" leider keinen screenshot gemacht.
-
@da_woody Danke...falls du noch was findest, sagt beschied.
-
@andy-grundt gerne, wenn ich zeit habe und verschiedene dingens probiere. ich verwende die meisten adapter nur rudimentär, also ohne irgend welche benachrichtigungen. so gesehn verwende ich auch keine bewegundmeldungen und sonstiges.
kann dir also nur berichten, ob eine neue version nicht tut... -
Hallöchen, ich habe es in der Vis mit folgendem Link eingefügt und es funktioniert einwandfrei.
https://IP-der-Kamera/cgi-bin/api.cgi?cmd=Snap&channel=0&rs=wuuPhkmUCeI9WG 7C&user=Benutzername&password=Password&width=1920&height=1080