Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Wo finde ich diese Buttons ?

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Wo finde ich diese Buttons ?

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

      ok, danke homoran.

      nein das RAW gehört zu POWER ON / OFF

      ok, debugging zeigt mir, dass der fehler im Falls liegt, bzw. in der Abfrage..... denn:

      wqwqwqwq.png

      den debugger an diese stelle gesetzt und anlage "scharf geschaltet":

      1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators last edited by Homoran

        Willst du deine Token veröffentlichen?

        Bitte nach javascript filtern

        1 Reply Last reply Reply Quote 1
        • S
          Smuji last edited by Smuji

          lieber nicht 😃 ... zumindest kommt die abfolge bis zu ene mene mu...... setze ich diese aber anstelle von : mache: umschalten power .....kommt NICHTS

          ich bin nun soweit, dass ich weiß, dass die FALLS-abfrage (blau) nicht arbeitet.....sie fragt was ab, was auch WAHR ist, tut dann aber nichts.... der debugger an der MACHE - stelle gibt nichts aus....tot...

          p.s. was meinst du mit javascript filten ?

          Homoran 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @Smuji last edited by

            @Smuji sagte in Wo finde ich diese Buttons ?:

            du meinst rechts oben

            nein links oben
            Im Pulldown nur javascript.0 auswählen

            S 1 Reply Last reply Reply Quote 1
            • S
              Smuji @Homoran last edited by Smuji

              @Homoran verstehe, so werden meine token nicht angezeigt. danke

              222222222222222.png

              wie du siehst, ene mene mu wird immer ausgegeben nun mache ich mal was anderes...einen moment

              11.png

              so kommt keine ausgabe über den debugger

              1 Reply Last reply Reply Quote 0
              • S
                Smuji last edited by

                1111.png

                also ich habe mal ein neues script erstellt und hier funktioniert die debug-ausgabe.... nur beim alten script nicht.....sehr merkwürdig....

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

                  @Smuji sagte in Wo finde ich diese Buttons ?:

                  sehr merkwürdig....

                  Gar nicht merkwürdig: Du schreibst in den Datenpunkt "Light" eine Zahl, hast aber als Triggerbedingung für "Light" wahr.

                  1 Reply Last reply Reply Quote 1
                  • Homoran
                    Homoran Global Moderator Administrators @Homoran last edited by

                    @Homoran sagte in Wo finde ich diese Buttons ?:

                    @Smuji sagte in Wo finde ich diese Buttons ?:

                    "type": "boolean",

                    hast du Fehler im LOG?

                    du schaltest mit 1
                    Das ist NUMBER

                    du müsstest mit dem Logikbaustein TRUE (WAHR) arbeiten

                    das habe ich schon vorhin nachgefragt

                    1 Reply Last reply Reply Quote 1
                    • S
                      Smuji last edited by Smuji

                      ich verstehe nicht ganz.

                      meine lampe wird mit 3 befehlen gesteuert (im 1. trigger)

                      • umschalten Light
                        a.png
                        wert in objekten = TRUE

                      • steuere RGB mit farbe
                        b.png

                      • steuere Light mit 1, wenn ich auf Light klicke, wird nicht POWER ON/OFF mit 1 angesteuert, sondern
                        c.png
                        d.png

                      im zweiten trigger habe ich als auslöser Light und wenn ich drauf klicke ist folgendes ausgewählt:
                      e.png
                      und dort ist der wert in den objekten:
                      b.png

                      das dumme ist halt, dass dimmer und on/off den namen Light trägt...kann es sein, dass meine Falls-bedingungen nicht unterscheiden kann ? obwohl, wenn ich draufklicke NICHT der dimmer gewählt ist ?

                      1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators last edited by

                        @Smuji sagte in Wo finde ich diese Buttons ?:

                        umschalten Light

                        @Smuji sagte in Wo finde ich diese Buttons ?:

                        steuere Light mit 1

                        Haben bei dir zwei Objekte die selbe Bezeichnung?

                        1 Reply Last reply Reply Quote 1
                        • S
                          Smuji last edited by

                          ja, light on/off und dimmer heißen beide LIGHT.....kann dieses "falls" das nicht unterscheiden, OBWOHL ich explizit das richtige angeklickt habe ?

                          Homoran 1 Reply Last reply Reply Quote 0
                          • paul53
                            paul53 last edited by paul53

                            Ändere erst einmal die Datenpunkt-Namen so, dass man sie unterscheiden kann !

                            1 Reply Last reply Reply Quote 1
                            • S
                              Smuji last edited by

                              der name war von werk aus identisch, das war nicht ich. habe es nun geändert, ohne veränderung.

                              es wird kein "test" ausgegeben.
                              123.png

                              1 Reply Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators @Smuji last edited by

                                @Smuji sagte in Wo finde ich diese Buttons ?:

                                OBWOHL ich explizit das richtige angeklickt habe ?

                                ich hatte dich vorhin um das raw des datenpunkts gebeten, den du mit "1" geändert hast.
                                darin stand, dass es ein typ bool sei.
                                du müsstest -wie vorhin gesagt- mit true und false steuern

                                1 Reply Last reply Reply Quote 1
                                • S
                                  Smuji last edited by

                                  sorry,

                                  {
                                  "_id": "mihome.0.devices.gateway_7c49eb88d4c9.rgb",
                                  "common": {
                                  "name": "RGB",
                                  "role": "level.rgb",
                                  "write": true,
                                  "read": true,
                                  "type": "string"
                                  },
                                  "type": "state",
                                  "native": {},
                                  "from": "system.adapter.mihome.0",
                                  "ts": 1549201787951,
                                  "acl": {
                                  "object": 1638,
                                  "state": 1638
                                  }
                                  }

                                  Homoran 1 Reply Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @Smuji last edited by Homoran

                                    @Smuji sagte in Wo finde ich diese Buttons ?:

                                    "type": "string"

                                    welcher Punkt ist das jetzt?

                                    RGB??

                                    1 Reply Last reply Reply Quote 1
                                    • S
                                      Smuji last edited by

                                      genau, den ich mit 1 ansteuere

                                      1 Reply Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @Smuji last edited by

                                        @Smuji sagte in Wo finde ich diese Buttons ?:

                                        {
                                        "from": "system.adapter.mihome.0",
                                        "ts": 1549201787957,
                                        "common": {
                                        "name": "Light",
                                        "role": "switch",
                                        "type": "boolean",
                                        "write": true,
                                        "read": true
                                        },
                                        "native": {},
                                        "acl": {
                                        "object": 1638,
                                        "owner": "system.user.admin",
                                        "ownerGroup": "system.group.administrator",
                                        "state": 1638
                                        },
                                        "_id": "mihome.0.devices.gateway_7c49eb88d4c9.on",
                                        "type": "state"
                                        }

                                        eben war das noch dieser

                                        1 Reply Last reply Reply Quote 1
                                        • S
                                          Smuji last edited by Smuji

                                          ok, nochmal sauber. habe es auch alles umbenannt:

                                          4444.png

                                          das RAW von LED_Gateway:
                                          {
                                          "_id": "mihome.0.devices.gateway_7c49eb88d4c9.on",
                                          "common": {
                                          "name": "LED_Gateway",
                                          "role": "switch",
                                          "write": true,
                                          "read": true,
                                          "type": "boolean"
                                          },
                                          "type": "state",
                                          "native": {},
                                          "from": "system.adapter.mihome.0",
                                          "ts": 1549201787957,
                                          "acl": {
                                          "object": 1638,
                                          "state": 1638
                                          }
                                          }

                                          das RAW von RGB:
                                          {
                                          "_id": "mihome.0.devices.gateway_7c49eb88d4c9.rgb",
                                          "common": {
                                          "name": "RGB",
                                          "role": "level.rgb",
                                          "write": true,
                                          "read": true,
                                          "type": "string"
                                          },
                                          "type": "state",
                                          "native": {},
                                          "from": "system.adapter.mihome.0",
                                          "ts": 1549201787951,
                                          "acl": {
                                          "object": 1638,
                                          "state": 1638
                                          }
                                          }

                                          das RAW vom Dimmer:
                                          {
                                          "_id": "mihome.0.devices.gateway_7c49eb88d4c9.dimmer",
                                          "common": {
                                          "name": "Dimmer",
                                          "role": "level.dimmer",
                                          "write": true,
                                          "read": true,
                                          "type": "number",
                                          "unit": "%",
                                          "min": 0,
                                          "max": 100
                                          },
                                          "type": "state",
                                          "native": {},
                                          "from": "system.adapter.mihome.0",
                                          "ts": 1549201787962,
                                          "acl": {
                                          "object": 1638,
                                          "state": 1638
                                          }
                                          }

                                          Homoran 1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @Smuji last edited by

                                            @Smuji
                                            Danke
                                            und jetzt bitte nochmal was (wann und wie) klappt und was nicht.

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            918
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            blockly
                                            8
                                            85
                                            5277
                                            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