Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Alias best practices - Wie kann man es besser machen?

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Alias best practices - Wie kann man es besser machen?

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active @bahnuhr last edited by crunchip

      @bahnuhr sagte in Alias best practices - Wie kann man es besser machen?:

      Wann wird dieser angezeigt?

      Bei Einführung des alias, siehe https://forum.iobroker.net/post/315709
      Glaub mit aktuellem js-controller, sollte jedoch ein Ordner mit einem Beispiel state angelegt sein
      Haken vllt nicht gesetzt?
      Screenshot_20200724-083726_Chrome.jpg

      1 Reply Last reply Reply Quote 0
      • liv-in-sky
        liv-in-sky @bahnuhr last edited by

        @bahnuhr

        die objecte bekommst du nach der installation des adapters hier:

        Image 2.png

        da kannst du das dann auswählen

        bahnuhr 1 Reply Last reply Reply Quote 0
        • bahnuhr
          bahnuhr Forum Testing Most Active @liv-in-sky last edited by

          @liv-in-sky sagte in Alias best practices - Wie kann man es besser machen?:

          @bahnuhr

          die objecte bekommst du nach der installation des adapters hier:

          Image 2.png

          da kannst du das dann auswählen

          Ja eben nicht.
          Geräte gibt es da nicht.

          liv-in-sky 2 Replies Last reply Reply Quote 0
          • liv-in-sky
            liv-in-sky @bahnuhr last edited by

            @bahnuhr hast du den device adapter installiert ?

            bahnuhr 1 Reply Last reply Reply Quote 0
            • liv-in-sky
              liv-in-sky @bahnuhr last edited by

              @bahnuhr

              Image 15.png

              1 Reply Last reply Reply Quote 0
              • bahnuhr
                bahnuhr Forum Testing Most Active @liv-in-sky last edited by

                @liv-in-sky sagte in Alias best practices - Wie kann man es besser machen?:

                @bahnuhr hast du den device adapter installiert ?

                Hatte ich Mal. Brauch ich aber eigentlich nicht.
                Aktuell hab ich diesen gelöscht.
                Ist dieser Voraussetzung?

                liv-in-sky paul53 2 Replies Last reply Reply Quote 0
                • liv-in-sky
                  liv-in-sky @bahnuhr last edited by

                  @bahnuhr

                  ja

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

                    @bahnuhr sagte:

                    Ist dieser Voraussetzung?

                    Nein. Wenn noch kein Datenpunkt unter alias.0 existiert, wird alias.0 nicht als Ordner dargestellt und befindet sich im Objektbaum weiter unten.

                    bahnuhr liv-in-sky 2 Replies Last reply Reply Quote 0
                    • bahnuhr
                      bahnuhr Forum Testing Most Active @paul53 last edited by

                      @paul53

                      War nur?
                      Mir fehlt alias.0
                      Und auch Geräte im baum links.

                      paul53 liv-in-sky 2 Replies Last reply Reply Quote 0
                      • paul53
                        paul53 @bahnuhr last edited by

                        @bahnuhr sagte:

                        Mir fehlt alias.0

                        Welche Version des js-controllers (Host) ?

                        bahnuhr 1 Reply Last reply Reply Quote 0
                        • liv-in-sky
                          liv-in-sky @paul53 last edited by

                          @paul53 ich meinte es ist voraussetzung um "geräte" tab anzuzeigen !

                          paul53 1 Reply Last reply Reply Quote 0
                          • paul53
                            paul53 @liv-in-sky last edited by

                            @liv-in-sky sagte:

                            es ist voraussetzung um "geräte" tab anzuzeigen !

                            Ja, das ist richtig. Der Tab "Geräte" ist aber für die Darstellung und Bearbeitung von alias.0 nicht erforderlich.

                            1 Reply Last reply Reply Quote 0
                            • bahnuhr
                              bahnuhr Forum Testing Most Active @paul53 last edited by

                              @paul53 sagte in Alias best practices - Wie kann man es besser machen?:

                              @bahnuhr sagte:

                              Mir fehlt alias.0

                              Welche Version des js-controllers (Host) ?

                              a9e0facd-afb2-47ec-aa06-7c5735072401-image.png

                              NUC ist der Master

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

                                @bahnuhr
                                In Version 3.1.4 muss es ein Objekt alias.0 geben.

                                1 Reply Last reply Reply Quote 0
                                • liv-in-sky
                                  liv-in-sky @bahnuhr last edited by liv-in-sky

                                  @bahnuhr

                                  bei meiner windows testmaschine schaut es so aus:

                                  Image 17.png

                                  ist ziemlich weit unten, wenn du viele ordner hast

                                  bahnuhr 1 Reply Last reply Reply Quote 0
                                  • bahnuhr
                                    bahnuhr Forum Testing Most Active @liv-in-sky last edited by

                                    @liv-in-sky sagte in Alias best practices - Wie kann man es besser machen?:

                                    ist ziemlich weit unten, wenn du viele ordner hast

                                    Ja, den hab ich.
                                    Aber das ist doch kein Ordner?
                                    Sieht zumindest anders aus.

                                    liv-in-sky paul53 2 Replies Last reply Reply Quote 0
                                    • liv-in-sky
                                      liv-in-sky @bahnuhr last edited by

                                      @bahnuhr wenn du darunter ein alias erzeugst wird das zum ordner

                                      1 Reply Last reply Reply Quote 1
                                      • paul53
                                        paul53 @bahnuhr last edited by paul53

                                        @bahnuhr sagte:

                                        Aber das ist doch kein Ordner?
                                        Sieht zumindest anders aus.

                                        Es wird erst zum Ordner-Symbol, wenn mind. ein Objekt darunter existiert. Dann rutscht er auch im Baum nach oben.

                                        1 Reply Last reply Reply Quote 1
                                        • bahnuhr
                                          bahnuhr Forum Testing Most Active last edited by

                                          @liv-in-sky
                                          @paul53

                                          Danke euch beiden für den Input.

                                          K 1 Reply Last reply Reply Quote 0
                                          • K
                                            Kueppert @bahnuhr last edited by

                                            Hallo zusammen,
                                            ich klinke mich mal mit ein. Habe auch so ziemlich alles auf alias umgestellt (Tür-/Fenstersensoren, Licht, Steckdosen). Jetzt möchte ich gern anfangen, Werte im Alias-DP umzurechnen.
                                            Beispiel: Zigbee-Geräte
                                            Hier erfolgt die Ausgabe des Batterie-Zustandes in % (0-100 %). Das würde ich im ALias gern auf "VOLL" oder "LEER" switchen. Ein RAW-Datenpunkt sieht zB wie folgt aus:

                                            {
                                              "from": "system.adapter.zigbee.0",
                                              "user": "system.user.admin",
                                              "ts": 1588595645515,
                                              "common": {
                                                "name": "EG Kueche Wand Fernbedienung Battery percent",
                                                "type": "number",
                                                "unit": "%",
                                                "role": "battery.percent",
                                                "min": 0,
                                                "max": 100,
                                                "read": true,
                                                "write": false,
                                                "icon": "img/battery_p.png"
                                              },
                                              "native": {},
                                              "acl": {
                                                "object": 1636,
                                                "owner": "system.user.admin",
                                                "ownerGroup": "system.group.administrator",
                                                "state": 1636
                                              },
                                              "_id": "zigbee.0.000d6f000edc34f1.battery",
                                              "type": "state"
                                            }
                                            

                                            Für die Erzeugung hab ich das Skript von paul53 benutzt: Link

                                            Was müsste ich für eine "Übersetzung" unter states = {true: 'geöffnet', false: 'geschlossen'} erfassen, wenn ich zB bis 26% = VOLL und ab 25% = LEER haben möchte? Aus der readme bzgl. Alias bin ich absolut nicht schlau geworden...
                                            Danke euch und vG, Thorsten

                                            paul53 W 2 Replies 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.0k
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            alias best practices
                                            12
                                            67
                                            8812
                                            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