NEWS
Test Adapter onvif-alt v0.1.x
-
@Dr-Bakterius manuelles hinzufügen der Kameras funktioniert nicht. In der version auf Github ist nur die Maske vorhanden. Die Eigentlich funktion habe ich zwar schon Gebaut, aber das macht nur Ärger und funktioniert einfach nicht richtig.
Ich werde die Version dennoch hochladen damit das Autodiscovery wenigstens wieder geht.
-
Ich habe folgende Fehlermeldungen beim Start der Adapter-Instanz. Kameras sind Foscam C2 und G4P.
2020-02-20 17:29:12.939 - info: onvif.0 (1430) results: {"core":{"soap":{"username":"admin","password":"password","HTTP_TIMEOUT":3000},"timeDiff":-3602000,"serviceAddress":{"slashes":true,"protocol":"http:","hash":"","query":"","pathname":"/onvif/device_service","auth":"","host":"192.168.10.156:888","port":"888","hostname":"192.168.10.156","password":"","username":"","origin":"http://192.168.10.156:888","href":"http://192.168.10.156:888/onvif/device_service"},"username":"admin","password":"password","namespaceAttributes":["xmlns:tds=\"http://www.onvif.org/ver10/device/wsdl\""],"version":{"$":{"xsi:type":"tt:OnvifVersion"},"Major":"2","Minor":"21"}},"access":null,"accessrules":null,"action":null,"analytics":{"soap":{"username":"","password":"","HTTP_TIMEOUT":3000},"timeDiff":-3602000,"serviceAddress":{"slashes":true,"protocol":"http:","hash":"","query":"","pathname":"/onvif/device_service","auth":"","host":"192.168.10.156:888","port":"888","hostname":"192.168.10.156","password":"","username":"","origin":"http://192.168.10.156:888","href":"http://192.168.10.156:888/onvif/device_service"},"username":"admin","password":"password","namespaceAttributes":["xmlns:tns1=\"http://www.onvif.org/ver10/topics\"","xmlns:tan=\"http://www.onvif.org/ver10/analytics\"","xmlns:ttr=\"http://www.onvif.org/ver10/analytics/radiometry\""],"ruleSupport":true,"analyticsModuleSupport":true},"credential":null,"deviceio":null,"display":null,"door":null,"events":{"_events":{},"_eventsCount":0,"_maxListeners":100,"soap":{"username":"","password":"","HTTP_TIMEOUT":3000},"timeDiff":-3602000,"serviceAddress":{"slashes":true,"protocol":"http:","hash":"","query":"","pathname":"","auth":"","host":"192.168.10.156:888","port":"888","hostname":"192.168.10.156","password":"","username":"","origin":"http://192.168.10.156:888","href":"http://192.168.10.156:888"},"username":"admin","password":"password","namespaceAttributes":["xmlns:tev=\"http://www.onvif.org/ver10/events/wsdl\""],"intervalId":null},"imaging":{"soap":{"username":"","password":"","HTTP_TIMEOUT":3000},"timeDiff":-3602000,"serviceAddress":{"slashes":true,"protocol":"http:","hash":"","query":"","pathname":"/onvif/device_service","auth":"","host":"192.168.10.156:888","port":"888","hostname":"192.168.10.156","password":"","username":"","origin":"http://192.168.10.156:888","href":"http://192.168.10.156:888/onvif/device_service"},"username":"admin","password":"password","namespaceAttributes":["xmlns:tns1=\"http://www.onvif.org/ver10/topics\"","xmlns:timg=\"http://www.onvif.org/ver20/imaging/wsdl\""],"version":{"$":{"xsi:type":"tt:OnvifVersion"},"Major":"2","Minor":"21"}},"media":{"soap":{"username":"admin","password":"password","HTTP_TIMEOUT":3000},"timeDiff":-3602000,"serviceAddress":{"slashes":true,"protocol":"http:","hash":"","query":"","pathname":"/onvif/device_service","auth":"","host":"192.168.10.156:888","port":"888","hostname":"192.168.10.156","password":"","username":"","origin":"http://192.168.10.156:888","href":"http://192.168.10.156:888/onvif/device_service"},"username":"admin","password":"password","namespaceAttributes":["xmlns:trt=\"http://www.onvif.org/ver10/media/wsdl\""],"version":{"$":{"xsi:type":"tt:OnvifVersion"},"Major":"2","Minor":"21"}},"media2":null,"ptz":{"soap":{"username":"","password":"","HTTP_TIMEOUT":3000},"timeDiff":-3602000,"serviceAddress":{"slashes":true,"protocol":"http:","hash":"","query":"","pathname":"/onvif/device_service","auth":"","host":"192.168.10.156:888","port":"888","hostname":"192.168.10.156","password":"","username":"","origin":"http://192.168.10.156:888","href":"http://192.168.10.156:888/onvif/device_service"},"username":"admin","password":"password","defaultProfileToken":"prof0","namespaceAttributes":["xmlns:tptz=\"http://www.onvif.org/ver20/ptz/wsdl\""],"version":{"$":{"xsi:type":"tt:OnvifVersion"},"Major":"2","Minor":"21"}},"receiver":null,"recording":null,"replay":null,"schedule":null,"search":null,"security":null,"snapshot":null,"thermal":null,"videoanalytics":null,"rootPath":"http://192.168.10.156:888","serviceAddress":{"slashes":true,"protocol":"http:","hash":"","query":"","pathname":"/onvif/device_service","auth":"","host":"192.168.10.156:888","port":"888","hostname":"192.168.10.156","password":"","username":"","origin":"http://192.168.10.156:888","href":"http://192.168.10.156:888/onvif/device_service"},"timeDiff":-3602000,"address":"192.168.10.156","port":["888"],"username":"admin","password":"password","deviceInformation":{"Manufacturer":"FOSCAM","Model":"MGS4010","FirmwareVersion":"2.94.2.37","SerialNumber":"00626ED872D6","HardwareId":"1.14.1.2","Ptz":true,"VideoEncoder":true,"AudiooEncoder":true,"Hardware":"MGS4010","Name":"Foscam","Country":"china"},"profileList":[{"$":{"xsi:type":"tt:Profile","fixed":"true","token":"prof0"},"Name":"prof0_name","VideoSourceConfiguration":{"$":{"xsi:type":"tt:VideoSourceConfiguration","token":"videosource_token0"},"Name":"videosource_name0","UseCount":"1","SourceToken":"videosource_sourcetoken0","Bounds":{"$":{"xmlns":"http://www.onvif.org/ver10/schema","height":"1536","width":"2304","y":"1","x":"1","xsi:type":"tt:IntRectangle"}}},"AudioSourceConfiguration":{"$":{"xsi:type":"tt:AudioSourceConfiguration","token":"audiosource_token0"},"Name":"audiosource_name0","UseCount":"4","SourceToken":"audiosource_sourcetoken0"},"VideoEncoderConfiguration":{"$":{"xsi:type":"tt:VideoEncoderConfiguration","token":"videoencoder_token0"},"Name":"videoencoder_name0","UseCount":"1","Encoding":"H264","Resolution":{"$":{"xsi:type":"tt:VideoResolution"},"Width":"2304","Height":"1536"},"Quality":"3","RateControl":{"$":{"xsi:type":"tt:VideoRateControl"},"FrameRateLimit":"20","EncodingInterval":"1","BitrateLimit":"2048"},"H264":{"$":{"xsi:type":"tt:H264Configuration"},"GovLength":"40","H264Profile":"Baseline"},"Multicast":{"$":{"xsi:type":"tt:MulticastConfiguration"},"Address":{"$":{"xsi:type":"tt:IPAddress"},"Type":"IPv4","IPv4Address":"192.168.10.156"},"Port":"88","TTL":"10","AutoStart":"true"},"SessionTimeout":"PT0S"},"AudioEncoderConfiguration":{"$":{"xsi:type":"tt:AudioEncoderConfiguration","token":"audioencoder_token0"},"Name":"audioencoder_name0","UseCount":"1","Encoding":"G711","Bitrate":"16","SampleRate":"8000","Multicast":{"$":{"xsi:type":"tt:MulticastConfiguration"},"Address":{"$":{"xsi:type":"tt:IPAddress"},"Type":"IPv4","IPv4Address":"192.168.10.156"},"Port":"88","TTL":"0","AutoStart":"true"},"SessionTimeout":"PT0H0M0.030S"},"StreamUri":{"$":{"xsi:type":"tt:MediaUri"},"Uri":"rtsp://192.168.10.156:88/videoMain","InvalidAfterConnect":"false","InvalidAfterReboot":"false","Timeout":"PT0S"},"SnapshotUri":{"$":{"xsi:type":"tt:MediaUri"},"Uri":"http://192.168.10.156:88/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=password&cmd=snapPicture2","InvalidAfterConnect":"false","InvalidAfterReboot":"false","Timeout":"PT0H0M0.005S"}},{"$":{"xsi:type":"tt:Profile","fixed":"true","token":"prof1"},"Name":"prof1_name","VideoSourceConfiguration":{"$":{"xsi:type":"tt:VideoSourceConfiguration","token":"videosource_token0"},"Name":"videosource_name0","UseCount":"1","SourceToken":"videosource_sourcetoken0","Bounds":{"$":{"xmlns":"http://www.onvif.org/ver10/schema","height":"1536","width":"2304","y":"1","x":"1","xsi:type":"tt:IntRectangle"}}},"AudioSourceConfiguration":{"$":{"xsi:type":"tt:AudioSourceConfiguration","token":"audiosource_token0"},"Name":"audiosource_name0","UseCount":"4","SourceToken":"audiosource_sourcetoken0"},"VideoEncoderConfiguration":{"$":{"xsi:type":"tt:VideoEncoderConfiguration","token":"videoencoder_token1"},"Name":"videoencoder_name1","UseCount":"1","Encoding":"H264","Resolution":{"$":{"xsi:type":"tt:VideoResolution"},"Width":"1280","Height":"720"},"Quality":"3","RateControl":{"$":{"xsi:type":"tt:VideoRateControl"},"FrameRateLimit":"11","EncodingInterval":"1","BitrateLimit":"512"},"H264":{"$":{"xsi:type":"tt:H264Configuration"},"GovLength":"22","H264Profile":"Baseline"},"Multicast":{"$":{"xsi:type":"tt:MulticastConfiguration"},"Address":{"$":{"xsi:type":"tt:IPAddress"},"Type":"IPv4","IPv4Address":"192.168.10.156"},"Port":"88","TTL":"10","AutoStart":"true"},"SessionTimeout":"PT0S"},"AudioEncoderConfiguration":{"$":{"xsi:type":"tt:AudioEncoderConfiguration","token":"audioencoder_token0"},"Name":"audioencoder_name0","UseCount":"1","Encoding":"G711","Bitrate":"16","SampleRate":"8000","Multicast":{"$":{"xsi:type":"tt:MulticastConfiguration"},"Address":{"$":{"xsi:type":"tt:IPAddress"},"Type":"IPv4","IPv4Address":"192.168.10.156"},"Port":"88","TTL":"0","AutoStart":"true"},"SessionTimeout":"PT0H0M0.030S"},"StreamUri":{"$":{"xsi:type":"tt:MediaUri"},"Uri":"rtsp://192.168.10.156:88/videoSub","InvalidAfterConnect":"false","InvalidAfterReboot":"false","Timeout":"PT0S"},"SnapshotUri":{"$":{"xsi:type":"tt:MediaUri"},"Uri":"http://192.168.10.156:88/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=password&cmd=snapPicture2","InvalidAfterConnect":"false","InvalidAfterReboot":"false","Timeout":"PT0H0M0.005S"}}],"defaultProfile":{"$":{"xsi:type":"tt:Profile","fixed":"true","token":"prof0"},"Name":"prof0_name","VideoSourceConfiguration":{"$":{"xsi:type":"tt:VideoSourceConfiguration","token":"videosource_token0"},"Name":"videosource_name0","UseCount":"1","SourceToken":"videosource_sourcetoken0","Bounds":{"$":{"xmlns":"http://www.onvif.org/ver10/schema","height":"1536","width":"2304","y":"1","x":"1","xsi:type":"tt:IntRectangle"}}},"AudioSourceConfiguration":{"$":{"xsi:type":"tt:AudioSourceConfiguration","token":"audiosource_token0"},"Name":"audiosource_name0","UseCount":"4","SourceToken":"audiosource_sourcetoken0"},"VideoEncoderConfiguration":{"$":{"xsi:type":"tt:VideoEncoderConfiguration","token":"videoencoder_token0"},"Name":"videoencoder_name0","UseCount":"1","Encoding":"H264","Resolution":{"$":{"xsi:type":"tt:VideoResolution"},"Width":"2304","Height":"1536"},"Quality":"3","RateControl":{"$":{"xsi:type":"tt:VideoRateControl"},"FrameRateLimit":"20","EncodingInterval":"1","BitrateLimit":"2048"},"H264":{"$":{"xsi:type":"tt:H264Configuration"},"GovLength":"40","H264Profile":"Baseline"},"Multicast":{"$":{"xsi:type":"tt:MulticastConfiguration"},"Address":{"$":{"xsi:type":"tt:IPAddress"},"Type":"IPv4","IPv4Address":"192.168.10.156"},"Port":"88","TTL":"10","AutoStart":"true"},"SessionTimeout":"PT0S"},"AudioEncoderConfiguration":{"$":{"xsi:type":"tt:AudioEncoderConfiguration","token":"audioencoder_token0"},"Name":"audioencoder_name0","UseCount":"1","Encoding":"G711","Bitrate":"16","SampleRate":"8000","Multicast":{"$":{"xsi:type":"tt:MulticastConfiguration"},"Address":{"$":{"xsi:type":"tt:IPAddress"},"Type":"IPv4","IPv4Address":"192.168.10.156"},"Port":"88","TTL":"0","AutoStart":"true"},"SessionTimeout":"PT0H0M0.030S"},"StreamUri":{"$":{"xsi:type":"tt:MediaUri"},"Uri":"rtsp://192.168.10.156:88/videoMain","InvalidAfterConnect":"false","InvalidAfterReboot":"false","Timeout":"PT0S"},"SnapshotUri":{"$":{"xsi:type":"tt:MediaUri"},"Uri":"http://192.168.10.156:88/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=password&cmd=snapPicture2","InvalidAfterConnect":"false","InvalidAfterReboot":"false","Timeout":"PT0H0M0.005S"}}} 2020-02-20 17:29:12.967 - error: onvif.0 (1430) 192.168.10.156 get Event Properties:{"statusCode":401,"body":"\nhttp://www.w3.org/2005/08/addressing/anonymousSOAP-ENV:SenderHTTP Error: 401 Unauthorized\r\n","headers":{"www-authenticate":"Basic realm=\"gSOAP Web Service\"","server":"gSOAP","content-type":"application/soap+xml; charset=utf-8","content-length":"1824","connection":"close"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.10.156:888","port":"888","hostname":"192.168.10.156","hash":null,"search":null,"query":null,"pathname":"/","path":"/","href":"http://192.168.10.156:888/"},"method":"POST","headers":{"Content-Type":"application/soap+xml; charset=utf-8;","Content-Length":1523,"authorization":"Basic aXBjLWFkbWluOm1pSElkNjBrV3F0Nw==","referer":"http://192.168.10.156:888/"}}} 2020-02-20 17:29:12.974 - info: onvif.0 (1430) "get Audio outputs: {\"AudioOutputs\":{\"$\":{\"xsi:type\":\"tt:AudioOutput\",\"token\":\"audioOutput0\"}}}" 2020-02-20 17:29:13.052 - error: onvif.0 (1430) 192.168.10.156 get PTZ configurations: Status code: 500,
2020-02-20 17:29:13.995 - info: onvif.0 (1430) results: {"core":{"soap":{"username":"admin","password":"password","HTTP_TIMEOUT":3000},"timeDiff":-3602000,"serviceAddress":{"slashes":true,"protocol":"http:","hash":"","query":"","pathname":"/onvif/device_service","auth":"","host":"192.168.10.150:888","port":"888","hostname":"192.168.10.150","password":"","username":"","origin":"http://192.168.10.150:888","href":"http://192.168.10.150:888/onvif/device_service"},"username":"admin","password":"password","namespaceAttributes":["xmlns:tds=\"http://www.onvif.org/ver10/device/wsdl\""],"version":{"$":{"xsi:type":"tt:OnvifVersion"},"Major":"2","Minor":"21"}},"access":null,"accessrules":null,"action":null,"analytics":{"soap":{"username":"","password":"","HTTP_TIMEOUT":3000},"timeDiff":-3602000,"serviceAddress":{"slashes":true,"protocol":"http:","hash":"","query":"","pathname":"/onvif/device_service","auth":"","host":"192.168.10.150:888","port":"888","hostname":"192.168.10.150","password":"","username":"","origin":"http://192.168.10.150:888","href":"http://192.168.10.150:888/onvif/device_service"},"username":"admin","password":"password","namespaceAttributes":["xmlns:tns1=\"http://www.onvif.org/ver10/topics\"","xmlns:tan=\"http://www.onvif.org/ver10/analytics\"","xmlns:ttr=\"http://www.onvif.org/ver10/analytics/radiometry\""],"ruleSupport":true,"analyticsModuleSupport":true},"credential":null,"deviceio":null,"display":null,"door":null,"events":{"_events":{},"_eventsCount":0,"_maxListeners":100,"soap":{"username":"","password":"","HTTP_TIMEOUT":3000},"timeDiff":-3602000,"serviceAddress":{"slashes":true,"protocol":"http:","hash":"","query":"","pathname":"","auth":"","host":"192.168.10.150:888","port":"888","hostname":"192.168.10.150","password":"","username":"","origin":"http://192.168.10.150:888","href":"http://192.168.10.150:888"},"username":"admin","password":"password","namespaceAttributes":["xmlns:tev=\"http://www.onvif.org/ver10/events/wsdl\""],"intervalId":null},"imaging":{"soap":{"username":"","password":"","HTTP_TIMEOUT":3000},"timeDiff":-3602000,"serviceAddress":{"slashes":true,"protocol":"http:","hash":"","query":"","pathname":"/onvif/device_service","auth":"","host":"192.168.10.150:888","port":"888","hostname":"192.168.10.150","password":"","username":"","origin":"http://192.168.10.150:888","href":"http://192.168.10.150:888/onvif/device_service"},"username":"admin","password":"password","namespaceAttributes":["xmlns:tns1=\"http://www.onvif.org/ver10/topics\"","xmlns:timg=\"http://www.onvif.org/ver20/imaging/wsdl\""],"version":{"$":{"xsi:type":"tt:OnvifVersion"},"Major":"2","Minor":"21"}},"media":{"soap":{"username":"admin","password":"password","HTTP_TIMEOUT":3000},"timeDiff":-3602000,"serviceAddress":{"slashes":true,"protocol":"http:","hash":"","query":"","pathname":"/onvif/device_service","auth":"","host":"192.168.10.150:888","port":"888","hostname":"192.168.10.150","password":"","username":"","origin":"http://192.168.10.150:888","href":"http://192.168.10.150:888/onvif/device_service"},"username":"admin","password":"password","namespaceAttributes":["xmlns:trt=\"http://www.onvif.org/ver10/media/wsdl\""],"version":{"$":{"xsi:type":"tt:OnvifVersion"},"Major":"2","Minor":"21"}},"media2":null,"ptz":{"soap":{"username":"","password":"","HTTP_TIMEOUT":3000},"timeDiff":-3602000,"serviceAddress":{"slashes":true,"protocol":"http:","hash":"","query":"","pathname":"/onvif/device_service","auth":"","host":"192.168.10.150:888","port":"888","hostname":"192.168.10.150","password":"","username":"","origin":"http://192.168.10.150:888","href":"http://192.168.10.150:888/onvif/device_service"},"username":"admin","password":"password","defaultProfileToken":"prof0","namespaceAttributes":["xmlns:tptz=\"http://www.onvif.org/ver20/ptz/wsdl\""],"version":{"$":{"xsi:type":"tt:OnvifVersion"},"Major":"2","Minor":"21"}},"receiver":null,"recording":null,"replay":null,"schedule":null,"search":null,"security":null,"snapshot":null,"thermal":null,"videoanalytics":null,"rootPath":"http://192.168.10.150:888","serviceAddress":{"slashes":true,"protocol":"http:","hash":"","query":"","pathname":"/onvif/device_service","auth":"","host":"192.168.10.150:888","port":"888","hostname":"192.168.10.150","password":"","username":"","origin":"http://192.168.10.150:888","href":"http://192.168.10.150:888/onvif/device_service"},"timeDiff":-3602000,"address":"192.168.10.150","port":["888"],"username":"admin","password":"password","deviceInformation":{"Manufacturer":"FOSCAM","Model":"C2 V3","FirmwareVersion":"2.72.1.77","SerialNumber":"00626E945BB4","HardwareId":"1.11.1.13","Ptz":true,"VideoEncoder":true,"AudiooEncoder":true,"Hardware":"C2 V3","Name":"Foscam","Country":"china"},"profileList":[{"$":{"xsi:type":"tt:Profile","fixed":"true","token":"prof0"},"Name":"prof0_name","VideoSourceConfiguration":{"$":{"xsi:type":"tt:VideoSourceConfiguration","token":"videosource_token0"},"Name":"videosource_name0","UseCount":"1","SourceToken":"videosource_sourcetoken0","Bounds":{"$":{"xmlns":"http://www.onvif.org/ver10/schema","height":"1080","width":"1920","y":"1","x":"1","xsi:type":"tt:IntRectangle"}}},"VideoEncoderConfiguration":{"$":{"xsi:type":"tt:VideoEncoderConfiguration","token":"videoencoder_token0"},"Name":"videoencoder_name0","UseCount":"1","Encoding":"H264","Resolution":{"$":{"xsi:type":"tt:VideoResolution"},"Width":"1920","Height":"1080"},"Quality":"3","RateControl":{"$":{"xsi:type":"tt:VideoRateControl"},"FrameRateLimit":"25","EncodingInterval":"1","BitrateLimit":"4096"},"H264":{"$":{"xsi:type":"tt:H264Configuration"},"GovLength":"30","H264Profile":"Baseline"},"Multicast":{"$":{"xsi:type":"tt:MulticastConfiguration"},"Address":{"$":{"xsi:type":"tt:IPAddress"},"Type":"IPv4","IPv4Address":"192.168.10.150"},"Port":"88","TTL":"10","AutoStart":"true"},"SessionTimeout":"PT0S"},"PTZConfiguration":{"$":{"xsi:type":"tt:PTZConfiguration","token":"ptzconf0"},"Name":"ptzname0","UseCount":"0","NodeToken":"ptz0","DefaultAbsolutePantTiltPositionSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","DefaultAbsoluteZoomPositionSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","DefaultRelativePanTiltTranslationSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace","DefaultRelativeZoomTranslationSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace","DefaultContinuousPanTiltVelocitySpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace","DefaultContinuousZoomVelocitySpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace","DefaultPTZSpeed":{"$":{"xsi:type":"tt:PTZSpeed"},"PanTilt":{"$":{"xmlns":"http://www.onvif.org/ver10/schema","space":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace","y":"0","x":"0","xsi:type":"tt:Vector2D"}},"Zoom":{"$":{"xmlns":"http://www.onvif.org/ver10/schema","space":"http://www.onvif.org/ver10/tptz/ZoomSpaces/GenericSpeedSpace","x":"0","xsi:type":"tt:Vector1D"}}},"DefaultPTZTimeout":"PT0H0M5S"},"StreamUri":{"$":{"xsi:type":"tt:MediaUri"},"Uri":"rtsp://192.168.10.150:88/videoMain","InvalidAfterConnect":"false","InvalidAfterReboot":"false","Timeout":"PT0S"},"SnapshotUri":{"$":{"xsi:type":"tt:MediaUri"},"Uri":"http://192.168.10.150:88/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=password&cmd=snapPicture2","InvalidAfterConnect":"false","InvalidAfterReboot":"false","Timeout":"PT0H0M0.005S"}},{"$":{"xsi:type":"tt:Profile","fixed":"true","token":"prof1"},"Name":"prof1_name","VideoSourceConfiguration":{"$":{"xsi:type":"tt:VideoSourceConfiguration","token":"videosource_token0"},"Name":"videosource_name0","UseCount":"1","SourceToken":"videosource_sourcetoken0","Bounds":{"$":{"xmlns":"http://www.onvif.org/ver10/schema","height":"1080","width":"1920","y":"1","x":"1","xsi:type":"tt:IntRectangle"}}},"VideoEncoderConfiguration":{"$":{"xsi:type":"tt:VideoEncoderConfiguration","token":"videoencoder_token1"},"Name":"videoencoder_name1","UseCount":"1","Encoding":"H264","Resolution":{"$":{"xsi:type":"tt:VideoResolution"},"Width":"1280","Height":"720"},"Quality":"3","RateControl":{"$":{"xsi:type":"tt:VideoRateControl"},"FrameRateLimit":"11","EncodingInterval":"1","BitrateLimit":"512"},"H264":{"$":{"xsi:type":"tt:H264Configuration"},"GovLength":"15","H264Profile":"Baseline"},"Multicast":{"$":{"xsi:type":"tt:MulticastConfiguration"},"Address":{"$":{"xsi:type":"tt:IPAddress"},"Type":"IPv4","IPv4Address":"192.168.10.150"},"Port":"88","TTL":"10","AutoStart":"true"},"SessionTimeout":"PT0S"},"PTZConfiguration":{"$":{"xsi:type":"tt:PTZConfiguration","token":"ptzconf0"},"Name":"ptzname0","UseCount":"0","NodeToken":"ptz0","DefaultAbsolutePantTiltPositionSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","DefaultAbsoluteZoomPositionSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","DefaultRelativePanTiltTranslationSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace","DefaultRelativeZoomTranslationSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace","DefaultContinuousPanTiltVelocitySpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace","DefaultContinuousZoomVelocitySpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace","DefaultPTZSpeed":{"$":{"xsi:type":"tt:PTZSpeed"},"PanTilt":{"$":{"xmlns":"http://www.onvif.org/ver10/schema","space":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace","y":"0","x":"0","xsi:type":"tt:Vector2D"}},"Zoom":{"$":{"xmlns":"http://www.onvif.org/ver10/schema","space":"http://www.onvif.org/ver10/tptz/ZoomSpaces/GenericSpeedSpace","x":"0","xsi:type":"tt:Vector1D"}}},"DefaultPTZTimeout":"PT0H0M5S"},"StreamUri":{"$":{"xsi:type":"tt:MediaUri"},"Uri":"rtsp://192.168.10.150:88/videoSub","InvalidAfterConnect":"false","InvalidAfterReboot":"false","Timeout":"PT0S"},"SnapshotUri":{"$":{"xsi:type":"tt:MediaUri"},"Uri":"http://192.168.10.150:88/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=password&cmd=snapPicture2","InvalidAfterConnect":"false","InvalidAfterReboot":"false","Timeout":"PT0H0M0.005S"}}],"defaultProfile":{"$":{"xsi:type":"tt:Profile","fixed":"true","token":"prof0"},"Name":"prof0_name","VideoSourceConfiguration":{"$":{"xsi:type":"tt:VideoSourceConfiguration","token":"videosource_token0"},"Name":"videosource_name0","UseCount":"1","SourceToken":"videosource_sourcetoken0","Bounds":{"$":{"xmlns":"http://www.onvif.org/ver10/schema","height":"1080","width":"1920","y":"1","x":"1","xsi:type":"tt:IntRectangle"}}},"VideoEncoderConfiguration":{"$":{"xsi:type":"tt:VideoEncoderConfiguration","token":"videoencoder_token0"},"Name":"videoencoder_name0","UseCount":"1","Encoding":"H264","Resolution":{"$":{"xsi:type":"tt:VideoResolution"},"Width":"1920","Height":"1080"},"Quality":"3","RateControl":{"$":{"xsi:type":"tt:VideoRateControl"},"FrameRateLimit":"25","EncodingInterval":"1","BitrateLimit":"4096"},"H264":{"$":{"xsi:type":"tt:H264Configuration"},"GovLength":"30","H264Profile":"Baseline"},"Multicast":{"$":{"xsi:type":"tt:MulticastConfiguration"},"Address":{"$":{"xsi:type":"tt:IPAddress"},"Type":"IPv4","IPv4Address":"192.168.10.150"},"Port":"88","TTL":"10","AutoStart":"true"},"SessionTimeout":"PT0S"},"PTZConfiguration":{"$":{"xsi:type":"tt:PTZConfiguration","token":"ptzconf0"},"Name":"ptzname0","UseCount":"0","NodeToken":"ptz0","DefaultAbsolutePantTiltPositionSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","DefaultAbsoluteZoomPositionSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","DefaultRelativePanTiltTranslationSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace","DefaultRelativeZoomTranslationSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace","DefaultContinuousPanTiltVelocitySpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace","DefaultContinuousZoomVelocitySpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace","DefaultPTZSpeed":{"$":{"xsi:type":"tt:PTZSpeed"},"PanTilt":{"$":{"xmlns":"http://www.onvif.org/ver10/schema","space":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace","y":"0","x":"0","xsi:type":"tt:Vector2D"}},"Zoom":{"$":{"xmlns":"http://www.onvif.org/ver10/schema","space":"http://www.onvif.org/ver10/tptz/ZoomSpaces/GenericSpeedSpace","x":"0","xsi:type":"tt:Vector1D"}}},"DefaultPTZTimeout":"PT0H0M5S"},"StreamUri":{"$":{"xsi:type":"tt:MediaUri"},"Uri":"rtsp://192.168.10.150:88/videoMain","InvalidAfterConnect":"false","InvalidAfterReboot":"false","Timeout":"PT0S"},"SnapshotUri":{"$":{"xsi:type":"tt:MediaUri"},"Uri":"http://192.168.10.150:88/cgi-bin/CGIProxy.fcgi?usr=admin&pwd=password&cmd=snapPicture2","InvalidAfterConnect":"false","InvalidAfterReboot":"false","Timeout":"PT0H0M0.005S"}}} 2020-02-20 17:29:14.025 - info: onvif.0 (1430) "get Audio outputs: {\"AudioOutputs\":{\"$\":{\"xsi:type\":\"tt:AudioOutput\",\"token\":\"audioOutput0\"}}}" 2020-02-20 17:29:14.059 - error: onvif.0 (1430) 192.168.10.150 get Event Properties:{"statusCode":401,"body":"\nhttp://www.w3.org/2005/08/addressing/anonymousSOAP-ENV:SenderHTTP Error: 401 Unauthorized\r\n","headers":{"www-authenticate":"Basic realm=\"gSOAP Web Service\"","server":"gSOAP","content-type":"application/soap+xml; charset=utf-8","content-length":"1824","connection":"close"},"request":{"uri":{"protocol":"http:","slashes":true,"auth":null,"host":"192.168.10.150:888","port":"888","hostname":"192.168.10.150","hash":null,"search":null,"query":null,"pathname":"/","path":"/","href":"http://192.168.10.150:888/"},"method":"POST","headers":{"Content-Type":"application/soap+xml; charset=utf-8;","Content-Length":1523,"authorization":"Basic aXBjLWFkbWluOm1pSElkNjBrV3F0Nw==","referer":"http://192.168.10.150:888/"}}} 2020-02-20 17:29:14.067 - info: onvif.0 (1430) 192.168.10.150 get PTZ configurations: {"PTZConfiguration":{"$":{"xsi:type":"tt:PTZConfiguration","token":"ptzconf0"},"Name":"ptzconf0","UseCount":"1","NodeToken":"ptzconf0","DefaultAbsolutePantTiltPositionSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","DefaultAbsoluteZoomPositionSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","DefaultRelativePanTiltTranslationSpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/TranslationGenericSpace","DefaultRelativeZoomTranslationSpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/TranslationGenericSpace","DefaultContinuousPanTiltVelocitySpace":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/VelocityGenericSpace","DefaultContinuousZoomVelocitySpace":"http://www.onvif.org/ver10/tptz/ZoomSpaces/VelocityGenericSpace","DefaultPTZSpeed":{"$":{"xsi:type":"tt:PTZSpeed"},"PanTilt":{"$":{"xmlns":"http://www.onvif.org/ver10/schema","space":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/GenericSpeedSpace","y":"1","x":"1","xsi:type":"tt:Vector2D"}},"Zoom":{"$":{"xmlns":"http://www.onvif.org/ver10/schema","space":"http://www.onvif.org/ver10/tptz/ZoomSpaces/GenericSpeedSpace","x":"1","xsi:type":"tt:Vector1D"}}},"DefaultPTZTimeout":"PT0H0M0.020S","PanTiltLimits":{"$":{"xsi:type":"tt:PanTiltLimits"},"Range":{"$":{"xsi:type":"tt:Space2DDescription"},"URI":"http://www.onvif.org/ver10/tptz/PanTiltSpaces/PositionGenericSpace","XRange":{"$":{"xsi:type":"tt:FloatRange"},"Min":"-1","Max":"1"},"YRange":{"$":{"xsi:type":"tt:FloatRange"},"Min":"-1","Max":"1"}}},"ZoomLimits":{"$":{"xsi:type":"tt:ZoomLimits"},"Range":{"$":{"xsi:type":"tt:Space1DDescription"},"URI":"http://www.onvif.org/ver10/tptz/ZoomSpaces/PositionGenericSpace","XRange":{"$":{"xsi:type":"tt:FloatRange"},"Min":"-1","Max":"1"}}}}}
-
Könntest du die Ausgaben in <> Code Tags setzten !!
-
Danke für den Adapter
Meine Cams sind alle erkannt worden .
Wie funktioniert das mit den Kamera Positionen ? Wie kann ich die in dem Adapter anfahren ? -
??? die Datenpunkte sind doch selbsterklärend !!!??
Wenn du schon Positionen angelegt hast , dann kannst du über Present im Datenpunkt Sie anfahren .
-
Ok , hat noch nicht geklappt . Muss ich nochmal gucken
-
Hallo zusammen
Ich habe noch mal getestet leider ohne erfolg , der Adapter bekommet im log diese Meldung PTZ update preset: undefined.
Im App und im Setup von der Kamera klappt alles
Kamera ist eine HVIEW ptz500
-
@chucky666 sagte in Test Adapter onvif v0.1.x:
PTZ update preset: undefined.
Das ist aber eine INFO Log Meldung ... die kann mal kommen , war bei mir auch .
Zeige mal dein Datenpunkt wo du schaltest .
Present 1 auch in der Kamera hinterlegt !?
-
hab den adapter jetzt sicher schon zehn mal installiert bzw. neu gestartet, meine kamera wird aber nicht gefunden. mit dem "alten" onvif adapter wird die kamera gleich gefunden. dabei wird mir aber nur ein screenshot angezeigt.
-
-
@johni sagte in Test Adapter onvif v0.1.x:
meine kamera wird aber nicht gefunden. mit dem "alten" onvif adapter wird die kamera gleich gefunden
Ja manche Kameras findet der Adapter nicht, den Grund dafür konnte ich nicht finden. Das Modul welches die Basis bildet verwendet exakt die gleiche Methode zur suche der Kamera wie es auch der alte Adapter und andere Module machen, dennoch findet er nicht alle Kameras.
-
@Glasfaser sagte in Test Adapter onvif v0.1.x:
@chucky666 sagte in Test Adapter onvif v0.1.x:
PTZ update preset: undefined.
Das ist aber eine INFO Log Meldung ... die kann mal kommen , war bei mir auch .
Zeige mal dein Datenpunkt wo du schaltest .
Present 1 auch in der Kamera hinterlegt !?
So sieht das bei mir aus
![Bild Text](Bild Link)
-
Wo sind den die anderen Presents , hast du Sie gelöscht ?
Welche Meldung kommt im LOG wenn du den Button betätigst
-
Ich bekomme den Adapter leider nicht installiert.... wo liegt mein Problem?
-
@HoffmannOs
Eigenlich keine Fehlermeldung "Exit Code 0"
Müsste installiert sein !Du mußt natürlich noch die Instanz installieren .
-
Bei mir wird keine Kamera hinzugefügt!
Add Camera und nach eingabe der Kameradaten auf AddCamera. Nix zu sehen in der Tabelle! Kein Eintrag! -
@Jey-Cee sagte in Test Adapter onvif v0.1.x:
Ja manche Kameras findet der Adapter nicht, den Grund dafür konnte ich nicht finden. Das Modul welches die Basis bildet verwendet exakt die gleiche Methode zur suche der Kamera wie es auch der alte Adapter und andere Module machen, dennoch findet er nicht alle Kameras.
Zitat siehe oben !
- Welche Kamera hast du
- ONVIF freigegeben
- Sonst noch Sicherheitseinstellungen vorhanden CGI
- Welche Meldungen hast du im LOG
- Welche Kamera hast du
-
@MarEhg sagte in Test Adapter onvif v0.1.x:
Add Camera und nach eingabe der Kameradaten auf AddCamera.
Ist nicht funktional, deshalb geht da nichts.
-
LOG:
Mit diesem Script werden Kameras gefunden:
/// ONVIF Ausgabe ioBroker 01.01.2020 Glasfaser const onvif = require('node-onvif');// console.log('Start the discovery process.'); // Find the ONVIF network cameras. // It will take about 3 seconds. onvif.startProbe().then((device_info_list) => { console.log(device_info_list.length + ' devices were found.'); // Show the device name and the URL of the end point. device_info_list.forEach((info) => { console.log('- ' + info.urn); console.log(' - ' + info.name); console.log(' - ' + info.xaddrs[0]); }); }).catch((error) => { console.error(error); });
-
@MarEhg sagte in Test Adapter onvif v0.1.x:
LOG:
Mit diesem Script werden Kameras gefunden:
/// ONVIF Ausgabe ioBroker 01.01.2020 Glasfaser const onvif = require('node-onvif');// console.log('Start the discovery process.'); // Find the ONVIF network cameras. // It will take about 3 seconds. onvif.startProbe().then((device_info_list) => { console.log(device_info_list.length + ' devices were found.'); // Show the device name and the URL of the end point. device_info_list.forEach((info) => { console.log('- ' + info.urn); console.log(' - ' + info.name); console.log(' - ' + info.xaddrs[0]); }); }).catch((error) => { console.error(error); });
Hat jeman eine Ahnung warum bei mir mit dem Script die Kameras gefunden werden, mit dem Adapter allerdings nicht?