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

      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
                        • S
                          Smuji last edited by Smuji

                          ok, schau dir das bild an:

                          setze ich den debugger im zweiten trigger VOR das "falls mache", bekomme ich, sobald die LED_Gateway = TRUE ist, die Ausgabe "test"

                          setze ich den Debugger im zweiten trigger IN die "falls mache" anweisung während LED_Gateway ein TRUE liefert und erzeuge ich nun eine TRUE mit dem Kontakt_2 kommt NICHTS.... weder "umschalten power" noch Dubugger kommt. Nix....alles was mit "falls mache" zu tun hat, funktioniert nicht

                          d.png

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

                            @Smuji
                            nimm doch mehrere Debug Bausteine und ändere jeweils "test" in für diese Position sinnvolle Aussagen

                            am besten in jede! möglichkeit einen

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

                              Siehe:

                              a.png

                              b.png

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

                                @Smuji
                                so hab ich das auch erwartet

                                Also systematisch weiter

                                Ist Kontakt 2 = wahr?

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

                                  das bringt mich aber nur dahin, wo ich schon ewig lange bin...und zwar dass scheinbar der "falls mache"-auslöser nicht funktioniert. warum auch immer.

                                  ich habe einen taster anstatt Kontakt_2 genommen und habe genau das gleiche problem

                                  ja, kontakt 2 ist wahr, wenn ich ihn auseinander ziehe

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

                                    @Smuji
                                    Dann bau mal so was vor dem letzten falls ein
                                    kontakt01.png

                                    wobei WERT von... natürlich dein Kontakt2 sein muss

                                    @Smuji sagte in Wo finde ich diese Buttons ?:

                                    ich habe einen taster anstatt Kontakt_2 genommen

                                    der Taster liefert ja keinen Dauerkontakt

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

                                      Fehler gefunden....als ich das gerade ausprobiert habe, ist mir folgendes aufgefallen:

                                      es liegt am aktivator der GATEWAY..

                                      ziehe ich den Kontakt_2 auseinander = TRUE und lasse ihn so und dann schalte ich mit Kontakt_1 das LED_Gateway FALSE und danach (während kontakt_2 offen ist), das LED Gateway auf TRUE, dann schaltet die "falls mache"-anweisung ständig power AN und AUS und AN und AUS bis ich Kontakt_2 wieder schließe, oder LED_Gateway per umschalter wieder deaktiviere...

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

                                        @Smuji
                                        Langsam, da sind wir schon paar Schritte weiter

                                        Bitte die Fragen beantworten

                                        und ja so ist das Programm gestrickt.
                                        Der Kontakt MUSS offen sein, WENN das Gateway angeht

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

                                          ok,

                                          nein, taster macht nur kurz TRUE und dann wieder FALSE....

                                          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 ?:

                                            macht nur kurz TRUE

                                            und dein Programm erwartet genau diesen Zusatnd exakt in dem Bruchteil der Sekunde wenn das Gateway auf true geht

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            833
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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