NEWS
Test Adapter zoneminder v0.3.x
-
@coyote in der0.2.0 hatte ich noch einen fehler mit dem link, das ist in der 0.2.1 gefixed
-
@Meistertr hab ich jetzt angehoben auf 2.0.1 geht leider trotzdem noch nicht. Ich muss bestimmt in Zoneminder noch irgendwas einstellen, damit es funktioniert
-
@coyote Kannst du via Browser direkt auf deine Cams zugreifen?
Bsp:
http://192.168.x.x/zm/cgi-bin/nph-zms?scale=50&width=960px&height=540px&mode=jpeg&maxfps=30&monitor=1&user=USERNAME&pass=PASSWORTDu musst IP , Benutzerdaten und Monitor Nr. anpassen, falls du keine Benutzer Einschränkung hast, kannst du das Passwort und User einfach weglassen.
-
@Xsev geht jetzt, hatte OPT_USE_AUTH angehakt in Zoneminder. Haken weg und läuft, trotzdem muss ich in der Adapter Konfig user und pwd angeben, das wusste ich nicht. Hatte versucht es da auch leer zu lassen, dann schmiert aber der Adapter ab.
Wenn der Haken bei OPT_USE_AUTH gesetzt ist, kommt in der URL unter dem Datenpunkt direkt eine Zeichenkette mit, dachte diese URL könnte ich dann direkt nutzen -
@coyote Da solllte es mit anmeldedaten gehen. das ist ja sinn und zweck der ganzen sache, dass due steams nicht alle offen im netzwerk sind..
hast du den Hinweis in der Readme beachtet?
-
@Meistertr Ja hab die 2.0.1 drauf. Wer lesen kann, ist klar im Vorteil....natürlich hab ich den Hinweis in der Readme nicht gesehen. Läuft jetzt
-
Sehr gut!
Ich nutze den Zoneminder in meinem Homenetzwerk völlig ohne anmeldung, schätze deshalb ging es bei mir auch mit dem Haken, die Readme hab ich natürlich auch nicht gelesen , ging ja alles gleich -
Sehr schön das es diesen Adapter gibt Bin nun auch von Motion umgestiegen.
Ein true/false bei MotionDetection wäre hier natürlich noch schön
Eine Frage.....wie skalierst du ein Stream das in VIS eingebunden wird? Ich bekomme das einfach nicht hin und mein HTML Widget hat immer Scrollbalken
-
@mikiline die Motion Erkennung kommt natürlich noch. Sobald ich mit meiner Zoneminder installation nicht mehr auf Kriegsfuß stehe... Ich habe bis jetzt Zwei Reolink cams und schaffe es einfach nicht den 5mp Stream ohne 10 Sekunden Latenz einzubinden.. über die App von Reolink klappt das ja auch... aber das ist ein anderes Thema.
Lad mal dein Widget hoch, dann schau ich mir das mal an.
-
Danke fürs Nachsehen
Hatte es mit Scale und den width und height Angaben versucht...In meinem Datenpunkt steht der Link: http://192.168.xx.xxx/zm/cgi-bin/nph-zms?mode=jpeg&scale=30&width=350px&height=220px&maxfps=25&monitor=1&null
-
@mikiline versuchs mal hiermit:
[{"tpl":"tplHtml","data":{"g_fixed":false,"g_visibility":false,"g_css_font_text":false,"g_css_background":false,"g_css_shadow_padding":false,"g_css_border":false,"g_gestures":false,"g_signals":false,"g_last_change":false,"visibility-cond":"==","visibility-val":1,"visibility-groups-action":"hide","refreshInterval":"60000","signals-cond-0":"==","signals-val-0":true,"signals-icon-0":"/vis/signals/lowbattery.png","signals-icon-size-0":0,"signals-blink-0":false,"signals-horz-0":0,"signals-vert-0":0,"signals-hide-edit-0":false,"signals-cond-1":"==","signals-val-1":true,"signals-icon-1":"/vis/signals/lowbattery.png","signals-icon-size-1":0,"signals-blink-1":false,"signals-horz-1":0,"signals-vert-1":0,"signals-hide-edit-1":false,"signals-cond-2":"==","signals-val-2":true,"signals-icon-2":"/vis/signals/lowbattery.png","signals-icon-size-2":0,"signals-blink-2":false,"signals-horz-2":0,"signals-vert-2":0,"signals-hide-edit-2":false,"lc-type":"last-change","lc-is-interval":true,"lc-is-moment":false,"lc-format":"","lc-position-vert":"top","lc-position-horz":"right","lc-offset-vert":0,"lc-offset-horz":0,"lc-font-size":"12px","lc-font-family":"","lc-font-style":"","lc-bkg-color":"","lc-color":"","lc-border-width":"0","lc-border-style":"","lc-border-color":"","lc-border-radius":10,"lc-zindex":0,"html":"<img src=\"{zoneminder.0.cam_2.monitor.camUrl}\" height=\"100%\" width=\"auto\">"},"style":{"left":"8px","top":"8px","width":"calc(100% - 16px)","height":"calc(100% - 16px)"},"widgetSet":"basic"}]
-
Hi.
ich bekomme den Adapter in iobroker nicht verbunden.
Hier die Meldungen aus dem Log-File:
2019-10-04 12:26:38.424 - info: zoneminder.0 cleaned everything up... 2019-10-04 12:26:38.430 - info: zoneminder.0 cleaned everything up... 2019-10-04 12:26:38.444 - error: Caught by controller[1]: Unhandled rejection TypeError: Cannot read property 'monitors' of null 2019-10-04 12:26:38.444 - error: Caught by controller[1]: at _get2 (/opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:208:18) 2019-10-04 12:26:38.444 - error: Caught by controller[1]: at /opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:130:47 2019-10-04 12:26:38.444 - error: Caught by controller[1]: at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/util.js:16:23) 2019-10-04 12:26:38.444 - error: Caught by controller[1]: at Promise._settlePromiseFromHandler (/opt/iobroker/node_modules/bluebird/js/release/promise.js:517:31) 2019-10-04 12:26:38.444 - error: Caught by controller[1]: at Promise._settlePromise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:574:18) 2019-10-04 12:26:38.444 - error: Caught by controller[1]: at Promise._settlePromise0 (/opt/iobroker/node_modules/bluebird/js/release/promise.js:619:10) 2019-10-04 12:26:38.444 - error: Caught by controller[1]: at Promise._settlePromises (/opt/iobroker/node_modules/bluebird/js/release/promise.js:695:18) 2019-10-04 12:26:38.444 - error: Caught by controller[1]: at _drainQueueStep (/opt/iobroker/node_modules/bluebird/js/release/async.js:138:12) 2019-10-04 12:26:38.444 - error: Caught by controller[1]: at _drainQueue (/opt/iobroker/node_modules/bluebird/js/release/async.js:131:9) 2019-10-04 12:26:38.444 - error: Caught by controller[1]: at Async._drainQueues (/opt/iobroker/node_modules/bluebird/js/release/async.js:147:5) 2019-10-04 12:26:38.445 - error: Caught by controller[1]: at Immediate.Async.drainQueues [as _onImmediate] (/opt/iobroker/node_modules/bluebird/js/release/async.js:17:14) 2019-10-04 12:26:38.445 - error: Caught by controller[1]: at runCallback (timers.js:705:18) 2019-10-04 12:26:38.445 - error: Caught by controller[1]: at tryOnImmediate (timers.js:676:5) 2019-10-04 12:26:38.445 - error: Caught by controller[1]: at processImmediate (timers.js:658:5) 2019-10-04 12:26:38.445 - error: Caught by controller[2]: Unhandled rejection TypeError: Cannot read property 'monitors' of null 2019-10-04 12:26:38.445 - error: Caught by controller[2]: at _get2 (/opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:208:18) 2019-10-04 12:26:38.445 - error: Caught by controller[2]: at /opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:130:47 2019-10-04 12:26:38.445 - error: Caught by controller[2]: at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/util.js:16:23) 2019-10-04 12:26:38.445 - error: Caught by controller[2]: at Promise._settlePromiseFromHandler (/opt/iobroker/node_modules/bluebird/js/release/promise.js:517:31) 2019-10-04 12:26:38.445 - error: Caught by controller[2]: at Promise._settlePromise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:574:18) 2019-10-04 12:26:38.445 - error: Caught by controller[2]: at Promise._settlePromise0 (/opt/iobroker/node_modules/bluebird/js/release/promise.js:619:10) 2019-10-04 12:26:38.445 - error: Caught by controller[2]: at Promise._settlePromises (/opt/iobroker/node_modules/bluebird/js/release/promise.js:695:18) 2019-10-04 12:26:38.445 - error: Caught by controller[2]: at _drainQueueStep (/opt/iobroker/node_modules/bluebird/js/release/async.js:138:12) 2019-10-04 12:26:38.445 - error: Caught by controller[2]: at _drainQueue (/opt/iobroker/node_modules/bluebird/js/release/async.js:131:9) 2019-10-04 12:26:38.445 - error: Caught by controller[2]: at Async._drainQueues (/opt/iobroker/node_modules/bluebird/js/release/async.js:147:5) 2019-10-04 12:26:38.445 - error: Caught by controller[2]: at Immediate.Async.drainQueues [as _onImmediate] (/opt/iobroker/node_modules/bluebird/js/release/async.js:17:14) 2019-10-04 12:26:38.446 - error: Caught by controller[2]: at runCallback (timers.js:705:18) 2019-10-04 12:26:38.446 - error: Caught by controller[2]: at tryOnImmediate (timers.js:676:5) 2019-10-04 12:26:38.446 - error: Caught by controller[2]: at processImmediate (timers.js:658:5) 2019-10-04 12:26:38.446 - error: Caught by controller[3]: Unhandled rejection TypeError: Cannot read property 'monitors' of null 2019-10-04 12:26:38.446 - error: Caught by controller[3]: at _get2 (/opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:208:18) 2019-10-04 12:26:38.446 - error: Caught by controller[3]: at /opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:130:47 2019-10-04 12:26:38.446 - error: Caught by controller[3]: at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/util.js:16:23) 2019-10-04 12:26:38.446 - error: Caught by controller[3]: at Promise._settlePromiseFromHandler (/opt/iobroker/node_modules/bluebird/js/release/promise.js:517:31) 2019-10-04 12:26:38.446 - error: Caught by controller[3]: at Promise._settlePromise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:574:18) 2019-10-04 12:26:38.446 - error: Caught by controller[3]: at Promise._settlePromise0 (/opt/iobroker/node_modules/bluebird/js/release/promise.js:619:10) 2019-10-04 12:26:38.446 - error: Caught by controller[3]: at Promise._settlePromises (/opt/iobroker/node_modules/bluebird/js/release/promise.js:695:18) 2019-10-04 12:26:38.446 - error: Caught by controller[3]: at _drainQueueStep (/opt/iobroker/node_modules/bluebird/js/release/async.js:138:12) 2019-10-04 12:26:38.446 - error: Caught by controller[3]: at _drainQueue (/opt/iobroker/node_modules/bluebird/js/release/async.js:131:9) 2019-10-04 12:26:38.446 - error: Caught by controller[3]: at Async._drainQueues (/opt/iobroker/node_modules/bluebird/js/release/async.js:147:5) 2019-10-04 12:26:38.446 - error: Caught by controller[3]: at Immediate.Async.drainQueues [as _onImmediate] (/opt/iobroker/node_modules/bluebird/js/release/async.js:17:14) 2019-10-04 12:26:38.447 - error: Caught by controller[3]: at runCallback (timers.js:705:18) 2019-10-04 12:26:38.447 - error: Caught by controller[3]: at tryOnImmediate (timers.js:676:5) 2019-10-04 12:26:38.447 - error: Caught by controller[3]: at processImmediate (timers.js:658:5) 2019-10-04 12:26:38.447 - error: Caught by controller[4]: Unhandled rejection TypeError: Cannot read property 'monitors' of null 2019-10-04 12:26:38.447 - error: Caught by controller[4]: at _get2 (/opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:208:18) 2019-10-04 12:26:38.447 - error: Caught by controller[4]: at /opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:130:47 2019-10-04 12:26:38.447 - error: Caught by controller[4]: at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/util.js:16:23) 2019-10-04 12:26:38.447 - error: Caught by controller[4]: at Promise._settlePromiseFromHandler (/opt/iobroker/node_modules/bluebird/js/release/promise.js:517:31) 2019-10-04 12:26:38.447 - error: Caught by controller[4]: at Promise._settlePromise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:574:18) 2019-10-04 12:26:38.447 - error: Caught by controller[4]: at Promise._settlePromise0 (/opt/iobroker/node_modules/bluebird/js/release/promise.js:619:10) 2019-10-04 12:26:38.447 - error: Caught by controller[4]: at Promise._settlePromises (/opt/iobroker/node_modules/bluebird/js/release/promise.js:695:18) 2019-10-04 12:26:38.447 - error: Caught by controller[4]: at _drainQueueStep (/opt/iobroker/node_modules/bluebird/js/release/async.js:138:12) 2019-10-04 12:26:38.447 - error: Caught by controller[4]: at _drainQueue (/opt/iobroker/node_modules/bluebird/js/release/async.js:131:9) 2019-10-04 12:26:38.447 - error: Caught by controller[4]: at Async._drainQueues (/opt/iobroker/node_modules/bluebird/js/release/async.js:147:5) 2019-10-04 12:26:38.447 - error: Caught by controller[4]: at Immediate.Async.drainQueues [as _onImmediate] (/opt/iobroker/node_modules/bluebird/js/release/async.js:17:14) 2019-10-04 12:26:38.447 - error: Caught by controller[4]: at runCallback (timers.js:705:18) 2019-10-04 12:26:38.448 - error: Caught by controller[4]: at tryOnImmediate (timers.js:676:5) 2019-10-04 12:26:38.449 - error: Caught by controller[4]: at processImmediate (timers.js:658:5) 2019-10-04 12:26:38.449 - error: Caught by controller[5]: Unhandled rejection TypeError: Cannot read property 'monitors' of null 2019-10-04 12:26:38.449 - error: Caught by controller[5]: at _get2 (/opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:208:18) 2019-10-04 12:26:38.449 - error: Caught by controller[5]: at /opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:130:47 2019-10-04 12:26:38.449 - error: Caught by controller[5]: at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/util.js:16:23) 2019-10-04 12:26:38.449 - error: Caught by controller[5]: at Promise._settlePromiseFromHandler (/opt/iobroker/node_modules/bluebird/js/release/promise.js:517:31) 2019-10-04 12:26:38.449 - error: Caught by controller[5]: at Promise._settlePromise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:574:18) 2019-10-04 12:26:38.449 - error: Caught by controller[5]: at Promise._settlePromise0 (/opt/iobroker/node_modules/bluebird/js/release/promise.js:619:10) 2019-10-04 12:26:38.449 - error: Caught by controller[5]: at Promise._settlePromises (/opt/iobroker/node_modules/bluebird/js/release/promise.js:695:18) 2019-10-04 12:26:38.449 - error: Caught by controller[5]: at _drainQueueStep (/opt/iobroker/node_modules/bluebird/js/release/async.js:138:12) 2019-10-04 12:26:38.449 - error: Caught by controller[5]: at _drainQueue (/opt/iobroker/node_modules/bluebird/js/release/async.js:131:9) 2019-10-04 12:26:38.449 - error: Caught by controller[5]: at Async._drainQueues (/opt/iobroker/node_modules/bluebird/js/release/async.js:147:5) 2019-10-04 12:26:38.449 - error: Caught by controller[5]: at Immediate.Async.drainQueues [as _onImmediate] (/opt/iobroker/node_modules/bluebird/js/release/async.js:17:14) 2019-10-04 12:26:38.449 - error: Caught by controller[5]: at runCallback (timers.js:705:18) 2019-10-04 12:26:38.450 - error: Caught by controller[5]: at tryOnImmediate (timers.js:676:5) 2019-10-04 12:26:38.450 - error: Caught by controller[5]: at processImmediate (timers.js:658:5) 2019-10-04 12:26:38.450 - error: Caught by controller[6]: Unhandled rejection TypeError: Cannot read property 'monitors' of null 2019-10-04 12:26:38.450 - error: Caught by controller[6]: at _get2 (/opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:208:18) 2019-10-04 12:26:38.450 - error: Caught by controller[6]: at /opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:130:47 2019-10-04 12:26:38.450 - error: Caught by controller[6]: at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/util.js:16:23) 2019-10-04 12:26:38.450 - error: Caught by controller[6]: at Promise._settlePromiseFromHandler (/opt/iobroker/node_modules/bluebird/js/release/promise.js:517:31) 2019-10-04 12:26:38.450 - error: Caught by controller[6]: at Promise._settlePromise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:574:18) 2019-10-04 12:26:38.450 - error: Caught by controller[6]: at Promise._settlePromise0 (/opt/iobroker/node_modules/bluebird/js/release/promise.js:619:10) 2019-10-04 12:26:38.450 - error: Caught by controller[6]: at Promise._settlePromises (/opt/iobroker/node_modules/bluebird/js/release/promise.js:695:18) 2019-10-04 12:26:38.450 - error: Caught by controller[6]: at _drainQueueStep (/opt/iobroker/node_modules/bluebird/js/release/async.js:138:12) 2019-10-04 12:26:38.450 - error: Caught by controller[6]: at _drainQueue (/opt/iobroker/node_modules/bluebird/js/release/async.js:131:9) 2019-10-04 12:26:38.450 - error: Caught by controller[6]: at Async._drainQueues (/opt/iobroker/node_modules/bluebird/js/release/async.js:147:5) 2019-10-04 12:26:38.450 - error: Caught by controller[6]: at Immediate.Async.drainQueues [as _onImmediate] (/opt/iobroker/node_modules/bluebird/js/release/async.js:17:14) 2019-10-04 12:26:38.450 - error: Caught by controller[6]: at runCallback (timers.js:705:18) 2019-10-04 12:26:38.450 - error: Caught by controller[6]: at tryOnImmediate (timers.js:676:5) 2019-10-04 12:26:38.451 - error: Caught by controller[6]: at processImmediate (timers.js:658:5) 2019-10-04 12:26:38.451 - info: host.debian instance system.adapter.zoneminder.0 terminated with code 156 () 2019-10-04 12:26:40.935 - info: host.debian instance system.adapter.zoneminder.0 started with pid 18509 2019-10-04 12:26:41.373 - info: zoneminder.0 starting. Version 0.2.1 in /opt/iobroker/node_modules/iobroker.zoneminder, node: v10.16.0 2019-10-04 12:26:41.409 - info: zoneminder.0 check group user admin group admin: false 2019-10-04 12:26:41.463 - info: zoneminder.0 check user admin pw ioboker: false
-
@djsirius scheint als hättest du kein user und Passwort in der Adapter Konfig eingetragen?!
-
@coyote doch, das habe ich gemacht! Ich habe auf der Zoneminder-Seite auch extra nochmal einen user angemeldet und diese Daten in den Adapter eingepflegt.
-
@Meistertr
Herzlichen Dank. Klappt soweitBekommt man mit dem ZoneMinder auch WebHook hin?
Hatte vorher bei Motion Triggered ein bild per Telegram senden lassen... -
@djsirius hast du auch schon kameras eingebunden?
-
@Meistertr nein, da habe ich auch voll die Probleme!
-
@Meistertr kann es sein, dass die Reolink nicht von zoneminder unterstützt wird? Ich bekomme die Kamera in der Zoneminder-Konsole nicht ans laufen. Und den Adapter in Iobroker bekomme ich auch nicht ans laufen.
Vielleicht kann mir hier jemand die Schritte für Schritt Installation vom zoneminder Server auf debian schreiben. Vielleicht ist da was schief gelaufen.
-
Ich habe eine Reolink RLC-422 und erfolgreich per "Remote" mit "modect" eingebunden.
Installiert habe ich Zoneminder auf einer neuen Ubuntu 18.04 Installation nach dieser Anleitung
Install Zoneminder WIKIVorher musst du aber LAMPP installieren. Das habe ich nach dieser Anleitung gemacht
Anleitung -
@djsirius der adapter schmeißt einen fehler, weil keine kamera gefunden werden kann.