Navigation

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

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Alias-Manager Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      Videonisse @Kueppert last edited by

      @kueppert Aber laut dem Alias Dokumentation soll mann dass auch mit nur einem Alias machen können, oder nicht?

      Quelle: https://www.iobroker.net/#de/documentation/dev/aliases.md

      {
          _id: "alias.0.aliasName",
          common: {
              name: 'Test AliasC',
              type: 'number',
              role: 'state',
              min: -10,
              max: 10,
              alias: {
                  id: {
                      read: 'state.id.to.read.from',
                      write: 'state.id.to.write.to'
                  }
                  read: 'val * 10 + 1',
                  write: '(val - 1) / 10'
              }
          },
          native: {},
          type: 'state'
      }
      
      V K 2 Replies Last reply Reply Quote 0
      • V
        Videonisse @Videonisse last edited by

        @videonisse I created an Alias manually and opened it in Alias Manager and found out it was not supported in the GUI yet. Therefore, I created a Feature Request in Git: https://github.com/sbormann/ioBroker.alias-manager/issues/5

        Maybe this could be implemented if time and interest make it possible. At least I would love it as I have a lot of KNX DPs I would like to collect in virtual Devices using Alias. 🙂

        Videonisse created this issue in sbormann/ioBroker.alias-manager

        closed Support of Separate linked Write and Read targets #5

        s.bormann 1 Reply Last reply Reply Quote 0
        • K
          Kueppert @Videonisse last edited by Kueppert

          @videonisse ach, okay, das war mir neu. Hab selbst keine Verwendung für die Option. Hab die Möglichkeit auch nicht im Skript vom Paul53 gefunden - und obs mit dem AliasAdapter geht, kann ich dir nicht sagen, sorry.
          Vielleicht fält mir ja was ein...was genau willst du denn erreichen? Welchen Wert willst du im Alias spiegeln? Und wohin soll der Alias dann schreiben? Muss auch was konvertiert werden?
          Gerade gesehen, hast es schon selbst gefunden: https://forum.iobroker.net/topic/42385/js-controller-3-2-jetzt-im-stable/201?_=1616698232058

          V 1 Reply Last reply Reply Quote 0
          • V
            Videonisse @Kueppert last edited by

            @kueppert Hier ein beispiel:

            {
              "from": "system.adapter.admin.0",
              "user": "system.user.admin",
              "ts": 1616591695319,
              "common": {
                "name": "currentstate",
                "role": "state",
                "type": "boolean",
                "desc": "Manually created",
                "read": true,
                "write": true,
                "def": false,
                "alias": {
                  "id": {
                    "read": "knx.0.VVS_och_VA.Ventilation.Köksfläkt_Status_Värde",
                    "write": "knx.0.VVS_och_VA.Ventilation.Köksfläkt_Värde"
                  },
                  "read": "val > 40",
                  "write": "val ? 80 : 40"
                }
              },
              "native": {},
              "acl": {
                "object": 1636,
                "owner": "system.user.admin",
                "ownerGroup": "system.group.administrator",
                "state": 1636
              },
              "_id": "alias.0.uuid-533453-334345.fan.currentstate",
              "type": "state"
            }
            
            1 Reply Last reply Reply Quote 0
            • s.bormann
              s.bormann Most Active @Videonisse last edited by

              @videonisse sagte in Alias-Manager Adapter:

              @videonisse I created an Alias manually and opened it in Alias Manager and found out it was not supported in the GUI yet. Therefore, I created a Feature Request in Git: https://github.com/sbormann/ioBroker.alias-manager/issues/5

              Maybe this could be implemented if time and interest make it possible. At least I would love it as I have a lot of KNX DPs I would like to collect in virtual Devices using Alias. 🙂

              Hi,
              das ist jetzt mit der 0.1.0 möglich:
              f5efc9d2-18dd-4511-bee6-b8cfb13a232b-image.png

              Außerdem neu: Autocreate Alias-Funktion:
              bcd8a3b9-0650-46a4-8319-5c28f9339d07-image.png

              Damit kann man aus einem bestehenden Device automatisch ein Alias mit allen Datenpunkten anlegen lassen.

              Hoffe, es funktioniert alles!

              VG!

              Latzi David G. liv-in-sky M 4 Replies Last reply Reply Quote 4
              • Latzi
                Latzi @s.bormann last edited by

                @s-bormann sagte in Alias-Manager Adapter:

                Hoffe, es funktioniert alles!

                ja, ich habe keine Probleme feststellen können. "Autocreate" ist eine sehr hilfreiche Erweiterung.
                Vielen Dank!

                1 Reply Last reply Reply Quote 0
                • David G.
                  David G. @s.bormann last edited by David G.

                  @s-bormann said in Alias-Manager Adapter:

                  Außerdem neu: Autocreate Alias-Funktion:

                  Das finde ich richtig cool.
                  Muss ich mal testen.

                  1 Reply Last reply Reply Quote 0
                  • liv-in-sky
                    liv-in-sky @s.bormann last edited by

                    @s-bormann

                    auto-alias ist eine tolle sache.

                    wäre es auch möglich, einen ganzen ordner z.b. sonoff.0 auszuwählen - darin nur alle auswählen, die einem regex entsprechen (z.b POWER) und daneben aus der von mir angelegten struktur den namen auszuwählen

                    ich habe meine aliase nach zimmern angelegt - wäre das sinnvoll und möglich

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

                      @liv-in-sky said in Alias-Manager Adapter:

                      ich habe meine aliase nach zimmern angelegt - wäre das sinnvoll und möglich

                      das hab ich auch, aber ich unterteil das noch. nur power bringt IMHO nicht wiklich was. gerade mal versucht...
                      260a5b25-8dd7-4b78-b604-1d7ed732dcbe-grafik.png

                      David G. 1 Reply Last reply Reply Quote 0
                      • David G.
                        David G. @da_Woody last edited by

                        @da_woody

                        Sorry, das ist jetzt sowas von off topic...... 😄
                        Hab grad deine Signatur gelesen.

                        Die hängt bei uns im Flur.

                        20210327_105519.jpg

                        da_Woody 1 Reply Last reply Reply Quote 1
                        • da_Woody
                          da_Woody @David G. last edited by

                          @david-g ich kenns aus kroatien von der beachbar. hat sich zu meinem lebensmotto entwickelt...
                          20190908_123526.jpg

                          David G. 1 Reply Last reply Reply Quote 1
                          • David G.
                            David G. @da_Woody last edited by

                            @da_woody

                            Deshalb hängt es auch auffällig im Flur.
                            Wo man oft vorbei läuft ^^.
                            Besonders in aktuellen Zeiten ein gutes Motto.

                            Aber jetzt BACK 2 TOPIC
                            Können ja einen Thread "Lebensweisheiten" starten ^^.

                            1 Reply Last reply Reply Quote 1
                            • da_Woody
                              da_Woody last edited by

                              @david-g said in Alias-Manager Adapter:

                              Aber jetzt BACK 2 TOPIC

                              that's it! ok, hab gerade noch 2 angelegt und befinde das teil absoluty top! dankedeus.gif
                              werd in nächster zeit meine ganzen alias erneuern und erweitern. ist ein bißchen schlendrian reingekommen...
                              alles noch mit dem script von @paul53 gestrickt. danke.gif tropsdem dafür!
                              jetzt kann ich mir die struktur bauen wie ichs mag. wurde dann doch etwas chaotisch mit der zeit.
                              geht halt nur raum für raum, gehört in iQontrol ja dann auch geändert...

                              1 Reply Last reply Reply Quote 0
                              • M
                                martinschm @s.bormann last edited by martinschm

                                @s-bormann said in Alias-Manager Adapter:

                                @videonisse sagte in Alias-Manager Adapter:

                                @videonisse I created an Alias manually and opened it in Alias Manager and found out it was not supported in the GUI yet. Therefore, I created a Feature Request in Git: https://github.com/sbormann/ioBroker.alias-manager/issues/5

                                Maybe this could be implemented if time and interest make it possible. At least I would love it as I have a lot of KNX DPs I would like to collect in virtual Devices using Alias. 🙂

                                Hi,
                                das ist jetzt mit der 0.1.0 möglich:
                                f5efc9d2-18dd-4511-bee6-b8cfb13a232b-image.png

                                Außerdem neu: Autocreate Alias-Funktion:
                                bcd8a3b9-0650-46a4-8319-5c28f9339d07-image.png

                                Damit kann man aus einem bestehenden Device automatisch ein Alias mit allen Datenpunkten anlegen lassen.

                                Hoffe, es funktioniert alles!

                                VG!

                                Hi,

                                sehr cool (mal wieder). Mir ist beim Umbenennen aufgefallen, das mein System mehrere Sekunden nicht erreichbar ist (bunter Kreisel). Bei mir läuft ein Intel Nuc mit ordentlich Power, daher hat mich das gewundert.

                                Bei meinem Xiaomi Wassersensor hat das Autocreate fast perfekt geklappt. leider wurde der Alarm State als einziger nicht erstellt. Mein Fehler, hab die Liste der States die man anhaken muß nicht gesehen. Kaum macht man es richtig, funktioniert es. Immer wieder faszinierend 🙂

                                Das Original:
                                1c794b41-135c-4e60-b0ae-bf30f89e8df2-image.png

                                Die Kopie:
                                01ccc72f-6bd2-4256-826d-4fb4d7f2831d-image.png

                                Ich hab dann aus dem AutoCreate heraus auch noch weitere States eingefügt. Die Werte bleiben aber leider leer. Actual ist der von oben nicht erzeugte "detected" State und Unreach ist der Available State wo ich bei Read noch "!val" eingefügt habe.

                                1ec6a2f5-6bb9-4218-a30e-c5631e8ea04e-image.png

                                da_Woody 1 Reply Last reply Reply Quote 0
                                • da_Woody
                                  da_Woody @martinschm last edited by

                                  @martinschm said in Alias-Manager Adapter:

                                  Die Werte bleiben aber leider leer.

                                  seitenrefresh gemacht?waren bei mir auch am anfang leer.
                                  oder die selbst eingefügten sind falsch konfiguriert. 7ed56406-958a-4ae9-ad67-775ffe2a4d73-grafik.png

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    martinschm @da_Woody last edited by

                                    @da_woody said in Alias-Manager Adapter:

                                    @martinschm said in Alias-Manager Adapter:

                                    Die Werte bleiben aber leider leer.

                                    seitenrefresh gemacht?waren bei mir auch am anfang leer.
                                    oder die selbst eingefügten sind falsch konfiguriert. 7ed56406-958a-4ae9-ad67-775ffe2a4d73-grafik.png

                                    Mittlerweile sind die Werte da. Dachte immer die wären dann sofort da, da es ja "nur" ein Verweis ist.

                                    da_Woody 1 Reply Last reply Reply Quote 0
                                    • da_Woody
                                      da_Woody @martinschm last edited by

                                      @martinschm na dann ja gut! 👍
                                      na ein impuls, oder abfrage sollte da schon vorher kommen. sonst wird da nix befüllt...
                                      gut ding braucht weile, oder von schnell, schnell kommen auch mal kleine kinder... 😄

                                      1 Reply Last reply Reply Quote 0
                                      • V
                                        vikk88 last edited by

                                        @s-bormann Vielen Dank für diesen Adapter. Ich kam mit dem devices Adapter irgendwie nicht klar, mit deinem komme ich gut zurecht. Auch das Auto erstellen klappt super

                                        1 Reply Last reply Reply Quote 1
                                        • s.bormann
                                          s.bormann Most Active last edited by

                                          0.1.1 (2021-03-28)

                                          • (sbormann) Added alias-manager as tab to the ioBroker side menu.
                                          • (sbormann) Added list of aliases to main tab.
                                          • (sbormann) Enhanced open all / close all function for collapsibles.
                                          • (sbormann) Added translations.

                                          3c58f2d3-e8d6-4eb7-8691-40a60ff04aac-image.png

                                          da_Woody crunchip David G. 3 Replies Last reply Reply Quote 3
                                          • da_Woody
                                            da_Woody @s.bormann last edited by

                                            @s-bormann sieht gut aus!👍

                                            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

                                            667
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter alias
                                            53
                                            300
                                            44597
                                            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