Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Wo finde ich diese Buttons ?

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    3.8k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.2k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

Wo finde ich diese Buttons ?

Scheduled Pinned Locked Moved Skripten / Logik
blockly
85 Posts 8 Posters 8.8k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Smuji
    wrote on last edited by
    #46

    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
    0
    • paul53P Offline
      paul53P Offline
      paul53
      wrote on last edited by paul53
      #47

      @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.

      Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
      Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

      1 Reply Last reply
      1
      • HomoranH Homoran

        @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

        HomoranH Do not disturb
        HomoranH Do not disturb
        Homoran
        Global Moderator Administrators
        wrote on last edited by
        #48

        @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

        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        1 Reply Last reply
        1
        • S Offline
          S Offline
          Smuji
          wrote on last edited by Smuji
          #49

          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
          0
          • HomoranH Do not disturb
            HomoranH Do not disturb
            Homoran
            Global Moderator Administrators
            wrote on last edited by
            #50

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

            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            1 Reply Last reply
            1
            • S Offline
              S Offline
              Smuji
              wrote on last edited by
              #51

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

              HomoranH 1 Reply Last reply
              0
              • paul53P Offline
                paul53P Offline
                paul53
                wrote on last edited by paul53
                #52

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

                Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                1 Reply Last reply
                1
                • S Offline
                  S Offline
                  Smuji
                  wrote on last edited by
                  #53

                  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
                  0
                  • S Smuji

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

                    HomoranH Do not disturb
                    HomoranH Do not disturb
                    Homoran
                    Global Moderator Administrators
                    wrote on last edited by
                    #54

                    @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

                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                    1 Reply Last reply
                    1
                    • S Offline
                      S Offline
                      Smuji
                      wrote on last edited by
                      #55

                      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
                      }
                      }

                      HomoranH 1 Reply Last reply
                      0
                      • S Smuji

                        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
                        }
                        }

                        HomoranH Do not disturb
                        HomoranH Do not disturb
                        Homoran
                        Global Moderator Administrators
                        wrote on last edited by Homoran
                        #56

                        @Smuji sagte in Wo finde ich diese Buttons ?:

                        "type": "string"

                        welcher Punkt ist das jetzt?

                        RGB??

                        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                        1 Reply Last reply
                        1
                        • S Offline
                          S Offline
                          Smuji
                          wrote on last edited by
                          #57

                          genau, den ich mit 1 ansteuere

                          1 Reply Last reply
                          0
                          • S Smuji

                            @Homoran sagte in Wo finde ich diese Buttons ?:

                            @Smuji
                            Geh bitte mal bei dem Objekt, was sich hinter "Light" verbirgt im Reiter Objekte ganz rechts auf den Bleitift, dann auf den Reiter RAW und poste den Inhalt

                            Außerdem:
                            Es gibt in Blockly unter SYSTEM einen Debug-Block.
                            Wenn man den an sinnvollen Stellen einschiebt, und einen SInnvollen "Text" eingibt, sieht man im log, bis wohin das Skript kommt und warum es hängt

                            Danke, das mit dem Debugging hört sich genial an.......super! danke, probiere ich mal aus......

                            RAW:

                            {
                            "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"
                            }

                            HomoranH Do not disturb
                            HomoranH Do not disturb
                            Homoran
                            Global Moderator Administrators
                            wrote on last edited by
                            #58

                            @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

                            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                            1 Reply Last reply
                            1
                            • S Offline
                              S Offline
                              Smuji
                              wrote on last edited by Smuji
                              #59

                              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
                              }
                              }

                              HomoranH 1 Reply Last reply
                              0
                              • S 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
                                }
                                }

                                HomoranH Do not disturb
                                HomoranH Do not disturb
                                Homoran
                                Global Moderator Administrators
                                wrote on last edited by
                                #60

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

                                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                1 Reply Last reply
                                1
                                • S Offline
                                  S Offline
                                  Smuji
                                  wrote on last edited by Smuji
                                  #61

                                  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

                                  HomoranH 1 Reply Last reply
                                  0
                                  • S 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

                                    HomoranH Do not disturb
                                    HomoranH Do not disturb
                                    Homoran
                                    Global Moderator Administrators
                                    wrote on last edited by Homoran
                                    #62

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

                                    am besten in jede! möglichkeit einen

                                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                    1 Reply Last reply
                                    1
                                    • S Offline
                                      S Offline
                                      Smuji
                                      wrote on last edited by
                                      #63

                                      Siehe:

                                      a.png

                                      b.png

                                      HomoranH 1 Reply Last reply
                                      0
                                      • S Smuji

                                        Siehe:

                                        a.png

                                        b.png

                                        HomoranH Do not disturb
                                        HomoranH Do not disturb
                                        Homoran
                                        Global Moderator Administrators
                                        wrote on last edited by Homoran
                                        #64

                                        @Smuji
                                        so hab ich das auch erwartet

                                        Also systematisch weiter

                                        Ist Kontakt 2 = wahr?

                                        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                        1 Reply Last reply
                                        1
                                        • S Offline
                                          S Offline
                                          Smuji
                                          wrote on last edited by Smuji
                                          #65

                                          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

                                          HomoranH 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          326

                                          Online

                                          32.7k

                                          Users

                                          82.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe