Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter onvif-alt v0.1.x

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Test Adapter onvif-alt v0.1.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      RandyAndy @Nashra last edited by RandyAndy

      @Nashra
      die Hikvision-Kameras habe zwar sowas wie ein CGI (die nennen hes HIKCGI) aber die Beschreibung ist ein großes Geheimnis, leider. Und leider geht es so nicht, aber Danke ein Verscuch war es wert

      Andreas

      Nashra 1 Reply Last reply Reply Quote 0
      • R
        RandyAndy @Glasfaser last edited by

        @Glasfaser

        nee so geht es nicht.
        Ich habe mir vor einiger Zeit folgendes Skript zusammengebastelt und prinzipiell funktioniert das auch. Allerdings möchte ich ungerne in eine Datei schreiben, da macht dann vermutlich die SD-Karte schnell einen Abflug

        const onvif = require('node-onvif');
        const fs = require('fs');

        // Create an OnvifDevice object
        let device = new onvif.OnvifDevice({
        xaddr: 'http://192.168.178.xxx/onvif/device_service',
        user : 'xxx',
        pass : 'yyy'
        });

        // Initialize the OnvifDevice object
        device.init().then(() => {
        // Get the data of the snapshot
        console.log('fetching the data of the snapshot...');
        return device.fetchSnapshot();
        }).then((res) => {
        // Save the data to a file
        fs.writeFileSync('/home/pi/snapshot.jpg', res.body, {encoding: 'binary'});
        console.log('Done!');
        device = null;
        }).catch((error) => {
        console.error(error);
        });

        Das Bild wurde auch erzeugt, man müsste es aber in ein Objekt schreiben. Wäre das ein Ansatz ?

        Andreas

        1 Reply Last reply Reply Quote 0
        • Nashra
          Nashra Most Active Forum Testing @RandyAndy last edited by Nashra

          @RandyAndy sagte in Test Adapter onvif v0.1.x:

          @Nashra
          di Hikvision cameras habe zwar sowas wie ein CGI aber die Beschreibung ist ein großes Geheimnis, leider. Und leider geht es so nicht, aber Danke ein Verscuh war es wert

          Andreas

          Ist CGI bei dir auch aktiviert?
          Habe gerade was via Google gefunden
          Link Text
          und der Aufruf

          http(s)://USER:PASSWORD@IP:PORT/Streaming/channels/1/picture?snapShotImageType=JPEG
          
          R 1 Reply Last reply Reply Quote 0
          • R
            RandyAndy @Nashra last edited by

            @Nashra

            es ist aktiviert

            Andreas

            1 Reply Last reply Reply Quote 0
            • A
              Alexxx2005 last edited by Alexxx2005

              @Glasfaser

              danke für den Tip zum Adapter ich habe alles nach Anleitung gemacht sogar 1 Min
              gewartet und auch mal eine IP und Port eingetragen aber es wird nichts gefunden

              Der Log meint :

              onvif.0
              2020-01-17 08:47:31.547
              info
              (11816) devices for connection: [] 
              onvif.0
              2020-01-17 08:47:31.492
              info
              (11816) connecting 
              onvif.0
              2020-01-17 08:47:31.444
              info
              (11816) starting. Version 0.1.2 in C:/Program Files/iobroker/SmartHome/node_modules/iobroker.onvif, node: v10.17.0 
              

              ich denke in dem Fall ist meine Kamera zu China mäßig und hat halt Snapshot 🤷‍♂️

              Im Objekte Verzeichniss steht beim Onvif nur : Discover mehr nicht

              Grüße Alex

              Jey Cee 1 Reply Last reply Reply Quote 0
              • Jey Cee
                Jey Cee Developer @Alexxx2005 last edited by

                @Alexxx2005 sagte in Test Adapter onvif v0.1.x:

                Im Objekte Verzeichniss steht beim Onvif nur : Discover mehr nicht

                Drück mal drauf. Dann sucht er Kameras.

                Glasfaser 1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @Jey Cee last edited by

                  @Alexxx2005

                  Hast du es nochmal gemacht .... Discover gedrückt !?

                  Also laut Test-Skript Ausgabe die du durchgeführt hast , muss auch der Adapter die Kamera finden .

                  Hier deine Ausgabe :

                  (9808) script.js.common.Onvif_testen: - http://192.168.86.34:8080/onvif/device_service 
                  
                  1 Reply Last reply Reply Quote 0
                  • Dr. Bakterius
                    Dr. Bakterius Most Active last edited by Dr. Bakterius

                    @Jey-Cee:

                    Ich wollte es noch einmal versuchen und habe die aktuelle Version mit dem GitHub-Link installiert. Anschließend ein Upload und dann eine Instanz erstellt. Nach dem Aktivieren der Instanz gewartet - nichts gefunden. Als ich die Einstellungen geöffnet hatte, habe ich mich gefreut weil man jetzt auch manuell eine Cam hinzufügen kann. Also IP, Port, User und Pass eingegeben und auf 'Add Camera' geklickt. Leider ist wieder nichts passiert - und auch keine Kamera bei den Datenpunkten. 😞

                    Wenn ich erneut auf 'Add Camera' gehe, sind noch alle Daten außer der IP eingetragen. Bei allen drei meiner Foscam das selbe Dilemma...

                    Jey Cee 1 Reply Last reply Reply Quote 0
                    • Jey Cee
                      Jey Cee Developer @Dr. Bakterius last edited by

                      @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.

                      1 Reply Last reply Reply Quote 0
                      • S
                        steimi last edited by steimi

                        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"}}}}}
                        
                        
                        Glasfaser 1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @steimi last edited by

                          @steimi

                          Könntest du die Ausgaben in <> Code Tags setzten !!

                          1 Reply Last reply Reply Quote 0
                          • chucky666
                            chucky666 last edited by

                            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 ?

                            Glasfaser 1 Reply Last reply Reply Quote 0
                            • Glasfaser
                              Glasfaser @chucky666 last edited by

                              @chucky666

                              ??? die Datenpunkte sind doch selbsterklärend !!!??

                              Wenn du schon Positionen angelegt hast , dann kannst du über Present im Datenpunkt Sie anfahren .

                              1 Reply Last reply Reply Quote 0
                              • chucky666
                                chucky666 last edited by

                                Ok , hat noch nicht geklappt . Muss ich nochmal gucken

                                1 Reply Last reply Reply Quote 0
                                • chucky666
                                  chucky666 last edited by

                                  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

                                  Glasfaser 1 Reply Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @chucky666 last edited by

                                    @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 !?

                                    chucky666 1 Reply Last reply Reply Quote 0
                                    • J
                                      johni last edited by

                                      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.

                                      Glasfaser 1 Reply Last reply Reply Quote 0
                                      • Glasfaser
                                        Glasfaser @johni last edited by

                                        @johni

                                        • Welche Kamera hast du
                                        • ONVIF freigegeben
                                        • Sonst noch Sicherheitseinstellungen vorhanden CGI
                                        • Welche Meldungen hast du im LOG

                                        Teste sonst mit meinem Skript Link Text

                                        1 Reply Last reply Reply Quote 0
                                        • Jey Cee
                                          Jey Cee Developer last edited by

                                          @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 Jey Cee 2 Replies Last reply Reply Quote 0
                                          • chucky666
                                            chucky666 @Glasfaser last edited by

                                            @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
                                            41EA84A2-5003-4A17-8B9D-1B58ED3A8C93.jpeg

                                            ![Bild Text](Bild Link)

                                            Glasfaser 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            937
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            onvif
                                            33
                                            271
                                            30474
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo