Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Shelly Adapter

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    18
    1
    600

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.3k

Shelly Adapter

Scheduled Pinned Locked Moved Solved Error/Bug
59 Posts 5 Posters 7.1k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • StabilostickS Stabilostick

    Dann mit etwas mehr Rechten. Stelle bitte den Befehl „sudo“ vor Deinen rm-Befehl

    R Offline
    R Offline
    Rocket85
    wrote on last edited by
    #28

    @Stabilostick

    Hab ich schon gemacht. DANKE....Moment Shelly ist weg, ich installiere neu!

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Rocket85
      wrote on last edited by Negalein
      #29

      So langsam fehlen mir die Worte. Anbei das Log der Neuinstallation. Leider immer noch auf ROT.

      $ ./iobroker add shelly  --host raspberrypi
      NPM version: 6.5.0
      npm install iobroker.shelly --production --save --prefix "/opt/iobroker" (System call)
      host.raspberrypi install adapter shelly
      got /opt/iobroker/node_modules/iobroker.shelly/admin
      upload [2] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/words.js words.js application/javascript
      upload [1] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/shelly.png shelly.png image/png
      upload [0] shelly.admin /opt/iobroker/node_modules/iobroker.shelly/admin/index_m.html index_m.html text/html
      host.raspberrypi object system.adapter.shelly created
      host.raspberrypi create instance shelly
      host.raspberrypi object shelly.0.info.connection created
      host.raspberrypi object shelly.0.info created
      host.raspberrypi object system.adapter.shelly.0.outputCount created
      host.raspberrypi object system.adapter.shelly.0.inputCount created
      host.raspberrypi object system.adapter.shelly.0.uptime created
      host.raspberrypi object system.adapter.shelly.0.memRss created
      host.raspberrypi object system.adapter.shelly.0.memHeapTotal created
      host.raspberrypi object system.adapter.shelly.0.memHeapUsed created
      host.raspberrypi object system.adapter.shelly.0.connected created
      host.raspberrypi object system.adapter.shelly.0.alive created
      host.raspberrypi object system.adapter.shelly.0 created
      process exited with code 0
      
      1 Reply Last reply
      0
      • R Offline
        R Offline
        Rocket85
        wrote on last edited by Negalein
        #30
        host.raspberrypi	2019-02-12 16:59:51.548	error	instance system.adapter.shelly.0 terminated with code 0 (OK)
        host.raspberrypi	2019-02-12 16:59:50.074	info	instance system.adapter.shelly.0 started with pid 10547
        host.raspberrypi	2019-02-12 16:59:50.061	info	object change system.adapter.shelly.0
        host.raspberrypi	2019-02-12 16:59:49.979	info	Restart adapter system.adapter.shelly.0 because enabled
        host.raspberrypi	2019-02-12 16:59:49.979	error	instance system.adapter.shelly.0 terminated with code 0 (OK)
        shelly.0	2019-02-12 16:59:49.918	info	Starting shelly.0 in version 2.1.0
        shelly.0	2019-02-12 16:59:49.905	info	starting. Version 2.1.0 in /opt/iobroker/node_modules/iobroker.shelly, node: v8.15.0
        shelly.0	2019-02-12 16:59:49.785	debug	statesDB connected
        shelly.0	2019-02-12 16:59:49.714	debug	objectDB connected
        
        1 Reply Last reply
        0
        • apollon77A Offline
          apollon77A Offline
          apollon77
          wrote on last edited by
          #31

          Auch hier: https://forum.iobroker.net/topic/17306/shelly-adapter-errors-im-log/2

          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
          R 2 Replies Last reply
          0
          • apollon77A apollon77

            Auch hier: https://forum.iobroker.net/topic/17306/shelly-adapter-errors-im-log/2

            R Offline
            R Offline
            Rocket85
            wrote on last edited by
            #32

            @apollon77

            Vielen DANK, jetzt ist der Adapter auf grün. Hoffentlich kann ich dann endlich die Shelly steuern, sobald alle gefunden wurden!

            1 Reply Last reply
            0
            • R Offline
              R Offline
              Rocket85
              wrote on last edited by
              #33
              This post is deleted!
              1 Reply Last reply
              0
              • apollon77A apollon77

                Auch hier: https://forum.iobroker.net/topic/17306/shelly-adapter-errors-im-log/2

                R Offline
                R Offline
                Rocket85
                wrote on last edited by
                #34

                @apollon77

                Was kann ich denn noch tun, habe den Adapter nun seit einem Tag auf grün, aber leider sind in den Objekten immer noch keine Shelly`s sichtbar?

                1 Reply Last reply
                0
                • R Offline
                  R Offline
                  Rocket85
                  wrote on last edited by
                  #35

                  Hat keiner eine Idee? Es werden immer noch keine Shelly`s angezeigt!?!

                  1 Reply Last reply
                  0
                  • apollon77A Offline
                    apollon77A Offline
                    apollon77
                    wrote on last edited by
                    #36

                    Und die Shelly Geräte sind definitiv im gleichen Netzwerk? UDP Pakete werden weitergeleitet? Keine Repeater die Sie ggf verschlucken?

                    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                    R H 2 Replies Last reply
                    0
                    • apollon77A apollon77

                      Und die Shelly Geräte sind definitiv im gleichen Netzwerk? UDP Pakete werden weitergeleitet? Keine Repeater die Sie ggf verschlucken?

                      R Offline
                      R Offline
                      Rocket85
                      wrote on last edited by
                      #37

                      @apollon77

                      Ja im selben Netzwerk, sie wurde ja vor der Neuinstallation auch alle angezeigt, nur leider konnte ich damals ja nicht schalten

                      1 Reply Last reply
                      0
                      • apollon77A apollon77

                        Und die Shelly Geräte sind definitiv im gleichen Netzwerk? UDP Pakete werden weitergeleitet? Keine Repeater die Sie ggf verschlucken?

                        H Offline
                        H Offline
                        Home79
                        wrote on last edited by
                        #38

                        @apollon77 Hi ich habe auch ein Problem mit meinem shelly Adapter
                        welcher jede min neu starte. Hab in neu aufgesetzt und bin nicht über mqtt verbunden.
                        Du hast davon gesprochen das es Probleme geben könnte wenn einem Repeater?
                        Kannst du das erklären ? befindet sich doch aber im gleichen Netz ?
                        Was kann ich tun

                        Bei den log kommt immer der error :
                        ![alt text](Bildschirmfoto 2019-06-03 um 21.30.14.png image url)
                        instance system.adapter.shelly.0 terminated with code 156 ()

                        StuebiS 1 Reply Last reply
                        0
                        • H Home79

                          @apollon77 Hi ich habe auch ein Problem mit meinem shelly Adapter
                          welcher jede min neu starte. Hab in neu aufgesetzt und bin nicht über mqtt verbunden.
                          Du hast davon gesprochen das es Probleme geben könnte wenn einem Repeater?
                          Kannst du das erklären ? befindet sich doch aber im gleichen Netz ?
                          Was kann ich tun

                          Bei den log kommt immer der error :
                          ![alt text](Bildschirmfoto 2019-06-03 um 21.30.14.png image url)
                          instance system.adapter.shelly.0 terminated with code 156 ()

                          StuebiS Offline
                          StuebiS Offline
                          Stuebi
                          wrote on last edited by
                          #39

                          @Home79 , kannst du bitte den Shelly Instanz deaktivieren und dann den Shelly Adapter manuell über Kommandozeile starten. Was bekommst Du jetzt angezeigt?

                          node node_modules/iobroker.shelly/main.js --force --logs
                          

                          ioBroker auf Synology DS216+II im Docker Container

                          H 1 Reply Last reply
                          0
                          • H Offline
                            H Offline
                            Home79
                            wrote on last edited by Negalein
                            #40
                            pi@raspberrypi:~ $ node node_modules/iobroker.shelly/main.js --force --logs
                            module.js:550
                                throw err;
                                ^
                            
                            Error: Cannot find module '/home/pi/node_modules/iobroker.shelly/main.js'
                                at Function.Module._resolveFilename (module.js:548:15)
                                at Function.Module._load (module.js:475:25)
                                at Function.Module.runMain (module.js:694:10)
                                at startup (bootstrap_node.js:204:16)
                                at bootstrap_node.js:625:3
                            
                            1 Reply Last reply
                            0
                            • StuebiS Stuebi

                              @Home79 , kannst du bitte den Shelly Instanz deaktivieren und dann den Shelly Adapter manuell über Kommandozeile starten. Was bekommst Du jetzt angezeigt?

                              node node_modules/iobroker.shelly/main.js --force --logs
                              
                              H Offline
                              H Offline
                              Home79
                              wrote on last edited by Negalein
                              #41

                              @Stuebi

                              pi@raspberrypi:~ $ node node_modules/iobroker.shelly/main.js --force --logs
                              module.js:550
                                  throw err;
                                  ^
                              
                              Error: Cannot find module '/home/pi/node_modules/iobroker.shelly/main.js'
                                  at Function.Module._resolveFilename (module.js:548:15)
                                  at Function.Module._load (module.js:475:25)
                                  at Function.Module.runMain (module.js:694:10)
                                  at startup (bootstrap_node.js:204:16)
                                  at bootstrap_node.js:625:3
                              
                              1 Reply Last reply
                              0
                              • apollon77A Offline
                                apollon77A Offline
                                apollon77
                                wrote on last edited by
                                #42

                                @Home79 sagte in Shelly Adapter:

                                node node_modules/iobroker.shelly/main.js --force --logs

                                nimm mal

                                node node_modules/iobroker.shelly/shelly.js --force --logs

                                Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                H 1 Reply Last reply
                                0
                                • apollon77A apollon77

                                  @Home79 sagte in Shelly Adapter:

                                  node node_modules/iobroker.shelly/main.js --force --logs

                                  nimm mal

                                  node node_modules/iobroker.shelly/shelly.js --force --logs

                                  H Offline
                                  H Offline
                                  Home79
                                  wrote on last edited by
                                  #43

                                  @apollon77dbc14c60-4771-4906-8a7f-386b55f01437-iobroker.2019-06-04.log.pdf iobroker.2019-06-04.log.pdf

                                  1 Reply Last reply
                                  0
                                  • apollon77A Offline
                                    apollon77A Offline
                                    apollon77
                                    wrote on last edited by
                                    #44

                                    Mich interessiert was an der Kommandozeile wo du das manuell gestartet hast steht wenn Du das startest und er wieder abstürzt ...

                                    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                    H 1 Reply Last reply
                                    0
                                    • apollon77A apollon77

                                      Mich interessiert was an der Kommandozeile wo du das manuell gestartet hast steht wenn Du das startest und er wieder abstürzt ...

                                      H Offline
                                      H Offline
                                      Home79
                                      wrote on last edited by
                                      #45

                                      @apollon77 sorry wo finde ich das was du meinst

                                      1 Reply Last reply
                                      0
                                      • apollon77A Offline
                                        apollon77A Offline
                                        apollon77
                                        wrote on last edited by
                                        #46

                                        DIe Bitte war:

                                        • Stoppe den Adaspter
                                        • Öffne eine Shell/SSH und wechsle ins ioBroker Verzeichnis
                                        • führe den genannten Befehl manuell dort aus
                                        • schicke das in der Shell ausgegebene Log mit - vor allem den Schluss wenn er wieder abstürzt

                                        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                        H 1 Reply Last reply
                                        0
                                        • apollon77A apollon77

                                          DIe Bitte war:

                                          • Stoppe den Adaspter
                                          • Öffne eine Shell/SSH und wechsle ins ioBroker Verzeichnis
                                          • führe den genannten Befehl manuell dort aus
                                          • schicke das in der Shell ausgegebene Log mit - vor allem den Schluss wenn er wieder abstürzt
                                          H Offline
                                          H Offline
                                          Home79
                                          wrote on last edited by Negalein
                                          #47

                                          @apollon77

                                          pi@raspberrypi:/opt/iobroker $ node node_modules/iobroker.shelly/shelly.js --force --logs
                                          starting. Version 3.0.3 in /opt/iobroker/node_modules/iobroker.shelly, node: v8.16.0
                                          Schedule restart: * 1,3,5-23 * * *
                                          Stating Shelly adapter in CoAP modus.
                                          Listening for Shelly packets in the network
                                          CoAP status package received: {"3332":"SHRGBW2#662476#1","3412":38400,"3420":7936,"Uri-Path":"cit/s"} / {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}
                                          Status update received for SHRGBW2#662476#1: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}
                                          CoAP device description request for SHRGBW2#662476#1 to 192.168.178.62(0)
                                          CoAP response: {"3332":"SHRGBW2#662476#1"}
                                          Device description received: {"3332":"SHRGBW2#662476#1"} / {"blk":[{"I":1,"D":"RGBW2"}],"sen":[{"I":111,"T":"Red","R":"0/255","L":0},{"I":121,"T":"Green","R":"0/255","L":0},{"I":131,"T":"Blue","R":"0/255","L":0},{"I":141,"T":"White","R":"0/255","L":0},{"I":151,"T":"Gain","R":"0/100","L":0},{"I":161,"T":"VSwitch","R":"0/1","L":0}],"act":[{"I":211,"D":"RGBW2","L":0,"P":[{"I":2011,"T":"Red","R":"0/255"},{"I":2021,"T":"Green","R":"0/255"},{"I":2031,"T":"Blue","R":"0/255"},{"I":2041,"T":"White","R":"0/255"},{"I":2051,"T":"Gain","R":"0/100"},{"I":2061,"T":"VSwitch","R":"0/1"}]}]}
                                          Shelly device 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1) with CoAP connected!
                                          CoAP Message for SHRGBW2#662476#1 : {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}
                                          Create State : SHRGBW2#662476#1.color.Switch, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1
                                          State change : SHRGBW2#662476#1.color.Switch, Value: false for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1)
                                          Create State : SHRGBW2#662476#1.color.red, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1
                                          State change : SHRGBW2#662476#1.color.red, Value: 0 for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1)
                                          Create State : SHRGBW2#662476#1.color.green, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1
                                          State change : SHRGBW2#662476#1.color.green, Value: 0 for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1)
                                          Create State : SHRGBW2#662476#1.color.blue, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1
                                          State change : SHRGBW2#662476#1.color.blue, Value: 255 for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1)
                                          Create State : SHRGBW2#662476#1.color.white, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1
                                          State change : SHRGBW2#662476#1.color.white, Value: 97 for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1)
                                          Create State : SHRGBW2#662476#1.color.gain, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1
                                          State change : SHRGBW2#662476#1.color.gain, Value: 4 for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1)
                                          Create State : SHRGBW2#662476#1.white0.Switch, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1
                                          Create State : SHRGBW2#662476#1.white0.brightness, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1
                                          Create State : SHRGBW2#662476#1.white1.Switch, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1
                                          Create State : SHRGBW2#662476#1.white1.brightness, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1
                                          Create State : SHRGBW2#662476#1.white2.Switch, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1
                                          Create State : SHRGBW2#662476#1.white2.brightness, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1
                                          Set state SHRGBW2#662476#1.color.AutoTimerOff, Value: 0 for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1)
                                          Set state SHRGBW2#662476#1.color.AutoTimerOn, Value: 0 for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1)
                                          Set state SHRGBW2#662476#1.mode, Value: "color" for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1)
                                          Set state SHRGBW2#662476#1.version, Value: "20190531-080138/v1.5.0-hotfix2@022ec015" for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1)
                                          Create State : SHRGBW2#662476#1.white3.Switch, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1
                                          Create State : SHRGBW2#662476#1.white3.brightness, Payload: {"G":[[0,111,0],[0,121,0],[0,131,255],[0,141,97],[0,151,4],[0,161,0]]}for SHRGBW2#662476#1
                                          Set state SHRGBW2#662476#1.color.effect, Value: 0 for 192.168.178.62 (shellyrgbw2 / shellyrgbw2-662476 / SHRGBW2#662476#1)
                                          Scheduled restart.
                                          Closing Adapter
                                          terminating
                                          Closing Adapter
                                          
                                          H 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          900

                                          Online

                                          32.5k

                                          Users

                                          81.6k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe