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.
    • s.bormann
      s.bormann Most Active @oFbEQnpoLKKl6mbY5e13 last edited by

      @ofbeqnpolkkl6mby5e13 sagte in Alias-Manager Adapter:

      @liv-in-sky
      Ach so, das habe ich seit der Installation gar nicht mehr gemacht.

      Ausprobiert: und stimmt!

      Habe ich in der nächsten Version behoben. Hatte aber keinen Einfluss auf die Funktion.

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

        @ofbeqnpolkkl6mby5e13 sagte in Alias-Manager Adapter:

        Bisher habe ich Aliasse mit dem Script hier aus dem Forum erstellt. Wenn ich damit folgenden Datenpunkt erstelle:

        alias.0.haus.dachboden.dachfenster

        dann ist "dachboden" kein Channel.

        Mit dem Alias-Manager Adapter schon. Was wäre nun "richtiger"?

        Ich denke, beides ist in Ordnung. Wenn der Channel fehlt, dann zeigt der Admin-Adapter ihn ja trotzdem an. Aber, da man in den Channeln ja auch ein bisschen was konfigurieren kann (z.B. den Anzeige-Namen etc.), legt ihn der alias-manager mit an.

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

          @martinschm sagte in Alias-Manager Adapter:

          zigbee.0.00158d00033ad77d.link_quality

          Hi, danke, bitte schick auch noch mal den RAW von zigbee.0.00158d00033ad77d.link_quality

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

            @s-bormann
            Okay!

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

              @s-bormann said in Alias-Manager Adapter:

              @martinschm sagte in Alias-Manager Adapter:

              zigbee.0.00158d00033ad77d.link_quality

              Hi, danke, bitte schick auch noch mal den RAW von zigbee.0.00158d00033ad77d.link_quality

              {
                "type": "state",
                "common": {
                  "name": "Link quality",
                  "type": "number",
                  "read": true,
                  "write": false,
                  "role": "state",
                  "min": 0,
                  "max": 254
                },
                "native": {},
                "from": "system.adapter.zigbee.0",
                "user": "system.user.admin",
                "ts": 1601576133568,
                "_id": "zigbee.0.00158d00033ad77d.link_quality",
                "acl": {
                  "object": 1636,
                  "state": 1636,
                  "owner": "system.user.admin",
                  "ownerGroup": "system.group.administrator"
                }
              }
              

              Sehe grade, das dort max = 254 ist. Evtl liegt es daran.

              crunchip 1 Reply Last reply Reply Quote 0
              • crunchip
                crunchip Forum Testing Most Active @martinschm last edited by

                @martinschm wie du in meinem screen oben siehst, hab ich min/max leer gelassen und funktioniert.

                1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @martinschm last edited by

                  @martinschm sagte in Alias-Manager Adapter:

                  Achso, den ursprünglichen Alias hab ich mit dem Alias Adapter von iobroker angelegt.

                  Könnte mir vorstellen, das es eher daran liegt.
                  Ich habe den alias komplett mit alias Manager erstellt.

                  O 1 Reply Last reply Reply Quote 0
                  • O
                    oFbEQnpoLKKl6mbY5e13 @crunchip last edited by

                    Ist das noch bei jemand anderem so, dass nach dem Update auf v0.7 die Instanz keinen Play- und Restart-Button mehr hat?

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

                                            Support us

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

                                            860
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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