Giter VIP home page Giter VIP logo

iobroker.onvif's People

Contributors

apollon77 avatar germanbluefox avatar haba1234 avatar kirovilya avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

iobroker.onvif's Issues

Could not connect to camera Hikvision DS-2CD2332-I (log added)

Could not connect to camera Hikvision DS-2CD2332-I.
After scan it shows up in the list. However, a snapshot cannot be obtained.

Debug log:

onvif.0 2020-08-14 18:49:17.828 debug (7737) startCameras
onvif.0 2020-08-14 18:49:17.828 info (7737) Discovery finished
onvif.0 2020-08-14 18:49:17.828 debug (7737) processScannedDevices FINISH
onvif.0 2020-08-14 18:49:17.828 debug (7737) processScannedDevices OK
onvif.0 2020-08-14 18:49:17.828 debug (7737) updateDev. resolve = OK
onvif.0 2020-08-14 18:49:17.827 debug (7737) updateDev. updateState = "192_168_2_20_80.message.recordingconfig.jobstate"
onvif.0 2020-08-14 18:49:17.827 debug (7737) updateDev. updateState = "192_168_2_20_80.message.ruleengine.tamperdetector.tamper"
onvif.0 2020-08-14 18:49:17.826 debug (7737) updateDev. updateState = "192_168_2_20_80.message.ruleengine.fielddetector.objectsinside"
onvif.0 2020-08-14 18:49:17.826 debug (7737) updateDev. updateState = "192_168_2_20_80.message.ruleengine.linedetector.crossed"
onvif.0 2020-08-14 18:49:17.825 debug (7737) updateDev. updateState = "192_168_2_20_80.message.ruleengine.cellmotiondetector.motion"
onvif.0 2020-08-14 18:49:17.824 debug (7737) updateDev. updateState = "192_168_2_20_80.message.videosource.motionalarm"
onvif.0 2020-08-14 18:49:17.809 debug (7737) создать sub_obj: [{"nameObj":"videosource.motionalarm","nameValue":"State","nameType":"boolean"},{"nameObj":"ruleengine.cellmotiondetector.motion","nameValue":"IsMotion","nameType":"boolean"},{
onvif.0 2020-08-14 18:49:17.809 debug (7737) создать devData: {"id":"192_168_2_20_80","name":"192.168.2.20:80","ip":"192.168.2.20","port":"80","user":"andrey","password":"XXX","cam_date":"2020-08-14T13:49:15.000Z","info":{"manu
onvif.0 2020-08-14 18:49:17.809 debug (7737) создать dev_id: "192_168_2_20_80"
onvif.0 2020-08-14 18:49:17.808 debug (7737) processScannedDevices. currDevs.indexOf(dev.id) = -1
onvif.0 2020-08-14 18:49:17.808 debug (7737) processScannedDevices. dev = {"id":"192_168_2_20_80","name":"192.168.2.20:80","ip":"192.168.2.20","port":"80","user":"andrey","password":"XXX","cam_date":"2020-08-14T13:49:15.000Z","
onvif.0 2020-08-14 18:49:17.808 debug (7737) processScannedDevices. devices = [{"id":"192_168_2_20_80","name":"192.168.2.20:80","ip":"192.168.2.20","port":"80","user":"andrey","password":"XXX","cam_date":"2020-08-14T13:49:15.00
onvif.0 2020-08-14 18:49:17.808 debug (7737) processScannedDevices. currDevs = []
onvif.0 2020-08-14 18:49:17.807 debug (7737) processScannedDevices. result = []
onvif.0 2020-08-14 18:49:17.791 debug (7737) processScannedDevices
onvif.0 2020-08-14 18:49:17.790 debug (7737) Discovery devices: [{"id":"192_168_2_20_80","name":"192.168.2.20:80","ip":"192.168.2.20","port":"80","user":"andrey","password":"XXX","cam_date":"2020-08-14T13:49:15.000Z","info":{"m
onvif.0 2020-08-14 18:49:17.790 debug (7737) ip_list.map result: {"id":"192_168_2_20_80","name":"192.168.2.20:80","ip":"192.168.2.20","port":"80","user":"andrey","password":"XXX","cam_date":"2020-08-14T13:49:15.000Z","info":{"m
onvif.0 2020-08-14 18:49:17.790 debug (7737) discoveryClassCam: 192.168.2.20:8899 - result: {}
onvif.0 2020-08-14 18:49:17.789 error (7737) CamFunc: 192.168.2.20:8899 - Error: connect ECONNREFUSED 192.168.2.20:8899
onvif.0 2020-08-14 18:49:17.786 debug (7737) discoveryClassCam: 192.168.2.20:8899
onvif.0 2020-08-14 18:49:17.786 debug (7737) discoveryClassCam: 192.168.2.20:8081 - result: {}
onvif.0 2020-08-14 18:49:17.784 error (7737) CamFunc: 192.168.2.20:8081 - Error: connect ECONNREFUSED 192.168.2.20:8081
onvif.0 2020-08-14 18:49:17.782 debug (7737) discoveryClassCam: 192.168.2.20:8081
onvif.0 2020-08-14 18:49:17.781 debug (7737) discoveryClassCam: 192.168.2.20:8080 - result: {}
onvif.0 2020-08-14 18:49:17.781 error (7737) CamFunc: 192.168.2.20:8080 - Error: connect ECONNREFUSED 192.168.2.20:8080
onvif.0 2020-08-14 18:49:17.779 debug (7737) discoveryClassCam: 192.168.2.20:8080
onvif.0 2020-08-14 18:49:17.778 debug (7737) discoveryClassCam: 192.168.2.20:8000 - result: {}
onvif.0 2020-08-14 18:49:17.778 error (7737) CamFunc: 192.168.2.20:8000 - Error: read ECONNRESET
onvif.0 2020-08-14 18:49:17.768 debug (7737) discoveryClassCam: 192.168.2.20:8000
onvif.0 2020-08-14 18:49:17.768 debug (7737) discoveryClassCam: 192.168.2.20:7575 - result: {}
onvif.0 2020-08-14 18:49:17.767 error (7737) CamFunc: 192.168.2.20:7575 - Error: connect ECONNREFUSED 192.168.2.20:7575
onvif.0 2020-08-14 18:49:17.759 debug (7737) discoveryClassCam: 192.168.2.20:7575
onvif.0 2020-08-14 18:49:17.759 debug (7737) discoveryClassCam: 192.168.2.20:80 - result: {"id":"192_168_2_20_80","name":"192.168.2.20:80","ip":"192.168.2.20","port":"80","user":"andrey","password":"XXX","cam_date":"2020-08-14T
onvif.0 2020-08-14 18:49:17.758 debug (7737) flow.series devices = {"id":"192_168_2_20_80","name":"192.168.2.20:80","ip":"192.168.2.20","port":"80","user":"andrey","password":"XXX","cam_date":"2020-08-14T13:49:15.000Z","info":
onvif.0 2020-08-14 18:49:17.758 info (7737) ------------------------------
onvif.0 2020-08-14 18:49:17.757 debug (7737) capabilities: {"analytics":{"XAddr":"http://192.168.2.20/onvif/Analytics","ruleSupport":true,"analyticsModuleSupport":true},"device":{"XAddr":"http://192.168.2.20/onvif/device_service","network
onvif.0 2020-08-14 18:49:17.757 debug (7737) First Live Multicast Stream: = rtsp://192.168.2.20:554/Streaming/Channels/1?transportmode=mcast&profile=Profile_1
onvif.0 2020-08-14 18:49:17.757 debug (7737) First Live UDP Stream: = rtsp://192.168.2.20:554/Streaming/Channels/1?transportmode=unicast&profile=Profile_1
onvif.0 2020-08-14 18:49:17.757 debug (7737) First Live TCP Stream: = rtsp://192.168.2.20:554/Streaming/Channels/1?transportmode=unicast&profile=Profile_1
onvif.0 2020-08-14 18:49:17.757 info (7737) Info: = {"manufacturer":"HIKVISION","model":"DS-2CD2332-I","firmwareVersion":"V5.2.5 build 141201","serialNumber":"DS-2CD2332-I20150320CCCH508467204","hardwareId":89}
onvif.0 2020-08-14 18:49:17.756 info (7737) Date: = Fri Aug 14 2020 18:49:15 GMT+0500 (Yekaterinburg Standard Time)
onvif.0 2020-08-14 18:49:17.756 info (7737) Host: 192.168.2.20 Port: 80
onvif.0 2020-08-14 18:49:17.756 info (7737) ------------------------------
onvif.0 2020-08-14 18:49:17.755 error (7737) 192.168.2.20 getNodes: Error: Wrong ONVIF SOAP response
onvif.0 2020-08-14 18:49:17.739 error (7737) 192.168.2.20 getConfigurations: Error: Wrong ONVIF SOAP response
onvif.0 2020-08-14 18:49:17.731 error (7737) 192.168.2.20 GetPreset Error Error: Wrong ONVIF SOAP response
onvif.0 2020-08-14 18:49:17.620 info (7737) 192.168.2.20 sub_obj: [{"nameObj":"videosource.motionalarm","nameValue":"State","nameType":"boolean"},{"nameObj":"ruleengine.cellmotiondetector.motion","nameValue":"IsMotion","nameType":"boolea
onvif.0 2020-08-14 18:49:17.620 debug (7737) 192.168.2.20 Data={"elementItemDescription":{"$":{"Name":"Configuration","Type":"tt:TrackConfiguration"}}}
onvif.0 2020-08-14 18:49:17.620 debug (7737) 192.168.2.20 Source={"simpleItemDescription":[{"$":{"Name":"RecordingToken","Type":"tt:RecordingReference"}},{"$":{"Name":"TrackToken","Type":"tt:TrackReference"}}]}
onvif.0 2020-08-14 18:49:17.620 debug (7737) 192.168.2.20 IsProperty=false
onvif.0 2020-08-14 18:49:17.620 debug (7737) 192.168.2.20 Found Event - /RECORDINGCONFIG/TRACKCONFIGURATION
onvif.0 2020-08-14 18:49:17.619 debug (7737) 192.168.2.20 Data={"elementItemDescription":{"$":{"Name":"Configuration","Type":"tt:RecordingConfiguration"}}}
onvif.0 2020-08-14 18:49:17.619 debug (7737) 192.168.2.20 Source={"simpleItemDescription":{"$":{"Name":"RecordingToken","Type":"tt:RecordingReference"}}}
onvif.0 2020-08-14 18:49:17.619 debug (7737) 192.168.2.20 IsProperty=false
onvif.0 2020-08-14 18:49:17.619 debug (7737) 192.168.2.20 Found Event - /RECORDINGCONFIG/RECORDINGCONFIGURATION
onvif.0 2020-08-14 18:49:17.619 debug (7737) 192.168.2.20 Data={"elementItemDescription":{"$":{"Name":"Configuration","Type":"tt:RecordingJobConfiguration"}}}
onvif.0 2020-08-14 18:49:17.619 debug (7737) 192.168.2.20 Source={"simpleItemDescription":{"$":{"Name":"RecordingJobToken","Type":"tt:RecordingJobReference"}}}
onvif.0 2020-08-14 18:49:17.618 debug (7737) 192.168.2.20 IsProperty=false
onvif.0 2020-08-14 18:49:17.618 debug (7737) 192.168.2.20 Found Event - /RECORDINGCONFIG/RECORDINGJOBCONFIGURATION
onvif.0 2020-08-14 18:49:17.618 debug (7737) 192.168.2.20 Data={"simpleItemDescription":{"$":{"Name":"State","Type":"xs:string"}},"elementItemDescription":{"$":{"Name":"Information","Type":"tt:RecordingJobStateInformation"}}}
onvif.0 2020-08-14 18:49:17.618 debug (7737) 192.168.2.20 Source={"simpleItemDescription":{"$":{"Name":"RecordingJobToken","Type":"tt:RecordingJobReference"}}}
onvif.0 2020-08-14 18:49:17.618 debug (7737) 192.168.2.20 IsProperty=true
onvif.0 2020-08-14 18:49:17.617 debug (7737) 192.168.2.20 Found Event - /RECORDINGCONFIG/JOBSTATE
onvif.0 2020-08-14 18:49:17.617 debug (7737) 192.168.2.20 Data={"elementItemDescription":{"$":{"Name":"Configuration","Type":"tt:VideoAnalyticsConfiguration"}}}
onvif.0 2020-08-14 18:49:17.617 debug (7737) 192.168.2.20 Source={"simpleItemDescription":{"$":{"Name":"Token","Type":"tt:ReferenceToken"}}}
onvif.0 2020-08-14 18:49:17.617 debug (7737) 192.168.2.20 IsProperty=false
onvif.0 2020-08-14 18:49:17.617 debug (7737) 192.168.2.20 Found Event - /CONFIGURATION/VIDEOANALYTICSCONFIGURATION
onvif.0 2020-08-14 18:49:17.617 debug (7737) 192.168.2.20 Data={"elementItemDescription":{"$":{"Name":"Configuration","Type":"tt:PTZConfiguration"}}}
onvif.0 2020-08-14 18:49:17.616 debug (7737) 192.168.2.20 Source={"simpleItemDescription":{"$":{"Name":"Token","Type":"tt:ReferenceToken"}}}
onvif.0 2020-08-14 18:49:17.616 debug (7737) 192.168.2.20 IsProperty=false
onvif.0 2020-08-14 18:49:17.616 debug (7737) 192.168.2.20 Found Event - /CONFIGURATION/PTZCONFIGURATION
onvif.0 2020-08-14 18:49:17.616 debug (7737) 192.168.2.20 Data={"elementItemDescription":{"$":{"Name":"Configuration","Type":"tt:MetadataConfiguration"}}}
onvif.0 2020-08-14 18:49:17.616 debug (7737) 192.168.2.20 Source={"simpleItemDescription":{"$":{"Name":"Token","Type":"tt:ReferenceToken"}}}
onvif.0 2020-08-14 18:49:17.616 debug (7737) 192.168.2.20 IsProperty=false
onvif.0 2020-08-14 18:49:17.615 debug (7737) 192.168.2.20 Found Event - /CONFIGURATION/METADATACONFIGURATION
onvif.0 2020-08-14 18:49:17.615 debug (7737) 192.168.2.20 Data={"elementItemDescription":{"$":{"Name":"Configuration","Type":"tt:AudioOutputConfiguration"}}}
onvif.0 2020-08-14 18:49:17.615 debug (7737) 192.168.2.20 Source={"simpleItemDescription":{"$":{"Name":"Token","Type":"tt:ReferenceToken"}}}
onvif.0 2020-08-14 18:49:17.615 debug (7737) 192.168.2.20 IsProperty=false
onvif.0 2020-08-14 18:49:17.615 debug (7737) 192.168.2.20 Found Event - /CONFIGURATION/AUDIOOUTPUTCONFIGURATION/MEDIASERVICE
onvif.0 2020-08-14 18:49:17.614 debug (7737) 192.168.2.20 Data={"elementItemDescription":{"$":{"Name":"Configuration","Type":"tt:AudioSourceConfiguration"}}}
onvif.0 2020-08-14 18:49:17.614 debug (7737) 192.168.2.20 Source={"simpleItemDescription":{"$":{"Name":"Token","Type":"tt:ReferenceToken"}}}
onvif.0 2020-08-14 18:49:17.614 debug (7737) 192.168.2.20 IsProperty=false
onvif.0 2020-08-14 18:49:17.614 debug (7737) 192.168.2.20 Found Event - /CONFIGURATION/AUDIOSOURCECONFIGURATION/MEDIASERVICE
onvif.0 2020-08-14 18:49:17.614 debug (7737) 192.168.2.20 Data={"elementItemDescription":{"$":{"Name":"Configuration","Type":"tt:AudioEncoderConfiguration"}}}
onvif.0 2020-08-14 18:49:17.614 debug (7737) 192.168.2.20 Source={"simpleItemDescription":{"$":{"Name":"Token","Type":"tt:ReferenceToken"}}}
onvif.0 2020-08-14 18:49:17.613 debug (7737) 192.168.2.20 IsProperty=false
onvif.0 2020-08-14 18:49:17.613 debug (7737) 192.168.2.20 Found Event - /CONFIGURATION/AUDIOENCODERCONFIGURATION
onvif.0 2020-08-14 18:49:17.613 debug (7737) 192.168.2.20 Data={"elementItemDescription":{"$":{"Name":"Configuration","Type":"tt:VideoSourceConfiguration"}}}
onvif.0 2020-08-14 18:49:17.613 debug (7737) 192.168.2.20 Source={"simpleItemDescription":{"$":{"Name":"Token","Type":"tt:ReferenceToken"}}}
onvif.0 2020-08-14 18:49:17.613 debug (7737) 192.168.2.20 IsProperty=false
onvif.0 2020-08-14 18:49:17.613 debug (7737) 192.168.2.20 Found Event - /CONFIGURATION/VIDEOSOURCECONFIGURATION/MEDIASERVICE
onvif.0 2020-08-14 18:49:17.612 debug (7737) 192.168.2.20 Data={"elementItemDescription":{"$":{"Name":"Configuration","Type":"tt:VideoEncoderConfiguration"}}}
onvif.0 2020-08-14 18:49:17.612 debug (7737) 192.168.2.20 Source={"simpleItemDescription":{"$":{"Name":"Token","Type":"tt:ReferenceToken"}}}
onvif.0 2020-08-14 18:49:17.612 debug (7737) 192.168.2.20 IsProperty=false
onvif.0 2020-08-14 18:49:17.612 debug (7737) 192.168.2.20 Found Event - /CONFIGURATION/VIDEOENCODERCONFIGURATION
onvif.0 2020-08-14 18:49:17.612 debug (7737) 192.168.2.20 Data={"elementItemDescription":{"$":{"Name":"Configuration","Type":"tt:Profile"}}}
onvif.0 2020-08-14 18:49:17.611 debug (7737) 192.168.2.20 Source={"simpleItemDescription":{"$":{"Name":"Token","Type":"tt:ReferenceToken"}}}
onvif.0 2020-08-14 18:49:17.611 debug (7737) 192.168.2.20 IsProperty=false
onvif.0 2020-08-14 18:49:17.611 debug (7737) 192.168.2.20 Found Event - /CONFIGURATION/PROFILE
onvif.0 2020-08-14 18:49:17.611 debug (7737) 192.168.2.20 Data={"simpleItemDescription":{"$":{"Name":"IsTamper","Type":"xs:boolean"}}}
onvif.0 2020-08-14 18:49:17.611 debug (7737) 192.168.2.20 Source={"simpleItemDescription":[{"$":{"Name":"VideoSourceConfigurationToken","Type":"tt:ReferenceToken"}},{"$":{"Name":"VideoAnalyticsConfigurationToken","Type":"tt:ReferenceToke
onvif.0 2020-08-14 18:49:17.611 debug (7737) 192.168.2.20 IsProperty=true
onvif.0 2020-08-14 18:49:17.610 debug (7737) 192.168.2.20 Found Event - /RULEENGINE/TAMPERDETECTOR/TAMPER
onvif.0 2020-08-14 18:49:17.610 debug (7737) 192.168.2.20 Data={"simpleItemDescription":{"$":{"Name":"IsInside","Type":"xs:boolean"}}}
onvif.0 2020-08-14 18:49:17.610 debug (7737) 192.168.2.20 Source={"simpleItemDescription":[{"$":{"Name":"VideoSourceConfigurationToken","Type":"tt:ReferenceToken"}},{"$":{"Name":"VideoAnalyticsConfigurationToken","Type":"tt:ReferenceToke
onvif.0 2020-08-14 18:49:17.610 debug (7737) 192.168.2.20 IsProperty=true
onvif.0 2020-08-14 18:49:17.610 debug (7737) 192.168.2.20 Found Event - /RULEENGINE/FIELDDETECTOR/OBJECTSINSIDE
onvif.0 2020-08-14 18:49:17.609 debug (7737) 192.168.2.20 Data={"simpleItemDescription":{"$":{"Name":"ObjectId","Type":"xs:integer"}}}
onvif.0 2020-08-14 18:49:17.609 debug (7737) 192.168.2.20 Source={"simpleItemDescription":[{"$":{"Name":"VideoSourceConfigurationToken","Type":"tt:ReferenceToken"}},{"$":{"Name":"VideoAnalyticsConfigurationToken","Type":"tt:ReferenceToke
onvif.0 2020-08-14 18:49:17.609 debug (7737) 192.168.2.20 IsProperty=true
onvif.0 2020-08-14 18:49:17.609 debug (7737) 192.168.2.20 Found Event - /RULEENGINE/LINEDETECTOR/CROSSED
onvif.0 2020-08-14 18:49:17.608 debug (7737) 192.168.2.20 Data={"simpleItemDescription":{"$":{"Name":"IsMotion","Type":"xs:boolean"}}}
onvif.0 2020-08-14 18:49:17.608 debug (7737) 192.168.2.20 Source={"simpleItemDescription":[{"$":{"Name":"VideoSourceConfigurationToken","Type":"tt:ReferenceToken"}},{"$":{"Name":"VideoAnalyticsConfigurationToken","Type":"tt:ReferenceToke
onvif.0 2020-08-14 18:49:17.608 debug (7737) 192.168.2.20 IsProperty=true
onvif.0 2020-08-14 18:49:17.608 debug (7737) 192.168.2.20 Found Event - /RULEENGINE/CELLMOTIONDETECTOR/MOTION
onvif.0 2020-08-14 18:49:17.608 debug (7737) 192.168.2.20 Source={"simpleItemDescription":{"$":{"Name":"HardDiskNo","Type":"xs:int"}}}
onvif.0 2020-08-14 18:49:17.607 debug (7737) 192.168.2.20 IsProperty=false
onvif.0 2020-08-14 18:49:17.607 debug (7737) 192.168.2.20 Found Event - /DEVICE/HARDWAREFAILURE/HARDDISKERROR
onvif.0 2020-08-14 18:49:17.607 debug (7737) 192.168.2.20 Source={"simpleItemDescription":{"$":{"Name":"HardDiskNo","Type":"xs:int"}}}
onvif.0 2020-08-14 18:49:17.607 debug (7737) 192.168.2.20 IsProperty=false
onvif.0 2020-08-14 18:49:17.606 debug (7737) 192.168.2.20 Found Event - /DEVICE/HARDWAREFAILURE/HARDDISKFULL
onvif.0 2020-08-14 18:49:17.606 debug (7737) 192.168.2.20 Data={"simpleItemDescription":{"$":{"Name":"State","Type":"xs:boolean"}}}
onvif.0 2020-08-14 18:49:17.606 debug (7737) 192.168.2.20 Source={"simpleItemDescription":{"$":{"Name":"Source","Type":"tt:ReferenceToken"}}}
onvif.0 2020-08-14 18:49:17.606 debug (7737) 192.168.2.20 IsProperty=true
onvif.0 2020-08-14 18:49:17.605 debug (7737) 192.168.2.20 Found Event - /VIDEOSOURCE/MOTIONALARM
onvif.0 2020-08-14 18:49:17.550 info (7737) 192.168.2.20 Camera supports WSPullPoint
onvif.0 2020-08-14 18:49:17.505 debug (7737) Serial Number DS-2CD2332-I20150320CCCH508467204
onvif.0 2020-08-14 18:49:17.505 debug (7737) Firmware V5.2.5 build 141201
onvif.0 2020-08-14 18:49:17.505 debug (7737) Model DS-2CD2332-I
onvif.0 2020-08-14 18:49:17.504 debug (7737) 192.168.2.20 Manufacturer HIKVISION
onvif.0 2020-08-14 18:49:17.477 debug (7737) 192.168.2.20 Device Time Fri Aug 14 2020 18:49:15 GMT+0500 (Yekaterinburg Standard Time)
onvif.0 2020-08-14 18:49:17.443 debug (7737) cam_obj: {"hostname":"192.168.2.20","username":"andrey","password":"XXX","port":"80","path":"/onvif/device_service","timeout":15000,"agent":false,"preserveAddress":true,"events":{},"
onvif.0 2020-08-14 18:49:17.149 debug (7737) state onvif.0.discoveryRunning changed: true (ack = true)
onvif.0 2020-08-14 18:49:17.134 debug (7737) discoveryClassCam: 192.168.2.20:80
onvif.0 2020-08-14 18:49:17.133 debug (7737) ip_list.map start passowrd: XXX
onvif.0 2020-08-14 18:49:17.133 debug (7737) ip_list.map start user: andrey
onvif.0 2020-08-14 18:49:17.133 debug (7737) ip_list.map start ip_entry: 192.168.2.20
onvif.0 2020-08-14 18:49:17.132 debug (7737) ip_list = ["192.168.2.20"]
onvif.0 2020-08-14 18:49:17.132 warn (7737) password = XXX
onvif.0 2020-08-14 18:49:17.131 debug (7737) discovery start
onvif.0 2020-08-14 18:49:17.131 info (7737) Discovery starting...

==============

Compatibility check and testing for Node.js 14 and 16

Dear Adapter developer,

Node.js 14 is now available for a year and Node.js 16 was release just some days ago and will become LTS by October 2021. We plan to update the ioBroker Node.js recommendation (currently 12.x) to 14.x later this year.

Please check your adapter with Node.js 14 especially, and ideally also directly with Node.js 16

Please add both versions to the adapter testing which is executed on commits.

If your adapter requires a certain minimum version of Node.js please set the 'engine' setting in package.json accordingly! Please also do this if the adapter is not able to work in certain Node.js versions, so that ioBroker can prevent users from installing te adapter if not compatible!

On questions please talk to us at ioBroker/ioBroker.js-controller#1138

Please close the issue after you checked it.

Thank you very much for your support!

Reolink RLC-420 & RLC-520

Ich teste den Adapter mit Reolink IP-Kameras RLC-420-5MP und RLC-520. Die Kameras werden gefunden und auch angelegt. Ein Vorschaubild wird in der Konfiguration nicht angezeigt.
Es werden Objekte angelegt, wenn auch nur eine mit Inhalt "Motion detection". Möglicherweise unterstützt die Kamera auch nicht mehr. Der Wert wird jedoch nicht aktualisiert und bleibt auf "false". In einer vorherigen Version hat es schon einmal funktioniert, wenn auch nur einmalig, dann blieb der Wert nach Bewegungserkennung auf "true" bis die Instanz neu gestartet wurde.
Im Logfile gibt es diverse Fehlermeldungen.

Node.js = v10.20.1
js-controller = 2.2.10

Objekte Beispiel:
onvif.0.192_168_1_58_8000.connection = true
onvif.0.192_168_1_58_8000.subscribeEvents = true
onvif.0.192_168_1_58_8000.message.ruleengine.cellmotiondetector.motion.IsMotion = false

onvif.0 2020-04-23 18:00:57.585 debug (18718) startCameras (192_168_1_57_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:57.404 debug (18718) startCameras (192_168_1_58_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:57.393 debug (18718) startCameras (192_168_1_56_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:57.230 debug (18718) startCameras (192_168_1_59_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:56.561 debug (18718) startCameras (192_168_1_57_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:56.381 debug (18718) startCameras (192_168_1_58_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:56.366 debug (18718) startCameras (192_168_1_56_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:56.209 debug (18718) startCameras (192_168_1_59_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:55.528 debug (18718) startCameras (192_168_1_57_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:55.361 debug (18718) startCameras (192_168_1_58_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:55.350 debug (18718) startCameras (192_168_1_56_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:55.186 debug (18718) startCameras (192_168_1_59_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:54.503 debug (18718) startCameras (192_168_1_57_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:54.347 debug (18718) startCameras (192_168_1_58_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:54.328 debug (18718) startCameras (192_168_1_56_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:54.164 debug (18718) startCameras (192_168_1_59_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:53.474 debug (18718) startCameras (192_168_1_57_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:53.319 debug (18718) startCameras (192_168_1_58_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:53.302 debug (18718) startCameras (192_168_1_56_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:53.140 debug (18718) startCameras (192_168_1_59_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:52.447 debug (18718) startCameras (192_168_1_57_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:52.294 debug (18718) startCameras (192_168_1_58_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:52.277 debug (18718) startCameras (192_168_1_56_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 18:00:52.120 debug (18718) startCameras (192_168_1_59_8000) pullMessages: ERROR - Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Sender"}. Resubscribe to events
onvif.0 2020-04-23 17:53:49.263 debug (18718) startCameras (192_168_1_58_8000) pullMessages: ERROR - TypeError: Cannot read property 'topic' of undefined. Resubscribe to events
onvif.0 2020-04-23 17:53:49.263 debug (18718) camEvents (192_168_1_58_8000): camMessage = undefined
onvif.0 2020-04-23 17:53:49.262 debug (18718) EVENT (192_168_1_58_8000): {"currentTime":"2020-04-23T15:56:09.000Z","terminationTime":"2020-04-23T15:56:33.000Z"}
onvif.0 2020-04-23 17:53:49.210 debug (18718) startCameras (192_168_1_56_8000) pullMessages: ERROR - TypeError: Cannot read property 'topic' of undefined. Resubscribe to events
onvif.0 2020-04-23 17:53:49.210 debug (18718) camEvents (192_168_1_56_8000): camMessage = undefined
onvif.0 2020-04-23 17:53:49.209 debug (18718) EVENT (192_168_1_56_8000): {"currentTime":"2020-04-23T15:53:14.000Z","terminationTime":"2020-04-23T15:53:38.000Z"}
onvif.0 2020-04-23 17:53:49.024 debug (18718) startCameras (192_168_1_59_8000) pullMessages: ERROR - TypeError: Cannot read property 'topic' of undefined. Resubscribe to events
onvif.0 2020-04-23 17:53:49.023 debug (18718) camEvents (192_168_1_59_8000): camMessage = undefined
onvif.0 2020-04-23 17:53:49.022 debug (18718) EVENT (192_168_1_59_8000): {"currentTime":"2020-04-23T15:55:31.000Z","terminationTime":"2020-04-23T15:55:55.000Z"}
onvif.0 2020-04-23 17:53:48.894 debug (18718) startCameras (192_168_1_57_8000) pullMessages: ERROR - TypeError: Cannot read property 'topic' of undefined. Resubscribe to events
onvif.0 2020-04-23 17:53:48.893 debug (18718) camEvents (192_168_1_57_8000): camMessage = undefined
onvif.0 2020-04-23 17:53:48.893 debug (18718) EVENT (192_168_1_57_8000): {"currentTime":"2020-04-23T15:53:36.000Z","terminationTime":"2020-04-23T15:54:00.000Z"}
onvif.0 2020-04-23 17:53:37.265 debug (18718) startCameras (192_168_1_58_8000) pullMessages: ERROR - TypeError: Cannot read property 'topic' of undefined. Resubscribe to events
onvif.0 2020-04-23 17:53:37.264 debug (18718) camEvents (192_168_1_58_8000): camMessage = undefined
onvif.0 2020-04-23 17:53:37.263 debug (18718) EVENT (192_168_1_58_8000): {"currentTime":"2020-04-23T15:55:57.000Z","terminationTime":"2020-04-23T15:56:33.000Z"}
onvif.0 2020-04-23 17:53:37.208 debug (18718) startCameras (192_168_1_56_8000) pullMessages: ERROR - TypeError: Cannot read property 'topic' of undefined. Resubscribe to events
onvif.0 2020-04-23 17:53:37.207 debug (18718) camEvents (192_168_1_56_8000): camMessage = undefined
onvif.0 2020-04-23 17:53:37.206 debug (18718) EVENT (192_168_1_56_8000): {"currentTime":"2020-04-23T15:53:02.000Z","terminationTime":"2020-04-23T15:53:38.000Z"}
onvif.0 2020-04-23 17:53:37.017 debug (18718) startCameras (192_168_1_59_8000) pullMessages: ERROR - TypeError: Cannot read property 'topic' of undefined. Resubscribe to events
onvif.0 2020-04-23 17:53:37.016 debug (18718) camEvents (192_168_1_59_8000): camMessage = undefined
onvif.0 2020-04-23 17:53:37.015 debug (18718) EVENT (192_168_1_59_8000): {"currentTime":"2020-04-23T15:55:19.000Z","terminationTime":"2020-04-23T15:55:55.000Z"}
onvif.0 2020-04-23 17:53:36.899 debug (18718) startCameras (192_168_1_57_8000) pullMessages: ERROR - TypeError: Cannot read property 'topic' of undefined. Resubscribe to events
onvif.0 2020-04-23 17:53:36.899 debug (18718) camEvents (192_168_1_57_8000): camMessage = undefined
onvif.0 2020-04-23 17:53:36.898 debug (18718) EVENT (192_168_1_57_8000): {"currentTime":"2020-04-23T15:53:24.000Z","terminationTime":"2020-04-23T15:54:00.000Z"}
onvif.0 2020-04-23 17:53:25.260 debug (18718) startCameras (192_168_1_58_8000) pullMessages: ERROR - TypeError: Cannot read property 'topic' of undefined. Resubscribe to events
onvif.0 2020-04-23 17:53:25.259 debug (18718) camEvents (192_168_1_58_8000): camMessage = undefined
onvif.0 2020-04-23 17:53:25.258 debug (18718) EVENT (192_168_1_58_8000): {"currentTime":"2020-04-23T15:55:45.000Z","terminationTime":"2020-04-23T15:56:33.000Z"}
onvif.0 2020-04-23 17:53:25.210 debug (18718) startCameras (192_168_1_56_8000) pullMessages: ERROR - TypeError: Cannot read property 'topic' of undefined. Resubscribe to events
onvif.0 2020-04-23 17:53:25.210 debug (18718) camEvents (192_168_1_56_8000): camMessage = undefined
onvif.0 2020-04-23 17:53:25.209 debug (18718) EVENT (192_168_1_56_8000): {"currentTime":"2020-04-23T15:52:50.000Z","terminationTime":"2020-04-23T15:53:38.000Z"}
onvif.0 2020-04-23 17:53:25.026 debug (18718) startCameras (192_168_1_59_8000) pullMessages: ERROR - TypeError: Cannot read property 'topic' of undefined. Resubscribe to events
onvif.0 2020-04-23 17:53:25.025 debug (18718) camEvents (192_168_1_59_8000): camMessage = undefined
onvif.0 2020-04-23 17:53:25.024 debug (18718) EVENT (192_168_1_59_8000): {"currentTime":"2020-04-23T15:55:07.000Z","terminationTime":"2020-04-23T15:55:55.000Z"}
onvif.0 2020-04-23 17:53:24.903 debug (18718) startCameras (192_168_1_57_8000) pullMessages: ERROR - TypeError: Cannot read property 'topic' of undefined. Resubscribe to events
onvif.0 2020-04-23 17:53:24.902 debug (18718) camEvents (192_168_1_57_8000): camMessage = undefined
onvif.0 2020-04-23 17:53:24.901 debug (18718) EVENT (192_168_1_57_8000): {"currentTime":"2020-04-23T15:53:12.000Z","terminationTime":"2020-04-23T15:54:00.000Z"}
onvif.0 2020-04-23 17:53:13.475 debug (18718) state onvif.0.192_168_1_58_8000.connection changed: true (ack = true)
onvif.0 2020-04-23 17:53:13.471 debug (18718) state onvif.0.192_168_1_59_8000.connection changed: true (ack = true)
onvif.0 2020-04-23 17:53:13.466 debug (18718) state onvif.0.192_168_1_57_8000.connection changed: true (ack = true)
onvif.0 2020-04-23 17:53:13.466 debug (18718) state onvif.0.192_168_1_56_8000.connection changed: true (ack = true)
onvif.0 2020-04-23 17:53:13.462 debug (18718) createPullPointSubscription: {"subscriptionReference":{"address":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.1.58:8000","port":"8000","hostname":"192.168.1.58","hash":null,"
onvif.0 2020-04-23 17:53:13.458 debug (18718) createPullPointSubscription: {"subscriptionReference":{"address":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.1.59:8000","port":"8000","hostname":"192.168.1.59","hash":null,"
onvif.0 2020-04-23 17:53:13.452 debug (18718) createPullPointSubscription: {"subscriptionReference":{"address":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.1.57:8000","port":"8000","hostname":"192.168.1.57","hash":null,"
onvif.0 2020-04-23 17:53:13.448 debug (18718) createPullPointSubscription: {"subscriptionReference":{"address":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.1.56:8000","port":"8000","hostname":"192.168.1.56","hash":null,"
onvif.0 2020-04-23 17:53:13.415 debug (18718) startCameras. cameras: {"onvif.0.192_168_1_58_8000":{"hostname":"192.168.1.58","username":"user","password":"password","port":"8000","path":"/onvif/device_service","timeout":15000,"agent":false
onvif.0 2020-04-23 17:53:13.413 debug (18718) classCam. Camera/NVT: {"onvif.0.192_168_1_58_8000":{"hostname":"192.168.1.58","username":"user","password":"password","port":"8000","path":"/onvif/device_service","timeout":15000,"agent":false,
onvif.0 2020-04-23 17:53:13.409 debug (18718) classCam. Camera/NVT: {"onvif.0.192_168_1_58_8000":{"hostname":"192.168.1.58","username":"user","password":"password","port":"8000","path":"/onvif/device_service","timeout":15000,"agent":false,
onvif.0 2020-04-23 17:53:13.399 debug (18718) classCam. Camera/NVT: {"onvif.0.192_168_1_58_8000":{"hostname":"192.168.1.58","username":"user","password":"password","port":"8000","path":"/onvif/device_service","timeout":15000,"agent":false,
onvif.0 2020-04-23 17:53:13.364 debug (18718) classCam. Camera/NVT: {"onvif.0.192_168_1_58_8000":{"hostname":"192.168.1.58","username":"user","password":"password","port":"8000","path":"/onvif/device_service","timeout":15000,"agent":false,
onvif.0 2020-04-23 17:53:13.138 debug (18718) state onvif.0.discoveryRunning changed: false (ack = true)
onvif.0 2020-04-23 17:53:13.114 debug (18718) classCam: item = {"type":"device","common":{"name":"192.168.1.59:8000"},"native":{"id":"192_168_1_59_8000","name":"192.168.1.59:8000","ip":"192.168.1.59","port":"8000","user":"user","pass":"
onvif.0 2020-04-23 17:53:13.114 debug (18718) classCam: item = {"type":"device","common":{"name":"192.168.1.58:8000"},"native":{"id":"192_168_1_58_8000","name":"192.168.1.58:8000","ip":"192.168.1.58","port":"8000","user":"user","pass":"
onvif.0 2020-04-23 17:53:13.113 debug (18718) classCam: item = {"type":"device","common":{"name":"192.168.1.57:8000"},"native":{"id":"192_168_1_57_8000","name":"192.168.1.57:8000","ip":"192.168.1.57","port":"8000","user":"user","pass":"
onvif.0 2020-04-23 17:53:13.112 debug (18718) classCam: item = {"type":"device","common":{"name":"192.168.1.56:8000"},"native":{"id":"192_168_1_56_8000","name":"192.168.1.56:8000","ip":"192.168.1.56","port":"8000","user":"user","pass":"
onvif.0 2020-04-23 17:53:13.111 debug (18718) setCameras: [{"type":"device","common":{"name":"192.168.1.56:8000"},"native":{"id":"192_168_1_56_8000","name":"192.168.1.56:8000","ip":"192.168.1.56","port":"8000","user":"user","pass":"
onvif.0 2020-04-23 17:53:13.109 debug (18718) getDevices: [{"type":"device","common":{"name":"192.168.1.56:8000"},"native":{"id":"192_168_1_56_8000","name":"192.168.1.56:8000","ip":"192.168.1.56","port":"8000","user":"user","pass":"
onvif.0 2020-04-23 17:53:13.069 debug (18718) startCameras
onvif.0 2020-04-23 17:53:13.028 info (18718) starting. Version 0.2.0 in /opt/iobroker/node_modules/iobroker.onvif, node: v10.20.1
onvif.0 2020-04-23 17:53:12.263 debug (18718) statesDB connected
onvif.0 2020-04-23 17:53:12.263 debug (18718) States connected to redis: 127.0.0.1:9000
onvif.0 2020-04-23 17:53:12.255 debug (18718) States create System PubSub Client
onvif.0 2020-04-23 17:53:12.253 debug (18718) States create User PubSub Client
onvif.0 2020-04-23 17:53:12.247 debug (18718) Redis States: Use Redis connection: 127.0.0.1:9000
onvif.0 2020-04-23 17:53:12.244 debug (18718) objectDB connected
onvif.0 2020-04-23 17:53:12.237 debug (18718) Objects connected to redis: 127.0.0.1:9001
onvif.0 2020-04-23 17:53:12.218 debug (18718) Objects client initialize lua scripts
onvif.0 2020-04-23 17:53:12.217 debug (18718) Objects create User PubSub Client
onvif.0 2020-04-23 17:53:12.216 debug (18718) Objects create System PubSub Client
onvif.0 2020-04-23 17:53:12.211 debug (18718) Objects client ready ... initialize now
onvif.0 2020-04-23 17:53:12.174 debug (18718) Redis Objects: Use Redis connection: 127.0.0.1:9001

Cannot read property 'width' of undefined

onvif.0 2019-01-29 16:21:12.501 info terminating
onvif.0 2019-01-29 16:21:12.494 error at SAXParser.onclosetag (/opt/iobroker/node_modules/xml2js/lib/parser.js:261:26)
onvif.0 2019-01-29 16:21:12.494 error at Parser.emit (events.js:211:7)
onvif.0 2019-01-29 16:21:12.494 error at emitOne (events.js:116:13)
onvif.0 2019-01-29 16:21:12.494 error at Parser. (/opt/iobroker/node_modules/xml2js/lib/parser.js:303:18)
onvif.0 2019-01-29 16:21:12.494 error at /opt/iobroker/node_modules/onvif/lib/utils.js:96:5
onvif.0 2019-01-29 16:21:12.494 error at MyCam. (/opt/iobroker/node_modules/onvif/lib/media.js:604:13)
onvif.0 2019-01-29 16:21:12.494 error at MyCam. (/opt/iobroker/node_modules/onvif/lib/cam.js:131:15)
onvif.0 2019-01-29 16:21:12.494 error at MyCam.Cam.getActiveSources (/opt/iobroker/node_modules/onvif/lib/cam.js:532:20)
onvif.0 2019-01-29 16:21:12.494 error at Array.forEach ()
onvif.0 2019-01-29 16:21:12.494 error at MyCam. (/opt/iobroker/node_modules/onvif/lib/cam.js:563:76)
onvif.0 2019-01-29 16:21:12.494 error TypeError: Cannot read property 'width' of undefined
onvif.0 2019-01-29 16:21:12.494 error uncaught exception: Cannot read property 'width' of undefined
onvif.0 2019-01-29 16:21:01.767 warn getDevices result: []

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/Haba1234/ioBroker.onvif

  • [E144] common.installedFrom field found in io-package.json. Must be removed.
  • [E150] No common.connectionType found in io-package.json
  • [E152] No common.dataSource found in io-package.json

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Compatibility check to js-controller 3.3 and Admin5 React UI

Dear Adapter developer,

with js-controller 3.2 and js-controller 3.3 some additional checks were added to make sure that created objects match to the specifications and also written state values match to the object definition.

If something is not correct this is logged as 'warning' or 'info' log.

Please take the time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn log there from these checks please adjust the adapter and fix the relevant cases.

For questions please refer to ioBroker/ioBroker.js-controller#1301

Additionally we are preparing Admin 5 which will have a completely rewritten UI. Please install Admin 5, activate that new UI and verify that the configuration of you adapter works as expected also there.

More informations on Admin 5 can be found in Forum https://forum.iobroker.net/topic/44282/test-adapter-admin-5-0-x-alpha-der-neuen-ui

Please close the issue after you checked it.

Thank you very much for your support!

WansView error

Hello :-),

I try to use the Adapter with 4 WansView cameras and keep getting these errors.

`

onvif.0 2021-08-30 15:07:26.582 debug (8822) state onvif.0.192_168_178_81_8899.connection changed: true (ack = true)
onvif.0 2021-08-30 15:07:26.571 debug (8822) createPullPointSubscription: {"subscriptionReference":{"address":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.178.81:8899","port":"8899","hostname":"192.168.178.81","hash":nu
onvif.0 2021-08-30 15:07:25.431 debug (8822) state onvif.0.192_168_178_57_8899.connection changed: true (ack = true)
onvif.0 2021-08-30 15:07:25.419 debug (8822) createPullPointSubscription: {"subscriptionReference":{"address":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.178.57:8899","port":"8899","hostname":"192.168.178.57","hash":nu
onvif.0 2021-08-30 15:07:25.114 debug (8822) state onvif.0.192_168_178_111_8899.connection changed: true (ack = true)
onvif.0 2021-08-30 15:07:25.071 debug (8822) createPullPointSubscription: {"subscriptionReference":{"address":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.178.111:8899","port":"8899","hostname":"192.168.178.111","hash":
onvif.0 2021-08-30 15:07:25.026 debug (8822) state onvif.0.192_168_178_97_8899.connection changed: true (ack = true)
onvif.0 2021-08-30 15:07:25.012 debug (8822) createPullPointSubscription: {"subscriptionReference":{"address":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.178.97:8899","port":"8899","hostname":"192.168.178.97","hash":nu
onvif.0 2021-08-30 15:06:44.724 debug (8822) system.adapter.cloud.0: logging false
onvif.0 2021-08-30 15:06:25.951 debug (8822) state onvif.0.192_168_178_81_8899.connection changed: false (ack = true)
onvif.0 2021-08-30 15:06:25.939 error (8822) Camera/NVT (192_168_178_81_8899) did not answer several times in a row. Disconnected!
onvif.0 2021-08-30 15:06:25.937 warn (8822) startCameras (192_168_178_81_8899) pullMessages: ERROR - Error: socket hang up (count error = 4). Resubscribe to events
onvif.0 2021-08-30 15:06:24.747 debug (8822) state onvif.0.192_168_178_57_8899.connection changed: false (ack = true)
onvif.0 2021-08-30 15:06:24.736 error (8822) Camera/NVT (192_168_178_57_8899) did not answer several times in a row. Disconnected!
onvif.0 2021-08-30 15:06:24.735 warn (8822) startCameras (192_168_178_57_8899) pullMessages: ERROR - Error: socket hang up (count error = 4). Resubscribe to events
onvif.0 2021-08-30 15:06:24.567 debug (8822) state onvif.0.192_168_178_111_8899.connection changed: false (ack = true)
onvif.0 2021-08-30 15:06:24.554 error (8822) Camera/NVT (192_168_178_111_8899) did not answer several times in a row. Disconnected!
onvif.0 2021-08-30 15:06:24.554 warn (8822) startCameras (192_168_178_111_8899) pullMessages: ERROR - Error: socket hang up (count error = 4). Resubscribe to events
onvif.0 2021-08-30 15:06:24.423 debug (8822) state onvif.0.192_168_178_97_8899.connection changed: false (ack = true)
onvif.0 2021-08-30 15:06:24.412 error (8822) Camera/NVT (192_168_178_97_8899) did not answer several times in a row. Disconnected!
onvif.0 2021-08-30 15:06:24.412 warn (8822) startCameras (192_168_178_97_8899) pullMessages: ERROR - Error: socket hang up (count error = 4). Resubscribe to events
onvif.0 2021-08-30 15:06:15.284 warn (8822) startCameras (192_168_178_81_8899) pullMessages: ERROR - Error: Network timeout (count error = 3). Resubscribe to events
onvif.0 2021-08-30 15:06:14.208 warn (8822) startCameras (192_168_178_57_8899) pullMessages: ERROR - Error: Network timeout (count error = 3). Resubscribe to events
onvif.0 2021-08-30 15:06:14.040 warn (8822) startCameras (192_168_178_111_8899) pullMessages: ERROR - Error: Network timeout (count error = 3). Resubscribe to events
onvif.0 2021-08-30 15:06:13.901 warn (8822) startCameras (192_168_178_97_8899) pullMessages: ERROR - Error: Network timeout (count error = 3). Resubscribe to events
onvif.0 2021-08-30 15:05:50.276 warn (8822) startCameras (192_168_178_81_8899) pullMessages: ERROR - Error: Network timeout (count error = 2). Resubscribe to events
onvif.0 2021-08-30 15:05:49.031 warn (8822) startCameras (192_168_178_111_8899) pullMessages: ERROR - Error: Network timeout (count error = 2). Resubscribe to events
onvif.0 2021-08-30 15:05:49.029 warn (8822) startCameras (192_168_178_57_8899) pullMessages: ERROR - Error: Network timeout (count error = 2). Resubscribe to events
onvif.0 2021-08-30 15:05:48.717 warn (8822) startCameras (192_168_178_97_8899) pullMessages: ERROR - Error: Network timeout (count error = 2). Resubscribe to events
onvif.0 2021-08-30 15:05:25.169 warn (8822) startCameras (192_168_178_81_8899) pullMessages: ERROR - Error: Network timeout (count error = 1). Resubscribe to events
onvif.0 2021-08-30 15:05:24.005 warn (8822) startCameras (192_168_178_111_8899) pullMessages: ERROR - Error: Network timeout (count error = 1). Resubscribe to events
onvif.0 2021-08-30 15:05:23.954 warn (8822) startCameras (192_168_178_57_8899) pullMessages: ERROR - Error: Network timeout (count error = 1). Resubscribe to events
onvif.0 2021-08-30 15:05:23.698 warn (8822) startCameras (192_168_178_97_8899) pullMessages: ERROR - Error: Network timeout (count error = 1). Resubscribe to events
onvif.0 2021-08-30 15:05:09.146 debug (8822) state onvif.0.192_168_178_81_8899.connection changed: true (ack = true)
onvif.0 2021-08-30 15:05:09.138 debug (8822) createPullPointSubscription: {"subscriptionReference":{"address":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.178.81:8899","port":"8899","hostname":"192.168.178.81","hash":nu
onvif.0 2021-08-30 15:05:08.040 debug (8822) state onvif.0.192_168_178_111_8899.connection changed: true (ack = true)
onvif.0 2021-08-30 15:05:07.989 debug (8822) createPullPointSubscription: {"subscriptionReference":{"address":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.178.111:8899","port":"8899","hostname":"192.168.178.111","hash":
onvif.0 2021-08-30 15:05:07.982 debug (8822) state onvif.0.192_168_178_57_8899.connection changed: true (ack = true)
onvif.0 2021-08-30 15:05:07.946 debug (8822) createPullPointSubscription: {"subscriptionReference":{"address":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.178.57:8899","port":"8899","hostname":"192.168.178.57","hash":nu
onvif.0 2021-08-30 15:05:07.699 debug (8822) state onvif.0.192_168_178_97_8899.connection changed: true (ack = true)
onvif.0 2021-08-30 15:05:07.691 debug (8822) createPullPointSubscription: {"subscriptionReference":{"address":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.178.97:8899","port":"8899","hostname":"192.168.178.97","hash":nu
`

Reolink e1pro

i can't connect to the Reolink E1pro device. This device supports onvif and other apps can connect via onvif.

here the log from IOBroker

onvif.0 2020-12-13 12:41:42.984 debug (1922) httpGet.statusCode: 200
onvif.0 2020-12-13 12:41:42.738 debug (1922) sendTo "getSnapshot" to system.adapter.admin.0 from system.adapter.onvif.0
onvif.0 2020-12-13 12:41:42.737 error (1922) httpGet. Error: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"192.168.168.29","port":80,"name":"RequestError","path":"/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0"
onvif.0 2020-12-13 12:41:42.727 debug (1922) getSnapshotUri:stream.uri "http://192.168.168.29:80/cgi-bin/api.cgi?cmd=onvifSnapPic&channel=0"

all Obeject are created for this device, so in my opinion it is not a general connection issue.

thanks for help in advance

Error with Foscam fi9900p

Hi,
with version > 0.0.2 i can get snapshots from my Foscam.
i've tested version 0.1.0 and 0.1.1.
Only version 0.0.2 works fine.
see error code in atached sreenshot.
IoBroker runs on a Pi 4 with IoBroker Image.
onvif

Compatibility check to js-controller 4.0

Dear Adapter developer,

with js-controller 4.0 object definitions are now also checked that min/max in only provided for number/mixed objects and that the type of the default value matches to the object type.

If something is not correct this is logged as 'warning' or 'info' log.

Please also make sure to update to the lastest @iobroker/testing dependency 2.5.4 or to accept the PR from Apollon77 for legacy testing!

Please spent some time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn or info log there from these checks please adjust the adapter and fix the relevant cases.

For questions please refer to ioBroker/ioBroker.js-controller#1749

Please close the issue after you checked it.

Thank you very much for your support to get the best experience for the growing numbers of ioBroker users!

Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:

https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/Haba1234/ioBroker.onvif

  • [E106] Title should not have word "adapter" in the name. It is clear, that this is adapter. Now: {"en":"Onvif adapter","de":"Onvif-Adapter","ru":"Onvif адаптер","pt":"Adaptador onvif","nl":"Onvif-adapter","fr":"Adaptateur Onvif","it":"Adattatore Onvif","es":"Adaptador Onvif","pl":"Adapter Onvif","zh-cn":"Onvif适配器"}
  • [E106] Title should not have word "adapter" in the name. It is clear, that this is adapter. Now: {"en":"Onvif adapter","de":"Onvif-Adapter","ru":"Onvif адаптер","pt":"Adaptador onvif","nl":"Onvif-adapter","fr":"Adaptateur Onvif","it":"Adattatore Onvif","es":"Adaptador Onvif","pl":"Adapter Onvif","zh-cn":"Onvif适配器"}
  • [E144] common.installedFrom field found in io-package.json. Must be removed.
  • [E150] No common.connectionType found in io-package.json
  • [E152] No common.dataSource found in io-package.json

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Connection NVR great but just one camera!!?

Dear all,

just a few days ago I switched from Home Assistant to IOBroker. I my cameras connectet to a NVR which delivers events to
my security system. Installation works fine and few seconds after search ioBroker.onvif returns one camera (the first)...
but there are more :-)

It is a question of configuration?

Thank you for help / support!

Warm regards

Joerg

REOLINK C2 Pro - Error "classCam. Camera/NVT: "192.168.4.122:80" Error: Wrong ONVIF SOAP response"

Hello,
I added a "REOLINK C2 Pro" IP camera to my ONVIF instance, but when I try to open its setup (clicking on the gear wheel icon) or taking/showing a picture (clicking the camera icon), nothing happens.
But if I open the "three dot" menu, all shown information (IP address, port, manufacturer, model and firmware version) are correct. Looking in the log file (see attachment) an error is thrown in conjunction with that camera:
"classCam. Camera/NVT: "192.168.4.122:80" Error: Wrong ONVIF SOAP response"
So I switched the instance to "debug logging" which is also included in the attached file.
Can someone help me to solve this problem?
Regards
"Klaus"

ioBroker.log

Constant messages about incorrect type handling

State value to set for "onvif.0.192_168_x_x_x.message.monitoring.processorusage.Value" has to be stringified but received type "object"

Are constant entries in the logfile. Please correct setting of this object in order to clean up the log entries.

Regards,

Sebastian

Please add your adapter to ioBroker.discovery

I am an automatic service from ioBroker that searches adapters and makes suggestions.

I noticed that your adapter is not integrated in the ioBroker.discovery. Using the Discovery adapter, ioBroker can automatically find devices or suggest services to the user for installation. If possible I would live to see your adapter added there.

Some adapters have already been added and you can use them as blueprints. See: https://github.com/ioBroker/ioBroker.discovery You need to fork this project and then create a PR for your adapter to be added.

Basically the plugins can do HTTP calls, UDP discovery, MDNS, UPNP and will iterate over all devices found by IP scan and check local serial ports. If you want you can also add new discovery methods but please try to do that with at least dependencies as possible.

Then create one file under lib/adapters for your adapter to implement the detection and proposal of an instance to the user.

On questions, the other developers will support in the forum or via GitHub issues too.

If no detection is possible, simply close this issue and I won't bother you again. ;-)

Thanks,
your automatic adapter checker.

P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

Problem nach Verbindungsverlust

Wenn die Verbindung zur Kamera unterbrochen war, dann müsste createPullPointSubscription neu aufgerufen werden, was aber nicht passiert.
2020-04-20 12:00:41.687 - debug: onvif.0 (2336) startCameras (192_168_100_227_80) pullMessages: ERROR - Error: connect ETIMEDOUT 192.168.100.227:80. Resubscribe to events 2020-04-20 12:01:08.375 - debug: onvif.0 (2336) startCameras (192_168_100_227_80) pullMessages: ERROR - Error: connect ECONNREFUSED 192.168.100.227:80. Resubscribe to events 2020-04-20 12:01:21.471 - debug: onvif.0 (2336) startCameras (192_168_100_227_80) pullMessages: ERROR - Error: Network timeout. Resubscribe to events 2020-04-20 12:01:29.728 - debug: onvif.0 (2336) startCameras (192_168_100_227_80) pullMessages: ERROR - Error: ONVIF SOAP Fault: the parameter value is illegalNo pullmsg manager. Resubscribe to events

Es handelt sich um eine Hikvision-Kamera.

In der onvif lib (events.js) gab es den Hinweis:
'PT5S' + // pull timeout must be shorter than Socket timeout or we will get a socket error when there are no new events

Daher kommt auch immer die Fehlermeldung (2336) startCameras (192_168_100_228_80) pullMessages: ERROR - Error: Network timeout. Resubscribe to events, da aktuell 60sek verwendet wird.

MfG
Thomas Hirschfeld

REOLIN RLC-811A

Hi Team

I have new the problem that the adapter no longer recognizes my Reolink Cams.

In the log I see the following:

vif.0 2022-07-07 13:46:43.193 debug getDevicesAdmin result: [] onvif.0 2022-07-07 13:46:43.130 debug getDevicesAdmin onvif.0 2022-07-07 13:46:43.129 debug Received "getDevices" event onvif.0 2022-07-07 13:46:42.650 debug state onvif.0.discoveryRunning changed: false (ack = true) onvif.0 2022-07-07 13:46:42.647 warn startCameras: Cameras/NVT unavailables onvif.0 2022-07-07 13:46:42.646 debug startCameras. cameras: {} onvif.0 2022-07-07 13:46:42.645 debug setCameras: [] onvif.0 2022-07-07 13:46:42.645 debug getDevices: [] onvif.0 2022-07-07 13:46:42.597 debug startCameras onvif.0 2022-07-07 13:46:42.597 info Discovery finished onvif.0 2022-07-07 13:46:42.597 debug Discovery devices: [{},{}] onvif.0 2022-07-07 13:46:42.596 debug ip_list.map result: {} onvif.0 2022-07-07 13:46:42.596 debug discoveryClassCam: 10.XXX.XXX.46:8000 - result: {} onvif.0 2022-07-07 13:46:42.596 error CamFunc: 10.XXX.XXX.46:8000 - TypeError: Cannot read properties of undefined (reading '0') onvif.0 2022-07-07 13:46:42.592 debug ip_list.map result: {} onvif.0 2022-07-07 13:46:42.592 debug discoveryClassCam: 10.XXX.XXX.47:8000 - result: {} onvif.0 2022-07-07 13:46:42.591 error CamFunc: 10.XXX.XXX.47:8000 - TypeError: Cannot read properties of undefined (reading '0') onvif.0 2022-07-07 13:46:42.567 debug state onvif.0.discoveryRunning changed: true (ack = true) onvif.0 2022-07-07 13:46:42.552 debug discoveryClassCam: 10.XXX.XXX.47:8000 onvif.0 2022-07-07 13:46:42.552 debug ip_list.map start passowrd: ---MEIN PASSWORT--- onvif.0 2022-07-07 13:46:42.551 debug ip_list.map start user: cla onvif.0 2022-07-07 13:46:42.551 debug ip_list.map start ip_entry: 10.XXX.XXX.47 onvif.0 2022-07-07 13:46:42.550 debug discoveryClassCam: 10.XXX.XXX.46:8000 onvif.0 2022-07-07 13:46:42.550 debug ip_list.map start passowrd: ---MEIN PASSWORT--- onvif.0 2022-07-07 13:46:42.550 debug ip_list.map start user: cla onvif.0 2022-07-07 13:46:42.550 debug ip_list.map start ip_entry: 10.XXX.XXX.46 onvif.0 2022-07-07 13:46:42.549 debug ip_list = ["10.XXX.XXX.46","10.XXX.XXX.47"]

My modell is ModelRLC-811A with Config Versionv 3.1.0.0 and firmware Version 3.1.0.956_22042008

It would be nice if this would work again :)

Thanks and Regards

Claudio

No connection to Reolink RLC-410W

Hi,

no connection to Reolink camera is possible.
According to Reolink Support, the adapter must support Onvif 2.1 to
view the stream.

I also tried version 0.3. and all 0.4.x versions. None is working.
Other tools like Onvif Manager or ISpy Tool the connection is working fine.

`

2022-01-20 14:50:23.188 | debug | getDevicesAdmin result: [{"type":"device","common":{"name":"192.168.2.48:8000"},"native":{"id":"192_168_2_48_8000","name":"192.168.2.48:8000","ip":"192.168.2.48","port":"8000","user":"admin","pass":"xxxxx","cam_date":"2022-01-20T13:44:51.000Z","info":{"manufacturer":"Manufacturer","model":"IPC_51316M","firmwareVersion":"v3.0.0.136_20121102","serialNumber":"00000000065536","hardwareId":"IPC"},"events":true,"subscribeEvents":false,"live_stream_tcp":{"uri":"rtsp://192.168.2.48:554/h264Preview_01_main","invalidAfterConnect":false,"invalidAfterReboot":false,"timeout":"PT10S"},"live_stream_udp":{"uri":"rtsp://192.168.2.48:554/h264Preview_01_main","invalidAfterConnect":false,"invalidAfterReboot":false,"timeout":"PT10S"},"live_stream_multicast":{"uri":"rtsp://192.168.2.48:554/h264Preview_01_main","invalidAfterConnect":false,"invalidAfterReboot":false,"timeout":"PT10S"},"password":"W3rtV0ll!"},"from":"system.adapter.onvif.0","user":"system.user.admin","ts":1642686623119,"_id":"onvif.0.192_168_2_48_8000","rooms":[]}]
`

Thank you

Best Regard
Alex

Objects empty

`

onvif.0 2019-01-05 15:37:54.582 debug statesDB connected
onvif.0 2019-01-05 15:37:54.568 debug objectDB connected
onvif.0 2019-01-05 15:37:51.703 debug cleaned everything up...
onvif.0 2019-01-05 15:37:51.697 debug cleaned everything up...
onvif.0 2019-01-05 15:37:49.185 debug ------------------------------
onvif.0 2019-01-05 15:37:49.185 debug capabilities: {"analytics":{"XAddr":"http://192.168.2.105:8080/onvif/analytics","ruleSupport":true,"analyticsModuleSupport":true},"device":{"XAddr":"http://192.168.2.105:8080/onvif/devices","network"
onvif.0 2019-01-05 15:37:49.185 debug First Live Multicast Stream: = rtsp://192.168.2.105:554/11
onvif.0 2019-01-05 15:37:49.185 debug First Live UDP Stream: = rtsp://192.168.2.105:554/11
onvif.0 2019-01-05 15:37:49.184 debug First Live TCP Stream: = rtsp://192.168.2.105:554/11
onvif.0 2019-01-05 15:37:49.184 debug Info: = {"manufacturer":"IPCAM","model":"C5F0S8Z0N1P0L0V0","firmwareVersion":"V3.1.2.66","serialNumber":"10D1DC0D38AB","hardwareId":"V3.1.2.66"}
onvif.0 2019-01-05 15:37:49.184 debug Date: = Sat Jan 05 2019 15:37:48 GMT+0100 (CET)
onvif.0 2019-01-05 15:37:49.184 debug Host: 192.168.2.105 Port: 8080
onvif.0 2019-01-05 15:37:49.184 debug ------------------------------
onvif.0 2019-01-05 15:37:48.993 debug stateChange onvif.0.discoveryRunning {"val":true,"ack":true,"ts":1546699068992,"q":0,"from":"system.adapter.onvif.0","lc":1546699068992}
onvif.0 2019-01-05 15:37:48.988 debug 192.168.2.110 8080
onvif.0 2019-01-05 15:37:48.988 debug 192.168.2.109 8080
onvif.0 2019-01-05 15:37:48.987 debug 192.168.2.108 8080
onvif.0 2019-01-05 15:37:48.987 debug 192.168.2.107 8080
onvif.0 2019-01-05 15:37:48.987 debug 192.168.2.106 8080
onvif.0 2019-01-05 15:37:48.987 debug 192.168.2.105 8080
onvif.0 2019-01-05 15:37:48.987 debug 192.168.2.104 8080
onvif.0 2019-01-05 15:37:48.987 debug 192.168.2.103 8080
onvif.0 2019-01-05 15:37:48.987 debug 192.168.2.102 8080
onvif.0 2019-01-05 15:37:48.987 debug 192.168.2.101 8080
onvif.0 2019-01-05 15:37:48.987 debug 192.168.2.100 8080
onvif.0 2019-01-05 15:37:48.986 debug Received "discovery" event
onvif.0 2019-01-05 15:37:28.608 debug sendTo "getDevices" to system.adapter.admin.0 from system.adapter.onvif.0
onvif.0 2019-01-05 15:37:28.608 warn getDevices result: []
onvif.0 2019-01-05 15:37:28.593 warn Received "getDevices" event
onvif.0 2019-01-05 15:36:53.018 debug system.adapter.admin.0: logging false
onvif.0 2019-01-05 15:35:46.525 debug startCameras: []
onvif.0 2019-01-05 15:35:46.518 debug startCameras
onvif.0 2019-01-05 15:35:46.516 info starting. Version 0.0.2 in /opt/iobroker/node_modules/iobroker.onvif, node: v8.14.0

`

Seems linke the cam was found but there are no objects only discover running.

Sannce onvif events

Hi there,

i was able to add my camera Sannce IPC and it successfully subscribed,
Objects are populating but it does not see any events and its not updating the values in the objects.

When using the ONVIF DEVICE MANAGER, i can see lots of events coming in.

Anything i am missing here?

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.