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 @Stabilostick last edited by Negalein

      @Stabilostick

      $ ./iobroker add shelly  --host raspberrypi
      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
        • Stabilostick
          Stabilostick last edited by

          Kann es sein, dass Du nur die Instanz aber nicht den Adapter gelöscht hast?

          R 1 Reply Last reply Reply Quote 0
          • R
            Rocket85 @Stabilostick last edited by Negalein

            @Stabilostick

            Eigentlich habe ich den Adapter gelöscht, allerdings habe ich eben mal den Haken bei - schließen wenn fertig - weg gemacht und da ist mir etwas aufgefallen.

            $ ./iobroker del shelly
            Delete adapter "shelly"
            host.raspberrypi no instances of adapter shelly found
            npm uninstall iobroker.shelly --silent --save --prefix "/opt/iobroker" (System call)
            ERROR: Error deleting adapter shelly from disk: Error: host.raspberrypi: Cannot uninstall iobroker.shelly: 243
            ERROR: You might have to delete it yourself!
            process exited with code 0
            
            1 Reply Last reply Reply Quote 0
            • Stabilostick
              Stabilostick last edited by Stabilostick

              Vorschlag:

              1. Beende iobroker mit

                iobroker stop
                

                ausgeführt im iobroker-Ordner.

              2. Lösche manuell den node_modules/iobroker.shelly-Ordner (habe ich aus dem Gedächtnis so geschrieben)

              Dann wieder den ioBroker starten.

              R 1 Reply Last reply Reply Quote 0
              • R
                Rocket85 @Stabilostick last edited by Negalein

                @Stabilostick

                Rückmeldung:

                rm: das entfernen von ´node_modules/iobroker.shelly´ ist nicht möglich. Keine Berechtigung
                
                1 Reply Last reply Reply Quote 0
                • Stabilostick
                  Stabilostick last edited by

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

                  R 1 Reply Last reply Reply Quote 0
                  • R
                    Rocket85 @Stabilostick last edited by

                    @Stabilostick

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

                    1 Reply Last reply Reply Quote 0
                    • 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
                      • 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
                                              • First post
                                                Last post

                                              Support us

                                              ioBroker
                                              Community Adapters
                                              Donate

                                              910
                                              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