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.
    • K
      Kueppert @oFbEQnpoLKKl6mbY5e13 last edited by

      @ofbeqnpolkkl6mby5e13 jap, stimmt. Allerdings denke ich, dass der Adapter diese ganricht benötigt. Die Daten werden ja gezogen, sobald man den Adapter öffnet...

      O s.bormann 2 Replies Last reply Reply Quote 0
      • O
        oFbEQnpoLKKl6mbY5e13 @Kueppert last edited by oFbEQnpoLKKl6mbY5e13

        @kueppert
        Okay, mag sein, war aber vorher definitv anders.

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

          @kueppert sagte in Alias-Manager Adapter:

          @ofbeqnpolkkl6mby5e13 jap, stimmt. Allerdings denke ich, dass der Adapter diese ganricht benötigt. Die Daten werden ja gezogen, sobald man den Adapter öffnet...

          Hallo, genau so ist es, deshalb habe ich das geändert - und damit auch die invalid-mode-Fehlermeldung beseitigt. VG!

          1 Reply Last reply Reply Quote 1
          • V
            Videonisse last edited by Videonisse

            @s-bormann Warum wird eigentlich die Geräte in Alias Manager (als auch LinkedDevices und Devices Adapter) immer als Objektype "Channel" erstellt und nicht als "Device"?

            Ist es ein Problem wie Devices ist definiert worden in the ioBroker Kernkonzept und es nicht flexibel ist?

            device - Objekt zum Gruppieren eines oder mehrerer Kanäle oder Datenpunkte. Sollte außer dem Adapterinstanz-Namespace kein übergeordnetes Element haben.
            

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

            Ich denke auch das ich möchte das alle meine "Alias Geräte" als Device mit ein oder mehrere Channels, und mit ein UUID als ID, haben soll. Denke ich hier falsch?

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

              @videonisse sagte in Alias-Manager Adapter:

              @s-bormann Warum wird eigentlich die Geräte in Alias Manager (als auch LinkedDevices und Devices Adapter) immer als Objektype "Channel" erstellt und nicht als "Device"?

              Ist es ein Problem wie Devices ist definiert worden in the ioBroker Kernkonzept und es nicht flexibel ist?

              device - Objekt zum Gruppieren eines oder mehrerer Kanäle oder Datenpunkte. Sollte außer dem Adapterinstanz-Namespace kein übergeordnetes Element haben.
              

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

              Ich denke auch das ich möchte das alle meine "Alias Geräte" als Device mit ein oder mehrere Channels, und mit ein UUID als ID, haben soll. Denke ich hier falsch?

              Gute Frage. Ich habe ehrlichgesagt nur das nachgebaut, was der Devices-Adapter macht und nicht weiter drüber nachgedacht 🙂

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

                Wie kann ich ein Alias mit getrennte Status- (Read) und Kommando-Datenpunkte (Write) erstellen?

                Meine Ziel DP ist von KNX Adapter.

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

                  @videonisse 2mal den gleichen DP als Alias anlegen und bei dem einen "write" nicht zulassen?

                  V 1 Reply Last reply Reply Quote 0
                  • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            694
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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