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.
    • Thomas Braun
      Thomas Braun Most Active @David G. last edited by

      @david-g

      Das ist aber kein Fix zu deinem Problem. Das ist was anderes bei dir.

      1 Reply Last reply Reply Quote 0
      • David G.
        David G. last edited by David G.

        Nach den Updates und einem erneuten iob fix hat sich die Meldung verändert:

        $ iobroker url https://github.com/iobroker-community-adapters/ioBroker.onvif --host iobroker --debug
        
        install iobroker-community-adapters/ioBroker.onvif#4032e14fe6267e5fd2e13857bd36a06378007c7f
        
        NPM version: 10.2.3Installing iobroker-community-adapters/ioBroker.onvif#4032e14fe6267e5fd2e13857bd36a06378007c7f... (System call)
        
        npm WARN skipping integrity check for git dependency ssh://git@github.com/iobroker-community-adapters/ioBroker.onvif.git
        
        npm ERR! code 2npm ERR! path /opt/iobroker/node_modules/json2iob
        
        npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-12-28T17_56_02_375Z-debug-0.log
        
        npm WARN skipping integrity check for git dependency ssh://git@github.com/iobroker-community-adapters/ioBroker.onvif.git npm ERR! code 2npm ERR! path /opt/iobroker/node_modules/json2iobnpm ERR! command failednpm ERR! command sh -c npm run buildnpm ERR! > json2iob@2.6.0 buildnpm ERR! > tscnpm ERR! npm ERR! error TS2688: Cannot find type definition file for 'bl'.npm ERR! The file is in the program because:npm ERR! Entry point for implicit type library 'bl'npm ERR! A complete log of this run can be found in: /home/iobroker/.npm/_logs/2023-12-28T17_56_02_375Z-debug-0.loghost.iobroker Cannot install iobroker-community-adapters/ioBroker.onvif#4032e14fe6267e5fd2e13857bd36a06378007c7f: 2
        
        ERROR: Process exited with code 25
        

        Suche das Log nachher mal raus was da steht.

        EDIT
        Hier der Inhalt der Logdatei:

        0 verbose cli /usr/bin/node /usr/bin/npm
        1 info using npm@10.2.3
        2 info using node@v18.19.0
        3 timing npm:load:whichnode Completed in 10ms
        4 timing config:load:defaults Completed in 2ms
        5 timing config:load:file:/usr/lib/node_modules/npm/npmrc Completed in 5ms
        6 timing config:load:builtin Completed in 5ms
        7 timing config:load:cli Completed in 2ms
        8 timing config:load:env Completed in 0ms
        9 timing config:load:file:/opt/iobroker/node_modules/json2iob/.npmrc Completed in 0ms
        10 timing config:load:project Completed in 2ms
        11 timing config:load:file:/home/iobroker/.npmrc Completed in 1ms
        12 timing config:load:user Completed in 1ms
        13 timing config:load:file:/usr/etc/npmrc Completed in 0ms
        14 timing config:load:global Completed in 0ms
        15 timing config:load:setEnvs Completed in 1ms
        16 timing config:load Completed in 13ms
        17 timing npm:load:configload Completed in 13ms
        18 timing config:load:flatten Completed in 2ms
        19 timing npm:load:mkdirpcache Completed in 0ms
        20 timing npm:load:mkdirplogs Completed in 0ms
        21 verbose title npm run build
        22 verbose argv "run" "build"
        23 timing npm:load:setTitle Completed in 1ms
        24 timing npm:load:display Completed in 0ms
        25 verbose logfile logs-max:10 dir:/home/iobroker/.npm/_logs/2023-12-28T17_56_12_453Z-
        26 verbose logfile /home/iobroker/.npm/_logs/2023-12-28T17_56_12_453Z-debug-0.log
        27 timing npm:load:logFile Completed in 6ms
        28 timing npm:load:timers Completed in 0ms
        29 timing npm:load:configScope Completed in 1ms
        30 timing npm:load Completed in 41ms
        31 silly logfile start cleaning logs, removing 1 files
        32 silly logfile done cleaning log files
        33 timing command:run Completed in 2634ms
        34 verbose exit 2
        35 timing npm Completed in 2705ms
        36 verbose code 2
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active last edited by

          @david-g

          Da geht ein build in die Hose. Das Modul muss nichtmal was mit onvif zu tun haben. Solange das da quer in der Pipeline hängt geht da nix mehr.

          1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @David G. last edited by

            @david-g

            cd /opt/iobroker
            npm ls json2iob
            
            David G. 1 Reply Last reply Reply Quote 0
            • David G.
              David G. @Thomas Braun last edited by

              @thomas-braun

              iobroker@iobroker:/opt/iobroker$ npm ls json2iob
              iobroker.inst@3.0.0 /opt/iobroker
              └─┬ iobroker.parcel@0.1.1
                └── json2iob@2.4.8
              
              Thomas Braun T 2 Replies Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @David G. last edited by

                @david-g sagte in Test Adapter onvif camera v1.0.0:

                iobroker.parcel@0.1.1

                Was ist denn das für eine alte Beta-Version?

                Aktuell wäre:

                github:	0.2.6
                latest:	0.2.6 for 13 days
                stable:	0.0.27 for 8 months
                
                1 Reply Last reply Reply Quote 0
                • T
                  tombox @David G. last edited by

                  @david-g ich habe json2iob mit 2.6 auf typescript umgestellt. es scheint so als könnte er die bei dr nicht bauen.

                  1 Reply Last reply Reply Quote 0
                  • David G.
                    David G. last edited by David G.

                    Wenn ich parcels über git aktualisieren möchte kommt

                    $ iobroker url https://github.com/TA2k/ioBroker.parcel --host iobroker --debug
                    
                    install TA2k/ioBroker.parcel#7f9960d7b7bdc06f76d552999c52efbf5b92e636
                    
                    NPM version: 10.2.3Installing TA2k/ioBroker.parcel#7f9960d7b7bdc06f76d552999c52efbf5b92e636... (System call)
                    
                    npm WARN skipping integrity check for git dependency ssh://git@github.com/TA2k/ioBroker.parcel.git
                    
                    npm ERR! code 2
                    
                    npm ERR! > json2iob@2.6.0 build
                    
                    npm ERR! > tsc
                    
                    host.iobroker Cannot install TA2k/ioBroker.parcel#7f9960d7b7bdc06f76d552999c52efbf5b92e636: 2
                    
                    ERROR: Process exited with code 25
                    

                    Aber du bist da der dev von beiden Adaptern, bin ich hier ja nicht so verkehrt.

                    T 1 Reply Last reply Reply Quote 0
                    • T
                      tombox @David G. last edited by

                      @david-g wie sieht es aus wenn du über parcel über npm installierst

                      David G. 1 Reply Last reply Reply Quote 0
                      • David G.
                        David G. @tombox last edited by

                        @tombox

                        $ iobroker url iobroker.parcel@latest --host iobroker --debug
                        
                        install iobroker.parcel@latest
                        
                        NPM version: 10.2.3Installing iobroker.parcel@latest... (System call)
                        
                        npm ERR! code 2
                        
                        host.iobroker Cannot install iobroker.parcel@latest: 2
                        
                        ERROR: Process exited with code 25
                        
                        T 1 Reply Last reply Reply Quote 0
                        • T
                          tombox @David G. last edited by

                          @david-g ok dann nochmal onvif via GitHub und mir dann alle aktuellen logs aus
                          /home/iobroker/.npm/_logs/
                          zusenden via email
                          tombox2020@gmail.com

                          1 Reply Last reply Reply Quote 0
                          • M
                            Mars last edited by

                            Ich habe meine Kamera in einem anderen Netzwerk wie mein iobroker läuft.
                            Kameras z.b. 192.168.10.50 und
                            iobroker z.b. 192.168.1.60

                            iobroker Netzwerk kann Kamera ip anpingen. Der Adapter findet aber keine Kameras!

                            Sucht der Adapter immer nur in dem Netzwerk in dem auch der iobroker ist?

                            Ich finde weder über die automatische Suche meine Kamers noch über die manuelle Suche. Wobei ich mir bei der manuellen suche mit dem Port unsicher bin.

                            Viell, hat hier jemand feedback ob das so geht wie ich das Vorhabe.

                            Ziel ist einfach, dass die Kameras in einem isolierten Netzwerk sind weil die ja von außen zugänglich sind,

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

                              @mars Der Adapter kann nur in der eignen network range Discovern. So muss manuell eingegeben werden vielleicht hilft hier onvif device manager zum finden der ports
                              https://linkingvision.cn/download/onvif/odm-v2.2.250.msi

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

                                @tombox Danke für die sehr schnelle Antwort.

                                Manuelle Suche bei exakter Ip Adress Angabe also bei start und end ip die ip Adresse der Kamera eingeben und dann findet er auch in anderen "netzwerken" die gewünschte Kamera!

                                Super so steht dem Vorhaben nichts im Weg.

                                1 Reply Last reply Reply Quote 0
                                • David G.
                                  David G. last edited by

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

                                  @david-g ok dann nochmal onvif via GitHub und mir dann alle aktuellen logs aus
                                  /home/iobroker/.npm/_logs/
                                  zusenden via email
                                  tombox2020@gmail.com

                                  Sol ich über https://github.com/iobroker-community-adapters/ioBroker.onvif und benutzerdefiniert oder den Reiter git installieren?
                                  Ka ob das einen Unterschied macht.

                                  T Thomas Braun 2 Replies Last reply Reply Quote 0
                                  • T
                                    tombox @David G. last edited by

                                    @david-g ist identisch aber ruhig weiteres per mail

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

                                      Fehler bei der Installation
                                      Node V 18.7.0

                                      npm WARN skipping integrity check for git dependency ssh://git@github.com/iobroker-community-adapters/ioBroker.onvif.git

                                      npm ERR! code 2

                                      npm ERR! path /opt/iobroker/node_modules/json2iob

                                      npm ERR! command failed

                                      npm ERR! A complete log of this run can be found in:

                                      npm ERR! /home/iobroker/.npm/_logs/2023-12-28T20_24_38_341Z-debug-0.log

                                      host.601 Cannot install iobroker-community-adapters/ioBroker.onvif#4032e14fe6267e5fd2e13857bd36a06378007c7f: 2

                                      ERROR: Process exited with code 25

                                      Was kann das sein?

                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @smarteppi last edited by Thomas Braun

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

                                        Node V 18.7.0

                                        Falsch/nicht aktuell.
                                        Bring das zunächst auf Stand.

                                        iob stop
                                        iob fix
                                        iob nodejs-update
                                        

                                        Für weiteres siehe die Postings über deinem.

                                        S 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @David G. last edited by Thomas Braun

                                          @david-g

                                          wird der tsc bei dir überhaupt gefunden?

                                          Sollte eigentlich so aussehen:

                                          echad@chet:/opt/iobroker $ cd /opt/iobroker/ && npx tsc --version && cd
                                          Version 5.3.3
                                          echad@chet:~ $
                                          
                                          T 2 Replies Last reply Reply Quote 0
                                          • T
                                            tombox @Thomas Braun last edited by

                                            @thomas-braun
                                            Problem is das bl paket

                                            npm ERR! code 2
                                            npm ERR! path /opt/iobroker/node_modules/json2iob
                                            npm ERR! command failed
                                            npm ERR! command sh -c npm run build
                                            npm ERR! > json2iob@2.6.1 build
                                            npm ERR! > tsc
                                            npm ERR!
                                            npm ERR! error TS2688: Cannot find type definition file for 'bl'.
                                            npm ERR! The file is in the program because:
                                            npm ERR! Entry point for implicit type library 'bl'
                                            
                                            iobroker@iobroker:/opt/iobroker$ npm ls bl
                                            iobroker.inst@3.0.0 /opt/iobroker
                                            ├─┬ iobroker.mqtt@5.1.0
                                            │ └─┬ mqtt-connection@4.1.0
                                            │ └─┬ mqtt-packet@6.10.0
                                            │ └── bl@4.1.0
                                            ├─┬ iobroker.roborock@0.4.4
                                            │ ├─┬ fetch-github-release@1.0.0
                                            │ │ └─┬ decompress@4.2.1
                                            │ │ └─┬ decompress-tar@4.1.1
                                            │ │ └─┬ tar-stream@1.6.2
                                            │ │ └── bl@1.2.3
                                            │ └─┬ mqtt@5.0.5
                                            │ └─┬ mqtt-packet@8.2.0
                                            │ └── bl@5.1.0
                                            ├─┬ iobroker.shelly@6.6.1
                                            │ └─┬ shelly-iot@1.1.2
                                            │ └─┬ coap@0.26.0
                                            │ ├─┬ @types/bl@5.1.0
                                            │ │ └── bl@4.1.0 deduped
                                            │ └── bl@5.1.0
                                            ├─┬ iobroker.sql@2.2.0
                                            │ └─┬ mssql@9.3.2
                                            │ └─┬ tedious@15.1.3
                                            │ └── bl@5.1.0
                                            └─┬ iobroker.telegram@3.0.1
                                              └─┬ node-telegram-bot-api@0.64.0
                                                └── bl@1.2.3
                                            
                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            746
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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