Navigation

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

    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

    SOLVED Shelly Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Rocket85 last edited by Negalein

      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 Reply Quote 0
      • apollon77
        apollon77 last edited by

        äääähm ... alos Stündlicher restart muss das erste * eine 0 sein ... ansonsten: warum denn überhaupt? Und auch der Default ist nur * * * * * sondern "leer" weil an sich kein Restart beim Shelly Adapter nötig ist

        Stuebi H 2 Replies Last reply Reply Quote 0
        • R
          Rocket85 last edited by Negalein

          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 Reply Quote 0
          • apollon77
            apollon77 last edited by

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

            R 2 Replies Last reply Reply Quote 0
            • R
              Rocket85 @apollon77 last edited by

              @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 Reply Quote 0
              • R
                Rocket85 last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • R
                  Rocket85 @apollon77 last edited by

                  @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 Reply Quote 0
                  • R
                    Rocket85 last edited by

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

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

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

                      R H 2 Replies Last reply Reply Quote 0
                      • R
                        Rocket85 @apollon77 last edited by

                        @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 Reply Quote 0
                        • H
                          Home79 @apollon77 last edited by

                          @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 ()

                          Stuebi 1 Reply Last reply Reply Quote 0
                          • Stuebi
                            Stuebi @Home79 last edited by

                            @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 1 Reply Last reply Reply Quote 0
                            • H
                              Home79 last edited by Negalein

                              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 Reply Quote 0
                              • H
                                Home79 @Stuebi last edited by Negalein

                                @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 Reply Quote 0
                                • apollon77
                                  apollon77 last edited by

                                  @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 1 Reply Last reply Reply Quote 0
                                  • H
                                    Home79 @apollon77 last edited by

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

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

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

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

                                        @apollon77 sorry wo finde ich das was du meinst

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

                                          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 1 Reply Last reply Reply Quote 0
                                          • H
                                            Home79 @apollon77 last edited by Negalein

                                            @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 Reply Quote 0
                                            • H
                                              Home79 @Home79 last edited by

                                              @Home79
                                              passt das so ? sorry bin nicht ganz so drin im Thema sorry

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

                                              Support us

                                              ioBroker
                                              Community Adapters
                                              Donate

                                              861
                                              Online

                                              31.9k
                                              Users

                                              80.1k
                                              Topics

                                              1.3m
                                              Posts

                                              5
                                              59
                                              6022
                                              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