Giter VIP home page Giter VIP logo

Comments (56)

xdaamg avatar xdaamg commented on July 30, 2024 1

Logfile der Version 0.4.1 mit einer Reolink Kamera. Die Kamera wird gefunden und gespeichert.

Fehler 1: Ein Snapshot-Bild wird nicht angezeigt.

Fehler 2:
Das angelegte Objekt "Motion detection" hat nicht den erwarteten Wert "true" oder "false", stattdessen steht dort "[object Object]".

Nach kurzer Zeit folgen 3 Meldungen "ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"} (count error = 1). Resubscribe to events". Danach wird die Verbindung beendet.

onvif_log.txt

from iobroker.onvif.

xdaamg avatar xdaamg commented on July 30, 2024 1

@Vodochnik Habe den "Ping" jetzt erst bemerkt. Das ist im Prinzip ganz einfach umgesetzt:

  1. Kamera so konfigurieren, dass bei Bewegung ein Bild und/oder Video auf einem Serververzeichnis eines Linux-Servers (z.B. Raspberry Pi) gespeichert wird.
  2. Auf dem Pi muss das Programm inotifywait installiert sein.
  3. Shell-Skript anlegen und bei Start ausführen, auszuschließende Dateien, Pfad, IP & Skriptname anpassen. /media/usb1/cam ist das überwachte Oberverzeichnis. Alle Änderungen unterhalb dieses Pfads werden registriert und in das iobroker-Objekt "kamera_eregnis" mit Pfad gesendet:
    inotifywait -mrq -e close_write --format %w%f --exclude mp4 /media/usb1/cam/ | while read FILE do curl http://IP_Adresse_ioBroker:8087/set/javascript.0.Kamera.kamera_ereignis?value=$FILE done
  4. Auf der ioBroker-Installation den Adapter "simple-api" bzw. "Einfache RESTful-API" starten und konfigurieren. Im Beispiel oben läuft es auf Port 8087
  5. Jetzt wird bei Ereignissen das Objekt "kamera_ereignis" mit dem Pfad zur Datei (in meinem Fall JPG) aktualisiert. Im iobroker-Skript muss man nur noch darauf reagieren und kann z.B. das Bild mit Text verschicken.
    on({id: 'javascript.0.Kamera.kamera_ereignis', change: "any"}, function(obj) { var kamera_ereignis = getState('javascript.0.Kamera.kamera_ereignis').val; sendTo('telegram', { text: kamera_ereignis, user: "1", caption: 'Kamera 1: Bewegung erkannt!', type: 'photo' }); });

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

Hi!

  1. Delete current adapter version
  2. Install version 0.3.0 Onvif
  3. Instal new version Discovery https://github.com/Haba1234/ioBroker.discovery
  4. Start Discovery and select UDP.
    The adapter will find all the cameras on the network and install them with the necessary settings.

from iobroker.onvif.

xdaamg avatar xdaamg commented on July 30, 2024

Punkte 1-4 ausgeführt. UDP findet keine neuen Geräte.
edit: Habe es auch mit der verlinkten discovery-version versucht. Die Kameras wurden aber nicht gefunden.

Fehler im Log beim ersten Versuch (Log 1). Nach einem weiteren Versuch, trat der Fehler nicht mehr auf, die Kameras wurden trotzdem nicht gefunden (Log 2). Versuch 3, wieder Fehler wie beim ersten Versuch.

Log 2:

discovery.0 2020-04-24 17:41:04.146 info (4685) Discovery finished
discovery.0 2020-04-24 17:41:04.076 info (4685) Discovery finished. Found new or modified 5 instances
discovery.0 2020-04-24 17:40:51.873 warn (4685) write: 10;VERSION;

discovery.0 | 2020-04-24 17:39:52.574 | warn | (4685) halt
discovery.0 | 2020-04-24 17:39:51.697 | info | (4685) Done discovering udp devices. 1 packages received

onvif.0 2020-04-24 17:36:34.175 warn (3341) startCameras: Cameras/NVT unavailables

Log 1:

host.pi4 2020-04-24 17:35:28.511 error Caught by controller[0]: at process._tickCallback (internal/process/next_tick.js:63:19)
host.pi4 2020-04-24 17:35:28.510 error Caught by controller[0]: at state.handle.lookup (dgram.js:243:14)
host.pi4 2020-04-24 17:35:28.510 error Caught by controller[0]: at Socket.emit (events.js:198:13)
host.pi4 2020-04-24 17:35:28.510 error Caught by controller[0]: at Socket.server.on (/opt/iobroker/node_modules/node-mndp/dist/index.js:49:18)
host.pi4 2020-04-24 17:35:28.509 error Caught by controller[0]: at NodeMndp.stop (/opt/iobroker/node_modules/node-mndp/dist/index.js:34:25)
host.pi4 2020-04-24 17:35:28.509 error Caught by controller[0]: at Socket.close (dgram.js:487:3)
host.pi4 2020-04-24 17:35:28.509 error Caught by controller[0]: at healthCheck (dgram.js:605:11)
host.pi4 2020-04-24 17:35:28.507 error Caught by controller[0]: Error [ERR_SOCKET_DGRAM_NOT_RUNNING]: Not running
discovery.0 2020-04-24 17:35:27.971 info (3839) Terminated (NO_ERROR): Without reason
discovery.0 2020-04-24 17:35:27.969 info (3839) terminating
discovery.0 2020-04-24 17:35:27.461 error at process._tickCallback (internal/process/next_tick.js:63:19)
discovery.0 2020-04-24 17:35:27.461 error at state.handle.lookup (dgram.js:243:14)
discovery.0 2020-04-24 17:35:27.461 error at Socket.emit (events.js:198:13)
discovery.0 2020-04-24 17:35:27.461 error at Socket.server.on (/opt/iobroker/node_modules/node-mndp/dist/index.js:49:18)
discovery.0 2020-04-24 17:35:27.461 error at NodeMndp.stop (/opt/iobroker/node_modules/node-mndp/dist/index.js:34:25)
discovery.0 2020-04-24 17:35:27.461 error at Socket.close (dgram.js:487:3)
discovery.0 2020-04-24 17:35:27.461 error at healthCheck (dgram.js:605:11)
discovery.0 2020-04-24 17:35:27.461 error (3839) Error [ERR_SOCKET_DGRAM_NOT_RUNNING]: Not running
discovery.0 2020-04-24 17:35:27.460 error (3839) uncaught exception: Not running
discovery.0 2020-04-24 17:35:26.936 info (3839) Found 2 addresses
discovery.0 2020-04-24 17:35:26.931 info (3839) Done discovering udp devices. 1 packages received

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

Bitte aktivieren Sie den Adapter-Debug-Modus und fügen Sie das Log hier ein

from iobroker.onvif.

xdaamg avatar xdaamg commented on July 30, 2024

Die beiden Adapter wurden gelöscht und neu installiert. Discovery zeigt nach der Suche keine Kameras an.

discovery.0 2020-04-24 20:37:59.244 debug (12935) sendTo "listMethods" to system.adapter.admin.0 from system.adapter.discovery.0
discovery.0 2020-04-24 20:37:59.242 debug (12935) Received "listMethods" event
discovery.0 2020-04-24 20:37:59.238 debug (12935) sendTo "listMethods" to system.adapter.admin.0 from system.adapter.discovery.0
discovery.0 2020-04-24 20:37:59.236 debug (12935) Received "listMethods" event
discovery.0 2020-04-24 20:37:58.259 debug (12935) sendTo "browse" to system.adapter.admin.0 from system.adapter.discovery.0
discovery.0 2020-04-24 20:37:58.258 debug (12935) Browse finished
discovery.0 2020-04-24 20:37:58.256 info (12935) Discovery finished
discovery.0 2020-04-24 20:37:58.162 info (12935) Discovery finished. Found new or modified 2 instances
discovery.0 2020-04-24 20:37:58.156 debug (12935) Added suggested adapter: mobile.0
discovery.0 2020-04-24 20:37:58.123 debug (12935) Added suggested adapter: cloud.0
discovery.0 2020-04-24 20:37:48.125 debug (12935) Onvif. listener: rinfo = {"address":"192.168.1.56","family":"IPv4","port":3702,"size":4029}
discovery.0 2020-04-24 20:37:48.124 debug (12935) Onvif. listener: msg = "\n<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope\" xmlns:SOAP-ENC="http://www.w3.org/2003/05/so
discovery.0 2020-04-24 20:37:48.114 debug (12935) Onvif. listener: rinfo = {"address":"192.168.1.59","family":"IPv4","port":3702,"size":4029}
discovery.0 2020-04-24 20:37:48.113 debug (12935) Onvif. listener: msg = "\n<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope\" xmlns:SOAP-ENC="http://www.w3.org/2003/05/so
discovery.0 2020-04-24 20:37:48.113 debug (12935) Onvif. listener: rinfo = {"address":"192.168.1.58","family":"IPv4","port":3702,"size":4029}
discovery.0 2020-04-24 20:37:48.112 debug (12935) Onvif. listener: msg = "\n<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope\" xmlns:SOAP-ENC="http://www.w3.org/2003/05/so
discovery.0 2020-04-24 20:37:48.111 debug (12935) Onvif. listener: rinfo = {"address":"192.168.1.57","family":"IPv4","port":3702,"size":4029}
discovery.0 2020-04-24 20:37:48.110 debug (12935) Onvif. listener: msg = "\n<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope\" xmlns:SOAP-ENC="http://www.w3.org/2003/05/so
discovery.0 2020-04-24 20:37:48.093 debug (12935) Test udp 255.255.255.255 onvif
discovery.0 2020-04-24 20:37:48.092 debug (12935) Test udp 255.255.255.255 onkyo
discovery.0 2020-04-24 20:37:48.091 debug (12935) Test udp 255.255.255.255 mikrotik
discovery.0 2020-04-24 20:37:48.090 debug (12935) Test udp 255.255.255.255 mihome
discovery.0 2020-04-24 20:37:48.089 debug (12935) Test udp 255.255.255.255 maxcube
discovery.0 2020-04-24 20:37:48.088 debug (12935) Test udp 255.255.255.255 knx
discovery.0 2020-04-24 20:37:48.088 debug (12935) Test udp 255.255.255.255 emby
discovery.0 2020-04-24 20:37:48.086 debug (12935) Test udp 255.255.255.255 ekey
discovery.0 2020-04-24 20:37:48.083 debug (12935) Test udp 255.255.255.255 daikin
discovery.0 2020-04-24 20:37:47.524 info (12935) Found 2 addresses
discovery.0 2020-04-24 20:37:47.517 info (12935) Done discovering udp devices. 1 packages received
discovery.0 2020-04-24 20:37:42.516 debug (12935) main.addDevice: ip=255.255.255.255 source=udp
discovery.0 2020-04-24 20:37:42.513 debug (12935) Received "browse" event
discovery.0 2020-04-24 20:37:40.101 debug (12935) sendTo "listMethods" to system.adapter.admin.0 from system.adapter.discovery.0
discovery.0 2020-04-24 20:37:40.100 debug (12935) Received "listMethods" event
onvif.0 2020-04-24 20:37:39.834 debug (12942) system.adapter.admin.0: logging true
discovery.0 2020-04-24 20:37:39.831 debug (12935) system.adapter.admin.0: logging true
onvif.0 2020-04-24 20:37:32.370 debug (12942) state onvif.0.discoveryRunning changed: false (ack = true)
onvif.0 2020-04-24 20:37:32.367 warn (12942) startCameras: Cameras/NVT unavailables
onvif.0 2020-04-24 20:37:32.367 debug (12942) startCameras. cameras: {}
onvif.0 2020-04-24 20:37:32.366 debug (12942) setCameras: []
onvif.0 2020-04-24 20:37:32.366 debug (12942) getDevices: []
onvif.0 2020-04-24 20:37:32.346 debug (12942) startCameras
onvif.0 2020-04-24 20:37:32.341 error (12942) Password error: Please re-enter the password in Admin. Stopping
onvif.0 2020-04-24 20:37:32.276 info (12942) starting. Version 0.3.0 in /opt/iobroker/node_modules/iobroker.onvif, node: v10.20.1
discovery.0 2020-04-24 20:37:32.142 debug (12935) sendTo "listMethods" to system.adapter.admin.0 from system.adapter.discovery.0
discovery.0 2020-04-24 20:37:32.081 debug (12935) Received "listMethods" event
discovery.0 2020-04-24 20:37:31.995 info (12935) starting. Version 2.3.3 in /opt/iobroker/node_modules/iobroker.discovery, node: v10.20.1
onvif.0 2020-04-24 20:37:31.466 debug (12942) statesDB connected
onvif.0 2020-04-24 20:37:31.465 debug (12942) States connected to redis: 127.0.0.1:9000
onvif.0 2020-04-24 20:37:31.458 debug (12942) States create System PubSub Client
onvif.0 2020-04-24 20:37:31.455 debug (12942) States create User PubSub Client
onvif.0 2020-04-24 20:37:31.449 debug (12942) Redis States: Use Redis connection: 127.0.0.1:9000
onvif.0 2020-04-24 20:37:31.435 debug (12942) objectDB connected
onvif.0 2020-04-24 20:37:31.429 debug (12942) Objects connected to redis: 127.0.0.1:9001
onvif.0 2020-04-24 20:37:31.412 debug (12942) Objects client initialize lua scripts
onvif.0 2020-04-24 20:37:31.411 debug (12942) Objects create User PubSub Client
onvif.0 2020-04-24 20:37:31.409 debug (12942) Objects create System PubSub Client
onvif.0 2020-04-24 20:37:31.403 debug (12942) Objects client ready ... initialize now
onvif.0 2020-04-24 20:37:31.363 debug (12942) Redis Objects: Use Redis connection: 127.0.0.1:9001
discovery.0 2020-04-24 20:37:30.965 debug (12935) statesDB connected
discovery.0 2020-04-24 20:37:30.964 debug (12935) States connected to redis: 127.0.0.1:9000
discovery.0 2020-04-24 20:37:30.955 debug (12935) States create System PubSub Client
discovery.0 2020-04-24 20:37:30.953 debug (12935) States create User PubSub Client
discovery.0 2020-04-24 20:37:30.946 debug (12935) Redis States: Use Redis connection: 127.0.0.1:9000
discovery.0 2020-04-24 20:37:30.943 debug (12935) objectDB connected
discovery.0 2020-04-24 20:37:30.937 debug (12935) Objects connected to redis: 127.0.0.1:9001
discovery.0 2020-04-24 20:37:30.924 debug (12935) Objects client initialize lua scripts
discovery.0 2020-04-24 20:37:30.923 debug (12935) Objects create User PubSub Client
discovery.0 2020-04-24 20:37:30.922 debug (12935) Objects create System PubSub Client
discovery.0 2020-04-24 20:37:30.917 debug (12935) Objects client ready ... initialize now
discovery.0 2020-04-24 20:37:30.876 debug (12935) Redis Objects: Use Redis connection: 127.0.0.1:9001
host.pi4 2020-04-24 20:37:30.312 info instance system.adapter.onvif.0 started with pid 12942
host.pi4 2020-04-24 20:37:29.995 info instance system.adapter.discovery.0 started with pid 12935
host.pi4 2020-04-24 20:37:29.959 info "system.adapter.discovery.0" enabled
host.pi4 2020-04-24 20:37:28.321 info instance system.adapter.onvif.0 terminated with code 156 (156)
onvif.0 2020-04-24 20:37:27.803 info (12066) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
onvif.0 2020-04-24 20:37:27.801 info (12066) terminating
onvif.0 2020-04-24 20:37:27.797 info (12066) Got terminate signal TERMINATE_YOURSELF
host.pi4 2020-04-24 20:37:27.792 info stopInstance system.adapter.onvif.0 send kill signal
host.pi4 2020-04-24 20:37:27.790 info stopInstance system.adapter.onvif.0 (force=false, process=true)
onvif.0 2020-04-24 20:37:16.723 warn (12066) startCameras: Cameras/NVT unavailables
host.pi4 2020-04-24 20:37:14.745 info instance system.adapter.discovery.0 terminated with code 156 (156)
discovery.0 2020-04-24 20:37:14.205 info (12895) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
discovery.0 2020-04-24 20:37:14.202 info (12895) terminating
discovery.0 2020-04-24 20:37:14.199 info (12895) Got terminate signal TERMINATE_YOURSELF
host.pi4 2020-04-24 20:37:14.193 info stopInstance system.adapter.discovery.0 send kill signal
host.pi4 2020-04-24 20:37:14.192 info stopInstance system.adapter.discovery.0 (force=false, process=true)
host.pi4 2020-04-24 20:37:14.191 info "system.adapter.discovery.0" disabled
discovery.0 2020-04-24 20:37:01.496 info (12895) Discovery finished
discovery.0 2020-04-24 20:37:01.458 info (12895) Discovery finished. Found new or modified 2 instances
discovery.0 2020-04-24 20:36:50.741 info (12895) Found 2 addresses
discovery.0 2020-04-24 20:36:50.731 info (12895) Done discovering udp devices. 1 packages received
discovery.0 2020-04-24 20:36:34.254 info (12895) starting. Version 2.3.3 in /opt/iobroker/node_modules/iobroker.discovery, node: v10.20.1
host.pi4 2020-04-24 20:36:32.029 info instance system.adapter.discovery.0 started with pid 12895

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

Aus dem Protokoll geht hervor, dass der Discovery-Adapter 4 Kameras erkannt hat. Dem onvif-Adapter wurden jedoch keine Kameras hinzugefügt, da bereits eine Instanz des Adapters erstellt wurde.
1
Bitte laden Sie das Protokoll mit der Datei "/opt/iobroker/logs" hoch, sonst sehe ich nur einen Teil davon.

from iobroker.onvif.

xdaamg avatar xdaamg commented on July 30, 2024

