NEWS
Test Adapter zoneminder v0.3.x
-
@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.
-
@djsirius den rtsp stream bekomme ich auch nciht eingebunden, schaffe ich bei motioneye auch nicht aber reolink hat mehrere Verbindungsmöglichkeiten schau mal hier:
https://reolink.com/wp-content/uploads/2017/01/Reolink-CGI-command-v1.61.pdf
-
@mikiline vielen Dank, es läuft!
-
@Meistertr ich bekomme den zoneminder adapter trotzdem nicht auf grün. Passwort und Usernamen muss ich doch von der zm-konsole nehmen, richtig?
-
@Meistertr sagte in [Aufruf] Zoneminder 0.2.0 Testen:
@djsirius den rtsp stream bekomme ich auch nciht eingebunden, schaffe ich bei motioneye auch nicht aber reolink hat mehrere Verbindungsmöglichkeiten schau mal hier:
https://reolink.com/wp-content/uploads/2017/01/Reolink-CGI-command-v1.61.pdf
Dito! Den rtsp stream bekomme ich mit meiner Wansview im Zoneminder auch nicht zum laufen obwohl er eigentlich unterstützt wird und via Handyapp auch problemlos klappt.
Ich mach das jetzt notgedrungen über fmpeg was leider relativ CPU lastig ist aber soweit zuverlässig läuft.
Rtsp wäre mir aber auch deutlich lieber... -
vielleicht hilft das bei der reolink...das ist meine einstellung
-
@mikiline danke, ich habe jetzt beide Kameras in der Zoneminder-Konsole eingebunden. Siehe Screenshot. Nicht wundern, dass die IPs rot sind. Bin gerade dabei die Kameras zu installieren.
Ich bekomme im iobroker aber den Zoneminder-Adapter nicht ans laufen. Der Adapter steht auf orange (nicht mit Zoneminder verbunden).
-
@djsirius ein debug log ist hier immer hilfreich, so kann dir keiner helfen, wenn du nur das Bild zeigst, wo der Adapter auf gelb steht
-
2019-10-05 14:50:56.090 - info: host.debian object change system.adapter.zoneminder.0 2019-10-05 14:50:56.091 - info: host.debian stopInstance system.adapter.zoneminder.0 2019-10-05 14:50:56.091 - info: host.debian stopInstance system.adapter.zoneminder.0 killing pid 8487 2019-10-05 14:50:56.092 - info: zoneminder.0 cleaned everything up... 2019-10-05 14:50:56.095 - info: zoneminder.0 cleaned everything up... 2019-10-05 14:50:56.106 - error: Caught by controller[1]: Unhandled rejection TypeError: Cannot read property 'monitors' of null 2019-10-05 14:50:56.106 - error: Caught by controller[1]: at _get2 (/opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:208:18) 2019-10-05 14:50:56.106 - error: Caught by controller[1]: at /opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:130:47 2019-10-05 14:50:56.107 - error: Caught by controller[1]: at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/util.js:16:23) 2019-10-05 14:50:56.107 - error: Caught by controller[1]: at Promise._settlePromiseFromHandler (/opt/iobroker/node_modules/bluebird/js/release/promise.js:517:31) 2019-10-05 14:50:56.107 - error: Caught by controller[1]: at Promise._settlePromise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:574:18) 2019-10-05 14:50:56.107 - error: Caught by controller[1]: at Promise._settlePromise0 (/opt/iobroker/node_modules/bluebird/js/release/promise.js:619:10) 2019-10-05 14:50:56.107 - error: Caught by controller[1]: at Promise._settlePromises (/opt/iobroker/node_modules/bluebird/js/release/promise.js:695:18) 2019-10-05 14:50:56.107 - error: Caught by controller[1]: at _drainQueueStep (/opt/iobroker/node_modules/bluebird/js/release/async.js:138:12) 2019-10-05 14:50:56.107 - error: Caught by controller[1]: at _drainQueue (/opt/iobroker/node_modules/bluebird/js/release/async.js:131:9) 2019-10-05 14:50:56.107 - error: Caught by controller[1]: at Async._drainQueues (/opt/iobroker/node_modules/bluebird/js/release/async.js:147:5) 2019-10-05 14:50:56.107 - error: Caught by controller[1]: at Immediate.Async.drainQueues [as _onImmediate] (/opt/iobroker/node_modules/bluebird/js/release/async.js:17:14) 2019-10-05 14:50:56.107 - error: Caught by controller[1]: at runCallback (timers.js:705:18) 2019-10-05 14:50:56.107 - error: Caught by controller[1]: at tryOnImmediate (timers.js:676:5) 2019-10-05 14:50:56.107 - error: Caught by controller[1]: at processImmediate (timers.js:658:5) 2019-10-05 14:50:56.107 - error: Caught by controller[2]: Unhandled rejection TypeError: Cannot read property 'monitors' of null 2019-10-05 14:50:56.107 - error: Caught by controller[2]: at _get2 (/opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:208:18) 2019-10-05 14:50:56.107 - error: Caught by controller[2]: at /opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:130:47 2019-10-05 14:50:56.107 - error: Caught by controller[2]: at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/util.js:16:23) 2019-10-05 14:50:56.108 - error: Caught by controller[2]: at Promise._settlePromiseFromHandler (/opt/iobroker/node_modules/bluebird/js/release/promise.js:517:31) 2019-10-05 14:50:56.108 - error: Caught by controller[2]: at Promise._settlePromise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:574:18) 2019-10-05 14:50:56.108 - error: Caught by controller[2]: at Promise._settlePromise0 (/opt/iobroker/node_modules/bluebird/js/release/promise.js:619:10) 2019-10-05 14:50:56.108 - error: Caught by controller[2]: at Promise._settlePromises (/opt/iobroker/node_modules/bluebird/js/release/promise.js:695:18) 2019-10-05 14:50:56.108 - error: Caught by controller[2]: at _drainQueueStep (/opt/iobroker/node_modules/bluebird/js/release/async.js:138:12) 2019-10-05 14:50:56.108 - error: Caught by controller[2]: at _drainQueue (/opt/iobroker/node_modules/bluebird/js/release/async.js:131:9) 2019-10-05 14:50:56.108 - error: Caught by controller[2]: at Async._drainQueues (/opt/iobroker/node_modules/bluebird/js/release/async.js:147:5) 2019-10-05 14:50:56.108 - error: Caught by controller[2]: at Immediate.Async.drainQueues [as _onImmediate] (/opt/iobroker/node_modules/bluebird/js/release/async.js:17:14) 2019-10-05 14:50:56.108 - error: Caught by controller[2]: at runCallback (timers.js:705:18) 2019-10-05 14:50:56.108 - error: Caught by controller[2]: at tryOnImmediate (timers.js:676:5) 2019-10-05 14:50:56.108 - error: Caught by controller[2]: at processImmediate (timers.js:658:5) 2019-10-05 14:50:56.108 - error: Caught by controller[3]: Unhandled rejection TypeError: Cannot read property 'monitors' of null 2019-10-05 14:50:56.108 - error: Caught by controller[3]: at _get2 (/opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:208:18) 2019-10-05 14:50:56.108 - error: Caught by controller[3]: at /opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:130:47 2019-10-05 14:50:56.108 - error: Caught by controller[3]: at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/util.js:16:23) 2019-10-05 14:50:56.108 - error: Caught by controller[3]: at Promise._settlePromiseFromHandler (/opt/iobroker/node_modules/bluebird/js/release/promise.js:517:31) 2019-10-05 14:50:56.109 - error: Caught by controller[3]: at Promise._settlePromise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:574:18) 2019-10-05 14:50:56.109 - error: Caught by controller[3]: at Promise._settlePromise0 (/opt/iobroker/node_modules/bluebird/js/release/promise.js:619:10) 2019-10-05 14:50:56.109 - error: Caught by controller[3]: at Promise._settlePromises (/opt/iobroker/node_modules/bluebird/js/release/promise.js:695:18) 2019-10-05 14:50:56.109 - error: Caught by controller[3]: at _drainQueueStep (/opt/iobroker/node_modules/bluebird/js/release/async.js:138:12) 2019-10-05 14:50:56.109 - error: Caught by controller[3]: at _drainQueue (/opt/iobroker/node_modules/bluebird/js/release/async.js:131:9) 2019-10-05 14:50:56.109 - error: Caught by controller[3]: at Async._drainQueues (/opt/iobroker/node_modules/bluebird/js/release/async.js:147:5) 2019-10-05 14:50:56.109 - error: Caught by controller[3]: at Immediate.Async.drainQueues [as _onImmediate] (/opt/iobroker/node_modules/bluebird/js/release/async.js:17:14) 2019-10-05 14:50:56.109 - error: Caught by controller[3]: at runCallback (timers.js:705:18) 2019-10-05 14:50:56.109 - error: Caught by controller[3]: at tryOnImmediate (timers.js:676:5) 2019-10-05 14:50:56.109 - error: Caught by controller[3]: at processImmediate (timers.js:658:5) 2019-10-05 14:50:56.109 - error: Caught by controller[4]: Unhandled rejection TypeError: Cannot read property 'monitors' of null 2019-10-05 14:50:56.109 - error: Caught by controller[4]: at _get2 (/opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:208:18) 2019-10-05 14:50:56.109 - error: Caught by controller[4]: at /opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:130:47 2019-10-05 14:50:56.109 - error: Caught by controller[4]: at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/util.js:16:23) 2019-10-05 14:50:56.109 - error: Caught by controller[4]: at Promise._settlePromiseFromHandler (/opt/iobroker/node_modules/bluebird/js/release/promise.js:517:31) 2019-10-05 14:50:56.110 - error: Caught by controller[4]: at Promise._settlePromise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:574:18) 2019-10-05 14:50:56.110 - error: Caught by controller[4]: at Promise._settlePromise0 (/opt/iobroker/node_modules/bluebird/js/release/promise.js:619:10) 2019-10-05 14:50:56.110 - error: Caught by controller[4]: at Promise._settlePromises (/opt/iobroker/node_modules/bluebird/js/release/promise.js:695:18) 2019-10-05 14:50:56.110 - error: Caught by controller[4]: at _drainQueueStep (/opt/iobroker/node_modules/bluebird/js/release/async.js:138:12) 2019-10-05 14:50:56.110 - error: Caught by controller[4]: at _drainQueue (/opt/iobroker/node_modules/bluebird/js/release/async.js:131:9) 2019-10-05 14:50:56.110 - error: Caught by controller[4]: at Async._drainQueues (/opt/iobroker/node_modules/bluebird/js/release/async.js:147:5) 2019-10-05 14:50:56.110 - error: Caught by controller[4]: at Immediate.Async.drainQueues [as _onImmediate] (/opt/iobroker/node_modules/bluebird/js/release/async.js:17:14) 2019-10-05 14:50:56.110 - error: Caught by controller[4]: at runCallback (timers.js:705:18) 2019-10-05 14:50:56.110 - error: Caught by controller[4]: at tryOnImmediate (timers.js:676:5) 2019-10-05 14:50:56.110 - error: Caught by controller[4]: at processImmediate (timers.js:658:5) 2019-10-05 14:50:56.110 - error: Caught by controller[5]: Unhandled rejection TypeError: Cannot read property 'monitors' of null 2019-10-05 14:50:56.110 - error: Caught by controller[5]: at _get2 (/opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:208:18) 2019-10-05 14:50:56.110 - error: Caught by controller[5]: at /opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:130:47 2019-10-05 14:50:56.110 - error: Caught by controller[5]: at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/util.js:16:23) 2019-10-05 14:50:56.110 - error: Caught by controller[5]: at Promise._settlePromiseFromHandler (/opt/iobroker/node_modules/bluebird/js/release/promise.js:517:31) 2019-10-05 14:50:56.110 - error: Caught by controller[5]: at Promise._settlePromise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:574:18) 2019-10-05 14:50:56.111 - error: Caught by controller[5]: at Promise._settlePromise0 (/opt/iobroker/node_modules/bluebird/js/release/promise.js:619:10) 2019-10-05 14:50:56.111 - error: Caught by controller[5]: at Promise._settlePromises (/opt/iobroker/node_modules/bluebird/js/release/promise.js:695:18) 2019-10-05 14:50:56.111 - error: Caught by controller[5]: at _drainQueueStep (/opt/iobroker/node_modules/bluebird/js/release/async.js:138:12) 2019-10-05 14:50:56.111 - error: Caught by controller[5]: at _drainQueue (/opt/iobroker/node_modules/bluebird/js/release/async.js:131:9) 2019-10-05 14:50:56.111 - error: Caught by controller[5]: at Async._drainQueues (/opt/iobroker/node_modules/bluebird/js/release/async.js:147:5) 2019-10-05 14:50:56.111 - error: Caught by controller[5]: at Immediate.Async.drainQueues [as _onImmediate] (/opt/iobroker/node_modules/bluebird/js/release/async.js:17:14) 2019-10-05 14:50:56.111 - error: Caught by controller[5]: at runCallback (timers.js:705:18) 2019-10-05 14:50:56.111 - error: Caught by controller[5]: at tryOnImmediate (timers.js:676:5) 2019-10-05 14:50:56.111 - error: Caught by controller[5]: at processImmediate (timers.js:658:5) 2019-10-05 14:50:56.111 - error: Caught by controller[6]: Unhandled rejection TypeError: Cannot read property 'monitors' of null 2019-10-05 14:50:56.111 - error: Caught by controller[6]: at _get2 (/opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:208:18) 2019-10-05 14:50:56.111 - error: Caught by controller[6]: at /opt/iobroker/node_modules/iobroker.zoneminder/lib/api.js:130:47 2019-10-05 14:50:56.111 - error: Caught by controller[6]: at tryCatcher (/opt/iobroker/node_modules/bluebird/js/release/util.js:16:23) 2019-10-05 14:50:56.111 - error: Caught by controller[6]: at Promise._settlePromiseFromHandler (/opt/iobroker/node_modules/bluebird/js/release/promise.js:517:31) 2019-10-05 14:50:56.111 - error: Caught by controller[6]: at Promise._settlePromise (/opt/iobroker/node_modules/bluebird/js/release/promise.js:574:18) 2019-10-05 14:50:56.111 - error: Caught by controller[6]: at Promise._settlePromise0 (/opt/iobroker/node_modules/bluebird/js/release/promise.js:619:10) 2019-10-05 14:50:56.112 - error: Caught by controller[6]: at Promise._settlePromises (/opt/iobroker/node_modules/bluebird/js/release/promise.js:695:18) 2019-10-05 14:50:56.112 - error: Caught by controller[6]: at _drainQueueStep (/opt/iobroker/node_modules/bluebird/js/release/async.js:138:12) 2019-10-05 14:50:56.112 - error: Caught by controller[6]: at _drainQueue (/opt/iobroker/node_modules/bluebird/js/release/async.js:131:9) 2019-10-05 14:50:56.112 - error: Caught by controller[6]: at Async._drainQueues (/opt/iobroker/node_modules/bluebird/js/release/async.js:147:5) 2019-10-05 14:50:56.112 - error: Caught by controller[6]: at Immediate.Async.drainQueues [as _onImmediate] (/opt/iobroker/node_modules/bluebird/js/release/async.js:17:14) 2019-10-05 14:50:56.112 - error: Caught by controller[6]: at runCallback (timers.js:705:18) 2019-10-05 14:50:56.112 - error: Caught by controller[6]: at tryOnImmediate (timers.js:676:5) 2019-10-05 14:50:56.112 - error: Caught by controller[6]: at processImmediate (timers.js:658:5) 2019-10-05 14:50:56.112 - info: host.debian instance system.adapter.zoneminder.0 terminated with code 156 ()
-
@djsirius hast du deine Kamera jetzt korrekt eingerichtet und läuft die in zoneminder? Sieht für mich nämlich nicht so aus, daher läuft auch der Adapter nicht
-
@coyote du hast natürlich recht, ich habe gerade die Kameras zwecks Installation abgeklemmt.
So alles wieder angeklemmt!
-
So ich habe zoneminder im iobroker nochmal deinstalliert und neu installiert. Läuft immer noch nicht!
Hier die Log-Datei:
2019-10-05 15:33:45.367 - info: zoneminder.0 starting. Version 0.2.1 in /opt/iobroker/node_modules/iobroker.zoneminder, node: v10.16.0 2019-10-05 15:33:45.412 - info: zoneminder.0 check group user admin group admin: false 2019-10-05 15:33:45.467 - info: zoneminder.0 check user admin pw ioboker: false 2019-10-05 15:33:50.399 - warn: zoneminder.0 No monitors found, please configure monitors in your zoneminder! 2019-10-05 15:33:55.402 - warn: zoneminder.0 No monitors found, please configure monitors in your zoneminder! 2019-10-05 15:34:00.405 - warn: zoneminder.0 No monitors found, please configure monitors in your zoneminder! 2019-10-05 15:34:05.411 - warn: zoneminder.0 No monitors found, please configure monitors in your zoneminder!
-
Ich hab hier auch einen Kamerastream den ich gerne eingebunden bekommen würde aber irgendwie klappt das nicht.
http://192.168.x.x/video/livemb.asp
hat jemand eine Idee, wie ich diese eingebunden bekommen könnte?
-
@djsirius kann sein dass ich heute morgen was verschlimmbessert habe, ich schau später nach
-
@djsirius von adapter her passt alles, schau mal unter
http://zoneminder/zm/api/monitors.json ob hier monitore aufgelistet sind
-
Sieht schlecht aus!
Edit:
Man sollte auch die Kameras anschalten.
{"monitors":[{"Monitor":{"Id":"1","Name":"Garten","ServerId":"0","Type":"Remote","Function":"Modect","Enabled":"1","LinkedMonitors":"","Triggers":"","Device":"\/dev\/video0","Channel":"0","Format":"255","V4LMultiBuffer":false,"V4LCapturesPerFrame":"1","Protocol":"rtsp","Method":"rtpRtsp","Host":"admin:test@192.168.1.20","Port":"554","SubPath":"","Path":"\/h264Preview_01_main","Options":"","User":"","Pass":"","Width":"1280","Height":"720","Colours":"4","Palette":"0","Orientation":"0","Deinterlacing":"0","RTSPDescribe":true,"Brightness":"-1","Contrast":"-1","Hue":"-1","Colour":"-1","EventPrefix":"Event-","LabelFormat":"%N - %d\/%m\/%y %H:%M:%S","LabelX":"0","LabelY":"0","LabelSize":"1","ImageBufferCount":"50","WarmupCount":"25","PreEventCount":"25","PostEventCount":"25","StreamReplayBuffer":"1000","AlarmFrameCount":"1","SectionLength":"600","FrameSkip":"0","MotionFrameSkip":"0","AnalysisFPS":"0.00","AnalysisUpdateDelay":"0","MaxFPS":"0.00","AlarmMaxFPS":"0.00","FPSReportInterval":"1000","RefBlendPerc":"12","AlarmRefBlendPerc":"6","Controllable":"0","ControlId":"0","ControlDevice":null,"ControlAddress":null,"AutoStopTimeout":null,"TrackMotion":"0","TrackDelay":"0","ReturnLocation":"-1","ReturnDelay":"0","DefaultView":"Events","DefaultRate":"100","DefaultScale":"100","SignalCheckColour":"#0000c0","WebColour":"red","Exif":false,"Sequence":"2"}},{"Monitor":{"Id":"2","Name":"Haustuer","ServerId":"0","Type":"Remote","Function":"Modect","Enabled":"1","LinkedMonitors":"","Triggers":"","Device":"\/dev\/video0","Channel":"0","Format":"255","V4LMultiBuffer":false,"V4LCapturesPerFrame":"1","Protocol":"rtsp","Method":"rtpRtsp","Host":"admin:test@192.168.1.19","Port":"554","SubPath":"","Path":"\/h264Preview_01_main","Options":"","User":"","Pass":"","Width":"1280","Height":"720","Colours":"4","Palette":"0","Orientation":"0","Deinterlacing":"0","RTSPDescribe":true,"Brightness":"-1","Contrast":"-1","Hue":"-1","Colour":"-1","EventPrefix":"Event-","LabelFormat":"%N - %d\/%m\/%y %H:%M:%S","LabelX":"0","LabelY":"0","LabelSize":"1","ImageBufferCount":"50","WarmupCount":"25","PreEventCount":"25","PostEventCount":"25","StreamReplayBuffer":"1000","AlarmFrameCount":"1","SectionLength":"600","FrameSkip":"0","MotionFrameSkip":"0","AnalysisFPS":"0.00","AnalysisUpdateDelay":"0","MaxFPS":"0.00","AlarmMaxFPS":"0.00","FPSReportInterval":"1000","RefBlendPerc":"12","AlarmRefBlendPerc":"6","Controllable":"0","ControlId":"0","ControlDevice":null,"ControlAddress":null,"AutoStopTimeout":null,"TrackMotion":"0","TrackDelay":"0","ReturnLocation":"-1","ReturnDelay":"0","DefaultView":"Events","DefaultRate":"100","DefaultScale":"100","SignalCheckColour":"#0000c0","WebColour":"red","Exif":false,"Sequence":"1"}}]}
-
Moin.
Wie kann ich denn jetzt den Stream in die VIS einbinden?
Ich habe zwar die Adresse vom Stream der Cam, die ist mit einem Token versehen und ändert sich logischer weise immer.
Gibt es eine Einstellung in Zoneminder wo man das ausstellen kann und dafür in der Adresse mit http://user:pass@... eingeben muss?