Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Blockly Skript stoppen falls

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Blockly Skript stoppen falls

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

      @paul53 Da hast du Recht.

      C 1 Reply Last reply Reply Quote 0
      • C
        cdn @geschild last edited by

        @geschild @paul53
        Danke euch! Werde es morgen mal testen.

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

          @paul53
          f3faed55-8960-4f69-8717-775a6fa7d747-grafik.png

          Klappt so leider nicht. Licht geht an und sofort wieder aus.

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

            @cdn sagte: Klappt so leider nicht

            Der zweite Trigger ist kein Taster? Welcher Datenpunkt ist es?
            Wirkt der Schalter

            1x Shelly Plus 1 mit Schalter und Lampe

            über die Stellung direkt auf den Aktor oder nur über Blockly?

            Falls direkte Wirkung, dann versuche es mal so:

            Blockly_temp.JPG

            C 1 Reply Last reply Reply Quote 0
            • C
              cdn @geschild last edited by

              @geschild Dies führt zur Disco und es geht immer an und aus.

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

                @paul53 Was genau meinst du? Taster habe ich hier generell nicht. Es sind normale Aus-Wechselschalter.

                Ich gebe dem Kind mal einen Namen:

                Schalter 1: Keller Vorraum. Shelly mit Schalter und Leuchtmittel daran angeschlossen (ist eine klassische Wechselschaltung, was hier allerdings egal seien sollte).
                Schalter: Lichte Trepppenhaus. Ist der Shelly der direkt an der Lampe vom Treppenhaus hängt OHNE Schalter
                Input Status: Ist der i4, welcher im Flur hinter einem Lichtschalter hängt.

                Ziel: Licht Treppenhaus + Licht Vorraum Keller sollen zusammen geschaltet werden.

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

                  @cdn sagte: Ich gebe dem Kind mal einen Namen:

                  Zeige besser die involvierten Datenpunkte der 3 Geräte. Ich habe keine Shellys.

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

                    @cdn sagte in Blockly Skript stoppen falls:

                    ist eine klassische Wechselschaltung, was hier allerdings egal seien sollte

                    nur dann, wenn der shelly die Änderungen beider beteiligten Schalter mitbekommt

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

                      @paul53

                      Shelly 1 Plus Vorraum
                      {
                        "type": "state",
                        "common": {
                          "type": "boolean",
                          "read": true,
                          "write": true,
                          "name": {
                            "en": "Switch",
                            "de": "Schalter",
                            "ru": "Переключить",
                            "pt": "Interruptor",
                            "nl": "Vertaling:",
                            "fr": "Interrupteur",
                            "it": "Interruttore",
                            "es": "Interruptor",
                            "pl": "Switch",
                            "zh-cn": "目 录"
                          },
                          "role": "switch",
                          "def": false
                        },
                        "native": {},
                        "from": "system.adapter.shelly.0",
                        "user": "system.user.admin",
                        "ts": 1708195222476,
                        "_id": "shelly.0.shellyplus1#08b61fd8c1dc#1.Relay0.Switch",
                        "acl": {
                          "object": 1636,
                          "state": 1636,
                          "owner": "system.user.admin",
                          "ownerGroup": "system.group.administrator"
                        }
                      }
                      
                      Shelly 1 Plus Treppenhaus
                      
                      {
                        "type": "state",
                        "common": {
                          "type": "boolean",
                          "read": true,
                          "write": true,
                          "name": {
                            "en": "Switch",
                            "de": "Schalter",
                            "ru": "Переключить",
                            "pt": "Interruptor",
                            "nl": "Vertaling:",
                            "fr": "Interrupteur",
                            "it": "Interruttore",
                            "es": "Interruptor",
                            "pl": "Switch",
                            "zh-cn": "目 录"
                          },
                          "role": "switch",
                          "def": false
                        },
                        "native": {},
                        "from": "system.adapter.shelly.0",
                        "user": "system.user.admin",
                        "ts": 1705391322881,
                        "_id": "shelly.0.shellyplus1#441793d5e63c#1.Relay0.Switch",
                        "acl": {
                          "object": 1636,
                          "state": 1636,
                          "file": 1632,
                          "owner": "system.user.admin",
                          "ownerGroup": "system.group.administrator"
                        }
                      }
                      
                      i4 Schalter 
                      
                      {
                        "type": "state",
                        "common": {
                          "name": "Input Status",
                          "type": "boolean",
                          "role": "state",
                          "read": true,
                          "write": false
                        },
                        "native": {},
                        "from": "system.adapter.shelly.0",
                        "user": "system.user.admin",
                        "ts": 1707834868265,
                        "_id": "shelly.0.shellyplusi4#90380c37f958#1.Input0.Status",
                        "acl": {
                          "object": 1636,
                          "state": 1636,
                          "file": 1632,
                          "owner": "system.user.admin",
                          "ownerGroup": "system.group.administrator"
                        }
                      }
                      
                      paul53 1 Reply Last reply Reply Quote 0
                      • C
                        cdn @Homoran last edited by

                        @homoran bekommt er. Sonst hast du natürlich Recht.

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

                          @cdn
                          Der "Input Status" wechselt zwischen true und false? Dann versuche es mal so:

                          Blockly_temp.JPG

                          "Switch1" = Keller Vorraum

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

                            @paul53 Herrgott da muss man erstmal drauf kommen. Danke funktioniert!

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

                              @cdn sagte: funktioniert!

                              Es sollte auch so funktionieren:

                              Blockly_temp.JPG

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

                                @paul53 genau so hatte ich es vor meinem Post schonmal gebaut, nur hatte nicht im zweiten Trigger Wert benutzt. 🙂

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                940
                                Online

                                32.0k
                                Users

                                80.4k
                                Topics

                                1.3m
                                Posts

                                4
                                17
                                578
                                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