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

    • Update NodeJS best practise, supported 14, 16 und 18!

    • Update js-controller 4.0.24 (Stable)

    • Fehler 25, 217 oder "ENOTEMPTY" bei Adapter-Install/Update

    Fragen / Antworten rund um die neue Alias Funktion

    This topic has been deleted. Only users with topic management privileges can see it.
    • Garfonso
      Garfonso Developer last edited by Garfonso

      Das "uncertain" kommt vom Scene Adapter. Ich ändere da (egal woher, Skript, Vis, Admin) auf true oder false zum ein/ausschalten. Das schalten geht dann und der Scene Adapter ändert dann aber den State nach ein paar 100ms auf "uncertain" (bzw. ein paar mal hin und her manchmal true/false <-> uncertain, bleibt dann aber immer bei uncertain). Warum weiß ich nicht, hat er bei der Szene aber immer so gemacht. Die Szene ist eine "Virtual Group".

      1 Reply Last reply Reply Quote 0
      • D
        darkbrain85 last edited by darkbrain85

        Hi!

        ~~Es kann ja sein, dass ich im Moment ein Brett vor dem Kopf habe.
        Leider werde ich aus der Doku nicht schlau.

        Was genau muss ih jetzt wo tun, um einen Alias für einen Datenpunkt zu erstellen? Meine bisherigen Versuche sind leider gescheitert.

        Gibt es dazu eine Kurzanleitung oder sowas? Oder bin ich nur zu blöd?~~

        Edit: Ok, wer erneut mit etwas Ruhe die Doku liest, kapiert es auch 🙂

        Allerdings erhalte ich ohne die "read" und "Write" eintrage keine sinnvollen werte. Erst wenn ich

              "write": "val",
              "read": "val"
        

        hinzufüge, werde die Werte 1:1 kopiert.
        Ist das normal? Ich dachte das wäre nur optional, fall man direkt Berechnungen durchführen will.

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

          @darkbrain85 sagte:

          Ich dachte das wäre nur optional, fall man direkt Berechnungen durchführen will.

          Ja, common.alias.read und common.alias.write sind optional. Obligatorisch ist nur common.alias.id.

          @darkbrain85 sagte in Fragen / Antworten rund um die neue Alias Funktion:

          Allerdings erhalte ich ohne die "read" und "Write" eintrage keine sinnvollen werte.

          Wie sieht dann der Datenpunkt aus (RAW-Ansicht) ?

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

            @paul53

            Ich glaube es lag an der automatischen Konvertierung. Die Maximalwerte waren unterschiedlich konfiguriert.

            Wie ist denn generell die schnellste Möglichkeit ein Alias zu erstellen? Datenpunkt über das "+" hinzufügen und den Alias Teil selber einfügen? Oder geht das komfortabler?

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

              @darkbrain85 sagte:

              Wie ist denn generell die schnellste Möglichkeit ein Alias zu erstellen?

              Ich denke, zur Zeit mit Hilfe des Skripts aus der Vorlage.

              D C 2 Replies Last reply Reply Quote 0
              • D
                darkbrain85 @paul53 last edited by

                @paul53

                Danke für den Hinweis und das Skript! Das hatte ich noch nicht entdeckt! Sehr hilfreich...

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

                  @paul53 Ich hatte auch mithilfe des Skripts einen Alias erstellt, nur hat der bei einem Switch DP kein true oder false angezeigt.
                  Wenn ich den wert auf true gesetzt habe, ging die Lampe an, aber der Aliaswert blieb leer.
                  Hab ich was übersehen?

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

                    @CruziX sagte:

                    Hab ich was übersehen?

                    Nein, der Zustand neu angelegter Datenpunkte wird im Reiter "Objekte" manchmal nicht sofort dargestellt. Ein Neustart von Admin oder ioBroker hilft dann.

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

                      @paul53 reicht auch „Objekte neu laden“ im Admin?

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

                        @apollon77 sagte:

                        reicht auch „Objekte neu laden“ im Admin?

                        Nein, das versucht man ja zuerst.
                        Puffert Admin Zustände - so wie der JS-Adapter ?

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

                          @paul53 Jupp tut er. Welche Admin Version? Aktuellste latest?

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

                            @apollon77 sagte:

                            Welche Admin Version?

                            3.6.12
                            Sollte ich updaten ?

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

                              @paul53 das sollte an sich ok sein. Legman issue bei admin an bitte.

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

                                @apollon77 sagte:

                                Jupp tut er.

                                Wann wird der Puffer aktualisiert ?

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

                                  @paul53 an dich bei jeder Änderung der Objekte.

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

                                    @apollon77 sagte:

                                    bei jeder Änderung der Objekte.

                                    Welcher Objekte ? Die schon im Puffer und durch Admin abonniert sind ? Oder aller Objekte ?
                                    Wie bekommt Admin die Existenz neuer Datenpunkte mit, die durch andere Adapter (z.B. Javascript) erzeugt wurden ?

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

                                      @paul53 Admin subscribt einfach auf "*" ... und bekommt damit alle Objekte und States

                                      1 Reply Last reply Reply Quote 0
                                      • K
                                        K_o_bold last edited by

                                        Hallo zusammen,

                                        ich würde gerne ein Alias Objekt im IoT Adapter als Alexa Gerät definieren. Allerdings funktioniert das nicht. Es poppt nur ein Fenster auf, mit der Meldung, dass das Gerät nicht angelegt wurde.

                                        Gibt es diesbezüglich etwas zu beachten?

                                        apollon77 Garfonso 2 Replies Last reply Reply Quote 0
                                        • apollon77
                                          apollon77 @K_o_bold last edited by

                                          @K_o_bold Zeig mal die Objektdefinition des Alias Objekts

                                          1 Reply Last reply Reply Quote 0
                                          • K
                                            K_o_bold last edited by

                                            {
                                              "from": "system.adapter.javascript.0",
                                              "user": "system.user.admin",
                                              "ts": 1576736190798,
                                              "common": {
                                                "name": "Weihnachtsbaum",
                                                "type": "boolean",
                                                "role": "switch",
                                                "read": true,
                                                "write": true,
                                                "smartName": {
                                                  "de": "Weihnachtsbaum"
                                                },
                                                "alias": {
                                                  "id": "deconz.0.Lights.2.on"
                                                }
                                              },
                                              "native": {},
                                              "acl": {
                                                "object": 1638,
                                                "owner": "system.user.admin",
                                                "ownerGroup": "system.group.user",
                                                "state": 1638
                                              },
                                              "_id": "alias.0.EG.Wohnzimmer.Licht.Weihnachtsbaum.on_off",
                                              "type": "state"
                                            }
                                            
                                            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.4k
                                            Online

                                            29.2k
                                            Users

                                            63.3k
                                            Topics

                                            967.5k
                                            Posts

                                            alias js-controller
                                            68
                                            497
                                            23742
                                            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-2021
                                            logo