Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Eufy-Security Adapter installiert sich nicht.

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    Eufy-Security Adapter installiert sich nicht.

    This topic has been deleted. Only users with topic management privileges can see it.
    • Longbow
      Longbow @wendy2702 last edited by

      @wendy2702
      na über das Protal, also wenn du den Experten Mouds aktivierst, dann über den Link...
      Und dann über das termial.

      wendy2702 1 Reply Last reply Reply Quote 0
      • wendy2702
        wendy2702 @Longbow last edited by

        @longbow Warum nicht über den Admin?

        120cb78c-a0b1-4e97-a0f7-e09e7e7c7adf-grafik.png

        Longbow 1 Reply Last reply Reply Quote 0
        • Longbow
          Longbow @wendy2702 last edited by

          @wendy2702

          so auch schon probiert, das komische ist, das er keine MB hat der Adapter.
          Keine Ahnung was da nun los ist.

          2023-02-23 11_11_21-instances - iobroker-Final.png

          $ iobroker add eusec auto --host iobroker-Final --debug
          
          NPM version: 8.19.3Installing iobroker.eusec@0.9.9... (System call)
          
          npm WARN skipping integrity check for git dependency ssh://git@github.com/bropat/eufy-security-ws.git
          
          added 13 packages, and changed 1 package in 14s158 packages are looking for funding run `npm fund` for details
          
          host.iobroker-Final install adapter eusec
          
          upload [14] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/eusec.png eusec.png image/png
          
          upload [13] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/i18n/de/translations.json i18n/de/translations.json application/json
          
          upload [12] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/i18n/en/translations.json i18n/en/translations.json application/json
          
          upload [11] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/i18n/es/translations.json i18n/es/translations.json application/json
          
          upload [10] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
          
          upload [9] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/i18n/it/translations.json i18n/it/translations.json application/json
          
          upload [8] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
          
          upload [7] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
          
          upload [6] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
          
          upload [5] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
          
          upload [4] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
          
          upload [2] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/jsonConfig.json jsonConfig.json application/json
          
          upload [0] eusec.admin /opt/iobroker/node_modules/iobroker.eusec/admin/words.js words.js application/javascript
          
          host.iobroker-Final object system.adapter.eusec created/updated
          
          host.iobroker-Final create instance eusec
          
          host.iobroker-Final object system.adapter.eusec.0.alive created
          
          host.iobroker-Final object system.adapter.eusec.0.cputime created
          
          host.iobroker-Final object system.adapter.eusec.0.uptime created
          
          host.iobroker-Final object system.adapter.eusec.0.outputCount created
          
          host.iobroker-Final object system.adapter.eusec.0.eventLoopLag created
          
          host.iobroker-Final object system.adapter.eusec.0.sigKill created
          
          host.iobroker-Final object system.adapter.eusec.0.logLevel created
          
          host.iobroker-Final object eusec.0 created
          
          host.iobroker-Final object system.adapter.eusec.0 created
          
          Process exited with code 0
          
          Process exited with code 0
          
          Schließen wenn fertig
          
          wendy2702 1 Reply Last reply Reply Quote 0
          • wendy2702
            wendy2702 @Longbow last edited by

            @longbow Stell das loggen, da wo jetzt "Info" steht mal auf "Debug" und poste das log vom Adapter start

            Longbow 1 Reply Last reply Reply Quote 0
            • Longbow
              Longbow @wendy2702 last edited by

              @wendy2702

              bitte 🙂

              host.iobroker-Final
              2023-02-23 11:18:32.304	error	instance system.adapter.eusec.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
              host.iobroker-Final
              2023-02-23 11:18:32.304	error	Caught by controller[0]: }
              host.iobroker-Final
              2023-02-23 11:18:32.304	error	Caught by controller[0]: requestPath: 'eufy-security-client'
              host.iobroker-Final
              2023-02-23 11:18:32.304	error	Caught by controller[0]: path: '/opt/iobroker/node_modules/eufy-security-client/package.json',
              host.iobroker-Final
              2023-02-23 11:18:32.304	error	Caught by controller[0]: code: 'MODULE_NOT_FOUND',
              host.iobroker-Final
              2023-02-23 11:18:32.304	error	Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1069:32) {
              host.iobroker-Final
              2023-02-23 11:18:32.304	error	Caught by controller[0]: at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
              host.iobroker-Final
              2023-02-23 11:18:32.304	error	Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1191:14)
              host.iobroker-Final
              2023-02-23 11:18:32.304	error	Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.eusec/build/main.js:35:32)
              host.iobroker-Final
              2023-02-23 11:18:32.304	error	Caught by controller[0]: at require (node:internal/modules/cjs/helpers:108:18)
              host.iobroker-Final
              2023-02-23 11:18:32.304	error	Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1093:19)
              host.iobroker-Final
              2023-02-23 11:18:32.304	error	Caught by controller[0]: at Function.Module._load (node:internal/modules/cjs/loader:866:27)
              host.iobroker-Final
              2023-02-23 11:18:32.304	error	Caught by controller[0]: at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1007:27)
              host.iobroker-Final
              2023-02-23 11:18:32.304	error	Caught by controller[0]: at Function.Module._findPath (node:internal/modules/cjs/loader:638:18)
              host.iobroker-Final
              2023-02-23 11:18:32.304	error	Caught by controller[0]: at tryPackage (node:internal/modules/cjs/loader:425:19)
              host.iobroker-Final
              2023-02-23 11:18:32.304	error	Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/eufy-security-client/build/index.js'. Please verify that the package.json has a valid "main" entry
              host.iobroker-Final
              2023-02-23 11:18:32.304	error	Caught by controller[0]: ^
              host.iobroker-Final
              2023-02-23 11:18:32.304	error	Caught by controller[0]: throw err;
              host.iobroker-Final
              2023-02-23 11:18:32.304	error	Caught by controller[0]: node:internal/modules/cjs/loader:433```
              code_text
              
              wendy2702 1 Reply Last reply Reply Quote 0
              • wendy2702
                wendy2702 @Longbow last edited by

                @longbow sagte in Eufy-Security Adapter installiert sich nicht.:

                Auf der Konsole:

                ls -la /opt/iobroker/node_modules/ |grep eufy
                

                Kommt da was?

                Longbow 1 Reply Last reply Reply Quote 0
                • Longbow
                  Longbow @wendy2702 last edited by

                  @wendy2702

                  da kommt das, sorry ist ein Bild, da ich über VPN über Handy in mein System rein bin, ging es nicht anderes. Bild Eufy.jpg

                  wendy2702 1 Reply Last reply Reply Quote 0
                  • wendy2702
                    wendy2702 @Longbow last edited by

                    @longbow

                    ls -la /opt/iobroker/node_modules/eufy-security-client/
                    
                    Longbow 1 Reply Last reply Reply Quote 0
                    • Longbow
                      Longbow @wendy2702 last edited by

                      @wendy2702 Bild Eufy.jpg

                      wendy2702 1 Reply Last reply Reply Quote 0
                      • wendy2702
                        wendy2702 @Longbow last edited by

                        @longbow OK.

                        Da fehlt was drin.

                        Versuch:

                        cd /opt/iobroker/
                        npm i eufy-security-client
                        ls -la /opt/iobroker/node_modules/eufy-security-client/
                        
                        Longbow 1 Reply Last reply Reply Quote 0
                        • Longbow
                          Longbow @wendy2702 last edited by

                          @wendy2702 !
                          Jetzt kommt das...

                          Bild02.png Bild01.png

                          wendy2702 1 Reply Last reply Reply Quote 0
                          • wendy2702
                            wendy2702 @Longbow last edited by

                            @longbow Ja.

                            Erstmal nichts schlimmes.

                            Wie sieht es jetzt im Ordner aus?

                            Ist das jetzt so?

                            @Test:/opt/iobroker/node_modules$ ls -la /opt/iobroker/node_modules/eufy-security-client/
                            total 80
                            drwxrwxr-x+   4 iobroker iobroker  4096 Feb 23 08:55 .
                            drwxrwxr-x+ 479 iobroker iobroker 20480 Feb 23 08:55 ..
                            -rw-rw-r--+   1 iobroker iobroker  1091 Feb 23 08:55 LICENSE
                            -rw-rw-r--+   1 iobroker iobroker 39327 Feb 23 08:55 README.md
                            drwxrwxr-x+   6 iobroker iobroker  4096 Feb 23 08:55 build
                            drwxrwxr-x+   3 iobroker iobroker  4096 Feb 23 08:55 node_modules
                            -rw-rw-r--+   1 iobroker iobroker  2135 Feb 23 08:55 package.json
                            
                            
                            Longbow 1 Reply Last reply Reply Quote 0
                            • Longbow
                              Longbow @wendy2702 last edited by

                              @wendy2702 Leider nur so

                              Bild Eufy.jpg

                              wendy2702 1 Reply Last reply Reply Quote 0
                              • wendy2702
                                wendy2702 @Longbow last edited by

                                @longbow

                                ls -la /opt/iobroker/
                                
                                sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                                
                                uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                
                                Longbow 2 Replies Last reply Reply Quote 0
                                • Longbow
                                  Longbow @wendy2702 last edited by

                                  @wendy2702

                                  Ok, das ist aber eine Menge, das mach ich Später zuahuse am Rechner 🙂 Und melde ich dann bei dir.. Danke aber

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

                                    @longbow

                                    Am Rechner kannst du dann auch

                                    iob diag
                                    

                                    ausführen, da ist neben dem obigen auch noch weiterers drin enthalten.

                                    Longbow 1 Reply Last reply Reply Quote 0
                                    • Longbow
                                      Longbow @wendy2702 last edited by Longbow

                                      @wendy2702 sagte in Eufy-Security Adapter installiert sich nicht.:

                                      ls -la /opt/iobroker/ sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs

                                      das kommt da:

                                      cototal 1416
                                      drwxrwxr-x+    6 iobroker iobroker    4096 Feb 23 08:05 .
                                      drwxr-xr-x     3 root     root        4096 Feb  2 19:11 ..
                                      -rw-rwxr--+    1 iobroker iobroker     155 Feb 23 08:05 .npmrc
                                      -rwxrwxrwx+    1 iobroker iobroker     549 Feb 23 08:05 INSTALLER_INFO.txt
                                      drwxrwxr-x+    2 iobroker iobroker    4096 Feb 23 02:40 backups
                                      lrwxrwxrwx     1 iobroker iobroker      22 Feb 23 08:05 iob -> /opt/iobroker/iobroker
                                      -rwxr-xr-x+    1 iobroker iobroker     512 Feb 23 08:05 iobroker
                                      drwxrwxr-x+   12 iobroker iobroker    4096 Feb 23 16:28 iobroker-data
                                      drwxrwxr-x+    2 iobroker iobroker    4096 Feb 23 16:45 log
                                      drwxrwxr-x+ 1119 iobroker iobroker   36864 Feb 23 12:09 node_modules
                                      -rw-rwxr--+    1 iobroker iobroker 1369981 Feb 23 12:09 package-lock.json
                                      -rw-rwxr--+    1 iobroker iobroker    2987 Feb 23 11:10 package.jsonde_text
                                      x86_64
                                      /usr/bin/nodejs
                                      /usr/bin/node
                                      /usr/bin/npm
                                      /usr/bin/npx
                                      v16.19.1
                                      v16.19.1
                                      8.19.3
                                      8.19.3
                                      4.0.24
                                      cliffkirchhof
                                      cliffkirchhof sudo iobroker
                                      
                                      /home/cliffkirchhof
                                      Hit:1 http://deb.debian.org/debian bullseye InRelease
                                      Hit:2 http://security.debian.org bullseye-security InRelease            
                                      Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease           
                                      Hit:4 http://deb.debian.org/debian bullseye-updates InRelease
                                      Reading package lists... Done
                                      Building dependency tree... Done
                                      Reading state information... Done
                                      2 packages can be upgraded. Run 'apt list --upgradable' to see them.
                                      nodejs:
                                        Installed: 16.19.1-deb-1nodesource1
                                        Candidate: 16.19.1-deb-1nodesource1
                                        Version table:
                                       *** 16.19.1-deb-1nodesource1 500
                                              500 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages
                                              100 /var/lib/dpkg/status
                                           12.22.12~dfsg-1~deb11u3 500
                                              500 http://security.debian.org bullseye-security/main amd64 Packages
                                           12.22.5~dfsg-2~11u1 500
                                              500 http://deb.debian.org/debian bullseye/main amd64 Packages
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Longbow
                                        Longbow @Thomas Braun last edited by wendy2702

                                        @thomas-braun sagte in Eufy-Security Adapter installiert sich nicht.:

                                        iob diag

                                        Copy text starting here:
                                        
                                        
                                        ======================= SUMMARY =======================
                                                             v.2023-01-02
                                        
                                        
                                        Operatingsystem:        Debian GNU/Linux 11 (bullseye)
                                        Installation:           lxc
                                        Timezone:               Europe/Berlin
                                        User-ID:                1000
                                        X-Server:               false
                                        Boot Target:            graphical.target
                                        
                                        Pending OS-Updates:     2
                                        
                                        Nodejs-Installation:    /usr/bin/nodejs         v16.19.1
                                                                /usr/bin/node           v16.19.1
                                                                /usr/bin/npm            8.19.3
                                                                /usr/bin/npx            8.19.3
                                        
                                        ioBroker Core:          js-controller           4.0.24
                                                                admin                   6.3.5
                                        
                                        ioBroker Status:        iobroker is running on this host.
                                        
                                        
                                        Objects type: jsonl
                                        States  type: jsonl
                                        
                                        Status admin:
                                        + system.adapter.admin.0                  : admin                 : iobroker-Final                           -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                        
                                        Pending iob updates:    0
                                        
                                        Active repo(s): stable
                                        
                                        Objects:                33299
                                        States:                 25869
                                        
                                        Size of iob-Database:
                                        
                                        46M     /opt/iobroker/iobroker-data/objects.jsonl
                                        33M     /opt/iobroker/iobroker-data/states.jsonl
                                        
                                        
                                        =================== END OF SUMMARY ====================
                                        
                                        wendy2702 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Longbow last edited by

                                          @longbow

                                          Bitte die Langfassung.

                                          Longbow 1 Reply Last reply Reply Quote 0
                                          • wendy2702
                                            wendy2702 @Longbow last edited by

                                            @longbow Nachdem du das log für Thomas gepostet hast.

                                            Bitte mal Instanz und Adapter komplett löschen.

                                            Dann nochmal:

                                            ls -la /opt/iobroker/node_modules/ |grep eu
                                            
                                            Longbow 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            768
                                            Online

                                            32.1k
                                            Users

                                            80.7k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            52
                                            1507
                                            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