Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Fragen / Antworten rund um die neue Alias Funktion

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Fragen / Antworten rund um die neue Alias Funktion

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

      @linos sagte: ist es möglich mit einem Wert aus einem anderen Datenpunkt zu rechnen?

      Nein.

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

        @paul53 Danke dir.

        Hätte dann gleich noch eine Frage 😲
        Kann man einen "Text" vor dem Wert stellen?

        Sinnbildlich:

            "alias": {
                  "id": 
                  "read": "(text) val"
                },
        

        ...wenn wieder mal der Platz in der VIS ausgeht 😊

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

          @linos sagte: Kann man einen "Text" vor dem Wert stellen?

          Ja.

                    "read": "'text' + val"
          
          L 1 Reply Last reply Reply Quote 1
          • L
            Linos @paul53 last edited by

            @paul53 erneut Danke👍

            1 Reply Last reply Reply Quote 0
            • apollon77
              apollon77 @Linos last edited by

              @linos Das geht nicht. Grund: Mn müsste sich ja merken das der Wert jetzt noch von (in deinem Fall einem) weiteren Werten abhängig ist und die auch alle auf Änderungen überwachen. AM Ende ist es dann ein "Multi-Alias". Also Egal welcher dieser Werte sich ändert, ändert sich ja auch der Alias Wert ... Das ist logisch nicht ganz ohne und wir haben das in der gesamtkomplexität noch nicht geknackt.

              L M 2 Replies Last reply Reply Quote 1
              • L
                Linos @apollon77 last edited by

                @apollon77 Vielen Dank, für deine ausführliche Darstellung. Im Grunde besteht dafür auch keine Notwendigkeit und ist, denke ich, keine Aufgabe von alias.

                Im Zuge vom aufräumen, sortieren und optimieren meiner Struktur kam mir einfach der Gedanke 😁

                1 Reply Last reply Reply Quote 1
                • M
                  Mike Hellracer @apollon77 last edited by

                  @apollon77
                  Hi,.
                  beim Anlegen von Ventil = valve kommt die Meldung unknown type.
                  Kann ich das selber beheben, oder muss ich auf eine neue Version warten?
                  Und wenn ja, wann kommt die? 😉

                  apollon77 1 Reply Last reply Reply Quote 0
                  • apollon77
                    apollon77 @Mike Hellracer last edited by

                    @mike-hellracer GitHub issues schauen ... wenn schon da bitte "thumbs up"

                    1 Reply Last reply Reply Quote 0
                    • UweRLP
                      UweRLP last edited by

                      Hallo

                      Ist es möglich in einem Alias mehrere Ziel ID zu benutzen?
                      Ich habe einen Strip der von einer Farbe zu einer anderen Farbe um blenden kann.
                      Dazu muss ich im Ziel-Adapter 3 Objecte beschreiben. Dies würde ich gerne per Alias mittels einem boolean Object einschalten.
                      Meine Idee dazu 3 mal die "id" aufgeführt und entsprechend mit "write" beschreiben, leider geht es so einfach nicht.
                      Hier wie ich es versucht habe:

                      {
                        "common": {
                          "name": "SunSet",
                          "desc": "Manuell erzeugt",
                          "role": "state",
                          "type": "boolean",
                          "read": true,
                          "write": true,
                          "def": false,
                          "alias": {
                            "id": "tuya.0.bf85c016747f7b7b14jv41.21",
                            "write": "2",
                      	  "id": "tuya.0.bf85c016747f7b7b14jv41.25",
                            "write": "c93d3d02000d01e003e8000000003d3d02002401f803e800000000",
                      	  "id": "tuya.0.bf85c016747f7b7b14jv41.20",
                      	  "write": "true"
                        },
                        "type": "state",
                        "native": {},
                        "from": "system.adapter.admin.0",
                        "user": "system.user.admin",
                        "ts": 1671964199583,
                        "_id": "alias.0.Küche.LED_Licht_Küche.SunSet",
                        "acl": {
                          "object": 1638,
                          "state": 1638,
                          "owner": "system.user.admin",
                          "ownerGroup": "system.group.administrator"
                        }
                      }
                      

                      Ist das was ich versuche mit einem Alias möglich, wenn ja wie?

                      paul53 apollon77 2 Replies Last reply Reply Quote 0
                      • paul53
                        paul53 @UweRLP last edited by

                        @uwerlp sagte: Ist das was ich versuche mit einem Alias möglich, wenn ja wie?

                        Nein.

                        1 Reply Last reply Reply Quote 0
                        • apollon77
                          apollon77 @UweRLP last edited by

                          @uwerlp ich denke da wäre ein kleines JavaScriptchen mit einem User state am einfachsten

                          UweRLP 1 Reply Last reply Reply Quote 0
                          • UweRLP
                            UweRLP @apollon77 last edited by

                            @apollon77 Ja, danke. Habe ich bisher auch so gehändelt. Wird aber bei mehreren "Funktionen" mit der Zeit unübersichtlich weil zu jedem ein User Object und Script gebraucht wird. Der Versuch mit dem Alias war halt alles unter einem Hut zu bringen 🙂

                            apollon77 1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 @UweRLP last edited by apollon77

                              @uwerlp wenn es drei States sind die den gleichen Wert brauchen wie der den du setzt wären scenes noch eine Variante.

                              UweRLP 1 Reply Last reply Reply Quote 0
                              • UweRLP
                                UweRLP @apollon77 last edited by

                                @apollon77 Sorry, verstehe jetzt nicht was du mir sagen möchtest.

                                apollon77 1 Reply Last reply Reply Quote 0
                                • apollon77
                                  apollon77 @UweRLP last edited by

                                  @uwerlp grrrmpff. Ließ nochmal. Habe korrigiert

                                  UweRLP 1 Reply Last reply Reply Quote 0
                                  • UweRLP
                                    UweRLP @apollon77 last edited by

                                    @apollon77 😂 Ja jetzt ja...

                                    du meinst
                                    Rules.png
                                    habe sowas in der Vergangenheit so

                                    Blockly.png

                                    gelöst.
                                    Danke für den Tip!

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

                                      @uwerlp sagte: du meinst

                                      @apollon77 meinte sicherlich den Szenen-Adapter?

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

                                        @paul53 Exakt, müste man schauen ob das geht, weil es ja verschiedene werte sind die zu setzen sind

                                        UweRLP 1 Reply Last reply Reply Quote 0
                                        • UweRLP
                                          UweRLP @apollon77 last edited by UweRLP

                                          @apollon77 @paul53 Achso, also das hier

                                          Szenen.png

                                          Ja das funktioniert auch 👍

                                          apollon77 1 Reply Last reply Reply Quote 0
                                          • apollon77
                                            apollon77 @UweRLP last edited by

                                            @uwerlp genau das 😉

                                            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

                                            1.1k
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            alias js-controller
                                            85
                                            610
                                            137060
                                            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