NEWS
Test Adapter zoneminder v0.3.x
-
@Meistertr habe heute endlich zmeventnotification installiert und im Adapter aktiviert.
Läuft scheinbar so wie es soll, Snap und Video URL werden angezeigt, History wird auch gefüllt.
Danke
Jetzt muss ich nur die Motion in Zoneminder mal noch anständig einstellen -
@Meistertr
ja, es läuft alles ohne Probleme. Nur die Anmeldung mit dem Adapter geht nicht.
Eventnotification mit ZMNinja und alles geht auch einwandfrei -
@coyote
Läuft bei dir die Event notification jetzt komplett? Was hast du installiert? Ich hab die nur im zoneminder laufen aber nix extra installiert? Mein Adapter ist grün, Cams sind auch am laufen aber Events bekomme ich nicht, nur oben erwähnte TLS Fehlermeldung im log. Hab ich was übersehen? -
@Xsev ja, ich hab zmeventnotification gestern installiert nach Anleitung aber noch ohne hooks. Ohne dass du zmevent installiert hast kommt da auch nix an
-
@coyote Hättest du mal bitte einen Link zu der Anleitung. Also nicht das wir aneinander vorbei sprechen, in Zoneminder hab ich Zugriff auf die Events also die gespeicherten Videos. Ist das dann ein extra Modul im Broker oder im Zoneminder?
Sorry für die blöde Frage aber steh grad a weng am Schlauch -
-
@mikiline Ah alles klaro!! Danke!
-
ok ich komme der sache näher... bitte nochmal von git testen alle versionen besonders die mit api 2.0
-
-
@djsirius debuglog vom start wäre interessant
-
@Meistertr Habe ich dir per Chat zukommen lassen.
-
so in der 0.3.2 sollten nun alle loginprobleme gelößt sein..
-
so also die login probleme sehe ich nun mit der 0.3.2 als erledigt an und wende mich nun wieder dem ausweiten der Funktionen zu.
-
@Meistertr
Vielen Dank funktioniert. Top!ZMEvent kommen leider auch keine Daten.
Einzig, nach einer bestimmten Zeit verliert er die Verbindung und nach neustart des Adapters geht es wieder....host.nuc-ubuntu 2019-11-04 05:44:23.025 error Caught by controller[6]: at process._tickCallback (internal/process/next_tick.js:63:19) host.nuc-ubuntu 2019-11-04 05:44:23.025 error Caught by controller[6]: at endReadableNT (_stream_readable.js:1145:12) host.nuc-ubuntu 2019-11-04 05:44:23.025 error Caught by controller[6]: at IncomingMessage.emit (events.js:203:15) host.nuc-ubuntu 2019-11-04 05:44:23.025 error Caught by controller[6]: at Object.onceWrapper (events.js:286:20) host.nuc-ubuntu 2019-11-04 05:44:23.025 error Caught by controller[6]: at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/request/request.js:1083:12) host.nuc-ubuntu 2019-11-04 05:44:23.025 error Caught by controller[6]: at Request.emit (events.js:198:13) host.nuc-ubuntu 2019-11-04 05:44:23.025 error Caught by controller[6]: at Request.<anonymous> (/opt/iobroker/node_modules/request/request.js:1161:10) host.nuc-ubuntu 2019-11-04 05:44:23.025 error Caught by controller[6]: at Request.emit (events.js:198:13) host.nuc-ubuntu 2019-11-04 05:44:23.025 error Caught by controller[6]: at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22) host.nuc-ubuntu 2019-11-04 05:44:23.025 error Caught by controller[6]: at Request.RP$callback [as _callback] (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:46:31) host.nuc-ubuntu 2019-11-04 05:44:23.025 error Caught by controller[6]: at Request.plumbing.callback (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:104:33) host.nuc-ubuntu 2019-11-04 05:44:23.025 error Caught by controller[6]: at new StatusCodeError (/opt/iobroker/node_modules/request-promise-core/lib/errors.js:32:15) host.nuc-ubuntu 2019-11-04 05:44:23.025 error Caught by controller[6]: Unhandled rejection StatusCodeError: 401 - "{\"success\":false,\"data\":{\"name\":\"Expired token\",\"message\":\"Expired token\",\"url\":\"\\/zm\\/api\\/monitors.json?token= host.nuc-ubuntu 2019-11-04 05:44:23.025 error Caught by controller[5]: at process._tickCallback (internal/process/next_tick.js:63:19) host.nuc-ubuntu 2019-11-04 05:44:23.025 error Caught by controller[5]: at endReadableNT (_stream_readable.js:1145:12) host.nuc-ubuntu 2019-11-04 05:44:23.025 error Caught by controller[5]: at IncomingMessage.emit (events.js:203:15) host.nuc-ubuntu 2019-11-04 05:44:23.025 error Caught by controller[5]: at Object.onceWrapper (events.js:286:20) host.nuc-ubuntu 2019-11-04 05:44:23.025 error Caught by controller[5]: at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/request/request.js:1083:12) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[5]: at Request.emit (events.js:198:13) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[5]: at Request.<anonymous> (/opt/iobroker/node_modules/request/request.js:1161:10) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[5]: at Request.emit (events.js:198:13) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[5]: at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[5]: at Request.RP$callback [as _callback] (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:46:31) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[5]: at Request.plumbing.callback (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:104:33) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[5]: at new StatusCodeError (/opt/iobroker/node_modules/request-promise-core/lib/errors.js:32:15) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[5]: Unhandled rejection StatusCodeError: 401 - "{\"success\":false,\"data\":{\"name\":\"Expired token\",\"message\":\"Expired token\",\"url\":\"\\/zm\\/api\\/monitors.json?token= host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[4]: at process._tickCallback (internal/process/next_tick.js:63:19) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[4]: at endReadableNT (_stream_readable.js:1145:12) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[4]: at IncomingMessage.emit (events.js:203:15) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[4]: at Object.onceWrapper (events.js:286:20) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[4]: at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/request/request.js:1083:12) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[4]: at Request.emit (events.js:198:13) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[4]: at Request.<anonymous> (/opt/iobroker/node_modules/request/request.js:1161:10) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[4]: at Request.emit (events.js:198:13) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[4]: at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[4]: at Request.RP$callback [as _callback] (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:46:31) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[4]: at Request.plumbing.callback (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:104:33) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[4]: at new StatusCodeError (/opt/iobroker/node_modules/request-promise-core/lib/errors.js:32:15) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[4]: Unhandled rejection StatusCodeError: 401 - "{\"success\":false,\"data\":{\"name\":\"Expired token\",\"message\":\"Expired token\",\"url\":\"\\/zm\\/api\\/monitors.json?token= host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[3]: at process._tickCallback (internal/process/next_tick.js:63:19) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[3]: at endReadableNT (_stream_readable.js:1145:12) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[3]: at IncomingMessage.emit (events.js:203:15) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[3]: at Object.onceWrapper (events.js:286:20) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[3]: at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/request/request.js:1083:12) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[3]: at Request.emit (events.js:198:13) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[3]: at Request.<anonymous> (/opt/iobroker/node_modules/request/request.js:1161:10) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[3]: at Request.emit (events.js:198:13) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[3]: at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[3]: at Request.RP$callback [as _callback] (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:46:31) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[3]: at Request.plumbing.callback (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:104:33) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[3]: at new StatusCodeError (/opt/iobroker/node_modules/request-promise-core/lib/errors.js:32:15) host.nuc-ubuntu 2019-11-04 05:44:23.024 error Caught by controller[3]: Unhandled rejection StatusCodeError: 401 - "{\"success\":false,\"data\":{\"name\":\"Expired token\",\"message\":\"Expired token\",\"url\":\"\\/zm\\/api\\/monitors.json?token= host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[2]: at process._tickCallback (internal/process/next_tick.js:63:19) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[2]: at endReadableNT (_stream_readable.js:1145:12) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[2]: at IncomingMessage.emit (events.js:203:15) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[2]: at Object.onceWrapper (events.js:286:20) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[2]: at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/request/request.js:1083:12) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[2]: at Request.emit (events.js:198:13) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[2]: at Request.<anonymous> (/opt/iobroker/node_modules/request/request.js:1161:10) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[2]: at Request.emit (events.js:198:13) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[2]: at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[2]: at Request.RP$callback [as _callback] (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:46:31) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[2]: at Request.plumbing.callback (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:104:33) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[2]: at new StatusCodeError (/opt/iobroker/node_modules/request-promise-core/lib/errors.js:32:15) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[2]: Unhandled rejection StatusCodeError: 401 - "{\"success\":false,\"data\":{\"name\":\"Expired token\",\"message\":\"Expired token\",\"url\":\"\\/zm\\/api\\/monitors.json?token= host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[1]: at process._tickCallback (internal/process/next_tick.js:63:19) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[1]: at endReadableNT (_stream_readable.js:1145:12) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[1]: at IncomingMessage.emit (events.js:203:15) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[1]: at Object.onceWrapper (events.js:286:20) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[1]: at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/request/request.js:1083:12) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[1]: at Request.emit (events.js:198:13) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[1]: at Request.<anonymous> (/opt/iobroker/node_modules/request/request.js:1161:10) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[1]: at Request.emit (events.js:198:13) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[1]: at Request.self.callback (/opt/iobroker/node_modules/request/request.js:185:22) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[1]: at Request.RP$callback [as _callback] (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:46:31) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[1]: at Request.plumbing.callback (/opt/iobroker/node_modules/request-promise-core/lib/plumbing.js:104:33) host.nuc-ubuntu 2019-11-04 05:44:23.023 error Caught by controller[1]: at new StatusCodeError (/opt/iobroker/node_modules/request-promise-core/lib/errors.js:32:15) host.nuc-ubuntu 2019-11-04 05:44:23.022 error Caught by controller[1]: Unhandled rejection StatusCodeError: 401 - "{\"success\":false,\"data\":{\"name\":\"Expired token\",\"message\":\"Expired token\",\"url\":\"\\/zm\\/api\\/monitors.json?token=
-
@mikilinefinde mal anhand des logs heraus, nach welcher zeit er die Verbindung verliert, sollze eigentlich nicht sein, da er alle 10 minuten den token wechseln sollte... und schau mal im debug log nach dem start ob dort messages mit WEBSOCKET sind.
-
@Meistertr
Ja, es gibt auch Websocketmeldungenzoneminder.0 2019-11-04 14:36:43.793 error (2506) WEBSOCKET: Error: Error: connect ETIMEDOUT
Hier mal Start bis zum Ende
2019-11-04 05:44:25.510 - info: host.nuc-ubuntu instance system.adapter.zoneminder.0 started with pid 2506 2019-11-04 05:52:57.233 - error: zoneminder.0 (2506) WEBSOCKET: Error: Error: connect ETIMEDOUT 2019-11-04 06:44:27.416 - warn: zoneminder.0 (2506) No monitors found, please configure monitors in your zoneminder!
und zwischendurch sind noch paar Websocket Error Meldungen
-
@mikiline hast du einen anderen Port als 9000?
-
@Meistertr
eigentlich nicht. Hab da alles beim Standard gelassen
zmeventnotification.ini hat 9000 drinnen -
So habe den Login noch einmal komplett überarbeitet meine ersten tests liefen soweit gut mit der api 2 hatte ich den ganzen tag Verbindung. zum event Problem kann ich noch nichts sagen. Er meldet einen Timeout, das bedeutet er kann die Gegenseite nicht erreichen. Kannst du nochmal nach websocket suchen und schauen ob der Host richtig ist (im debug log)
-
@Meistertr
also login geht. aber nach einer bestimmten zeit kommt wieder der fehler. ich denke es liegt auch daran das der token automatisch erneuert wird.die ws fehlermeldung habe ich auch noch