Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter onvif camera v1.x.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 camera v1.x.x

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tombox @JB_Sullivan last edited by

      @jb_sullivan Welch node version ist da installiert

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

        14.16.0 - liegt vermutlich daran - oder?

        T 1 Reply Last reply Reply Quote 0
        • T
          tombox @JB_Sullivan last edited by

          @jb_sullivan ja es ist 14.17 aber installier nochmal ich habe mal eine lib downgrade gemacht ob es jetzt geht

          JB_Sullivan 1 Reply Last reply Reply Quote 0
          • JB_Sullivan
            JB_Sullivan @tombox last edited by JB_Sullivan

            @tombox Wird gemacht

            EDIT: Ich weiß nicht ob ich die Änderung schon erwischt habe, aber auch mit der aktuellen Version geht es noch nicht.


            host.GLT(GLT)
            2023-02-18 21:23:35.680 info iobroker npm-rebuild: > canvas@2.7.0 install C:\iobroker\GLT\node_modules\canvas > node-pre-gyp install --fallback-to-build
            host.GLT(GLT)
            2023-02-18 21:23:35.679 info iobroker npm-rebuild:
            host.GLT(GLT)
            2023-02-18 21:23:19.841 info iobroker npm-rebuild: Rebuilding native modules ...
            host.GLT(GLT)
            2023-02-18 21:23:17.414 info iobroker rebuild
            host.GLT(GLT)
            2023-02-18 21:23:17.414 warn adapter "onvif" seems to be installed for a different version of Node.js. Trying to rebuild it... 2 attempt
            host.GLT(GLT)
            2023-02-18 21:23:17.414 info system.adapter.onvif.0 will be rebuilt
            host.GLT(GLT)
            2023-02-18 21:23:17.414 info Adapter system.adapter.onvif.0 needs rebuild and will be restarted afterwards.
            host.GLT(GLT)
            2023-02-18 21:23:17.414 error instance system.adapter.onvif.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
            host.GLT(GLT)
            2023-02-18 21:23:17.414 error Caught by controller[0]: }
            host.GLT(GLT)
            2023-02-18 21:23:17.414 error Caught by controller[0]: ]
            host.GLT(GLT)
            2023-02-18 21:23:17.414 error Caught by controller[0]: 'C:\iobroker\GLT\node_modules\iobroker.onvif\main.js'
            host.GLT(GLT)
            2023-02-18 21:23:17.414 error Caught by controller[0]: 'C:\iobroker\GLT\node_modules\urllib\src\cjs\index.js',
            host.GLT(GLT)
            2023-02-18 21:23:17.414 error Caught by controller[0]: 'C:\iobroker\GLT\node_modules\urllib\src\cjs\HttpClient.js',
            host.GLT(GLT)
            2023-02-18 21:23:17.414 error Caught by controller[0]: 'C:\iobroker\GLT\node_modules\urllib\src\cjs\diagnosticsChannel.js',
            host.GLT(GLT)
            2023-02-18 21:23:17.413 error Caught by controller[0]: requireStack: [
            host.GLT(GLT)
            2023-02-18 21:23:17.413 error Caught by controller[0]: code: 'MODULE_NOT_FOUND',
            host.GLT(GLT)
            2023-02-18 21:23:17.413 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:952:19) {
            host.GLT(GLT)
            2023-02-18 21:23:17.413 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:769:14)
            host.GLT(GLT)
            2023-02-18 21:23:17.413 error Caught by controller[0]: at Module.load (internal/modules/cjs/loader.js:928:32)
            host.GLT(GLT)
            2023-02-18 21:23:17.413 error Caught by controller[0]: at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
            host.GLT(GLT)
            2023-02-18 21:23:17.413 error Caught by controller[0]: at Module._compile (internal/modules/cjs/loader.js:1063:30)
            host.GLT(GLT)
            2023-02-18 21:23:17.413 error Caught by controller[0]: at Object.<anonymous> (C:\iobroker\GLT\node_modules\urllib\src\cjs\diagnosticsChannel.js:7:47)
            host.GLT(GLT)
            2023-02-18 21:23:17.413 error Caught by controller[0]: at require (internal/modules/cjs/helpers.js:88:18)
            host.GLT(GLT)
            2023-02-18 21:23:17.413 error Caught by controller[0]: at Module.require (internal/modules/cjs/loader.js:952:19)
            host.GLT(GLT)
            2023-02-18 21:23:17.413 error Caught by controller[0]: at Function.Module._load (internal/modules/cjs/loader.js:725:27)
            host.GLT(GLT)
            2023-02-18 21:23:17.413 error Caught by controller[0]: at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
            host.GLT(GLT)
            2023-02-18 21:23:17.413 error Caught by controller[0]: - C:\iobroker\GLT\node_modules\iobroker.onvif\main.js
            host.GLT(GLT)
            2023-02-18 21:23:17.413 error Caught by controller[0]: - C:\iobroker\GLT\node_modules\urllib\src\cjs\index.js
            host.GLT(GLT)
            2023-02-18 21:23:17.412 error Caught by controller[0]: - C:\iobroker\GLT\node_modules\urllib\src\cjs\HttpClient.js
            host.GLT(GLT)
            2023-02-18 21:23:17.412 error Caught by controller[0]: - C:\iobroker\GLT\node_modules\urllib\src\cjs\diagnosticsChannel.js
            host.GLT(GLT)
            2023-02-18 21:23:17.412 error Caught by controller[0]: Require stack:
            host.GLT(GLT)
            2023-02-18 21:23:17.412 error Caught by controller[0]: Error: Cannot find module 'diagnostics_channel'
            host.GLT(GLT)
            2023-02-18 21:23:17.412 error Caught by controller[0]:
            host.GLT(GLT)
            2023-02-18 21:23:17.412 error Caught by controller[0]: ^
            host.GLT(GLT)
            2023-02-18 21:23:17.412 error Caught by controller[0]: throw err;
            host.GLT(GLT)
            2023-02-18 21:23:17.412 error Caught by controller[0]: internal/modules/cjs/loader.js:883
            host.GLT(GLT)
            2023-02-18 21:23:15.834 info instance system.adapter.onvif.0 started with pid 4868
            host.GLT(GLT)
            2023-02-18 21:23:15.638 info iobroker npm-rebuild: exit 1
            host.GLT(GLT)
            2023-02-18 21:23:14.622 error iobroker npm-rebuild: Rebuilding native modules failed

            T 1 Reply Last reply Reply Quote 0
            • T
              tombox @JB_Sullivan last edited by

              @jb_sullivan Sorry jetzt nochmal

              JB_Sullivan 1 Reply Last reply Reply Quote 0
              • JB_Sullivan
                JB_Sullivan @tombox last edited by

                @tombox Installation funktioniert jetzt ohne Fehler, aber es werden weder automatisch noch manuell Kameras (sind 6 Stück und ONVIF tauglich) gefunden und das obwohl ich sowohl IP als auch Port mäßig direkt "mit der Nase" darauf gestoßen haben.

                
                onvif.0
                8496	2023-02-18 21:28:40.820	info	Finished onvif discovery
                
                onvif.0
                8496	2023-02-18 21:28:35.813	info	Start onvif discovery
                
                onvif.0
                8496	2023-02-18 21:28:35.750	info	Done with cleaning
                
                onvif.0
                8496	2023-02-18 21:28:35.618	info	Clean old version devices
                
                onvif.0
                8496	2023-02-18 21:28:35.570	info	starting. Version 1.0.0 (non-npm: iobroker-community-adapters/ioBroker.onvif#bc7fea2c45037c4557f2e8ec88b760f393cc5378) in C:/iobroker/GLT/node_modules/iobroker.onvif, node: v14.16.0, js-controller: 4.0.24
                
                
                T 1 Reply Last reply Reply Quote 0
                • T
                  tombox @JB_Sullivan last edited by

                  @jb_sullivan Wie sieht der log bei manual search aus.. gerne per pn da dort Passwörter enthalten sind

                  JB_Sullivan 1 Reply Last reply Reply Quote 0
                  • JB_Sullivan
                    JB_Sullivan @tombox last edited by

                    @tombox Kann ich hier auch öffentlich posten. Da passiert nichts mit Passwörtern. Er startet und finished sofort ohne weitere Aktionen.

                    So sieht es in der Kamera aus, IP Benutzername und PW sind im Adapter natürlich richtig eingetragen - an der Stelle gleich ein Verbesserungsvorschlag. Ich habe mehrere Kameras mit unterschiedlichen Passwörtern. Entweder man muss zukünftig mehrere Instanzen anlegen, oder es gibt vielleicht zukünftig die Möglichkeit in den Instanz Einstellungen nach mehreren unterschiedlichen Benutzernamen/PW Kombinationen und Kameras zu suchen.

                    58fc9e9f-2c58-41ee-86ea-f2de5b802c63-image.png

                    
                    onvif.0
                    4456	2023-02-18 21:46:35.614	info	Finished onvif discovery
                    
                    onvif.0
                    4456	2023-02-18 21:46:30.608	info	Start onvif discovery
                    
                    onvif.0
                    4456	2023-02-18 21:46:30.490	info	starting. Version 1.0.0 (non-npm: iobroker-community-adapters/ioBroker.onvif#bc7fea2c45037c4557f2e8ec88b760f393cc5378) in C:/iobroker/GLT/node_modules/iobroker.onvif, node: v14.16.0, js-controller: 4.0.24
                    
                    onvif.0
                    4456	2023-02-18 21:46:30.004	debug	Plugin sentry Initialize Plugin (enabled=true)
                    
                    onvif.0
                    4456	2023-02-18 21:46:29.576	debug	States connected to redis: 127.0.0.1:9000
                    
                    onvif.0
                    4456	2023-02-18 21:46:29.459	debug	States create User PubSub Client
                    
                    onvif.0
                    4456	2023-02-18 21:46:29.458	debug	States create System PubSub Client
                    
                    onvif.0
                    4456	2023-02-18 21:46:29.396	debug	Redis States: Use Redis connection: 127.0.0.1:9000
                    
                    onvif.0
                    4456	2023-02-18 21:46:29.316	debug	Objects connected to redis: 127.0.0.1:9001
                    
                    onvif.0
                    4456	2023-02-18 21:46:29.285	debug	Objects client initialize lua scripts
                    
                    onvif.0
                    4456	2023-02-18 21:46:29.114	debug	Objects create User PubSub Client
                    
                    onvif.0
                    4456	2023-02-18 21:46:29.113	debug	Objects create System PubSub Client
                    
                    onvif.0
                    4456	2023-02-18 21:46:29.092	debug	Objects client ready ... initialize now
                    
                    onvif.0
                    4456	2023-02-18 21:46:28.946	debug	Redis Objects: Use Redis connection: 127.0.0.1:9001
                    
                    T 1 Reply Last reply Reply Quote 0
                    • T
                      tombox @JB_Sullivan last edited by

                      @jb_sullivan Das Passwort ist nur für den Suchvorgang relevant und muss nicht für alle Kameras stimmen.
                      Ich sehe im Log nicht das du auf den Button "Manuel Kamera suchen" drückst

                      JB_Sullivan 1 Reply Last reply Reply Quote 0
                      • JB_Sullivan
                        JB_Sullivan @tombox last edited by

                        @tombox sagte in Test Adapter onvif camera v1.0.0:

                        Ich sehe im Log nicht das du auf den Button "Manuel Kamera suchen" drückst

                        Drücke ich aber - der Button wird dann von blau zu grau und bleibt auch so lange grau bis ich das Fenster verlasse (getestete Wartezeit 15 min.)

                        Wenn ich bei manueller Suche die richtige IP und den richtigen Port eingebe, müsste es ja eigentlich relativ schnell einen Treffer geben - oder? Um dieses zu überprüfen gehe ich dann aus dem Instanz Fenster in das LOG Fenster - und da bekomme ich dann den LOG von oben.

                        T 1 Reply Last reply Reply Quote 0
                        • T
                          tombox @JB_Sullivan last edited by

                          @jb_sullivan
                          Es müsste im Log nach dem drücken des Buttons "Manuel Kamera suchen"
                          info Starting manual search
                          zu sehen sein und dann die einzelnen Versuche

                          Geht denn der "Kamera Suche starten" button kommt da im log "Starting discovery" ?

                          O JB_Sullivan 2 Replies Last reply Reply Quote 0
                          • O
                            oFbEQnpoLKKl6mbY5e13 @tombox last edited by

                            @tombox sagte in Test Adapter onvif camera v1.0.0:

                            Es müsste im Log nach dem drücken des Buttons "Manuel Kamera suchen"
                            info Starting manual search
                            zu sehen sein und dann die einzelnen Versuche

                            Kam bei mir nie.

                            1 Reply Last reply Reply Quote 0
                            • JB_Sullivan
                              JB_Sullivan @tombox last edited by

                              @tombox sagte in Test Adapter onvif camera v1.0.0:

                              Geht denn der "Kamera Suche starten" button kommt da im log "Starting discovery" ?

                              Wenn das der gleiche Text ist wie "Start onvif discovery" - ja, der kommt - aber der Button Farbumschlag verhält sich analog zur manuellen Suche.

                              
                              onvif.0
                              1728	2023-02-19 12:56:51.443	info	Finished onvif discovery
                              
                              onvif.0
                              1728	2023-02-19 12:56:46.437	info	Start onvif discovery
                              
                              onvif.0
                              1728	2023-02-19 12:56:46.273	info	starting. Version 1.0.0 (non-npm: iobroker-community-adapters/ioBroker.onvif#bc7fea2c45037c4557f2e8ec88b760f393cc5378) in C:/iobroker/GLT/node_modules/iobroker.onvif, node: v14.16.0, js-controller: 4.0.24
                              
                              onvif.0
                              1728	2023-02-19 12:56:45.689	debug	Plugin sentry Initialize Plugin (enabled=true)
                              
                              onvif.0
                              1728	2023-02-19 12:56:45.389	debug	States connected to redis: 127.0.0.1:9000
                              
                              onvif.0
                              1728	2023-02-19 12:56:45.321	debug	States create User PubSub Client
                              
                              onvif.0
                              1728	2023-02-19 12:56:45.320	debug	States create System PubSub Client
                              
                              onvif.0
                              1728	2023-02-19 12:56:45.288	debug	Redis States: Use Redis connection: 127.0.0.1:9000
                              
                              onvif.0
                              1728	2023-02-19 12:56:45.243	debug	Objects connected to redis: 127.0.0.1:9001
                              
                              onvif.0
                              1728	2023-02-19 12:56:45.237	debug	Objects client initialize lua scripts
                              
                              onvif.0
                              1728	2023-02-19 12:56:45.105	debug	Objects create User PubSub Client
                              
                              onvif.0
                              1728	2023-02-19 12:56:45.104	debug	Objects create System PubSub Client
                              
                              onvif.0
                              1728	2023-02-19 12:56:45.103	debug	Objects client ready ... initialize now
                              
                              onvif.0
                              1728	2023-02-19 12:56:45.035	debug	Redis Objects: Use Redis connection: 127.0.0.1:9001
                              
                              T 1 Reply Last reply Reply Quote 0
                              • T
                                tombox @JB_Sullivan last edited by

                                @jb_sullivan Nach Neuinstallation sollten jetzt auch die buttons gehen.

                                JB_Sullivan 1 Reply Last reply Reply Quote 0
                                • JB_Sullivan
                                  JB_Sullivan @tombox last edited by

                                  @tombox AH jetzt ja - eine Insel, besser gesagt eine Kamera - na dann wollen wir mal gucken ob er die anderen manuell auch noch findet - automatisch hat er jedenfalls nichts gefunden.

                                  Aber es geht jetzt schonmal auf manuell.......

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

                                    Vielen Dank für den Adapter
                                    Install und hinzufügen der Kameras hat perfekt funktioniert

                                    Und da habe ich doch gleich eine Frage
                                    Ich habe meine Cams im Garten und würde diese gern vor dem Betreten deaktievieren
                                    Also die Aufzeichnung und die Alamierung

                                    Momentan mache ich es über die App aber es wäre schön wenn ich in der VIS einen Button hätte mit dem ich das machen könnte

                                    Ist es möglich diese Option zu integrieren?

                                    Danke im Voraus
                                    Marcel

                                    T 1 Reply Last reply Reply Quote 0
                                    • T
                                      tombox @Wszene last edited by

                                      @wszene ich sehe nicht das dies über onvif Protokoll möglich ist dann wäre das eher etwas individuell für jeden Hersteller

                                      Chris76e Wszene 2 Replies Last reply Reply Quote 0
                                      • Chris76e
                                        Chris76e @tombox last edited by

                                        @tombox

                                        Bei mir kommen einige Warnugen und errors beim starten der Instanz.

                                        Habe 4 Tapo C200.

                                        192.168.178.117:2020 No snapshot url available: Error: ONVIF SOAP Fault: {"value":"SOAP-ENV:Receiver","subcode":{"value":"ter:ActionNotSupported"}}
                                        
                                        	<?xml version="1.0" encoding="UTF-8"?> <soap:Envelope ><soap:Header><wsa:To>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:To><wsa:Action>http://schemas.xmlsoap.org/ws/2005/04/discovery/ProbeMatches</wsa:Action><wsa:MessageID>urn:uuid:315681d1-2e37-45ee-b407-9b9c26990de8</wsa:MessageID><wsa:RelatesTo>urn:uuid:5bf5e60a-86f3-cf75-a8b2-ab66a704fde6</wsa:RelatesTo><wsd:AppSequence InstanceId="1677084647" SequenceId="urn:uuid:38e8978f-b114-4596-8aba-06a03425c634" MessageNumber="149"/></soap:Header><soap:Body><wsd:ProbeMatches><wsd:ProbeMatch><wsa:EndpointReference><wsa:Address>urn:uuid:9e09e321-e4b7-4a6d-94a1-4a67070299b6</wsa:Address></wsa:EndpointReference><wsd:Types>wsdp:Device pub:Computer</wsd:Types><wsd:XAddrs>http://CamStation2:5357/9e09e321-e4b7-4a6d-94a1-4a67070299b6</wsd:XAddrs><wsd:MetadataVersion>2</wsd:MetadataVersion></wsd:ProbeMatch></wsd:ProbeMatches></soap:Body></soap:Envelope> 
                                        

                                        debugLog.txt

                                        T 2 Replies Last reply Reply Quote 0
                                        • Wszene
                                          Wszene @tombox last edited by

                                          @tombox sagte in Test Adapter onvif camera v1.0.0:

                                          @wszene ich sehe nicht das dies über onvif Protokoll möglich ist dann wäre das eher etwas individuell für jeden Hersteller

                                          Aha OK
                                          Das ist schade aber dann ist es leider so

                                          1 Reply Last reply Reply Quote 0
                                          • T
                                            tombox @Chris76e last edited by

                                            @chris76e Ja genau das ist die Info das Tapes kein snapshot url anbieten also ein url wo man das aktuelle bild abgreifen kann. Das ist sehr ärgerlich. Es bietet nur video Urls. Für ein snapshot müsste man ffmpeg installieren und vom aktuellen stream ein screenshot erstellen

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            674
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            48
                                            339
                                            50755
                                            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