Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Shelly Adapter - genereller Support

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Shelly Adapter - genereller Support

    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      Wuschl @zahnheinrich last edited by Wuschl

      @zahnheinrich das funktioniert aber nur, wenn ich den Zeitserver auf den originalen zurück setze. Bei jedem anderen funktioniert das nicht.
      Und der Reboot hat keine Auswirkung auf die sofortige Verbindung. Ich kann den UNI 50x hintereinander rebooten, da kommt immer wieder die Fehlermeldung. Es funktioniert nur in Verbindung - Zeitserver ändern - Zeitserver auf original ändern - Reboot

      Wie aktiviere ich das AP Roaming???

      Z 1 Reply Last reply Reply Quote 0
      • Z
        zahnheinrich @Wuschl last edited by

        @wuschl

        Screenshot (8).png

        W 1 Reply Last reply Reply Quote 0
        • W
          Wuschl @zahnheinrich last edited by

          @zahnheinrich Ich habe einen UNI-Plus. Da gibt es diesen nicht.
          uniplus.jpg

          Z 1 Reply Last reply Reply Quote 0
          • Z
            zahnheinrich @Wuschl last edited by

            @wuschl
            Heisst bei dir Wifi roaming, ist wohl dauernd aktiv.
            Setze das mal runter auf -70db.
            Anschliessend rebooten und beobachten.

            1 Reply Last reply Reply Quote 0
            • W
              Wuschl last edited by

              @zahnheinrich es macht keinen Unterschied, er ist immer am selben AP angemeldet. Iobroker neustart, Stundenlanges warten...

              Z 1 Reply Last reply Reply Quote 0
              • Z
                zahnheinrich @Wuschl last edited by zahnheinrich

                @wuschl
                Gibt es denn weitere AP's?
                ...und wenn er angemeldet ist, ist er doch erreichbar?

                W 1 Reply Last reply Reply Quote 0
                • W
                  Wuschl @zahnheinrich last edited by

                  @zahnheinrich ja über die Gui ist er immer erreichbar, nur im Iobroker nicht, da kommt dann die Fehlermeldung. Mittlerweile ist er wieder mit Iobroker verbunden, plötzlich und unerwartet nach Stunden.

                  Z 1 Reply Last reply Reply Quote 0
                  • Z
                    zahnheinrich @Wuschl last edited by

                    @wuschl
                    Dann kommen imo nur noch deine mqtt Einstellungen in Betracht (auch die im shelly)

                    mcm1957 1 Reply Last reply Reply Quote 0
                    • mcm1957
                      mcm1957 @zahnheinrich last edited by mcm1957

                      Möcht mich in eure Diskussion einmischen,aber wenn es um aber welches Problem sucht ihr eigentlich ?

                      Gehts noch immer um das:
                      https://github.com/iobroker-community-adapters/ioBroker.shelly/issues/1026

                      Das Problem ist bekannt. und wahrscheinlich liegt es nichtvdirekt an den WLAN oder MQTT Einstellungen. Aber ja,wenn ihr da was entdeckt sind wir dankbar.

                      Z 1 Reply Last reply Reply Quote 0
                      • Z
                        zahnheinrich @mcm1957 last edited by

                        @mcm1957
                        Denke , darum geht es immer noch.

                        Meine Beobachtung ist, dass bei zeitweiser Nichterreichbarkeit einzelner shellys in einem Wlan mit mehreren AP's ein Aktivieren der Option 'AP roaming' im shelly eine deutliche Verbesserung/Lösung des Problems bringen kann.

                        W 1 Reply Last reply Reply Quote 0
                        • W
                          Wuschl last edited by

                          @zahnheinrich es geht um die Verbindung zum iobroker, da kommt die Fehlermeldung und die Verbindung bricht alle 2 Minuten mit der Fehlermeldung "Unable to get mqtt-Präfix" ab.
                          Über Wlan ist er immer erreichbar.

                          W 1 Reply Last reply Reply Quote 0
                          • W
                            Wuschl @Wuschl last edited by wendy2702

                            @wuschl

                            shelly.0
                            2025-06-29 19:30:34.664	error	[MQTT] Unable to get mqttprefix of client with id "shellyplusuni-c4d8d553a8f4"
                            
                            shelly.0
                            2025-06-29 19:30:34.664	error	[MQTT] Error in function setMqttPrefixHttp (Gen 1) for client undefined: TypeError: Cannot read properties of undefined (reading 'replace')
                            
                            shelly.0
                            2025-06-29 19:29:26.647	error	[MQTT] Unable to get mqttprefix of client with id "shellyplusuni-c4d8d553a8f4"
                            
                            shelly.0
                            2025-06-29 19:29:26.646	error	[MQTT] Error in function setMqttPrefixHttp (Gen 1) for client undefined: TypeError: Cannot read properties of undefined (reading 'replace')
                            
                            shelly.0
                            2025-06-29 19:28:17.782	error	[MQTT] Unable to get mqttprefix of client with id "shellyplusuni-c4d8d553a8f4"
                            
                            shelly.0
                            2025-06-29 19:28:17.782	error	[MQTT] Error in function setMqttPrefixHttp (Gen 1) for client undefined: TypeError: Cannot read properties of undefined (reading 'replace')
                            
                            shelly.0
                            2025-06-29 19:27:12.561	error	[MQTT] Unable to get mqttprefix of client with id "shellyplusuni-c4d8d553a8f4"
                            
                            shelly.0
                            2025-06-29 19:27:12.560	error	[MQTT] Error in function setMqttPrefixHttp (Gen 1) for client undefined: TypeError: Cannot read properties of undefined (reading 'replace')
                            
                            shelly.0
                            2025-06-29 19:26:05.180	error	[MQTT] Unable to get mqttprefix of client with id "shellyplusuni-c4d8d553a8f4"
                            
                            shelly.0
                            2025-06-29 19:26:05.179	error	[MQTT] Error in function setMqttPrefixHttp (Gen 1) for client undefined: TypeError: Cannot read properties of undefined (reading 'replace')
                            
                            shelly.0
                            2025-06-29 19:25:00.182	error	[MQTT] Unable to get mqttprefix of client with id "shellyplusuni-c4d8d553a8f4"
                            
                            shelly.0
                            2025-06-29 19:25:00.182	error	[MQTT] Error in function setMqttPrefixHttp (Gen 1) for client undefined: TypeError: Cannot read properties of undefined (reading 'replace')
                            
                            shelly.0
                            2025-06-29 19:23:49.865	error	[MQTT] Unable to get mqttprefix of client with id "shellyplusuni-c4d8d553a8f4"
                            
                            shelly.0
                            2025-06-29 19:23:49.865	error	[MQTT] Error in function setMqttPrefixHttp (Gen 1) for client undefined: TypeError: Cannot read properties of undefined (reading 'replace')
                            
                            shelly.0
                            2025-06-29 19:22:44.596	error	[MQTT] Unable to get mqttprefix of client with id "shellyplusuni-c4d8d553a8f4"
                            
                            shelly.0
                            2025-06-29 19:22:44.596	error	[MQTT] Error in function setMqttPrefixHttp (Gen 1) for client undefined: TypeError: Cannot read properties of undefined (reading 'replace')
                            
                            shelly.0
                            2025-06-29 19:21:34.041	error	[MQTT] Unable to get mqttprefix of client with id "shellyplusuni-c4d8d553a8f4"
                            
                            shelly.0
                            2025-06-29 19:21:34.041	error	[MQTT] Error in function setMqttPrefixHttp (Gen 1) for client undefined: TypeError: Cannot read properties of undefined (reading 'replace')
                            
                            shelly.0
                            2025-06-29 19:20:28.000	error	[MQTT] Unable to get mqttprefix of client with id "shellyplusuni-c4d8d553a8f4"
                            
                            shelly.0
                            2025-06-29 19:20:28.000	error	[MQTT] Error in function setMqttPrefixHttp (Gen 1) for client undefined: TypeError: Cannot read properties of undefined (reading 'replace')
                            
                            shelly.0
                            2025-06-29 19:19:18.356	error	[MQTT] Unable to get mqttprefix of client with id "shellyplusuni-c4d8d553a8f4"
                            
                            shelly.0
                            2025-06-29 19:19:18.356	error	[MQTT] Error in function setMqttPrefixHttp (Gen 1) for client undefined: TypeError: Cannot read properties of undefined (reading 'replace')
                            
                            shelly.0
                            2025-06-29 19:18:07.470	error	[MQTT] Unable to get mqttprefix of client with id "shellyplusuni-c4d8d553a8f4"
                            
                            shelly.0
                            2025-06-29 19:18:07.470	error	[MQTT] Error in function setMqttPrefixHttp (Gen 1) for client undefined: TypeError: Cannot read properties of undefined (reading 'replace')
                            
                            shelly.0
                            2025-06-29 19:17:02.382	error	[MQTT] Unable to get mqttprefix of client with id "shellyplusuni-c4d8d553a8f4"
                            
                            shelly.0
                            2025-06-29 19:17:02.382	error	[MQTT] Error in function setMqttPrefixHttp (Gen 1) for client undefined: TypeError: Cannot read properties of undefined (reading 'replace')
                            
                            shelly.0
                            2025-06-29 19:15:55.825	error	[MQTT] Unable to get mqttprefix of client with id "shellyplusuni-c4d8d553a8f4"
                            
                            shelly.0
                            2025-06-29 19:15:55.824	error	[MQTT] Error in function setMqttPrefixHttp (Gen 1) for client undefined: TypeError: Cannot read properties of undefined (reading 'replace')
                            

                            Plötzlich wie aus dem Nichts...

                            1 Reply Last reply Reply Quote 0
                            • W
                              Wuschl @zahnheinrich last edited by

                              @zahnheinrich was mir noch aufgefallen ist, wenn man sich über Wlan einloggt, dann braucht es ewig bis die Timezone geladen ist, bestimmt 2 Minuten
                              uniplus.jpg

                              Wenn ich dann den UNI im iobroker Adapter lösche, unten bei BrowserTime auf Set klicke, am UNI einen Reboot mache, dann ist er sofort richtig verbunden.

                              Z 1 Reply Last reply Reply Quote 0
                              • Z
                                zahnheinrich @Wuschl last edited by

                                @wuschl
                                Ich benutze meine Fritzbox als timeserver, kann ich dazu also nichts sagen...

                                1 Reply Last reply Reply Quote 0
                                • H
                                  hetti72 last edited by

                                  Hallo,

                                  ich benutze u.a. einen Shelly 3em mit dem Shelly Adapter. Ich würde nun gerne den Verbrauch bzw, alle Werte unter EMData0 per Script zurücksetzen. Über das Webinterface geht das mit "delete stored Data".
                                  Geht das auch irgendwie mit dem Adapter? Es soll wohl auch direkt per MQTT gehen, aber kann ich über den Adapter einen Command per MQTT an den Shelly schicken?

                                  mcm1957 1 Reply Last reply Reply Quote 0
                                  • mcm1957
                                    mcm1957 @hetti72 last edited by

                                    @hetti72
                                    Nein, das direkte Senden von Daten via MQTT ist nicht vorgesehen.

                                    Ich habe jetzt nicht im Kopf ob ein Reset bei diesem Device programmatisch möglich und implementiert ist. Wenn nicht implementiert bitte gerne ein Issue erstellen. Wir schaun uns das dann an sobald mal Zeit ist (bitte nicht lachen 🙂 )

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

                                      Hallo alle zusammen ich habe mehrere Windows Bues und auch Motion Blu im Einsatz die Scripte zum Empfang sind auf den Shellys 1pm plus in der Version 1 und der Adapter in der Vers. 10.1

                                      Nun bekomme ich bei dem Motion Blu diesesn Fehler gemeldet.
                                      Screenshot 2025-08-06 174843.png

                                      Screenshot 2025-08-07 062742.png

                                      und im Log des Iobrokers findet sich unter warn dieser eintrag

                                      025-08-06 17:49:52.380 - info: zigbee2mqtt.1 (154496) z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Steckdose Büro', payload '{"child_lock":"UNLOCK","countdown":0,"current":0.66,"energy":43.31,"indicator_mode":"off/on","linkquality":156,"power":127,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"voltage":229}'
                                      2025-08-06 17:49:55.167 - warn: shelly.0 (51201) [Mqtt.statusNotifications] 192.168.178.118 (shellyplus1pm / shellyplus1pm-cc7b5c820c00 / shellyplus1pm#cc7b5c820c00#1): "General Status Notifications" are disabled (see adapter documentation for details)
                                      2025-08-06 17:49:56.121 - info: zigbee2mqtt.1 (154496) z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/SNZB-02 Bad', payload '{"battery":100,"humidity":79.44,"linkquality":87,"temperature":19.22,"voltage":3000}'
                                      2025-08-06 17:49:59.359 - info: zigbee2mqtt.1 (154496) z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Steckdose Büro', payload '{"child_lock":"UNLOCK","countdown":0,"current":0.66,"energy":43.31,"indicator_mode":"off/on","linkquality":156,"power":115,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"voltage":229}'
                                      2025-08-06 17:49:59.856 - info: zigbee2mqtt.1 (154496) z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Fernseherleiste', payload '{"child_lock":"UNLOCK","countdown":0,"current":0.51,"energy":38.92,"indicator_mode":"off/on","linkquality":29,"power":97,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"voltage":231}'
                                      2025-08-06 17:50:03.166 - info: zigbee2mqtt.1 (154496) z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Außendoppelsteckdose', payload '{"child_lock":"UNLOCK","current":0,"energy":8.48,"indicator_mode":"off/on","linkquality":109,"power":0,"power_outage_memory_l1":"restore","state_l1":"OFF","state_l2":"OFF","update":{"installed_version":69,"latest_version":69,"state":"idle"},"voltage":231}'
                                      2025-08-06 17:50:03.168 - info: zigbee2mqtt.1 (154496) z2m:mqtt: MQTT publish: topic 'zigbee2mqtt/Steckdose Garten', payload '{"child_lock":"UNLOCK","countdown":0,"current":0.04,"energy":11.03,"indicator_mode":"off/on","linkquality":109,"power":5,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"voltage":232}'
                                      

                                      und bei dem Windows Blu bekomme ich zum Teil dieses angezeigt.
                                      Screenshot 2025-08-02 135418.png

                                      wie schaffe ich es das das Script wieder Fehlerfrei funktioniert.
                                      Gruß
                                      Mico

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

                                        @mico
                                        Installier das aktuelle script. Der Fehler mit 'unpackedData' stammt aus einer fehlerhaften Version.
                                        Kannst di Zeile 'console log ...' auch einfach löschen.

                                        https://github.com/iobroker-community-adapters/ioBroker.shelly/blob/v10.0.0/docs/en/ble-devices.md#javascript-shelly-scripting

                                        Siehe auch:
                                        https://forum.iobroker.net/topic/80722/test-adapter-shelly-10-1-0-latest-beta/22

                                        @Homoran
                                        Bitte an den shelly support topic anhängen
                                        https://forum.iobroker.net/topic/81297/shelly-adapter-genereller-support

                                        M 1 Reply Last reply Reply Quote 0
                                        • M
                                          Mico @mcm1957 last edited by

                                          @mcm1957
                                          Ich habe ja die Version 1.0 des Scriptes installiert, jetzt nochmals per Steuerung und C kopiert und eingefügt. leider immer noch dieser Fehler

                                          Also Shelkly Instanz ist 10.1 Bluetooth ist enable und Script zum Ausführen ist V 1.0

                                          haus-automatisierung 1 Reply Last reply Reply Quote 0
                                          • haus-automatisierung
                                            haus-automatisierung Developer Most Active @Mico last edited by

                                            @mico sagte in Shelly BLus zum Teil mit Fehler im Auto-Script:

                                            Ich habe ja die Version 1.0 des Scriptes installiert

                                            Ja, die Zeile wurde entfernt, ohne dass die Script-Version angepasst wurde. Daher existieren leider gerade 2 verschiedene 1.0 Versionen. Am besten die aus dem 10.1.0 Tag nehmen:

                                            https://github.com/iobroker-community-adapters/ioBroker.shelly/blob/v10.1.0/docs/en/ble-devices.md

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            676
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            mcm1957 shelly
                                            19
                                            102
                                            2702
                                            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