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

    • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?

    • Monatsrückblick – September 2025

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    Shelly Adapter - genereller Support

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

      Re: [MQTT] Unable to get mqttprefix of client

      Der Fehler scheint immer noch so aufzutreten.
      Ein Logauszug bei mir:

      shelly.1
      2025-11-06 10:28:20.171	error	[MQTT] Unable to get mqttprefix of client with id "ShellyWallDisplay-00082293A22C"
      shelly.1
      2025-11-06 10:28:20.171	error	[MQTT] Error in function setMqttPrefixHttp (Gen 1) for client undefined: TypeError: Cannot read properties of undefined (reading 'replace')
      

      Das bekomme ich leider alle paar Sekunden in mein Log gespielt.
      Gibt es da noch keine Lösung / Workaround für?

      @haus-automatisierung

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

        @bigchris sagte in Shelly Errormeldung im Log. MQTT Error in function:

        Gibt es da noch keine Lösung / Workaround für?

        Ich kann das Problem nicht reproduzieren und weiß bis heute nicht woran es liegt. Die Diskussion auf GitHub ist ja auch schon uralt - ohne eine Lösung. Bei mir ist das noch nie aufgetreten.

        Aus irgend einem Grund wird das Gerät als "Gen 1" erkannt. Und das kann ja nur passieren, wenn die MQTT Client ID nicht erkannt wurde. Aber wie soll das gehen? Ich kann mir das Verhalten nicht erklären.

        B 1 Reply Last reply Reply Quote 0
        • B
          BigChris @haus-automatisierung last edited by

          @haus-automatisierung
          Ich stecke da leider auch nicht tief drin.
          Gibt es denn einen Workaround das man zumindest die Meldung nicht in die Logs bekommt? Ich habe so halt nach 5 Minuten mehr als 99 Errormeldungen im Log, was mich einmal jedesmal erschrickt, aber auch die Auswertung anderer Fehler wirklich erschwert.

          1 Reply Last reply Reply Quote 0
          • B
            BigChris last edited by

            Ich habe es für mich dann erst mal so gelöst, dass ich das Walldisplay über einen anderen mqtt Adapter anbinde.
            Schade auf jeden Fall

            haus-automatisierung 1 Reply Last reply Reply Quote 0
            • B
              BigChris last edited by

              Und schon melden sich weitere Geräte

              2025-11-06 11:42:00.732	error	[MQTT] Unable to get mqttprefix of client with id "shellyplus2pm-b48a0a225550"
              shelly.1
              2025-11-06 11:42:00.732	error	[MQTT] Error in function setMqttPrefixHttp (Gen 1) for client undefined: TypeError: Cannot read properties of undefined (reading 'replace')
              shelly.1
              2025-11-06 11:41:59.323	error	[MQTT] Unable to get mqttprefix of client with id "shellyshutter-e4b063d77694"
              shelly.1
              2025-11-06 11:41:59.322	error	[MQTT] Error in function setMqttPrefixHttp (Gen 1) for client undefined: TypeError: Cannot read properties of undefined (reading 'replace')
              
              1 Reply Last reply Reply Quote 0
              • haus-automatisierung
                haus-automatisierung Developer Most Active @BigChris last edited by

                @bigchris sagte in Shelly Errormeldung im Log. MQTT Error in function:

                dass ich das Walldisplay über einen anderen mqtt Adapter anbinde.

                Der Fehler tritt unabhängig vom Gerätetyp auf.

                1 Reply Last reply Reply Quote 0
                • B
                  BigChris last edited by

                  @haus-automatisierung
                  Ich meinte ich melde das Walldisplay komplett vom Adapter ab und steuere direkt über MQTT.
                  Leider muss ich dann auch immer mehr Geräte aus dem Adapter nehmen, was schade ist. Vom MQTT Adapter erhalte ich keine Fehler.

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

                    @bigchris sagte in Shelly Errormeldung im Log. MQTT Error in function:

                    Vom MQTT Adapter erhalte ich keine Fehler.

                    Logisch. Der macht ja auch nix besonderes sondern nimmt erstmal nur die Verbindung entgegen. Dafür muss man sich dann mit RPC Payloads beschäftigen usw.

                    Das kann nicht die Lösung sein. Freue mich immer über konstruktiven Input.

                    B 1 Reply Last reply Reply Quote 0
                    • B
                      BigChris @haus-automatisierung last edited by

                      @haus-automatisierung
                      Leider kenne ich mich nicht sehr damit aus, aber mit scheint es so, dass sich ein gen2 Gerät als gen2 anmeldet, wobei der adapter evt meint es käme coap.
                      Kann man die betreffenden Geräte nicht evt. manuell in den Adapter eintragen als gen2?

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

                        @bigchris sagte in Shelly Errormeldung im Log. MQTT Error in function:

                        wobei der adapter evt meint es käme coap.

                        Auf gar keinen Fall

                        B 1 Reply Last reply Reply Quote 0
                        • B
                          BigChris @haus-automatisierung last edited by

                          @haus-automatisierung
                          Zumindest steht ja etwas als gen1 in dem Log, wobei die betreffenden Geräte alle gen2 sind.

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

                            @bigchris Und weiter? Gen1 unterstützt ja auch schon immer MQTT

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

                            Support us

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

                            1.1k
                            Online

                            32.4k
                            Users

                            81.2k
                            Topics

                            1.3m
                            Posts

                            mcm1957 shelly
                            36
                            252
                            17521
                            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