Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Zigbee state Name ändert sicht nicht

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Zigbee state Name ändert sicht nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • DJMarc75
      DJMarc75 @paul53 last edited by

      @paul53 sagte in Zigbee state Name ändert sicht nicht:

      aber dann sind in den DP-Namen keine Gerätenamen enthalten

      MIR ist das klar. Aber deshalb ja der Hinweis an @totocotonio mit dem Löschen vom Objektbaum und Neustart des Adapters um den "Ursprung" der DP-Namen herzustellen.

      Oder eben mit Alias arbeiten 😀

      totocotonio 1 Reply Last reply Reply Quote 0
      • totocotonio
        totocotonio @DJMarc75 last edited by

        @djmarc75

        Hi,
        Objektbaum gelöscht, Adapter neu gestartet.

        Jetzt werden gar keine Namen mehr ausser des Gerätenamen angezeigt.😕

        zigbee1.png

        paul53 1 Reply Last reply Reply Quote 0
        • totocotonio
          totocotonio @paul53 last edited by

          @paul53

          Kann man die Namen ändern ohne das da was passiert?

          1Topf 1 Reply Last reply Reply Quote 0
          • paul53
            paul53 @totocotonio last edited by paul53

            @totocotonio sagte: Jetzt werden gar keine Namen mehr ausser des Gerätenamen angezeigt.

            Doch, die Standard DP-Namen ohne Gerätename. Den Gerätenamen muss man zu jedem Datenpunkt manuell hinzufügen.

            @totocotonio sagte in Zigbee state Name ändert sicht nicht:

            Kann man die Namen ändern ohne das da was passiert?

            Ja.

            totocotonio 1 Reply Last reply Reply Quote 0
            • totocotonio
              totocotonio @paul53 last edited by

              @paul53 Danke Paul, dann versuche ich das mal.

              paul53 1 Reply Last reply Reply Quote 0
              • paul53
                paul53 @totocotonio last edited by paul53

                @totocotonio sagte: dann versuche ich das mal.

                Man kann mittels Skript auch alle Datenpunktnamen eines Gerätes in einem Rutsch anpassen.

                const idDevice = 'zigbee.0.xyz'; // ID anpassen!
                const ids = $(idDevice + '.*');
                const deviceName = getObject(idDevice).common.name;
                
                ids.each(function(id, i) {
                    const obj = getObject(id);
                    const dpName = obj.common.name;
                    if(!dpName.includes(deviceName)) {
                        obj.common.name = deviceName + ' ' + dpName;
                        setObject(id, obj);
                    }
                });
                

                Oder sind die Namen mehrsprachig?

                totocotonio 1 Reply Last reply Reply Quote 0
                • 1Topf
                  1Topf @totocotonio last edited by

                  @totocotonio sagte in Zigbee state Name ändert sicht nicht:

                  @paul53

                  Kann man die Namen ändern ohne das da was passiert?

                  Wie kommt denn eigentlich der Name "Briefkasten" in jeden Datenpunkt? Das mußt du doch mal manuell gemacht haben?

                  totocotonio 1 Reply Last reply Reply Quote 0
                  • totocotonio
                    totocotonio @paul53 last edited by

                    @paul53 Supi, danke mal wieder für deine tolle Hilfe, stark.

                    1 Reply Last reply Reply Quote 0
                    • totocotonio
                      totocotonio @1Topf last edited by

                      @1topf Nein, wie das damals angelegt hatte hat das selbst reingeschrieben, jetzt ist das nicht mehr so, keine Ahnung warum

                      Asgothian 1 Reply Last reply Reply Quote 0
                      • Asgothian
                        Asgothian Developer @totocotonio last edited by

                        @totocotonio sagte in Zigbee state Name ändert sicht nicht:

                        @1topf Nein, wie das damals angelegt hatte hat das selbst reingeschrieben, jetzt ist das nicht mehr so, keine Ahnung warum

                        es gab vor langer Zeit die Option das die State-Namen den Kanalnamen übernehmen. Das war vor einem grösseren Umbau und ist danach nie wieder gekommen

                        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

                        787
                        Online

                        32.0k
                        Users

                        80.4k
                        Topics

                        1.3m
                        Posts

                        5
                        19
                        718
                        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