Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Shelly Adapter: Errors im Log

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Shelly Adapter: Errors im Log

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      maxpd last edited by maxpd

      @apollon77:

      Leider hat dies nicht geholfen. Nein. Der Adapter startet weiterhin ständig neu.

      9c3821a3-9cbd-44c2-b7af-6f07e8282313-image.png

      haselchen 1 Reply Last reply Reply Quote 0
      • haselchen
        haselchen Most Active @maxpd last edited by haselchen

        @maxpd

        Vielleicht alles auf den neuesten Stand bringen?
        Shellys updaten auf 1.6.2
        Adapter updaten auf 3.2.2 oder 3.2.3
        Und Nodejs auf Version 10.19
        JS Controller 2.2.9
        Admin 4.0.5

        Hatte die Fehlermeldung auch.
        Nun nicht mehr.

        F 1 Reply Last reply Reply Quote 0
        • F
          fero87 @haselchen last edited by Negalein

          Hallo zusammen,
          ich habe leider den gleichen Fehler. Shelly Adapter startet nicht im CoAP Modus (MQTT funktioniert).
          Habe versucht, den oben genannten Befehl
          npm install xml2js@0.4.19
          auszuführen. Ich finde allerdings das Verzeichnis
          node_modules/iobroker.shelly
          gar nicht erst.

          pi@raspberrypi4-iobroker:~ $ ls -all
          insgesamt 48
          drwxr-xr-x 7 pi   pi   4096 Feb 22 15:47 .
          drwxr-xr-x 4 root root 4096 Feb 22 15:45 ..
          -rw------- 1 pi   pi   1157 Apr  1 00:40 .bash_history
          -rw-r--r-- 1 pi   pi    220 Feb 13 16:55 .bash_logout
          -rw-r--r-- 1 pi   pi   3633 Feb 22 15:47 .bashrc
          drwxr-xr-x 3 pi   pi   4096 Feb 22 15:46 .cache
          drwx------ 3 pi   pi   4096 Feb 22 15:44 .config
          drwx------ 3 pi   pi   4096 Feb 22 15:27 .gnupg
          drwxr-xr-x 2 pi   pi   4096 Feb 22 15:47 .iobroker
          drwxr-xr-x 5 pi   pi   4096 Apr  1 00:25 .npm
          -rw------- 1 pi   pi     36 Feb 22 15:44 .npmrc
          -rw-r--r-- 1 pi   pi    807 Feb 13 16:55 .profile
          pi@raspberrypi4-iobroker:~ $ cd .iobroker
          pi@raspberrypi4-iobroker:~/.iobroker $ ls -all
          insgesamt 12
          drwxr-xr-x 2 pi pi 4096 Feb 22 15:47 .
          drwxr-xr-x 7 pi pi 4096 Feb 22 15:47 ..
          -rw-r--r-- 1 pi pi  211 Feb 22 15:47 npm_command_fix
          

          Kann mir jemand helfen?

          Shelly Firmware: 1.6.2
          Shelly Adapter: 3.2.2
          Nodejs: 10.19
          JS Controller: 2.2.9
          Admin: 4.0.5


          Mod-Edit: Code/Log in Code Tags gepackt. Bitte benutzt die Code Tags Funktion -> </>
          Hier gehts zur Hilfe.

          F 1 Reply Last reply Reply Quote 0
          • F
            fero87 @fero87 last edited by

            sorry, zu schnell...
            Kann mir jemand helfen?
            Shelly Firmware: 1.6.2
            Shelly Adapter: 3.2.2
            Nodejs: 10.19
            JS Controller: 2.2.9
            Admin: 4.0.5

            haselchen 1 Reply Last reply Reply Quote 0
            • haselchen
              haselchen Most Active @fero87 last edited by

              @fero87

              Hast du das Fehlerlog zur Hand?

              F 1 Reply Last reply Reply Quote 0
              • F
                fero87 @haselchen last edited by

                @haselchen

                2020-04-01 09:19:44.123 - info: shelly.0 (11241) starting. Version 3.2.2 in /opt/iobroker/node_modules/iobroker.shelly, node: v10.16.3
                2020-04-01 09:19:44.233 - info: shelly.0 (11241) Starting Shelly adapter in CoAP modus.
                2020-04-01 09:19:44.271 - info: host.raspberrypi4-iobroker instance system.adapter.shelly.0 terminated with code 0 (NO_ERROR)
                2020-04-01 09:19:44.271 - info: host.raspberrypi4-iobroker Restart adapter system.adapter.shelly.0 because enabled
                2020-04-01 09:20:09.689 - debug: admin.0 (1851) Unsubscribe LOGS
                2020-04-01 09:20:09.691 - debug: admin.0 (1851) Subscribes:
                2020-04-01 09:20:09.790 - debug: admin.0 (1851) Subscribe OBJECTS: system.adapter.*
                2020-04-01 09:20:09.792 - debug: admin.0 (1851) Subscribe STATES: system.adapter.*
                2020-04-01 09:20:09.794 - debug: admin.0 (1851) Subscribes: info.0.newsfeed, system.adapter.*
                2020-04-01 09:20:09.797 - debug: admin.0 (1851) Subscribe OBJECTS: system.host.*
                2020-04-01 09:20:09.799 - debug: admin.0 (1851) Subscribe STATES: system.host.*
                2020-04-01 09:20:09.800 - debug: admin.0 (1851) Subscribes: info.0.newsfeed, system.adapter.*, system.host.*
                2020-04-01 09:20:09.803 - debug: admin.0 (1851) Subscribe STATES: *.info.connection
                2020-04-01 09:20:09.804 - debug: admin.0 (1851) Subscribes: info.0.newsfeed, system.adapter.*, system.host.*, *.info.connection
                2020-04-01 09:20:12.238 - debug: admin.0 (1851) Unsubscribe OBJECTS: system.adapter.*
                2020-04-01 09:20:12.284 - debug: admin.0 (1851) Unsubscribe STATES: system.host.*
                2020-04-01 09:20:12.287 - debug: admin.0 (1851) Subscribes: info.0.newsfeed, system.adapter.*, *.info.connection
                2020-04-01 09:20:12.298 - debug: admin.0 (1851) Unsubscribe OBJECTS: system.host.*
                2020-04-01 09:20:12.300 - debug: admin.0 (1851) Unsubscribe STATES: system.adapter.*
                2020-04-01 09:20:12.305 - debug: admin.0 (1851) Subscribes: info.0.newsfeed, *.info.connection
                2020-04-01 09:20:12.309 - debug: admin.0 (1851) Unsubscribe STATES: *.info.connection
                2020-04-01 09:20:12.310 - debug: admin.0 (1851) Subscribes: info.0.newsfeed
                2020-04-01 09:20:12.467 - debug: admin.0 (1851) Subscribe LOGS
                2020-04-01 09:20:12.468 - debug: admin.0 (1851) Subscribes: dummy
                2020-04-01 09:20:14.286 - info: host.raspberrypi4-iobroker instance system.adapter.shelly.0 started with pid 11269
                2020-04-01 09:20:15.628 - debug: shelly.0 (11269) Redis Objects: Use Redis connection: 127.0.0.1:9001
                2020-04-01 09:20:15.663 - debug: shelly.0 (11269) Objects client ready ... initialize now
                2020-04-01 09:20:15.668 - debug: shelly.0 (11269) Objects create System PubSub Client
                2020-04-01 09:20:15.669 - debug: shelly.0 (11269) Objects create User PubSub Client
                2020-04-01 09:20:15.670 - debug: shelly.0 (11269) Objects client initialize lua scripts
                2020-04-01 09:20:15.682 - debug: shelly.0 (11269) Objects connected to redis: 127.0.0.1:9001
                2020-04-01 09:20:15.688 - debug: shelly.0 (11269) objectDB connected
                2020-04-01 09:20:15.691 - debug: shelly.0 (11269) Redis States: Use Redis connection: 127.0.0.1:9000
                2020-04-01 09:20:15.697 - debug: shelly.0 (11269) States create User PubSub Client
                2020-04-01 09:20:15.699 - debug: shelly.0 (11269) States create System PubSub Client
                2020-04-01 09:20:15.707 - debug: shelly.0 (11269) States connected to redis: 127.0.0.1:9000
                2020-04-01 09:20:15.708 - debug: shelly.0 (11269) statesDB connected
                2020-04-01 09:20:16.600 - info: shelly.0 (11269) starting. Version 3.2.2 in /opt/iobroker/node_modules/iobroker.shelly, node: v10.16.3
                2020-04-01 09:20:16.660 - info: shelly.0 (11269) Starting Shelly adapter in CoAP modus.
                2020-04-01 09:20:16.712 - info: host.raspberrypi4-iobroker instance system.adapter.shelly.0 terminated with code 0 (NO_ERROR)
                2020-04-01 09:20:16.713 - info: host.raspberrypi4-iobroker Restart adapter system.adapter.shelly.0 because enabled
                
                haselchen 1 Reply Last reply Reply Quote 0
                • haselchen
                  haselchen Most Active @fero87 last edited by

                  @fero87

                  Ich bin so der Typ, der erstmal einmal guckt ob es Updates für den Fehler gibt 🙂
                  Ich würde den Shelly Adapter auf Version 3.2.3 bringen (über git)
                  Und Nodejs ist bei Dir 10.16.3 und nicht wie Du geschrieben hast 10.19.
                  Da würde ich auch ansetzen mit einem Update.
                  Ohne Gewähr natürlich , ob der Fehler dann weg ist.

                  F 1 Reply Last reply Reply Quote 0
                  • F
                    fero87 @haselchen last edited by

                    @haselchen
                    hast recht. Nodejs hatte ich gestern mal zum testen auf 10.16.3 gebracht.
                    Habs mal geändert und auch den Shelly Adapter auf 3.2.3 gebracht.

                    Leider gleiches Bild:

                    2020-04-01 09:56:15.553 - info: host.raspberrypi4-iobroker instance system.adapter.shelly.0 started with pid 13454
                    2020-04-01 09:56:17.623 - info: shelly.0 (13454) starting. Version 3.2.3 in /opt/iobroker/node_modules/iobroker.shelly, node: v10.19.0
                    2020-04-01 09:56:17.672 - info: shelly.0 (13454) Starting Shelly adapter in CoAP modus.
                    2020-04-01 09:56:17.707 - info: host.raspberrypi4-iobroker instance system.adapter.shelly.0 terminated with code 0 (NO_ERROR)
                    2020-04-01 09:56:17.708 - info: host.raspberrypi4-iobroker Restart adapter system.adapter.shelly.0 because enabled
                    
                    haselchen 1 Reply Last reply Reply Quote 0
                    • haselchen
                      haselchen Most Active @fero87 last edited by

                      @fero87

                      Hm,
                      mal nen

                      apt-get update

                      und

                      apt-get upgrade

                      gemacht?

                      Wie gesagt, mit meinem Wissen kann ich leider nur an der Oberfläche kratzen.

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        fero87 @haselchen last edited by

                        @haselchen
                        ha, das war's!!
                        Tausend Dank Dir 🙂

                        haselchen 1 Reply Last reply Reply Quote 0
                        • haselchen
                          haselchen Most Active @fero87 last edited by

                          @fero87

                          Schön zu hören.
                          Dann weiterhin viel Spaß hier und bleib Gesund !

                          1 Reply Last reply Reply Quote 0
                          • F
                            Fitti @apollon77 last edited by

                            @apollon77 sagte in Shelly Adapter: Errors im Log:

                            Hm … geh mal in das iobroker Verzeichnis und führe aus

                            cd node_modules/iobroker.shelly
                            npm install xml2js@0.4.19
                            
                            

                            geht es danach?
                            @apollon77 sagte in Shelly Adapter: Errors im Log:
                            hehe … warte mal ...

                            such mal in den "node_modules" verzeichnissen wo ein verzeichnis namens "node-rest-client" ist. dann dort das gleiche nochmal ausführen

                            Stunden gesucht - das war also auch nach zwei Jahren die Lösung! Danke!
                            Kann man das nicht irgendwie im ShellyAdapter einbauen/abfragen?

                            Fi

                            apollon77 1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 @Fitti last edited by

                              @Fitti sagte in Shelly Adapter: Errors im Log:

                              xml2js@0.4.19

                              Mal schauen

                              1 Reply Last reply Reply Quote 0
                              • D
                                Datainspektor @apollon77 last edited by

                                Hallo,
                                nach jedem Update des Shelly Adapters, wird der Adapter als offline (verbunden mit Host / Lebenszeichen) angezeigt. Erst nach dem npm Install geht es wieder.
                                Warum ist das so und kann man das ändern?

                                @apollon77 said in Shelly Adapter: Errors im Log:

                                Hm … geh mal in das iobroker Verzeichnis und führe aus

                                cd node_modules/iobroker.shelly
                                npm install xml2js@0.4.19
                                
                                

                                geht es danach?

                                1 Reply Last reply Reply Quote 0
                                • S
                                  Solider @apollon77 last edited by

                                  @apollon77 said in Shelly Adapter: Errors im Log:

                                  hehe … warte mal ...

                                  such mal in den "node_modules" verzeichnissen wo ein verzeichnis namens "node-rest-client" ist. dann dort das gleiche nochmal ausführen

                                  Hatte gleiches Problem!

                                  Die Lösung hat wirklich geholfen! DANKE!

                                  1 Reply Last reply Reply Quote 0
                                  • I
                                    IOBaer last edited by

                                    Hier gleiches Problem. Adapter bleibt nach Restore gelb. Woran liegt das?

                                    apollon77 da_Woody 2 Replies Last reply Reply Quote 0
                                    • apollon77
                                      apollon77 @IOBaer last edited by

                                      @iobaer Hm ... Weil der Adapter keine Lust hat ...

                                      Für eine sinnvollere Antwort wäre es super mehr Informationen zu bekommen

                                      1 Reply Last reply Reply Quote 1
                                      • da_Woody
                                        da_Woody @IOBaer last edited by

                                        @iobaer nachdems zu diesen themen schon eine menge beiträge gibt, spar ichs mir mal.
                                        man könnte sich auch mal die issues auf github anschauen...

                                        P 1 Reply Last reply Reply Quote 0
                                        • P
                                          PPB1308 @da_Woody last edited by

                                          @da_woody
                                          Stimmt, leider finde ich da keinen Issue zu Status Gelb.

                                          @all: Kann mir jemand einen Tip geben?
                                          V5.0.0, JS 3.3.22, node,js v14.18.2.

                                          Adapter startet ohne Fehlermeldung, aber bleibt gelb.

                                          apollon77 1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 @PPB1308 last edited by

                                            @ppb1308 Geld heisst das er keine devices findet bzw keine verbunden sind ... Da sheisst üblicherweise das irgendwie die UDP Pakete nicht beim Adapter ankommen ...

                                            Und übrigens: in dieser Art auf einen über 4 Monate alten Post zu antworten mit nem Ganz anderen Thema/Fehlerbild muss ich sagen ist strange

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            515
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            16
                                            35
                                            5613
                                            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