2020-04-24 20:36:32.029 - �[32minfo�[39m: host.pi4 instance system.adapter.discovery.0 started with pid 12895
2020-04-24 20:36:34.254 - �[32minfo�[39m: discovery.0 (12895) starting. Version 2.3.3 in /opt/iobroker/node_modules/iobroker.discovery, node: v10.20.1
2020-04-24 20:36:50.731 - �[32minfo�[39m: discovery.0 (12895) Done discovering udp devices. 1 packages received
2020-04-24 20:36:50.741 - �[32minfo�[39m: discovery.0 (12895) Found 2 addresses
2020-04-24 20:37:01.458 - �[32minfo�[39m: discovery.0 (12895) Discovery finished. Found new or modified 2 instances
2020-04-24 20:37:01.496 - �[32minfo�[39m: discovery.0 (12895) Discovery finished
2020-04-24 20:37:14.191 - �[32minfo�[39m: host.pi4 "system.adapter.discovery.0" disabled
2020-04-24 20:37:14.192 - �[32minfo�[39m: host.pi4 stopInstance system.adapter.discovery.0 (force=false, process=true)
2020-04-24 20:37:14.193 - �[32minfo�[39m: host.pi4 stopInstance system.adapter.discovery.0 send kill signal
2020-04-24 20:37:14.199 - �[32minfo�[39m: discovery.0 (12895) Got terminate signal TERMINATE_YOURSELF
2020-04-24 20:37:14.202 - �[32minfo�[39m: discovery.0 (12895) terminating
2020-04-24 20:37:14.205 - �[32minfo�[39m: discovery.0 (12895) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2020-04-24 20:37:14.745 - �[32minfo�[39m: host.pi4 instance system.adapter.discovery.0 terminated with code 156 (156)
2020-04-24 20:37:16.723 - �[33mwarn�[39m: onvif.0 (12066) startCameras: Cameras/NVT unavailables
2020-04-24 20:37:27.790 - �[32minfo�[39m: host.pi4 stopInstance system.adapter.onvif.0 (force=false, process=true)
2020-04-24 20:37:27.792 - �[32minfo�[39m: host.pi4 stopInstance system.adapter.onvif.0 send kill signal
2020-04-24 20:37:27.797 - �[32minfo�[39m: onvif.0 (12066) Got terminate signal TERMINATE_YOURSELF
2020-04-24 20:37:27.801 - �[32minfo�[39m: onvif.0 (12066) terminating
2020-04-24 20:37:27.803 - �[32minfo�[39m: onvif.0 (12066) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
2020-04-24 20:37:28.321 - �[32minfo�[39m: host.pi4 instance system.adapter.onvif.0 terminated with code 156 (156)
2020-04-24 20:37:29.959 - �[32minfo�[39m: host.pi4 "system.adapter.discovery.0" enabled
2020-04-24 20:37:29.995 - �[32minfo�[39m: host.pi4 instance system.adapter.discovery.0 started with pid 12935
2020-04-24 20:37:30.312 - �[32minfo�[39m: host.pi4 instance system.adapter.onvif.0 started with pid 12942
2020-04-24 20:37:30.876 - �[34mdebug�[39m: discovery.0 (12935) Redis Objects: Use Redis connection: 127.0.0.1:9001
2020-04-24 20:37:30.917 - �[34mdebug�[39m: discovery.0 (12935) Objects client ready ... initialize now
2020-04-24 20:37:30.922 - �[34mdebug�[39m: discovery.0 (12935) Objects create System PubSub Client
2020-04-24 20:37:30.923 - �[34mdebug�[39m: discovery.0 (12935) Objects create User PubSub Client
2020-04-24 20:37:30.924 - �[34mdebug�[39m: discovery.0 (12935) Objects client initialize lua scripts
2020-04-24 20:37:30.937 - �[34mdebug�[39m: discovery.0 (12935) Objects connected to redis: 127.0.0.1:9001
2020-04-24 20:37:30.943 - �[34mdebug�[39m: discovery.0 (12935) objectDB connected
2020-04-24 20:37:30.946 - �[34mdebug�[39m: discovery.0 (12935) Redis States: Use Redis connection: 127.0.0.1:9000
2020-04-24 20:37:30.953 - �[34mdebug�[39m: discovery.0 (12935) States create User PubSub Client
2020-04-24 20:37:30.955 - �[34mdebug�[39m: discovery.0 (12935) States create System PubSub Client
2020-04-24 20:37:30.964 - �[34mdebug�[39m: discovery.0 (12935) States connected to redis: 127.0.0.1:9000
2020-04-24 20:37:30.965 - �[34mdebug�[39m: discovery.0 (12935) statesDB connected
2020-04-24 20:37:31.363 - �[34mdebug�[39m: onvif.0 (12942) Redis Objects: Use Redis connection: 127.0.0.1:9001
2020-04-24 20:37:31.403 - �[34mdebug�[39m: onvif.0 (12942) Objects client ready ... initialize now
2020-04-24 20:37:31.409 - �[34mdebug�[39m: onvif.0 (12942) Objects create System PubSub Client
2020-04-24 20:37:31.411 - �[34mdebug�[39m: onvif.0 (12942) Objects create User PubSub Client
2020-04-24 20:37:31.412 - �[34mdebug�[39m: onvif.0 (12942) Objects client initialize lua scripts
2020-04-24 20:37:31.429 - �[34mdebug�[39m: onvif.0 (12942) Objects connected to redis: 127.0.0.1:9001
2020-04-24 20:37:31.435 - �[34mdebug�[39m: onvif.0 (12942) objectDB connected
2020-04-24 20:37:31.449 - �[34mdebug�[39m: onvif.0 (12942) Redis States: Use Redis connection: 127.0.0.1:9000
2020-04-24 20:37:31.455 - �[34mdebug�[39m: onvif.0 (12942) States create User PubSub Client
2020-04-24 20:37:31.458 - �[34mdebug�[39m: onvif.0 (12942) States create System PubSub Client
2020-04-24 20:37:31.465 - �[34mdebug�[39m: onvif.0 (12942) States connected to redis: 127.0.0.1:9000
2020-04-24 20:37:31.466 - �[34mdebug�[39m: onvif.0 (12942) statesDB connected
2020-04-24 20:37:31.995 - �[32minfo�[39m: discovery.0 (12935) starting. Version 2.3.3 in /opt/iobroker/node_modules/iobroker.discovery, node: v10.20.1
2020-04-24 20:37:32.081 - �[34mdebug�[39m: discovery.0 (12935) Received "listMethods" event
2020-04-24 20:37:32.142 - �[34mdebug�[39m: discovery.0 (12935) sendTo "listMethods" to system.adapter.admin.0 from system.adapter.discovery.0
2020-04-24 20:37:32.276 - �[32minfo�[39m: onvif.0 (12942) starting. Version 0.3.0 in /opt/iobroker/node_modules/iobroker.onvif, node: v10.20.1
2020-04-24 20:37:32.341 - �[31merror�[39m: onvif.0 (12942) Password error: Please re-enter the password in Admin. Stopping
2020-04-24 20:37:32.346 - �[34mdebug�[39m: onvif.0 (12942) startCameras
2020-04-24 20:37:32.366 - �[34mdebug�[39m: onvif.0 (12942) getDevices: []
2020-04-24 20:37:32.366 - �[34mdebug�[39m: onvif.0 (12942) setCameras: []
2020-04-24 20:37:32.367 - �[34mdebug�[39m: onvif.0 (12942) startCameras. cameras: {}
2020-04-24 20:37:32.367 - �[33mwarn�[39m: onvif.0 (12942) startCameras: Cameras/NVT unavailables
2020-04-24 20:37:32.370 - �[34mdebug�[39m: onvif.0 (12942) state onvif.0.discoveryRunning changed: false (ack = true)
2020-04-24 20:37:39.831 - �[34mdebug�[39m: discovery.0 (12935) system.adapter.admin.0: logging true
2020-04-24 20:37:39.834 - �[34mdebug�[39m: onvif.0 (12942) system.adapter.admin.0: logging true
2020-04-24 20:37:40.100 - �[34mdebug�[39m: discovery.0 (12935) Received "listMethods" event
2020-04-24 20:37:40.101 - �[34mdebug�[39m: discovery.0 (12935) sendTo "listMethods" to system.adapter.admin.0 from system.adapter.discovery.0
2020-04-24 20:37:42.513 - �[34mdebug�[39m: discovery.0 (12935) Received "browse" event
2020-04-24 20:37:42.516 - �[34mdebug�[39m: discovery.0 (12935) main.addDevice: ip=255.255.255.255 source=udp
2020-04-24 20:37:47.517 - �[32minfo�[39m: discovery.0 (12935) Done discovering udp devices. 1 packages received
2020-04-24 20:37:47.524 - �[32minfo�[39m: discovery.0 (12935) Found 2 addresses
2020-04-24 20:37:48.083 - �[34mdebug�[39m: discovery.0 (12935) Test udp 255.255.255.255 daikin
2020-04-24 20:37:48.086 - �[34mdebug�[39m: discovery.0 (12935) Test udp 255.255.255.255 ekey
2020-04-24 20:37:48.088 - �[34mdebug�[39m: discovery.0 (12935) Test udp 255.255.255.255 emby
2020-04-24 20:37:48.088 - �[34mdebug�[39m: discovery.0 (12935) Test udp 255.255.255.255 knx
2020-04-24 20:37:48.089 - �[34mdebug�[39m: discovery.0 (12935) Test udp 255.255.255.255 maxcube
2020-04-24 20:37:48.090 - �[34mdebug�[39m: discovery.0 (12935) Test udp 255.255.255.255 mihome
2020-04-24 20:37:48.091 - �[34mdebug�[39m: discovery.0 (12935) Test udp 255.255.255.255 mikrotik
2020-04-24 20:37:48.092 - �[34mdebug�[39m: discovery.0 (12935) Test udp 255.255.255.255 onkyo
2020-04-24 20:37:48.093 - �[34mdebug�[39m: discovery.0 (12935) Test udp 255.255.255.255 onvif
2020-04-24 20:37:48.110 - �[34mdebug�[39m: discovery.0 (12935) Onvif. listener: msg = "\n<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:ns1="http://www.onvif.org/ver10/actionengine/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:ns10="http://www.onvif.org/ver10/events/wsdl/PullPointBinding" xmlns:ns11="http://www.onvif.org/ver10/events/wsdl/CreatePullPointBinding" xmlns:ns12="http://www.onvif.org/ver10/events/wsdl/PausableSubscriptionManagerBinding" xmlns:ns13="http://www.onvif.org/ver10/network/wsdl/RemoteDiscoveryBinding" xmlns:ns14="http://www.onvif.org/ver10/network/wsdl/DiscoveryLookupBinding" xmlns:tdn="http://www.onvif.org/ver10/network/wsdl" xmlns:ns3="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding" xmlns:ns4="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngineBinding" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:ns5="http://www.onvif.org/ver10/events/wsdl/PullPointSubscriptionBinding" xmlns:ns6="http://www.onvif.org/ver10/events/wsdl/EventBinding" xmlns:ns7="http://www.onvif.org/ver10/events/wsdl/SubscriptionManagerBinding" xmlns:ns8="http://www.onvif.org/ver10/events/wsdl/NotificationProducerBinding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:ns9="http://www.onvif.org/ver10/events/wsdl/NotificationConsumerBinding" xmlns:tad="http://www.onvif.org/ver10/analyticsdevice/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tls="http://www.onvif.org/ver10/display/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">SOAP-ENV:Headerwsa:MessageIDuuid:2419d68a-2dd2-21b2-a205-EC:71:DB:76:50:DC</wsa:MessageID>wsa:RelatesTourn:uuid:1b6c8490-c3d4-f1ef-4a14-e762bfc0504b</wsa:RelatesTo><wsa:To SOAP-ENV:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>wsa:Actionhttp://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action></SOAP-ENV:Header>SOAP-ENV:Bodywsdd:ProbeMatcheswsdd:ProbeMatchwsa:EndpointReferencewsa:Addressurn:uuid:2419d68a-2dd2-21b2-a205-EC:71:DB:76:50:DC</wsa:Address>wsa:ReferenceProperties</wsa:ReferenceProperties>wsa:ReferenceParameters</wsa:ReferenceParameters>wsa:PortTypettl</wsa:PortType></wsa:EndpointReference>wsdd:Typestdn:NetworkVideoTransmitter</wsdd:Types>wsdd:Scopes onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/location/country/china onvif://www.onvif.org/type/network_video_transmitter onvif://www.onvif.org/hardware/IPC-122 onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/name/IPC-BO</wsdd:Scopes>wsdd:XAddrshttp://192.168.1.57:8000/onvif/device_service</wsdd:XAddrs>wsdd:MetadataVersion1</wsdd:MetadataVersion></wsdd:ProbeMatch></wsdd:ProbeMatches></SOAP-ENV:Body></SOAP-ENV:Envelope>\r\n"
2020-04-24 20:37:48.111 - �[34mdebug�[39m: discovery.0 (12935) Onvif. listener: rinfo = {"address":"192.168.1.57","family":"IPv4","port":3702,"size":4029}
2020-04-24 20:37:48.112 - �[34mdebug�[39m: discovery.0 (12935) Onvif. listener: msg = "\n<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:ns1="http://www.onvif.org/ver10/actionengine/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:ns10="http://www.onvif.org/ver10/events/wsdl/PullPointBinding" xmlns:ns11="http://www.onvif.org/ver10/events/wsdl/CreatePullPointBinding" xmlns:ns12="http://www.onvif.org/ver10/events/wsdl/PausableSubscriptionManagerBinding" xmlns:ns13="http://www.onvif.org/ver10/network/wsdl/RemoteDiscoveryBinding" xmlns:ns14="http://www.onvif.org/ver10/network/wsdl/DiscoveryLookupBinding" xmlns:tdn="http://www.onvif.org/ver10/network/wsdl" xmlns:ns3="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding" xmlns:ns4="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngineBinding" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:ns5="http://www.onvif.org/ver10/events/wsdl/PullPointSubscriptionBinding" xmlns:ns6="http://www.onvif.org/ver10/events/wsdl/EventBinding" xmlns:ns7="http://www.onvif.org/ver10/events/wsdl/SubscriptionManagerBinding" xmlns:ns8="http://www.onvif.org/ver10/events/wsdl/NotificationProducerBinding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:ns9="http://www.onvif.org/ver10/events/wsdl/NotificationConsumerBinding" xmlns:tad="http://www.onvif.org/ver10/analyticsdevice/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tls="http://www.onvif.org/ver10/display/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">SOAP-ENV:Headerwsa:MessageIDuuid:2419d68a-2dd2-21b2-a205-EC:71:DB:C1:38:9A</wsa:MessageID>wsa:RelatesTourn:uuid:1b6c8490-c3d4-f1ef-4a14-e762bfc0504b</wsa:RelatesTo><wsa:To SOAP-ENV:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>wsa:Actionhttp://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action></SOAP-ENV:Header>SOAP-ENV:Bodywsdd:ProbeMatcheswsdd:ProbeMatchwsa:EndpointReferencewsa:Addressurn:uuid:2419d68a-2dd2-21b2-a205-EC:71:DB:C1:38:9A</wsa:Address>wsa:ReferenceProperties</wsa:ReferenceProperties>wsa:ReferenceParameters</wsa:ReferenceParameters>wsa:PortTypettl</wsa:PortType></wsa:EndpointReference>wsdd:Typestdn:NetworkVideoTransmitter</wsdd:Types>wsdd:Scopes onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/location/country/china onvif://www.onvif.org/type/network_video_transmitter onvif://www.onvif.org/hardware/IPC-122 onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/name/IPC-BO</wsdd:Scopes>wsdd:XAddrshttp://192.168.1.58:8000/onvif/device_service</wsdd:XAddrs>wsdd:MetadataVersion1</wsdd:MetadataVersion></wsdd:ProbeMatch></wsdd:ProbeMatches></SOAP-ENV:Body></SOAP-ENV:Envelope>\r\n"
2020-04-24 20:37:48.113 - �[34mdebug�[39m: discovery.0 (12935) Onvif. listener: rinfo = {"address":"192.168.1.58","family":"IPv4","port":3702,"size":4029}
2020-04-24 20:37:48.113 - �[34mdebug�[39m: discovery.0 (12935) Onvif. listener: msg = "\n<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:ns1="http://www.onvif.org/ver10/actionengine/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:ns10="http://www.onvif.org/ver10/events/wsdl/PullPointBinding" xmlns:ns11="http://www.onvif.org/ver10/events/wsdl/CreatePullPointBinding" xmlns:ns12="http://www.onvif.org/ver10/events/wsdl/PausableSubscriptionManagerBinding" xmlns:ns13="http://www.onvif.org/ver10/network/wsdl/RemoteDiscoveryBinding" xmlns:ns14="http://www.onvif.org/ver10/network/wsdl/DiscoveryLookupBinding" xmlns:tdn="http://www.onvif.org/ver10/network/wsdl" xmlns:ns3="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding" xmlns:ns4="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngineBinding" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:ns5="http://www.onvif.org/ver10/events/wsdl/PullPointSubscriptionBinding" xmlns:ns6="http://www.onvif.org/ver10/events/wsdl/EventBinding" xmlns:ns7="http://www.onvif.org/ver10/events/wsdl/SubscriptionManagerBinding" xmlns:ns8="http://www.onvif.org/ver10/events/wsdl/NotificationProducerBinding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:ns9="http://www.onvif.org/ver10/events/wsdl/NotificationConsumerBinding" xmlns:tad="http://www.onvif.org/ver10/analyticsdevice/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tls="http://www.onvif.org/ver10/display/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">SOAP-ENV:Headerwsa:MessageIDuuid:2419d68a-2dd2-21b2-a205-EC:71:DB:97:7D:E2</wsa:MessageID>wsa:RelatesTourn:uuid:1b6c8490-c3d4-f1ef-4a14-e762bfc0504b</wsa:RelatesTo><wsa:To SOAP-ENV:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>wsa:Actionhttp://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action></SOAP-ENV:Header>SOAP-ENV:Bodywsdd:ProbeMatcheswsdd:ProbeMatchwsa:EndpointReferencewsa:Addressurn:uuid:2419d68a-2dd2-21b2-a205-EC:71:DB:97:7D:E2</wsa:Address>wsa:ReferenceProperties</wsa:ReferenceProperties>wsa:ReferenceParameters</wsa:ReferenceParameters>wsa:PortTypettl</wsa:PortType></wsa:EndpointReference>wsdd:Typestdn:NetworkVideoTransmitter</wsdd:Types>wsdd:Scopes onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/location/country/china onvif://www.onvif.org/type/network_video_transmitter onvif://www.onvif.org/hardware/IPC-122 onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/name/IPC-BO</wsdd:Scopes>wsdd:XAddrshttp://192.168.1.59:8000/onvif/device_service</wsdd:XAddrs>wsdd:MetadataVersion1</wsdd:MetadataVersion></wsdd:ProbeMatch></wsdd:ProbeMatches></SOAP-ENV:Body></SOAP-ENV:Envelope>\r\n"
2020-04-24 20:37:48.114 - �[34mdebug�[39m: discovery.0 (12935) Onvif. listener: rinfo = {"address":"192.168.1.59","family":"IPv4","port":3702,"size":4029}
2020-04-24 20:37:48.124 - �[34mdebug�[39m: discovery.0 (12935) Onvif. listener: msg = "\n<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:ns1="http://www.onvif.org/ver10/actionengine/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:ns10="http://www.onvif.org/ver10/events/wsdl/PullPointBinding" xmlns:ns11="http://www.onvif.org/ver10/events/wsdl/CreatePullPointBinding" xmlns:ns12="http://www.onvif.org/ver10/events/wsdl/PausableSubscriptionManagerBinding" xmlns:ns13="http://www.onvif.org/ver10/network/wsdl/RemoteDiscoveryBinding" xmlns:ns14="http://www.onvif.org/ver10/network/wsdl/DiscoveryLookupBinding" xmlns:tdn="http://www.onvif.org/ver10/network/wsdl" xmlns:ns3="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding" xmlns:ns4="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngineBinding" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:ns5="http://www.onvif.org/ver10/events/wsdl/PullPointSubscriptionBinding" xmlns:ns6="http://www.onvif.org/ver10/events/wsdl/EventBinding" xmlns:ns7="http://www.onvif.org/ver10/events/wsdl/SubscriptionManagerBinding" xmlns:ns8="http://www.onvif.org/ver10/events/wsdl/NotificationProducerBinding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:ns9="http://www.onvif.org/ver10/events/wsdl/NotificationConsumerBinding" xmlns:tad="http://www.onvif.org/ver10/analyticsdevice/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tls="http://www.onvif.org/ver10/display/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">SOAP-ENV:Headerwsa:MessageIDuuid:2419d68a-2dd2-21b2-a205-EC:71:DB:61:C4:25</wsa:MessageID>wsa:RelatesTourn:uuid:1b6c8490-c3d4-f1ef-4a14-e762bfc0504b</wsa:RelatesTo><wsa:To SOAP-ENV:mustUnderstand="1">http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To>wsa:Actionhttp://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action></SOAP-ENV:Header>SOAP-ENV:Bodywsdd:ProbeMatcheswsdd:ProbeMatchwsa:EndpointReferencewsa:Addressurn:uuid:2419d68a-2dd2-21b2-a205-EC:71:DB:61:C4:25</wsa:Address>wsa:ReferenceProperties</wsa:ReferenceProperties>wsa:ReferenceParameters</wsa:ReferenceParameters>wsa:PortTypettl</wsa:PortType></wsa:EndpointReference>wsdd:Typestdn:NetworkVideoTransmitter</wsdd:Types>wsdd:Scopes onvif://www.onvif.org/type/video_encoder onvif://www.onvif.org/location/country/china onvif://www.onvif.org/type/network_video_transmitter onvif://www.onvif.org/hardware/IPC-122 onvif://www.onvif.org/Profile/Streaming onvif://www.onvif.org/name/IPC-BO</wsdd:Scopes>wsdd:XAddrshttp://192.168.1.56:8000/onvif/device_service</wsdd:XAddrs>wsdd:MetadataVersion1</wsdd:MetadataVersion></wsdd:ProbeMatch></wsdd:ProbeMatches></SOAP-ENV:Body></SOAP-ENV:Envelope>\r\n"
2020-04-24 20:37:48.125 - �[34mdebug�[39m: discovery.0 (12935) Onvif. listener: rinfo = {"address":"192.168.1.56","family":"IPv4","port":3702,"size":4029}
2020-04-24 20:37:58.123 - �[34mdebug�[39m: discovery.0 (12935) Added suggested adapter: cloud.0
2020-04-24 20:37:58.156 - �[34mdebug�[39m: discovery.0 (12935) Added suggested adapter: mobile.0
2020-04-24 20:37:58.162 - �[32minfo�[39m: discovery.0 (12935) Discovery finished. Found new or modified 2 instances
2020-04-24 20:37:58.256 - �[32minfo�[39m: discovery.0 (12935) Discovery finished
2020-04-24 20:37:58.258 - �[34mdebug�[39m: discovery.0 (12935) Browse finished
2020-04-24 20:37:58.259 - �[34mdebug�[39m: discovery.0 (12935) sendTo "browse" to system.adapter.admin.0 from system.adapter.discovery.0
2020-04-24 20:37:59.236 - �[34mdebug�[39m: discovery.0 (12935) Received "listMethods" event
2020-04-24 20:37:59.238 - �[34mdebug�[39m: discovery.0 (12935) sendTo "listMethods" to system.adapter.admin.0 from system.adapter.discovery.0
2020-04-24 20:37:59.242 - �[34mdebug�[39m: discovery.0 (12935) Received "listMethods" event
2020-04-24 20:37:59.244 - �[34mdebug�[39m: discovery.0 (12935) sendTo "listMethods" to system.adapter.admin.0 from system.adapter.discovery.0
2020-04-24 20:39:16.344 - �[34mdebug�[39m: discovery.0 (12935) Received "listMethods" event
2020-04-24 20:39:16.346 - �[34mdebug�[39m: discovery.0 (12935) sendTo "listMethods" to system.adapter.admin.0 from system.adapter.discovery.0
2020-04-24 20:39:24.255 - �[34mdebug�[39m: onvif.0 (12942) Received "getDevices" event
2020-04-24 20:39:24.256 - �[34mdebug�[39m: onvif.0 (12942) getDevicesAdmin
2020-04-24 20:39:24.274 - �[34mdebug�[39m: onvif.0 (12942) getDevicesAdmin result: []
2020-04-24 20:39:24.276 - �[34mdebug�[39m: onvif.0 (12942) sendTo "getDevices" to system.adapter.admin.0 from system.adapter.onvif.0

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

Sehen Sie sich die Antwort oben an oder versuchen Sie, Kameras manuell zum onvif-Adapter hinzuzufügen. Geben Sie in den Adaptereinstellungen nur einen Port 8000 an.
IP start: 192.168.1.56
IP finish: 192.168.1.59

from iobroker.onvif.

xdaamg avatar xdaamg commented on July 30, 2024

Die beiden Adapter wurden nochmal komplett entfernt und wieder installiert. Die Onvif-Instanz habe ich nicht aktiviert. Anschließend hat Discovery "onvif" gefunden und eine Instanz hinzugefügt. Kameras wurden in der Instanz nicht automatisch hinzugefügt. Eine Suche im Onvif-Adapter hat die Kameras gefunden und gespeichert.

Die bereits zuvor gemeldeten Fehler im Log bleiben:

onvif.0 2020-04-25 09:23:15.450 info (6754) Discovery finished
onvif.0 2020-04-25 09:23:15.344 info (6754) ------------------------------
onvif.0 2020-04-25 09:23:15.343 info (6754) Info: = {"manufacturer":"Manufacturer","model":"IPC","firmwareVersion":"V1.0.0.1","serialNumber":"00000000000000","hardwareId":"IPC"}
onvif.0 2020-04-25 09:23:15.343 info (6754) Date: = Sat Apr 25 2020 09:23:01 GMT+0200 (GMT+02:00)
onvif.0 2020-04-25 09:23:15.343 info (6754) Host: 192.168.1.57 Port: 8000
onvif.0 2020-04-25 09:23:15.342 info (6754) ------------------------------
onvif.0 2020-04-25 09:23:15.342 error (6754) 192.168.1.57 getRecordings: Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}

Wie weiter oben gemeldet, werden die erzeugten Objekte nur kurzzeitig korrekt aktualisiert, danach tritt ein Fehler auf und die Werte bleiben dauerhaft auf "true".

Objekt:
onvif.0.192_168_1_57_8000.message.ruleengine.cellmotiondetector.motion.IsMotion

onvif.0 2020-04-25 09:47:37.799 debug (7829) startCameras (192_168_1_59_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-25 09:47:36.772 debug (7829) startCameras (192_168_1_59_8000) pullMessages: ERROR - TypeError: Cannot read property 'topic' of undefined. Resubscribe to events
onvif.0 2020-04-25 09:47:36.771 debug (7829) camEvents (192_168_1_59_8000): camMessage = undefined
onvif.0 2020-04-25 09:47:36.770 debug (7829) EVENT (192_168_1_59_8000): {"currentTime":"2020-04-25T07:49:22.000Z","terminationTime":"2020-04-25T07:49:21.000Z"}
onvif.0.192_168_1_59_8000.message.ruleengine.cellmotiondetector.motion.IsMotion changed: true (ack = true)
onvif.0 2020-04-25 09:47:29.148 debug (7829) EVENT (192_168_1_59_8000): 2020-04-25T07:49:14.000Z RuleEngine.CellMotionDetector.Motion PROP:Changed SRC:VideoSourceConfigurationToken=000 DATA:IsMotion=true
onvif.0 2020-04-25 09:47:29.147 debug (7829) WARNING: Only processing first Event Source item
onvif.0 2020-04-25 09:47:29.146 debug (7829) camEvents (192_168_1_59_8000): camMessage = {"topic":{"_":"tns1:RuleEngine/CellMotionDetector/Motion","$":{"Dialect":"http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet"}},"message":{"m
onvif.0 2020-04-25 09:47:29.145 debug (7829) EVENT (192_168_1_59_8000): {"currentTime":"2020-04-25T07:49:14.000Z","terminationTime":"2020-04-25T07:49:21.000Z","notificationMessage":{"topic":{"_":"tns1:RuleEngine/CellMotionDetector/Motion"
onvif.0 2020-04-25 09:47:28.161 debug (7829) state onvif.0.192_168_1_59_8000.message.ruleengine.cellmotiondetector.motion.IsMotion changed: true (ack = true)
onvif.0 2020-04-25 09:47:28.109 debug (7829) EVENT (192_168_1_59_8000): 2020-04-25T07:49:13.000Z RuleEngine.CellMotionDetector.Motion PROP:Changed SRC:VideoSourceConfigurationToken=000 DATA:IsMotion=true
onvif.0 2020-04-25 09:47:28.108 debug (7829) WARNING: Only processing first Event Source item
onvif.0 2020-04-25 09:47:28.108 debug (7829) camEvents (192_168_1_59_8000): camMessage = {"topic":{"_":"tns1:RuleEngine/CellMotionDetector/Motion","$":{"Dialect":"http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet"}},"message":{"m
onvif.0 2020-04-25 09:47:28.107 debug (7829) EVENT (192_168_1_59_8000): {"currentTime":"2020-04-25T07:49:13.000Z","terminationTime":"2020-04-25T07:49:21.000Z","notificationMessage":{"topic":{"_":"tns1:RuleEngine/CellMotionDetector/Motion"
onvif.0 2020-04-25 09:47:27.136 debug (7829) state onvif.0.192_168_1_59_8000.message.ruleengine.cellmotiondetector.motion.IsMotion changed: true (ack = true)
onvif.0 2020-04-25 09:47:27.071 debug (7829) EVENT (192_168_1_59_8000): 2020-04-25T07:49:12.000Z RuleEngine.CellMotionDetector.Motion PROP:Changed SRC:VideoSourceConfigurationToken=000 DATA:IsMotion=true
onvif.0 2020-04-25 09:47:27.070 debug (7829) WARNING: Only processing first Event Source item
onvif.0 2020-04-25 09:47:27.069 debug (7829) camEvents (192_168_1_59_8000): camMessage = {"topic":{"_":"tns1:RuleEngine/CellMotionDetector/Motion","$":{"Dialect":"http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet"}},"message":{"m
onvif.0 2020-04-25 09:47:27.068 debug (7829) EVENT (192_168_1_59_8000): {"currentTime":"2020-04-25T07:49:12.000Z","terminationTime":"2020-04-25T07:49:21.000Z","notificationMessage":{"topic":{"_":"tns1:RuleEngine/CellMotionDetector/Motion"
onvif.0 2020-04-25 09:47:24.741 debug (7829) startCameras (192_168_1_59_8000) pullMessages: ERROR - TypeError: Cannot read property 'topic' of undefined. Resubscribe to events
onvif.0 2020-04-25 09:47:24.740 debug (7829) camEvents (192_168_1_59_8000): camMessage = undefined
onvif.0 2020-04-25 09:47:24.739 debug (7829) EVENT (192_168_1_59_8000): {"currentTime":"2020-04-25T07:49:10.000Z","terminationTime":"2020-04-25T07:49:21.000Z"}

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

Please add a log: /opt/iobroker/logs
as a file
1

from iobroker.onvif.

xdaamg avatar xdaamg commented on July 30, 2024

onvif_log.txt

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

Seltsames Verhalten ...
Bitte installieren ONVIF Device Manager
und beobachten Sie das Verhalten der Kamera für einige Zeit
1

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

Versuchen Sie, die Version zu aktualisieren 0.3.1 Link

from iobroker.onvif.

xdaamg avatar xdaamg commented on July 30, 2024

image

ODM meldet die Bewegungen. Nach 1 Minuten wird die Meldung offenbar gelöscht. Das Verhalten kann ich im Adapter nicht nachvollziehen.

Die neue Version teste ich dann noch.

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

Ungewöhnliches Verhalten. Möglicherweise gibt es zusätzliche Einstellungen in der Kamera selbst?

from iobroker.onvif.

xdaamg avatar xdaamg commented on July 30, 2024

Logfile Version 0.3.1. node 12, js-controller 3. Bezüglich onvif gibt es keine Einstellmöglichkeiten in der Software der Kamera oder im "Reolink Client" außer Veränderung des Ports. Die Kamera wurde laut Logfile gefunden, aber gespeichert wird offenbar nichts. So ist es mit reolink Kameras leider nicht nutzbar.

onvif_log.txt

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

Andere haben dieses Problem mit dem js-controller ver >= 3
Ich werde mich einrichten und testen. Nach den Tests werde ich die Ergebnisse schreiben.

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

install 0.4.1

from iobroker.onvif.

xdaamg avatar xdaamg commented on July 30, 2024

Version 0.4.3:
zu Fehler 1:
Ein Snapshot-Bild wird jetzt angezeigt (Anzeige eines Bildausschnitts, nicht des kompletten Bilds)

Fehler 2 bleibt auch in der aktuellen Version bestehen:
Das angelegte Objekt "Motion detection" (siehe Log im letzten Post) hat nicht den erwarteten Wert "true" oder "false", stattdessen steht dort "[object Object]", in einer früheren Version hat dies bereits einmal funktioniert, dort stand dann "true" oder "false".

Besteht die Chance, dass dies noch behoben wird?

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

Hallo!
Der Wert in Form eines Objekts wird ermittelt, um die genaue Reaktionszeit der Kamerasensoren zu erhalten. Die Reaktionszeit des Bewegungssensors wird von der Kamera gesendet.
Sie können mit einem Objekt wie dem folgenden arbeiten:

on('ID', function (obj) {
	let state = obj.state.val;
        let oldState = obj.oldState.val;
	log('value = ' + state.Value);
	log('time motion: ' + formatDate(state.UtcTime, "JJJJ.MM.TT SS:mm:ss.sss"));
});

Alternativ können Sie einen Alias ​​verwenden.

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

Für welche Aufgaben möchten Sie die Werte einer Variablen verwenden?

from iobroker.onvif.

xdaamg avatar xdaamg commented on July 30, 2024

Ich möchte bei Bewegungserkennung der Kamera Aktionen auslösen (Javascript-Code). Ich sehe im Debug-Log entsprechende Einträge ("IsMotion = true"), dass die Kamera bei Bewegungserkennung Meldungen sendet.

Es gibt aber kein Objekt, dass ich abfragen könnte. Im Objekt unten steht nicht "true" oder "false" sondern "[object Object]":
onvif.0.192_168_1_58_8000.message.ruleengine.cellmotiondetector.motion.IsMotion

Log bei Bewegungserkennnung:
(13185) state onvif.0.192_168_1_58_8000.message.ruleengine.cellmotiondetector.motion.IsMotion changed: {"Value":true,"UtcTime":"2020-05-12T10:11:00.000Z"} (ack = true)

onvif.0 | 2020-05-12 12:07:53.486 | debug | (13185) 192_168_1_58_8000: 2020-05-12T10:11:00.000Z RuleEngine.CellMotionDetector.Motion PROP:Changed SRC:VideoSourceConfigurationToken=000 DATA:IsMotion=true

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

Versuchen Sie Version 0.4.4

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

1

from iobroker.onvif.

xdaamg avatar xdaamg commented on July 30, 2024

Fehler bei Installation:

Fertig mit Fehler: internal/modules/cjs/loader.js:1170 throw err; ^SyntaxError: /opt/iobroker/node_modules/iobroker.onvif/io-package.json: Unexpected string in JSON at position 438 at parse () at Object.Module._extensions..json (internal/modules/cjs/loader.js:1167:22) at Module.load (internal/modules/cjs/loader.js:977:32) at Function.Module._load (internal/modules/cjs/loader.js:877:14) at Module.require (internal/modules/cjs/loader.js:1019:19) at require (internal/modules/cjs/helpers.js:77:18) at Upload.uploadAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpload.js:481:19) at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:1783:24 at ChildProcess. (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupInstall.js:478:47) at ChildProcess.emit (events.js:310:20)

Es fehlt eine schließende Klammer "},".

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

Noch einmal

from iobroker.onvif.

xdaamg avatar xdaamg commented on July 30, 2024

Sieht für mich auf den ersten Blick gut aus, es gibt jetzt ein Objekt, dass ich abfragen kann. Der Wert ändert sich auch bei Bewegungen auf "true".

Probleme bereiten aber die ständigen Disconnects (beinahe minütlich). Was ist der Hintergrund dieses "Features"? Könnte man das Trennen der Verbindung optional machen oder einen Timeout-Wert in den Einstellungen setzen, damit ich den Timeout-Wert erhöhen könnte.

  1. Camera/NVT (192_168_1_58_8000) did not answer several times in a row. Disconnected!
    (28854) startCameras (192_168_1_58_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"} (count error = 4). Resubscribe to events

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

1
2
Hier können Sie versuchen, die Zeit zu ändern

from iobroker.onvif.

xdaamg avatar xdaamg commented on July 30, 2024

Ok, es liegt nicht an den Timeout-Einstellungen. Wenn ich die Fehlerbehandlung in der main.js bei cam.pullMessages auskommentiere, dann kommt es ca. 9 Sek. nach der letzten Bewegungserkennung bei events.notificationMessage (Zeile 324 in Version 0.44) zu:
uncaught exception: Cannot read property 'notificationMessage' of undefined
TypeError: Cannot read property 'notificationMessage' of undefined

onvif_log.txt

Es sieht für mich so aus, als wenn aus der onvif/lib/events.js für diese Kamera nach einiger Zeit keine Daten mehr kommen (oder fehlerhaft?) und deswegen die Verbindung beendet wird.

Wenn ich eine Prüfung einbaue (if (events != null) {...}), kommt es nicht zum Abbruch, allerdings kommen dann nach einiger Zeit auch keine Meldungen bzgl. Bewegungserkennung mehr, als wäre die Verbindung unterbrochen. Das passiert ca. 60 Sek. nach der Meldung "startCameras" und passt zu der "terminationTime", ab dann kommen keine Meldungen mehr. Müsste dann nicht ein Re-Connect erfolgen?

(9549) EVENT (192_168_1_58_8000): {"currentTime":"2020-05-12T17:25:22.000Z","terminationTime":"2020-05-12T17:25:27.000Z","notificationMessage":{"topic":{"_":"tns1:RuleEngine/CellMotionDetector/Motion"

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

Fügen Sie nach Zeile 309 Code hinzu:
adapter.log.debug(``EVENT err = (${JSON.stringify(err)}), events = ${JSON.stringify(events)}`);

Hier abonnieren wir Kameranachrichten für einen Zeitraum von 9 Sekunden
cam.pullMessages({timeout: 9000, messageLimit: 10}, (err, events) => {
Versuchen Sie, eine kürzere Wartezeit einzustellen oder setzen Sie ein Limit messageLimit = 1

from iobroker.onvif.

xdaamg avatar xdaamg commented on July 30, 2024
  1. Test: messageLimit auf 1 gesetzt. Hat aber nichts gebracht.

Nach 1 Minute kommen keine Meldungen mehr, der Zeitpunkt entspricht der "terminationTime", der bei "createPullPointSubscription" im Log steht. Es erfolgt aber kein Re-Connect. Log endet mit "EVENT err = ({}), events = undefined"

onvif_log.txt

  1. Test:
    Ich habe jetzt Version 0.44 genommen. Und lediglich in "function PullPointSubscription" nach "cam.pullMessages()" eingefügt: "if (events == undefined) { startCameras(); }". Zusätzlich setze ich noch die States zurück. Eine Error- und Warnung-Logausgabe innerhalb der Funktion habe ich noch auf Debug-Ausgabe geändert. Das läuft jetzt zufriedenstellend und ohne Abbrüche. Im Log kommen sonst keine Fehler oder Warnungen.

Besser wäre aber wahrscheinlich lediglich die "PullPointSubscription" erneut auszuführen, sobald die Events == "undefined" sind, anstatt startCameras()? Aber wie?

from iobroker.onvif.

Flyor avatar Flyor commented on July 30, 2024

Ich muss mich dem Fehler leider anschließen, ich habe 2 Reolink RLC-511W Kameras welche nicht über Discovery gefunden werden. Richte ich die Kameras im Onvif Adapter manuell ein, sehe ich zwar ein Bild aber sobald ich den Adapter speichere läuft das Log mit den Fehlern (siehe oben) voll.

Adapter, JS und Node, NPM alles auf latest hochgezogen.

from iobroker.onvif.

Flyor avatar Flyor commented on July 30, 2024

iobroker.current.log.zip

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

Ihre Kamera funktioniert nicht richtig. Leider habe ich nichts, um den Treiber zu testen :(

from iobroker.onvif.

Flyor avatar Flyor commented on July 30, 2024

Ihre Kamera funktioniert nicht richtig. Leider habe ich nichts, um den Treiber zu testen :(

was würde dann dafür benötigt werden? Eine Kamera von dem Hersteller?

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

Ja oder Fernzugriff auf die Kamera

from iobroker.onvif.

xdaamg avatar xdaamg commented on July 30, 2024

Mit einer kleinen Modifikation des Adapters funktionieren die Onvif-Bewegungsmeldungen von Reolink Kameras inzwischen für mich ausreichend zuverlässig.

Adapter mit kleinen Anpassungen: https://github.com/xdaamg/ioBroker.onvif

In der main.js die IP-Adressen/Ports entsprechend eurer Objekte anpassen:
/* //manually setState to false (modify it to match your objects): adapter.setState('onvif.0.192_168_x_x_yyyy.message.ruleengine.cellmotiondetector.motion.value', false, callback); adapter.setState('onvif.0.192_168_x_x_yyyy.message.ruleengine.cellmotiondetector.motion.value', false, callback); adapter.setState('onvif.0.192_168_x_x_yyyy.message.ruleengine.cellmotiondetector.motion.value', false, callback); adapter.setState('onvif.0.192_168_x_x_yyyy.message.ruleengine.cellmotiondetector.motion.value', false, callback); */

Aus Stabilitätsgründen wird der Adapter jede Stunde neu gestartet (zuvor teilweise Probleme mit hoher CPU-Last)
Objekt (true/false) bei Bewegungen: onvif.0.x_x_x_x_yyyy.message.ruleengine.cellmotiondetector.motion.value

Die Kameras werden im Admin-Fenster von onvif gefunden. Bei Erfolg wird ein Vorschaubild angezeigt.

from iobroker.onvif.

xdaamg avatar xdaamg commented on July 30, 2024

Just found a change by JustMe0815. Seems to me, this would be also solution for reolink cameras. I tested this change for some minutes and it seems to work. I had to update onvif with latest github version: npm install agsh/onvif

from iobroker.onvif.

Flyor avatar Flyor commented on July 30, 2024

Mit einer kleinen Modifikation des Adapters funktionieren die Onvif-Bewegungsmeldungen von Reolink Kameras inzwischen für mich ausreichend zuverlässig.

Adapter mit kleinen Anpassungen: https://github.com/xdaamg/ioBroker.onvif

In der main.js die IP-Adressen/Ports entsprechend eurer Objekte anpassen:
/* //manually setState to false (modify it to match your objects): adapter.setState('onvif.0.192_168_x_x_yyyy.message.ruleengine.cellmotiondetector.motion.value', false, callback); adapter.setState('onvif.0.192_168_x_x_yyyy.message.ruleengine.cellmotiondetector.motion.value', false, callback); adapter.setState('onvif.0.192_168_x_x_yyyy.message.ruleengine.cellmotiondetector.motion.value', false, callback); adapter.setState('onvif.0.192_168_x_x_yyyy.message.ruleengine.cellmotiondetector.motion.value', false, callback); */

Aus Stabilitätsgründen wird der Adapter jede Stunde neu gestartet (zuvor teilweise Probleme mit hoher CPU-Last)
Objekt (true/false) bei Bewegungen: onvif.0.x_x_x_x_yyyy.message.ruleengine.cellmotiondetector.motion.value

Die Kameras werden im Admin-Fenster von onvif gefunden. Bei Erfolg wird ein Vorschaubild angezeigt.

Ich hab deinen Adapter heruntergeladen und installiert, Kameras sind auch gefunden. Leider steht der Datenpunkt dauerhaft auf true. Wie ich in die Main.js reinkomme, weiß ich leider nicht :(

from iobroker.onvif.

Flyor avatar Flyor commented on July 30, 2024

@Haba1234 : Ich kann dir gerne Fernzugriff auf meine Reolink Camera geben, wenn du Zeit hast.

from iobroker.onvif.

xdaamg avatar xdaamg commented on July 30, 2024

Ich habe gerade den Pullrequest von JustMe0815 in mein Repository eingebaut.
Du kannst mal folgendes probieren:

Lösche den iobroker.onvif Adapter.
Update onvif auf der Kommandozeile: npm install agsh/onvif
Installiere den Adapter nochmal neu mit "eigener" Quelle: https://github.com/xdaamg/ioBroker.onvif.git

Mit etwas Javascript werte ich die Bewegungsmeldungen der Objekte (Reolink Kamera) aus, das funktioniert.

from iobroker.onvif.

Flyor avatar Flyor commented on July 30, 2024

Ich habe gerade den Pullrequest von JustMe0815 in mein Repository eingebaut.
Du kannst mal folgendes probieren:

Lösche den iobroker.onvif Adapter.
Update onvif auf der Kommandozeile: npm install agsh/onvif
Installiere den Adapter nochmal neu mit "eigener" Quelle: https://github.com/xdaamg/ioBroker.onvif.git

Mit etwas Javascript werte ich die Bewegungsmeldungen der Objekte (Reolink Kamera) aus, das funktioniert.

Ich bekomme einen Fehler, probiere aber erst mal weiter.

`
ubuntu@ubuntu:~$ npm install agsh/onvif
npm WARN saveError ENOENT: no such file or directory, open '/home/ubuntu/package.json'
npm WARN enoent ENOENT: no such file or directory, open '/home/ubuntu/package.json'
npm WARN ubuntu No description
npm WARN ubuntu No repository field.
npm WARN ubuntu No README data
npm WARN ubuntu No license field.

  • [email protected]
    updated 1 package and audited 6 packages in 2.736s
    found 0 vulnerabilities
    `

from iobroker.onvif.

xdaamg avatar xdaamg commented on July 30, 2024

Ich habe den Adapter komplett gelöscht und neu installiert. Leider kommt jetzt auch hier ein Fehler nach dem Start des Adapters, z.B.:
createPullPointSubscription: Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}

Die Objekte werden jetzt nicht mehr aktualisiert.
Ich baue meine ursprünglichen Änderungen wieder ein.

from iobroker.onvif.

Flyor avatar Flyor commented on July 30, 2024

`

       
host.ubuntu 2020-12-04 11:35:01.651 info Restart adapter system.adapter.onvif.0 because enabled
host.ubuntu 2020-12-04 11:35:01.651 info instance system.adapter.onvif.0 terminated with code 0 (NO_ERROR)
onvif.0 2020-12-04 11:35:01.142 info (11146) Terminated (NO_ERROR): Without reason
onvif.0 2020-12-04 11:35:01.141 info (11146) terminating
onvif.0 2020-12-04 11:35:01.138 debug (11146) cleaned everything up...
onvif.0 2020-12-04 11:35:01.137 error (11146) TypeError: cam.renew is not a function at Timeout.tick [as _onTimeout] (/opt/iobroker/node_modules/iobroker.onvif/main.js:309:10) at listOnTimeout (internal/timers.js:554:17) at pr
onvif.0 2020-12-04 11:35:01.137 error (11146) uncaught exception: cam.renew is not a function
onvif.0 2020-12-04 11:34:58.184 debug (11146) state onvif.0.192_168_178_123_8000.connection changed: true (ack = true)
onvif.0 2020-12-04 11:34:58.182 debug (11146) createPullPointSubscription: {"subscriptionReference":{"address":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.178.123:8000","port":"8000","hostname":"192.168.178.123","hash":
onvif.0 2020-12-04 11:34:58.138 debug (11146) state onvif.0.192_168_178_120_8000.connection changed: true (ack = true)
onvif.0 2020-12-04 11:34:58.135 debug (11146) createPullPointSubscription: {"subscriptionReference":{"address":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.178.120:8000","port":"8000","hostname":"192.168.178.120","hash":
onvif.0 2020-12-04 11:34:58.009 debug (11146) state onvif.0.192_168_178_123_8000.connection changed: false (ack = true)
onvif.0 2020-12-04 11:34:58.008 debug (11146) state onvif.0.192_168_178_120_8000.connection changed: false (ack = true)
onvif.0 2020-12-04 11:34:58.000 debug (11146) startCameras. cameras: {"onvif.0.192_168_178_120_8000":{"hostname":"192.168.178.120","username":"admin","password":"","port":"8000","path":"/onvif/device_service","timeout":15000,"age
onvif.0 2020-12-04 11:34:58.000 debug (11146) classCam. Camera/NVT: {"onvif.0.192_168_178_120_8000":{"hostname":"192.168.178.120","username":"admin","password":"","port":"8000","path":"/onvif/device_service","timeout":15000,"agen
onvif.0 2020-12-04 11:34:57.900 debug (11146) classCam. Camera/NVT: {"onvif.0.192_168_178_120_8000":{"hostname":"192.168.178.120","username":"admin","password":"","port":"8000","path":"/onvif/device_service","timeout":15000,"agen
onvif.0 2020-12-04 11:34:57.747 debug (11146) state onvif.0.discoveryRunning changed: false (ack = true)
onvif.0 2020-12-04 11:34:57.747 debug (11146) classCam: item = {"type":"device","common":{"name":"192_168_178_123_8000"},"native":{"id":"192_168_178_123_8000","name":"192.168.178.123:8000","ip":"192.168.178.123","port":"8000","user":"admi
onvif.0 2020-12-04 11:34:57.747 debug (11146) classCam: item = {"type":"device","common":{"name":"192_168_178_120_8000"},"native":{"id":"192_168_178_120_8000","name":"192.168.178.120:8000","ip":"192.168.178.120","port":"8000","user":"admi
onvif.0 2020-12-04 11:34:57.747 debug (11146) setCameras: [{"type":"device","common":{"name":"192_168_178_120_8000"},"native":{"id":"192_168_178_120_8000","name":"192.168.178.120:8000","ip":"192.168.178.120","port":"8000","user":"admin","
onvif.0 2020-12-04 11:34:57.746 debug (11146) getDevices: [{"type":"device","common":{"name":"192_168_178_120_8000"},"native":{"id":"192_168_178_120_8000","name":"192.168.178.120:8000","ip":"192.168.178.120","port":"8000","user":"admin","
onvif.0 2020-12-04 11:34:57.734 debug (11146) startCameras
onvif.0 2020-12-04 11:34:57.726 info (11146) starting. Version 0.4.4 in /opt/iobroker/node_modules/iobroker.onvif, node: v12.19.0, js-controller: 3.1.6
host.ubuntu 2020-12-04 11:34:57.242 info instance system.adapter.onvif.0 started with pid 11146

`

Nach den Änderungen wie von @xdaamg angegeben, startet bei mir der Adapter leider gar nicht mehr.

from iobroker.onvif.

xdaamg avatar xdaamg commented on July 30, 2024

Editier mal das Passwort aus dem Log.
Wenn cam.renew nicht gefunden wird, wird nicht die aktuelle onvif von github verwendet.

Ich habe die letzten Änderungen aus meinem Repository zurück genommen.
Die Bewegungsmeldungen der Reolink Kameras 410, 420, 520 funktionieren damit bei mir (https://github.com/xdaamg/ioBroker.onvif.git).

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

Hallo!
Einige Änderungen hinzugefügt. Bitte prüfen.

  1. Entfernen Sie den Adapter vom IoBroker.
  2. Installieren Sie von hier aus https://github.com/Haba1234/ioBroker.onvif/
    Version 0.4.5 wird installiert

from iobroker.onvif.

Flyor avatar Flyor commented on July 30, 2024

Hallo!
Einige Änderungen hinzugefügt. Bitte prüfen.

  1. Entfernen Sie den Adapter vom IoBroker.
  2. Installieren Sie von hier aus https://github.com/Haba1234/ioBroker.onvif/
    Version 0.4.5 wird installiert

Es funktioniert!!! Bei Erkennung von Bewegung, wechselt der value Datenpunkt auf true und wird auch wieder zurückgesetzt. Richtig gute Arbeit! Danke!

Nachtrag: @Haba1234 Ich hab 2 gleiche Reolink Cameras im Einsatz. Bei der einen funktioniert es einwandfrei, dass das Objekt auf True wechselt und später wieder auf false. Die andere wechselt auch auf true, bleibt aber leider auf true stehen. Noch Minuten später...

from iobroker.onvif.

Flyor avatar Flyor commented on July 30, 2024

Editier mal das Passwort aus dem Log.
Wenn cam.renew nicht gefunden wird, wird nicht die aktuelle onvif von github verwendet.

Ich habe die letzten Änderungen aus meinem Repository zurück genommen.
Die Bewegungsmeldungen der Reolink Kameras 410, 420, 520 funktionieren damit bei mir (https://github.com/xdaamg/ioBroker.onvif.git).

Danke für den Hinweis mit dem PW.

from iobroker.onvif.

Flyor avatar Flyor commented on July 30, 2024

Nachdem es genau 1x funktioniert hat, leider wieder erneute Fehler :(

`

onvif.0 2020-12-04 14:35:20.299 info (37788) Terminated (NO_ERROR): Without reason
onvif.0 2020-12-04 14:35:20.299 info (37788) terminating
onvif.0 2020-12-04 14:35:20.295 error (37788) TypeError: cam.renew is not a function at MyCam. (/opt/iobroker/node_modules/iobroker.onvif/main.js:314:13) at MyCam. (/opt/iobroker/node_modules/onvif/lib/events
onvif.0 2020-12-04 14:35:20.295 error (37788) uncaught exception: cam.renew is not a function
onvif.0 2020-12-04 14:35:20.294 warn (37788) startCameras (192_168_178_123_8000) pullMessages: ERROR - TypeError: cam.renew is not a function (count error = 2). Resubscribe to events
onvif.0 2020-12-04 14:35:20.294 warn (37788) startCameras (192_168_178_123_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"} (count error = 1). Resubscribe to events

`

from iobroker.onvif.

Haba1234 avatar Haba1234 commented on July 30, 2024

Haben Sie die Möglichkeit, mehrere Tage lang Zugriff auf die Kamera zu gewähren?
Passwort / Login und IP können an die Mail gesendet werden

from iobroker.onvif.

Vodochnik avatar Vodochnik commented on July 30, 2024

Editier mal das Passwort aus dem Log.
Wenn cam.renew nicht gefunden wird, wird nicht die aktuelle onvif von github verwendet.

Ich habe die letzten Änderungen aus meinem Repository zurück genommen.
Die Bewegungsmeldungen der Reolink Kameras 410, 420, 520 funktionieren damit bei mir (https://github.com/xdaamg/ioBroker.onvif.git).

Danke, bei mir funktioniert's ebenfalls.
Allerdings die ganzen Reconnects sind da, nur unter debug.
So ganz zufrieden bin ich mit dem Adapter nicht.

from iobroker.onvif.

xdaamg avatar xdaamg commented on July 30, 2024

Den Adapter habe ich inzwischen ersetzt. Ich habe es so gelöst, dass bei Bewegungen die Kamera ein Bild in ein Temp-Verzeichnis schreibt. Das Verzeichnis überwacht der Server mittels inotify. Sobald sich etwas tut, erfolgt die Meldung an iobroker. Mittels etwas Javascript lässt sich ein aktuelles Bild über Telegram verschicken. Funktioniert schnell und zuverlässig.

from iobroker.onvif.

Vodochnik avatar Vodochnik commented on July 30, 2024

Ich überlege mir auch so eine Lösung, mit Bild und (auf Anfrage) auch Video.
Kannst Du vllt. Deine Scripts posten? Ich meine inotify+Meldung an IOB.

from iobroker.onvif.

Vodochnik avatar Vodochnik commented on July 30, 2024

@xdaamg ping:)

from iobroker.onvif.

BiboXXX avatar BiboXXX commented on July 30, 2024

Total super... Kann dank der obigen Lösung von xdaamg nun auch auf den onvif-Adapter verzichten. Besten Dank!

Nachtrag: Achtung... inotifywait kann nur auf lokale Dateisysteme zugreifen. CIFS-Shares etc. funktionieren nicht.

from iobroker.onvif.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.