Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. Test Adapter Shelly v3.1.x

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Test Adapter Shelly v3.1.x

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

      @Stuebi ,

      unterstützt der Adapter schon den neuen Shelly Gas ?
      Ich habe einen davon kürzlich bestellt und er müsste demnächst geliefert werden.. 🙂

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

        @K_o_bold , der wird momentan nicht unterstützt. Ich muss sehen wie ich es zeitlich schaffe diesen einzubinden.

        K 1 Reply Last reply Reply Quote 0
        • harrym
          harrym last edited by

          @Stuebi ich bekomme mit der Adapterversion 3.2.9 vom RGBW2 im color mode folgede Errormeldungen im Log:

          2020-06-12 15:38:35.132  - error: shelly.0 (5330) Error in function httpIoBrokerState for state SHRGBW2#6EAADC#1.white1.ButtonType and request{"url":"http://192.168.178.162/settings","timeout":5000,"headers":{"Authorization":"Basic YWRtaW46TUtnPTE3NmNtIQ=="}} for 192.168.178.162 (shellyrgbw2 / shellyrgbw2-6EAADC / SHRGBW2#6EAADC#1) (TypeError: Cannot read property 'btn_type' of undefined)
          2020-06-12 15:38:35.133  - error: shelly.0 (5330) Error in function httpIoBrokerState for state SHRGBW2#6EAADC#1.white2.ButtonType and request{"url":"http://192.168.178.162/settings","timeout":5000,"headers":{"Authorization":"Basic YWRtaW46TUtnPTE3NmNtIQ=="}} for 192.168.178.162 (shellyrgbw2 / shellyrgbw2-6EAADC / SHRGBW2#6EAADC#1) (TypeError: Cannot read property 'btn_type' of undefined)
          2020-06-12 15:38:35.133  - error: shelly.0 (5330) Error in function httpIoBrokerState for state SHRGBW2#6EAADC#1.white3.ButtonType and request{"url":"http://192.168.178.162/settings","timeout":5000,"headers":{"Authorization":"Basic YWRtaW46TUtnPTE3NmNtIQ=="}} for 192.168.178.162 (shellyrgbw2 / shellyrgbw2-6EAADC / SHRGBW2#6EAADC#1) (TypeError: Cannot read property 'btn_type' of undefined)
          2020-06-12 15:38:40.502  - error: shelly.0 (5330) Error in function httpIoBrokerState for state SHRGBW2#6EAADC#1.white1.ButtonType and request{"url":"http://192.168.178.162/settings","timeout":5000,"headers":{"Authorization":"Basic YWRtaW46TUtnPTE3NmNtIQ=="}} for 192.168.178.162 (shellyrgbw2 / shellyrgbw2-6EAADC / SHRGBW2#6EAADC#1) (TypeError: Cannot read property 'btn_type' of undefined)
          2020-06-12 15:38:40.502  - error: shelly.0 (5330) Error in function httpIoBrokerState for state SHRGBW2#6EAADC#1.white2.ButtonType and request{"url":"http://192.168.178.162/settings","timeout":5000,"headers":{"Authorization":"Basic YWRtaW46TUtnPTE3NmNtIQ=="}} for 192.168.178.162 (shellyrgbw2 / shellyrgbw2-6EAADC / SHRGBW2#6EAADC#1) (TypeError: Cannot read property 'btn_type' of undefined)
          2020-06-12 15:38:40.502  - error: shelly.0 (5330) Error in function httpIoBrokerState for state SHRGBW2#6EAADC#1.white3.ButtonType and request{"url":"http://192.168.178.162/settings","timeout":5000,"headers":{"Authorization":"Basic YWRtaW46TUtnPTE3NmNtIQ=="}} for 192.168.178.162 (shellyrgbw2 / shellyrgbw2-6EAADC / SHRGBW2#6EAADC#1) (TypeError: Cannot read property 'btn_type' of undefined)
          2020-06-12 15:38:45.919  - error: shelly.0 (5330) Error in function httpIoBrokerState for state SHRGBW2#6EAADC#1.white1.ButtonType and request{"url":"http://192.168.178.162/settings","timeout":5000,"headers":{"Authorization":"Basic YWRtaW46TUtnPTE3NmNtIQ=="}} for 192.168.178.162 (shellyrgbw2 / shellyrgbw2-6EAADC / SHRGBW2#6EAADC#1) (TypeError: Cannot read property 'btn_type' of undefined)
          2020-06-12 15:38:45.919  - error: shelly.0 (5330) Error in function httpIoBrokerState for state SHRGBW2#6EAADC#1.white2.ButtonType and request{"url":"http://192.168.178.162/settings","timeout":5000,"headers":{"Authorization":"Basic YWRtaW46TUtnPTE3NmNtIQ=="}} for 192.168.178.162 (shellyrgbw2 / shellyrgbw2-6EAADC / SHRGBW2#6EAADC#1) (TypeError: Cannot read property 'btn_type' of undefined)
          2020-06-12 15:38:45.920  - error: shelly.0 (5330) Error in function httpIoBrokerState for state SHRGBW2#6EAADC#1.white3.ButtonType and request{"url":"http://192.168.178.162/settings","timeout":5000,"headers":{"Authorization":"Basic YWRtaW46TUtnPTE3NmNtIQ=="}} for 192.168.178.162 (shellyrgbw2 / shellyrgbw2-6EAADC / SHRGBW2#6EAADC#1) (TypeError: Cannot read property 'btn_type' of undefined)
          
          
          Stuebi 1 Reply Last reply Reply Quote 0
          • Stuebi
            Stuebi @harrym last edited by

            @harrym , ja die Version 3.2.9 ist auch noch nicht ganz offiziell. Ich implementiere da noch einige Dinge. Wenn Du die Version 3.2.9 jetzt nochmals installierst sollte der Fehler verschwunden sein.

            harrym 1 Reply Last reply Reply Quote 1
            • harrym
              harrym @Stuebi last edited by

              @Stuebi läuft 😉

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

                @Stuebi , alles klar.
                Ich stehe gerne für Tests zur Verfügung.
                Ich habe ihn gestern bekommen.

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

                  @K_o_bold , okay, dann schließe einmal Dein Shelly Gas an und stelle den Shelly Adapter auf Debug Modus. Ich benötige die Ausgaben für den Shelly Gas im Logfile (wenn es geht nur die vom Shelly Gas).
                  Du solltest so etwas in der Art sehen:

                  {"G":[[0,66,15],[0,55,0],[0,77,95],[0,88,-1],[0,99,0]]}
                  .SHDW-1#F02FAE#1.{"blk":[{"I":1, "D":"sensors"}],"sen":[{"I":66, "D":"lux", "T":"L", "R":"0/100000", "L":1},{"I":55, "D":"State", "T":"S", "R":"0/1", "L":1},{"I":77, "D":"battery", "T":"B", "R":"0/100", "L":1},{"I":88, "D":"tilt", "T":"S", "R":"0/180", "L":1},{"I":99, "D":"vibration", "T":"S", "R":"0/1", "L":1}]}
                  

                  Am besten die Infos als GitHub Issue erfassen.

                  1 Reply Last reply Reply Quote 0
                  • K
                    K_o_bold last edited by

                    @Stuebi ,

                    ich habe grade ein issue auf github zum Thema Shelly Gas erstellt..

                    harrym 1 Reply Last reply Reply Quote 0
                    • harrym
                      harrym @K_o_bold last edited by

                      @K_o_bold gugg bitte nochmals auf den Post von @Stuebi ... adapter in den Debug Modus usw ....

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        K_o_bold @harrym last edited by

                        @harrym ,

                        ich habe es genau so gemacht. Leider findet er kein Gerät.

                        Das ist die log Ausgabe wenn ich den Adapter starte:

                        
                        shelly.0	2020-06-17 21:56:27.887	info	(27532) Listening for Shelly packets in the network
                        shelly.0	2020-06-17 21:56:27.852	info	(27532) Starting Shelly adapter in CoAP modus.
                        shelly.0	2020-06-17 21:56:27.834	info	(27532) Starting Adapter shelly.0 in version 3.2.8
                        shelly.0	2020-06-17 21:56:27.820	info	(27532) starting. Version 3.2.8 in /opt/iobroker/node_modules/iobroker.shelly, node: v10.20.1, js-controller: 3.1.4
                        shelly.0	2020-06-17 21:56:27.735	debug	(27532) Plugin sentry Initialize Plugin (enabled=true)
                        shelly.0	2020-06-17 21:56:27.489	debug	(27532) statesDB connected
                        shelly.0	2020-06-17 21:56:27.489	debug	(27532) States connected to redis: 127.0.0.1:6379
                        shelly.0	2020-06-17 21:56:27.485	debug	(27532) States create System PubSub Client
                        shelly.0	2020-06-17 21:56:27.483	debug	(27532) States create User PubSub Client
                        shelly.0	2020-06-17 21:56:27.480	debug	(27532) Redis States: Use Redis connection: 127.0.0.1:6379
                        shelly.0	2020-06-17 21:56:27.479	debug	(27532) objectDB connected
                        shelly.0	2020-06-17 21:56:27.475	debug	(27532) Objects connected to redis: 127.0.0.1:9001
                        shelly.0	2020-06-17 21:56:27.468	debug	(27532) Objects client initialize lua scripts
                        shelly.0	2020-06-17 21:56:27.468	debug	(27532) Objects create User PubSub Client
                        shelly.0	2020-06-17 21:56:27.467	debug	(27532) Objects create System PubSub Client
                        shelly.0	2020-06-17 21:56:27.465	debug	(27532) Objects client ready ... initialize now
                        shelly.0	2020-06-17 21:56:27.446	debug	(27532) Redis Objects: Use Redis connection: 127.0.0.1:9001
                        host.nuc	2020-06-17 21:56:26.765	info	instance system.adapter.shelly.0 started with pid 27532
                        
                        harrym 1 Reply Last reply Reply Quote 0
                        • harrym
                          harrym @K_o_bold last edited by

                          @K_o_bold installier dir bitte den shelly adapter 3.3.2 via GIT! du hast noch ne ältere Version.

                          1 Reply Last reply Reply Quote 0
                          • K
                            K_o_bold last edited by

                            auch mit der aktuellsten Version leider ohne Erfolg:

                            shelly.0	2020-06-17 22:13:22.184	info	(5007) Listening for Shelly packets in the network
                            shelly.0	2020-06-17 22:13:22.150	info	(5007) Starting Shelly adapter in CoAP modus.
                            shelly.0	2020-06-17 22:13:22.133	info	(5007) Polltime of the shelly devices: 10 sec.
                            shelly.0	2020-06-17 22:13:22.133	info	(5007) Starting Adapter shelly.0 in version 3.3.2
                            shelly.0	2020-06-17 22:13:22.119	info	(5007) starting. Version 3.3.2 in /opt/iobroker/node_modules/iobroker.shelly, node: v10.20.1, js-controller: 3.1.4
                            shelly.0	2020-06-17 22:13:22.035	debug	(5007) Plugin sentry Initialize Plugin (enabled=true)
                            shelly.0	2020-06-17 22:13:21.861	debug	(5007) statesDB connected
                            shelly.0	2020-06-17 22:13:21.861	debug	(5007) States connected to redis: 127.0.0.1:6379
                            shelly.0	2020-06-17 22:13:21.857	debug	(5007) States create System PubSub Client
                            shelly.0	2020-06-17 22:13:21.856	debug	(5007) States create User PubSub Client
                            shelly.0	2020-06-17 22:13:21.853	debug	(5007) Redis States: Use Redis connection: 127.0.0.1:6379
                            shelly.0	2020-06-17 22:13:21.851	debug	(5007) objectDB connected
                            shelly.0	2020-06-17 22:13:21.847	debug	(5007) Objects connected to redis: 127.0.0.1:9001
                            shelly.0	2020-06-17 22:13:21.840	debug	(5007) Objects client initialize lua scripts
                            shelly.0	2020-06-17 22:13:21.840	debug	(5007) Objects create User PubSub Client
                            shelly.0	2020-06-17 22:13:21.839	debug	(5007) Objects create System PubSub Client
                            shelly.0	2020-06-17 22:13:21.837	debug	(5007) Objects client ready ... initialize now
                            shelly.0	2020-06-17 22:13:21.820	debug	(5007) Redis Objects: Use Redis connection: 127.0.0.1:9001
                            host.nuc	2020-06-17 22:13:21.213	info	instance system.adapter.shelly.0 started with pid 5007
                            
                            harrym 1 Reply Last reply Reply Quote 0
                            • harrym
                              harrym @K_o_bold last edited by harrym

                              @K_o_bold stell den adapter bitte von info auf debug um .... unter instanzen, expertenmodus ... dann auf debug wechseln.

                              K 1 Reply Last reply Reply Quote 0
                              • K
                                K_o_bold @harrym last edited by K_o_bold

                                @harrym ,

                                die logs die ich gepostet habe, wurden aus dem debug modus erzeugt.

                                Die COAP Einstellungen im Adapter sehen wie folgt aus:

                                7bc4cdd1-8c0c-4ff0-b809-28418e7cc4b1-image.png

                                Und der Shelly GAS ist nicht im mqtt Modus

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

                                  @K_o_bold , ich benötige immer folgende Infos mit jeweils kurzem Hinweis woher die Infos kommen wie z.B. (status, settings, CoAP oder MQTT). Bei neuen Geräten wird immer CoAP und MQTT implementiert und nicht einmal nur MQTT oder CoAP!
                                  Ab der Version 3.3.2 wird die CoAP Messages bei unbekannten Shelly Geräten im Logfile ohne in den Debug Modus zu wechseln angezeigt.

                                  CoAP Meldungen
                                  Shelly Gerät muss sich CoAP Modus befinden nun im Logfile nach folgender Info suchen:

                                  1. Send developer following Info: SHRGBW2#XX2090#1 : {"blk":[{"I":0,"D":"RGBW2"}],"sen":[{"I":118,"T":"S","D":"Input","R":"0/1","L":0},{"I":111,"T":"S","D":"Brightness_0","R":"0/100","L":0},{"I":121,"T":"S","D":"Brightness_1","R":"0/100","L":0},{"I":131,"T":"S","D":"Brightness_2","R":"0/100","L":0},{"I":141,"T":"S","D":"Brightness_3","R":"0/100","L":0},{"I":151,"T":"S","D":"VSwitch_0","R":"0/1","L":0},{"I":161,"T":"S","D":"VSwitch_1","R":"0/1","L":0},{"I":171,"T":"S","D":"VSwitch_2","R":"0/1","L":0},{"I":181,"T":"S","D":"VSwitch_3","R":"0/1","L":0},{"I":211,"T":"P","D":"Power_0","R":"0/288","L":0},{"I":221,"T":"P","D":"Power_1","R":"0/288","L":0},{"I":231,"T":"P","D":"Power_2","R":"0/288","L":0},{"I":241,"T":"P","D":"Power_3","R":"0/288","L":0}]}
                                  
                                  2 .Send developer following Info: SHRGBW2#XX2090#1 : {"G":[[0,111,50],[0,121,50],[0,131,50],[0,141,50],[0,151,0],[0,161,0],[0,171,0],[0,181,0],[0,211,0],[0,221,0],[0,231,0],[0,241,0],[0,118,0]]}
                                  

                                  MQTT
                                  Prüfe ob das neue Shelly Gerät in der API Dokumentation von Shelly steht https://shelly-api-docs.shelly.cloud . Sollte das Gerät in der Shelly API Dokumentation nicht stehen. Dann ist der ioBroker "MQTT Broker/Client" Adapter zu installieren. Der neue Shelly ist per MQTT mit dem MQTT Broker/Client" Adapter zu verbinden. Ich benötige dann alle Objekte für den neuen Shelly unter "mqtt.0".

                                  Status (http)
                                  Output http://ip-shelly/status . Passwort falls vorhanden anonymisieren, IP-Adresse, Hostname, SSID sind nicht zu anoymisieren. Das ist überflüssig

                                  Settings (http)
                                  Output http://ip-shelly/settings . Passwort falls vorhanden anonymisieren, IP-Adresse, Hostname, SSID sind nicht zu anoymisieren. Das ist überflüssig

                                  VG
                                  Stübi

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    MiB last edited by

                                    Hi,
                                    darf ich mal fragen warum der Adapter Shelly's mit FW <1.7.0 nicht mehr unterstüztz?
                                    Der Shelly 4Pro hat die 1.5.7 und da gibt es keine 1.7.0
                                    Kann ich den dann nicht mehr über ioBroker steuern?

                                    harrym 1 Reply Last reply Reply Quote 0
                                    • harrym
                                      harrym @MiB last edited by

                                      @MiB gilt nur für den Shelly RGBW2.

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        MiB last edited by

                                        Use only version with Shelly firmware greater equal v1.7.0 . Shelly firmware less v1.7.0 will not be supported by this Shelly adapter version anymore

                                        kann man aus dieser Aussage aber nicht ersehen, ich hoffe mal du hast da recht.

                                        harrym 1 Reply Last reply Reply Quote 0
                                        • harrym
                                          harrym @MiB last edited by

                                          @MiB ich habe recht .... weil sich eben mit der FW 1.7 beim RGBW2 etliches geändert hat.

                                          Stuebi M 2 Replies Last reply Reply Quote 0
                                          • Stuebi
                                            Stuebi @harrym last edited by

                                            Wer kann von Euch einmal die Adapter Version 3.3.3 folgende Geräte testen?

                                            • Shelly RGBW2 White und Color im CoAP Modus
                                            • Shelly RGBW2 White und Color im MQTT Modus
                                            • Shelly Button im MQTT Modus
                                            • Shelly Gas im CoAP Modus
                                            • Shelly Gas im MQTT Modus

                                            Leider hat die Shelly Button 1 Firmware 1.7.0 und auch die aktuelle Beta einen Syntaxfehler in den CoAP Nachrichten. Daher funtioniert der Shelly Button nicht im CoAP Modus

                                            Die Version 3.3.3 muss noch über GitHub installiert werden. Wie das geht, steht hier

                                            VG
                                            Stübi

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            751
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter shelly
                                            36
                                            282
                                            32598
                                            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