Skip to content
  • 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
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.0k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    1.8k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.0k

Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung

Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung

Scheduled Pinned Locked Moved Blockly
24 Posts 5 Posters 546 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.
  • 1 Offline
    1 Offline
    13patrick37
    wrote on last edited by
    #1

    Hi zusammen,

    nachdem mein Raspberry abgeschmiert ist, konnte ich leider mein aktuelles WLED Garagentor Skript nicht wiederherstellen.

    Und ich bekomme es absolut nicht mehr hin, ein neues, funktionierendes Skript zu schreiben.
    Ich hoffe auf eure Mithilfe. Es geht um das "klassische" rote Lauflicht beim öffnen/schließen.

    Zwei Kontaktsensoren, Garagentor oben + unten. Wenn einer der beiden Sensoren geändert werden, startet das Skript. Wenn unten offen und oben offen, dann Garagentor in Bewegung. Hier habe ich einen Datenpunkt angelegt. Mache ich das mit einem string oder object? Hier sollte es als Datenpunkt true setzen. Was etwas kompliziert ist, dass der WLED Streifen angeht, wenn BWM in der Einfahrt aktiv ist. Dementsprechend sollte dieser nicht angehen, wenn Garagentor in Bewegung ist.

    Ich hatte sonst die Anforderung über http request bei wled gemacht. Kann es alternativ aber auch anders machen.

    Wenn Garagentor offen, dann Dauerhaftes leuchten.
    Wenn Garagentor schließt, dann wieder das gleiche wie beim öffnen.

    Hat jemand ein funktionierendes Skript für mich oder kann mich unterstützen?

    haselchenH 1 Reply Last reply
    0
    • 1 13patrick37

      Hi zusammen,

      nachdem mein Raspberry abgeschmiert ist, konnte ich leider mein aktuelles WLED Garagentor Skript nicht wiederherstellen.

      Und ich bekomme es absolut nicht mehr hin, ein neues, funktionierendes Skript zu schreiben.
      Ich hoffe auf eure Mithilfe. Es geht um das "klassische" rote Lauflicht beim öffnen/schließen.

      Zwei Kontaktsensoren, Garagentor oben + unten. Wenn einer der beiden Sensoren geändert werden, startet das Skript. Wenn unten offen und oben offen, dann Garagentor in Bewegung. Hier habe ich einen Datenpunkt angelegt. Mache ich das mit einem string oder object? Hier sollte es als Datenpunkt true setzen. Was etwas kompliziert ist, dass der WLED Streifen angeht, wenn BWM in der Einfahrt aktiv ist. Dementsprechend sollte dieser nicht angehen, wenn Garagentor in Bewegung ist.

      Ich hatte sonst die Anforderung über http request bei wled gemacht. Kann es alternativ aber auch anders machen.

      Wenn Garagentor offen, dann Dauerhaftes leuchten.
      Wenn Garagentor schließt, dann wieder das gleiche wie beim öffnen.

      Hat jemand ein funktionierendes Skript für mich oder kann mich unterstützen?

      haselchenH Offline
      haselchenH Offline
      haselchen
      Most Active
      wrote on last edited by haselchen
      #2

      @13patrick37

      Es gibt doch nen WLED Adapter mit allen Datenpunkten , die Du brauchst .
      Und daraus baust Du das Blocky.
      Keine Ahnung was Du da mit http oder request veranstaltet hast .

      Synology DS218+ & 2 x Fujitsu Esprimo (VM/Container) + FritzBox7590 + 2 AVM 3000 Repeater & Homematic & HUE & Osram & Xiaomi, NPM 10.9.4, Nodejs 22.21.0 ,JS Controller 7.0.7 ,Admin 7.7.19

      1 Reply Last reply
      0
      • arteckA Offline
        arteckA Offline
        arteck
        Developer Most Active
        wrote on last edited by
        #3

        @13patrick37 sagte in Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung:

        Und ich bekomme es absolut nicht mehr hin, ein neues, funktionierendes Skript zu schreiben.

        was hast du den schon fertig ?

        zigbee hab ich, zwave auch, nuc's genauso und HA auch

        1 Reply Last reply
        0
        • MartinPM Online
          MartinPM Online
          MartinP
          wrote on last edited by
          #4

          @13patrick37 sagte in Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung:

          Hi zusammen,
          nachdem mein Raspberry abgeschmiert ist, konnte ich leider mein aktuelles WLED Garagentor Skript nicht wiederherstellen.

          Was hast Du denn bzgl Wiederherstellen schon versucht?

          Hast Du schon diesen Thread gesehen?

          https://forum.iobroker.net/topic/22069/skripte-aus-backup-herausholen/26

          Intel(R) Celeron(R) CPU N3000 @ 1.04GHz 8G RAM 480G SSD
          Virtualization : unprivileged lxc container (debian 12 on Proxmox 8.4.13)
          kernel Linux pve 6.8.12-15-pve
          6 GByte RAM für den Container
          Fritzbox 6591 FW 8.03 (Vodafone Leih-Box)
          Remote-Access über Wireguard der Fritzbox

          CodierknechtC 1 Reply Last reply
          1
          • MartinPM MartinP

            @13patrick37 sagte in Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung:

            Hi zusammen,
            nachdem mein Raspberry abgeschmiert ist, konnte ich leider mein aktuelles WLED Garagentor Skript nicht wiederherstellen.

            Was hast Du denn bzgl Wiederherstellen schon versucht?

            Hast Du schon diesen Thread gesehen?

            https://forum.iobroker.net/topic/22069/skripte-aus-backup-herausholen/26

            CodierknechtC Offline
            CodierknechtC Offline
            Codierknecht
            Developer Most Active
            wrote on last edited by
            #5

            @martinp sagte in Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung:

            Hast Du schon diesen Thread gesehen?

            @13patrick37
            Oder alternativ https://forum.iobroker.net/topic/68740/ein-skript-aus-backup-zurückspielen/2?_=1762167695111
            um gezielt ein einzelnes Blockly aus einem Backup zu holen.

            "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

            Proxmox 8.2.4 LXC|8 GB|Core i7-6700
            HmIP|ZigBee|Tasmota|Unifi + dies & das
            Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

            1 1 Reply Last reply
            0
            • CodierknechtC Codierknecht

              @martinp sagte in Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung:

              Hast Du schon diesen Thread gesehen?

              @13patrick37
              Oder alternativ https://forum.iobroker.net/topic/68740/ein-skript-aus-backup-zurückspielen/2?_=1762167695111
              um gezielt ein einzelnes Blockly aus einem Backup zu holen.

              1 Offline
              1 Offline
              13patrick37
              wrote on last edited by
              #6

              @codierknecht said in Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung:

              @martinp sagte in Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung:

              Hast Du schon diesen Thread gesehen?

              @13patrick37
              Oder alternativ https://forum.iobroker.net/topic/68740/ein-skript-aus-backup-zurückspielen/2?_=1762167695111
              um gezielt ein einzelnes Blockly aus einem Backup zu holen.

              Überragend!! Jetzt habe ich schonmal das Skript wieder! Top - danke!
              Nur noch eine Frage zum Datenpunkt - wenn Garage in Bewegung ist soll es einen Datenpunkt mit wahr setzen. Nutze ich hier einen string?

              Screenshot 2025-11-03 175451.jpg

              CodierknechtC 1 Reply Last reply
              0
              • 1 13patrick37

                @codierknecht said in Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung:

                @martinp sagte in Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung:

                Hast Du schon diesen Thread gesehen?

                @13patrick37
                Oder alternativ https://forum.iobroker.net/topic/68740/ein-skript-aus-backup-zurückspielen/2?_=1762167695111
                um gezielt ein einzelnes Blockly aus einem Backup zu holen.

                Überragend!! Jetzt habe ich schonmal das Skript wieder! Top - danke!
                Nur noch eine Frage zum Datenpunkt - wenn Garage in Bewegung ist soll es einen Datenpunkt mit wahr setzen. Nutze ich hier einen string?

                Screenshot 2025-11-03 175451.jpg

                CodierknechtC Offline
                CodierknechtC Offline
                Codierknecht
                Developer Most Active
                wrote on last edited by
                #7

                @13patrick37 sagte in Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung:

                eine Frage zum Datenpunkt - wenn Garage in Bewegung ist soll es einen Datenpunkt mit wahr setzen

                Wie ist der denn definiert?

                "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                Proxmox 8.2.4 LXC|8 GB|Core i7-6700
                HmIP|ZigBee|Tasmota|Unifi + dies & das
                Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                1 CodierknechtC 2 Replies Last reply
                0
                • CodierknechtC Codierknecht

                  @13patrick37 sagte in Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung:

                  eine Frage zum Datenpunkt - wenn Garage in Bewegung ist soll es einen Datenpunkt mit wahr setzen

                  Wie ist der denn definiert?

                  1 Offline
                  1 Offline
                  13patrick37
                  wrote on last edited by
                  #8

                  @codierknecht

                  @codierknecht

                  <xml xmlns="https://developers.google.com/blockly/xml">
                    <variables>
                      <variable id="*OTdEQ@gmp6[ml}Z-7G3">IP_Adresse_WLED</variable>
                      <variable id="`mAjS]P=RuR7uqc{ipQ`">Tor_in_Bewegung</variable>
                      <variable id="]_%]yGuJ+6l`+e^JVS4H">Tor_offen_dauer_grün</variable>
                      <variable id="O4FHleH:tl6~UI~DkJgr">Tor_grün_blinken</variable>
                      <variable id="Um:Oj{57SH~GJP8C[(hN">Spot</variable>
                      <variable id="FE;=bub#@-:/yZ/%L*yZ">komplett_aus</variable>
                      <variable type="timeout" id="Spot Einschalten3">Spot Einschalten3</variable>
                      <variable type="timeout" id="Grün dauer ein2">Grün dauer ein2</variable>
                      <variable type="timeout" id="Endschalter zu alles aus">Endschalter zu alles aus</variable>
                      <variable type="timeout" id="Spot Einschalten2">Spot Einschalten2</variable>
                    </variables>
                    <block type="comment" id="wLPF9*DamS1TcwlFnOq6" x="163" y="90">
                      <field name="COMMENT">&amp;S2=(Anzahl der LED)</field>
                      <next>
                        <block type="variables_set" id="wCy#f}B32Rs#h3tVd/7y">
                          <field name="VAR" id="*OTdEQ@gmp6[ml}Z-7G3">IP_Adresse_WLED</field>
                          <value name="VALUE">
                            <block type="text" id="2~=;U~T1w[VM2EFh!90~">
                              <field name="TEXT">http://192.168.178.38/win&amp;</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="Z5c%uZqfQ.UBPN(~~#e7">
                              <field name="VAR" id="`mAjS]P=RuR7uqc{ipQ`">Tor_in_Bewegung</field>
                              <value name="VALUE">
                                <block type="text" id="WFd~H{OfUHF7Pp@9ExQC">
                                  <field name="TEXT">SM=0&amp;SS=0&amp;SV=2&amp;S=0&amp;S2=296&amp;GP=1&amp;SP=0&amp;RV=0&amp;SB=255&amp;A=255&amp;R=255&amp;G=0&amp;B=0&amp;W=0&amp;R2=0&amp;G2=0&amp;B2=0&amp;W2=0&amp;FX=60&amp;SX=203&amp;IX=246&amp;T=1</field>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id=":HR=,q0iDD[Bh]+6]j2x">
                                  <field name="VAR" id="]_%]yGuJ+6l`+e^JVS4H">Tor_offen_dauer_grün</field>
                                  <value name="VALUE">
                                    <block type="text" id="dfI^O:`ov.`4QGyo[B_c">
                                      <field name="TEXT">SM=0&amp;S2=296&amp;SS=0&amp;SV=0&amp;A=255&amp;R=0&amp;G=255&amp;B=0&amp;GP=0&amp;SP=0&amp;FX=0&amp;T=1</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="variables_set" id="u|VN3}h]89w}`u,*G;Um">
                                      <field name="VAR" id="O4FHleH:tl6~UI~DkJgr">Tor_grün_blinken</field>
                                      <value name="VALUE">
                                        <block type="text" id="L8f_z/#e*i_W_[*^eU[9">
                                          <field name="TEXT">SM=0&amp;SS=0&amp;SV=0&amp;S2=296&amp;A=255&amp;R=0&amp;G=255&amp;B=0&amp;R2=0&amp;G=255&amp;B=0&amp;GP=0&amp;SP=0&amp;FX=1&amp;T=1</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="variables_set" id="ceV2PzJ$}ar?Bk@~jxc(">
                                          <field name="VAR" id="Um:Oj{57SH~GJP8C[(hN">Spot</field>
                                          <value name="VALUE">
                                            <block type="text" id="[|sy^auHo1-zOm3;L^^_">
                                              <field name="TEXT">SM=0&amp;S2=296&amp;SS=0&amp;SV=0&amp;A=255&amp;R=255&amp;G=190&amp;B=127&amp;GP=4&amp;SP=32&amp;IX=246&amp;FX=0&amp;T=1</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="9/F*;FkHU|6(7rCiITW3">
                                              <field name="VAR" id="FE;=bub#@-:/yZ/%L*yZ">komplett_aus</field>
                                              <value name="VALUE">
                                                <block type="text" id="FOY#k|qLCYVxlLh/_acs">
                                                  <field name="TEXT">T=0</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="comment" id="zeXAjy|E#I,^C,B]Dh7h">
                                                  <field name="COMMENT">ACHTUNG die Endschalter für AUF abfragen</field>
                                                  <next>
                                                    <block type="comment" id="9-Trv:F3zPe+BX5@y/[p">
                                                      <field name="COMMENT">um das Grüne Licht / Spot zu starten</field>
                                                      <next>
                                                        <block type="on_ext" id="v5?`O4SHcr}Nd7P#H;6e">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation>
                                                          <field name="CONDITION">any</field>
                                                          <field name="ACK_CONDITION"></field>
                                                          <value name="OID0">
                                                            <shadow type="field_oid" id="_wPH/$mF4jZM@f/mg/MD">
                                                              <field name="oid">zigbee.0.00158d0007e2f9d4.opened</field>
                                                            </shadow>
                                                          </value>
                                                          <value name="OID1">
                                                            <shadow type="field_oid" id="T7{#EbRHXmRlo2Xq[~Jq">
                                                              <field name="oid">zigbee.0.00158d0007e2fb36.opened</field>
                                                            </shadow>
                                                          </value>
                                                          <value name="OID2">
                                                            <shadow type="field_oid" id="S6f,79TI[l$4}=Si,aqa">
                                                              <field name="oid">zigbee.0.001788010cdc8130.illuminance</field>
                                                            </shadow>
                                                          </value>
                                                          <statement name="STATEMENT">
                                                            <block type="comment" id="Lna.HF8[AF}FW{{z]@CG">
                                                              <field name="COMMENT">Sensor Aqara</field>
                                                              <next>
                                                                <block type="controls_if" id="W%#h}eIET7l[*r_S-eVZ">
                                                                  <mutation elseif="1"></mutation>
                                                                  <value name="IF0">
                                                                    <block type="logic_operation" id="wG~IV%=~_1BtuyDSJ59@" inline="false">
                                                                      <field name="OP">AND</field>
                                                                      <value name="A">
                                                                        <block type="logic_compare" id="v%atUy]qWal)tQxya%Ky" inline="false">
                                                                          <field name="OP">LT</field>
                                                                          <value name="A">
                                                                            <block type="get_value" id="#+rkU$vdA2fG6?=ajjmc">
                                                                              <field name="ATTR">val</field>
                                                                              <field name="OID">zigbee.0.001788010cdc8130.illuminance</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="math_number" id="%mwg[_?BlO%WA1R,J^cB">
                                                                              <field name="NUM">120</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="logic_operation" id="FB-Oh#6Bj(_^`$-yu;%i" inline="false">
                                                                          <field name="OP">AND</field>
                                                                          <value name="A">
                                                                            <block type="logic_compare" id="vK(|LmVGSlJQ~pV5D#zQ" inline="false">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="get_value" id=":D03lvcBw)A{DpJ3ZpYL">
                                                                                  <field name="ATTR">val</field>
                                                                                  <field name="OID">zigbee.0.00158d0007e2f9d4.opened</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id="fhtS#Gf_~{.zHChBMvp1">
                                                                                  <field name="BOOL">TRUE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="logic_compare" id="Ty@[+*1}kB_cIcf:T4c?" inline="false">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="get_value" id="ks+Pn:yT51o5MFo!kXZs">
                                                                                  <field name="ATTR">val</field>
                                                                                  <field name="OID">zigbee.0.00158d0007e2fb36.opened</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id="w:`HT`@B^:TI9)Wr;WGs">
                                                                                  <field name="BOOL">TRUE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="update" id="IrTe=+CN4@]r*hihDyiP">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">0_userdata.0.Messwerte.Szenen.Garagentor_in_bewe</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="logic_boolean" id="B7CINQQG?6gkawXe3$KJ">
                                                                          <field name="BOOL">TRUE</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="request" id="u6]M_o0lmx+1QS3_1*^=">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                                                          <field name="WITH_STATEMENT">FALSE</field>
                                                                          <field name="LOG"></field>
                                                                          <value name="URL">
                                                                            <shadow type="text" id="e{{7P{@W#b%2xvxE_eId">
                                                                              <field name="TEXT">text</field>
                                                                            </shadow>
                                                                            <block type="text_join" id="$a#0I]ocAv%yKuny3uG,">
                                                                              <mutation items="2"></mutation>
                                                                              <value name="ADD0">
                                                                                <block type="variables_get" id="N,n09%*EyKyG$mX#+I.-">
                                                                                  <field name="VAR" id="*OTdEQ@gmp6[ml}Z-7G3">IP_Adresse_WLED</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="ADD1">
                                                                                <block type="variables_get" id="G4rLlef1a/5|Cmj/X]a.">
                                                                                  <field name="VAR" id="`mAjS]P=RuR7uqc{ipQ`">Tor_in_Bewegung</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                  <value name="IF1">
                                                                    <block type="logic_operation" id="p)GSQ4P@/Wx12ym8Q`O;" inline="false">
                                                                      <field name="OP">AND</field>
                                                                      <value name="A">
                                                                        <block type="logic_compare" id="}112~z=6MVQjjZvkzC1x" inline="false">
                                                                          <field name="OP">LT</field>
                                                                          <value name="A">
                                                                            <block type="get_value" id="3NZtEuh5:ZEHFrd1=RRm">
                                                                              <field name="ATTR">val</field>
                                                                              <field name="OID">zigbee.0.001788010cdc8130.illuminance</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="math_number" id="(6?[ymBdC~+)a/RL54IF">
                                                                              <field name="NUM">120</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="logic_operation" id=")R!HZq(me8JhA%l}x78=" inline="false">
                                                                          <field name="OP">AND</field>
                                                                          <value name="A">
                                                                            <block type="logic_compare" id="v?#V|X/)Jpb`eX,z`ec{" inline="false">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="get_value" id="~Ey@j|/TLa4F~36Ld;Vj">
                                                                                  <field name="ATTR">val</field>
                                                                                  <field name="OID">zigbee.0.00158d0007e2fb36.opened</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id="N.Jfs`-X$)lmR8g`YPRp">
                                                                                  <field name="BOOL">FALSE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="logic_compare" id="iw_.}.KvQ,l:zNd.@c%1" inline="false">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="get_value" id="L8k1|HuV~aVd9u;|S9xT">
                                                                                  <field name="ATTR">val</field>
                                                                                  <field name="OID">zigbee.0.00158d0007e2f9d4.opened</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id="^)yH#4i4|(f|GsdKeRU6">
                                                                                  <field name="BOOL">TRUE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO1">
                                                                    <block type="request" id="EC|aded,,tGS*2UQ2X.F">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                                                      <field name="WITH_STATEMENT">FALSE</field>
                                                                      <field name="LOG"></field>
                                                                      <value name="URL">
                                                                        <shadow type="text" id="ZfYA*N!(k%jzJ.6{ER0j">
                                                                          <field name="TEXT">text</field>
                                                                        </shadow>
                                                                        <block type="text_join" id="@4B60l_nJp#lV$RY=!Mg">
                                                                          <mutation items="2"></mutation>
                                                                          <value name="ADD0">
                                                                            <block type="variables_get" id="Kd-O-|~AOu-ES*gBw^Bo">
                                                                              <field name="VAR" id="*OTdEQ@gmp6[ml}Z-7G3">IP_Adresse_WLED</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="ADD1">
                                                                            <block type="variables_get" id="-tm^F}%F:[7Y,kIL%05M">
                                                                              <field name="VAR" id="O4FHleH:tl6~UI~DkJgr">Tor_grün_blinken</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="timeouts_cleartimeout" id="Y1?22j!rtHfI3=5/k$2=">
                                                                          <field name="NAME">Grün dauer ein2</field>
                                                                          <next>
                                                                            <block type="timeouts_settimeout" id=",e|l:x%B([-}bdh1!f]6">
                                                                              <field name="NAME">Grün dauer ein2</field>
                                                                              <field name="DELAY">1</field>
                                                                              <field name="UNIT">sec</field>
                                                                              <statement name="STATEMENT">
                                                                                <block type="request" id="TrEfk2y^lkCRXIrrbA|p">
                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                                                                  <field name="WITH_STATEMENT">FALSE</field>
                                                                                  <field name="LOG"></field>
                                                                                  <value name="URL">
                                                                                    <shadow type="text" id=":X,S`|6@xE|S[_y;%CIV">
                                                                                      <field name="TEXT">text</field>
                                                                                    </shadow>
                                                                                    <block type="text_join" id="Vb+`N?||?{c89-@#s^@i">
                                                                                      <mutation items="2"></mutation>
                                                                                      <value name="ADD0">
                                                                                        <block type="variables_get" id="-w~WPwbh?GYK+Dx*CZV1">
                                                                                          <field name="VAR" id="*OTdEQ@gmp6[ml}Z-7G3">IP_Adresse_WLED</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="ADD1">
                                                                                        <block type="variables_get" id="2D{p=f}:@jF0n}G~-;fw">
                                                                                          <field name="VAR" id="]_%]yGuJ+6l`+e^JVS4H">Tor_offen_dauer_grün</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                  <next>
                                                                                    <block type="timeouts_cleartimeout" id="hUk_z`]$8^X%fMaWP`::">
                                                                                      <field name="NAME">Grün dauer ein2</field>
                                                                                      <next>
                                                                                        <block type="timeouts_settimeout" id="j/aYA#wkLYF^Gc]4m.r!">
                                                                                          <field name="NAME">Spot Einschalten2</field>
                                                                                          <field name="DELAY">5</field>
                                                                                          <field name="UNIT">sec</field>
                                                                                          <statement name="STATEMENT">
                                                                                            <block type="request" id="si#*fieAZdnC.F@ag^%k">
                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                                                                              <field name="WITH_STATEMENT">FALSE</field>
                                                                                              <field name="LOG"></field>
                                                                                              <value name="URL">
                                                                                                <shadow type="text" id="o|}fW7)o=NiBUQRgWBSd">
                                                                                                  <field name="TEXT">text</field>
                                                                                                </shadow>
                                                                                                <block type="text_join" id="+Ey2hFJuE:3NC*.wX#P|">
                                                                                                  <mutation items="2"></mutation>
                                                                                                  <value name="ADD0">
                                                                                                    <block type="variables_get" id="v~NV75Ox_)N9J{c21Vm1">
                                                                                                      <field name="VAR" id="*OTdEQ@gmp6[ml}Z-7G3">IP_Adresse_WLED</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD1">
                                                                                                    <block type="variables_get" id="7JTO]uOo;c4$D.Vx/$hs">
                                                                                                      <field name="VAR" id="Um:Oj{57SH~GJP8C[(hN">Spot</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                            </block>
                                                                                          </statement>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </statement>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                          <next>
                                                            <block type="comment" id="oCTMmmFLPEc+-A]T%Fud">
                                                              <field name="COMMENT">Endschalter vom Tor zu alles aus</field>
                                                              <next>
                                                                <block type="on_ext" id="Kl7[t92[q;LHwWyWzccF">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                                  <field name="CONDITION">any</field>
                                                                  <field name="ACK_CONDITION"></field>
                                                                  <value name="OID0">
                                                                    <shadow type="field_oid" id="q}0i_/?}QjB+F08AYb8j">
                                                                      <field name="oid">zigbee.0.00158d0007e2f9d4.opened</field>
                                                                    </shadow>
                                                                  </value>
                                                                  <statement name="STATEMENT">
                                                                    <block type="controls_if" id="W__/eC.Y1858qsIxou^=">
                                                                      <value name="IF0">
                                                                        <block type="logic_operation" id=";0RM7(N/H^K$kFIi}mIb" inline="false">
                                                                          <field name="OP">AND</field>
                                                                          <value name="A">
                                                                            <block type="logic_compare" id="4=IE9J[nD(AuNElj+Nw.">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="on_source" id="}lz)+|lgPT`$iFyO@Fsc">
                                                                                  <field name="ATTR">state.val</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id="y|8Y0:Qe!%J;iYe3Y},T">
                                                                                  <field name="BOOL">FALSE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="logic_compare" id="VlyuUN/n4]*evEq%;o.5" inline="false">
                                                                              <field name="OP">LT</field>
                                                                              <value name="A">
                                                                                <block type="get_value" id="llg/0-ibVdRCKZl+nC-[">
                                                                                  <field name="ATTR">val</field>
                                                                                  <field name="OID">zigbee.0.001788010cdc8130.illuminance</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="math_number" id="(}HN#_]@w]obCwjyPH8K">
                                                                                  <field name="NUM">120</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO0">
                                                                        <block type="timeouts_settimeout" id="C=Ievn6b/2Az7(kol,o/">
                                                                          <field name="NAME">Spot Einschalten3</field>
                                                                          <field name="DELAY">1</field>
                                                                          <field name="UNIT">sec</field>
                                                                          <statement name="STATEMENT">
                                                                            <block type="request" id="p;#.?^s:l/v*ZZ:CA4LH">
                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                                                              <field name="WITH_STATEMENT">FALSE</field>
                                                                              <field name="LOG"></field>
                                                                              <value name="URL">
                                                                                <shadow type="text" id="MhM`A@PAJMKKIuD;`k)3">
                                                                                  <field name="TEXT">text</field>
                                                                                </shadow>
                                                                                <block type="text_join" id="c^XJVr(oMxVv%`lH+y1V">
                                                                                  <mutation items="2"></mutation>
                                                                                  <value name="ADD0">
                                                                                    <block type="variables_get" id="WW,wSQ:#!yfnCx2cc=m_">
                                                                                      <field name="VAR" id="*OTdEQ@gmp6[ml}Z-7G3">IP_Adresse_WLED</field>
                                                                                    </block>
                                                                                  </value>
                                                                                  <value name="ADD1">
                                                                                    <block type="variables_get" id="rJ(-BNJn`B~##jgAlpD+">
                                                                                      <field name="VAR" id="Um:Oj{57SH~GJP8C[(hN">Spot</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </statement>
                                                                          <next>
                                                                            <block type="timeouts_settimeout" id="bUkj%WD(;aLc?n^-Np-L">
                                                                              <field name="NAME">Endschalter zu alles aus</field>
                                                                              <field name="DELAY">60</field>
                                                                              <field name="UNIT">sec</field>
                                                                              <statement name="STATEMENT">
                                                                                <block type="request" id="^;Umnn((|geyUTI8qDyC">
                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                                                                  <field name="WITH_STATEMENT">FALSE</field>
                                                                                  <field name="LOG"></field>
                                                                                  <value name="URL">
                                                                                    <shadow type="text" id="(ioj6MV?=7#yE+G!gW6W">
                                                                                      <field name="TEXT">text</field>
                                                                                    </shadow>
                                                                                    <block type="text_join" id="ugY=.{Me=%vqfbq)MEB0">
                                                                                      <mutation items="2"></mutation>
                                                                                      <value name="ADD0">
                                                                                        <block type="variables_get" id="c8bNA.j:JFOO39%@bDz,">
                                                                                          <field name="VAR" id="*OTdEQ@gmp6[ml}Z-7G3">IP_Adresse_WLED</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="ADD1">
                                                                                        <block type="variables_get" id="j6WLjln`VupX~o!u)#%t">
                                                                                          <field name="VAR" id="FE;=bub#@-:/yZ/%L*yZ">komplett_aus</field>
                                                                                        </block>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </statement>
                                                                              <next>
                                                                                <block type="control" id="Vg5;7=!oOLC)#;dLcRcm">
                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                  <field name="OID">0_userdata.0.Messwerte.Szenen.Garagentor_in_bewe</field>
                                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                                  <value name="VALUE">
                                                                                    <block type="logic_boolean" id="9ge$6dw#HB.q.~W*q@4G">
                                                                                      <field name="BOOL">FALSE</field>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </statement>
                                                                    </block>
                                                                  </statement>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                    <block type="comment" id="}oz*i0NN;e8RQC2W=niu" x="1237" y="62">
                      <field name="COMMENT">!!!! ACHTUNG MUSS auf wurde aktualisiert stehen</field>
                      <next>
                        <block type="comment" id="E[P^*NqX=b,.*QlSem/(">
                          <field name="COMMENT">Handsender HM</field>
                          <next>
                            <block type="comment" id="R8VTNLfH;shX|iU?}B*#">
                              <field name="COMMENT">Spot einschalten</field>
                              <next>
                                <block type="on_ext" id="^Y#tI3BbL;c)mz(Zfnbi" collapsed="true" disabled="true">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                  <field name="CONDITION">any</field>
                                  <field name="ACK_CONDITION"></field>
                                  <value name="OID0">
                                    <shadow type="field_oid" id="WX)Pm6)r3{Is@kU$i3^r">
                                      <field name="oid">javascript.0.Garage.GaragentorLicht</field>
                                    </shadow>
                                  </value>
                                  <statement name="STATEMENT">
                                    <block type="controls_if" id="ecQyt_SaZP?;z4^QgG~I">
                                      <mutation else="1"></mutation>
                                      <value name="IF0">
                                        <block type="logic_compare" id="c,*]p,_n)IOpbQ68g(L-">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="on_source" id="ijed7W4/F1EaZNJhue]e">
                                              <field name="ATTR">state.val</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_boolean" id="Qc,MX8[p`[*wq5uv6%`Z">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="comment" id="#mEy;Itxn2~_D)$92I!e">
                                      <field name="COMMENT">Garagentor öffnen / schliessen</field>
                                      <next>
                                        <block type="on_ext" id="85Xyy):=QU10G-zca6P." collapsed="true" disabled="true">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                          <field name="CONDITION">any</field>
                                          <field name="ACK_CONDITION"></field>
                                          <value name="OID0">
                                            <shadow type="field_oid" id="$j#2tln^uy1?+kJZ;Dft">
                                              <field name="oid">hm-rpc.0.NEQ1136838.2.PRESS_SHORT</field>
                                            </shadow>
                                          </value>
                                          <statement name="STATEMENT">
                                            <block type="controls_if" id="9lEpkEQu-AV:TeM2KSgA">
                                              <value name="IF0">
                                                <block type="on_source" id="Vv/]h%942IrB),_k^+wg">
                                                  <field name="ATTR">id</field>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                          <next>
                                            <block type="comment" id="~56Mx89X*7K*A)eBjv0q">
                                              <field name="COMMENT">Licht und Garagentor</field>
                                              <next>
                                                <block type="on_ext" id="JU#.UH:mr_W*2w0L$yXO" disabled="true">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                  <field name="CONDITION">any</field>
                                                  <field name="ACK_CONDITION"></field>
                                                  <value name="OID0">
                                                    <shadow type="field_oid" id="MxxWTnkJM@,Wb@`_JoH`">
                                                      <field name="oid">hm-rpc.0.NEQ1136838.1.PRESS_SHORT</field>
                                                    </shadow>
                                                  </value>
                                                  <statement name="STATEMENT">
                                                    <block type="controls_if" id="Y~b[0:!pIax(wxcX[RDz">
                                                      <value name="IF0">
                                                        <block type="on_source" id="s..^Q@AY$S=G,w2;+|+:">
                                                          <field name="ATTR">id</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </statement>
                                                  <next>
                                                    <block type="comment" id="d/g1NaL^f;8oFx5gsunx">
                                                      <field name="COMMENT">Garagentor Stop und Licht aus</field>
                                                      <next>
                                                        <block type="on_ext" id="@1ut$?Y_NYcXF}Y}V7t2" disabled="true">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                          <field name="CONDITION">ne</field>
                                                          <field name="ACK_CONDITION"></field>
                                                          <value name="OID0">
                                                            <shadow type="field_oid" id="-GyZcivsp5AZsjF]lc@-">
                                                              <field name="oid">hm-rpc.0.NEQ1136838.4.PRESS_SHORT</field>
                                                            </shadow>
                                                          </value>
                                                          <statement name="STATEMENT">
                                                            <block type="controls_if" id="E=tOj6K9-wSsCcxqA/F.">
                                                              <value name="IF0">
                                                                <block type="on_source" id="[g@[LK/RgL_rBucKRdn#">
                                                                  <field name="ATTR">id</field>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="variables_set" id="M8x@C:oD[Sfslxvb3FO3">
                                                                  <field name="VAR" id="FE;=bub#@-:/yZ/%L*yZ">komplett_aus</field>
                                                                  <value name="VALUE">
                                                                    <block type="logic_boolean" id="rK2(M1.Ai5~YfFu~U,Y}">
                                                                      <field name="BOOL">TRUE</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </xml>
                  

                  Kannst dir das Skript gern mal anschauen. Oder soll ich lieber Screenshot posten?
                  Bekomme noch folgende Fehlermeldung:

                  script.js.Außenbereich.Skript_1: request package is deprecated - please use httpGet (or a stable lib like axios) instead!
                  

                  Funktioniert erstmal alles. Bin nur der Meinung, dass es vielleicht zu umständlich ist.
                  Ich will nur noch über einen Datenpunkt, siehe Skript, ein "wahr" setzen, wenn die Garage in Bewegung ist.

                  CodierknechtC 1 Reply Last reply
                  0
                  • 1 13patrick37

                    @codierknecht

                    @codierknecht

                    <xml xmlns="https://developers.google.com/blockly/xml">
                      <variables>
                        <variable id="*OTdEQ@gmp6[ml}Z-7G3">IP_Adresse_WLED</variable>
                        <variable id="`mAjS]P=RuR7uqc{ipQ`">Tor_in_Bewegung</variable>
                        <variable id="]_%]yGuJ+6l`+e^JVS4H">Tor_offen_dauer_grün</variable>
                        <variable id="O4FHleH:tl6~UI~DkJgr">Tor_grün_blinken</variable>
                        <variable id="Um:Oj{57SH~GJP8C[(hN">Spot</variable>
                        <variable id="FE;=bub#@-:/yZ/%L*yZ">komplett_aus</variable>
                        <variable type="timeout" id="Spot Einschalten3">Spot Einschalten3</variable>
                        <variable type="timeout" id="Grün dauer ein2">Grün dauer ein2</variable>
                        <variable type="timeout" id="Endschalter zu alles aus">Endschalter zu alles aus</variable>
                        <variable type="timeout" id="Spot Einschalten2">Spot Einschalten2</variable>
                      </variables>
                      <block type="comment" id="wLPF9*DamS1TcwlFnOq6" x="163" y="90">
                        <field name="COMMENT">&amp;S2=(Anzahl der LED)</field>
                        <next>
                          <block type="variables_set" id="wCy#f}B32Rs#h3tVd/7y">
                            <field name="VAR" id="*OTdEQ@gmp6[ml}Z-7G3">IP_Adresse_WLED</field>
                            <value name="VALUE">
                              <block type="text" id="2~=;U~T1w[VM2EFh!90~">
                                <field name="TEXT">http://192.168.178.38/win&amp;</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="Z5c%uZqfQ.UBPN(~~#e7">
                                <field name="VAR" id="`mAjS]P=RuR7uqc{ipQ`">Tor_in_Bewegung</field>
                                <value name="VALUE">
                                  <block type="text" id="WFd~H{OfUHF7Pp@9ExQC">
                                    <field name="TEXT">SM=0&amp;SS=0&amp;SV=2&amp;S=0&amp;S2=296&amp;GP=1&amp;SP=0&amp;RV=0&amp;SB=255&amp;A=255&amp;R=255&amp;G=0&amp;B=0&amp;W=0&amp;R2=0&amp;G2=0&amp;B2=0&amp;W2=0&amp;FX=60&amp;SX=203&amp;IX=246&amp;T=1</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id=":HR=,q0iDD[Bh]+6]j2x">
                                    <field name="VAR" id="]_%]yGuJ+6l`+e^JVS4H">Tor_offen_dauer_grün</field>
                                    <value name="VALUE">
                                      <block type="text" id="dfI^O:`ov.`4QGyo[B_c">
                                        <field name="TEXT">SM=0&amp;S2=296&amp;SS=0&amp;SV=0&amp;A=255&amp;R=0&amp;G=255&amp;B=0&amp;GP=0&amp;SP=0&amp;FX=0&amp;T=1</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="u|VN3}h]89w}`u,*G;Um">
                                        <field name="VAR" id="O4FHleH:tl6~UI~DkJgr">Tor_grün_blinken</field>
                                        <value name="VALUE">
                                          <block type="text" id="L8f_z/#e*i_W_[*^eU[9">
                                            <field name="TEXT">SM=0&amp;SS=0&amp;SV=0&amp;S2=296&amp;A=255&amp;R=0&amp;G=255&amp;B=0&amp;R2=0&amp;G=255&amp;B=0&amp;GP=0&amp;SP=0&amp;FX=1&amp;T=1</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="ceV2PzJ$}ar?Bk@~jxc(">
                                            <field name="VAR" id="Um:Oj{57SH~GJP8C[(hN">Spot</field>
                                            <value name="VALUE">
                                              <block type="text" id="[|sy^auHo1-zOm3;L^^_">
                                                <field name="TEXT">SM=0&amp;S2=296&amp;SS=0&amp;SV=0&amp;A=255&amp;R=255&amp;G=190&amp;B=127&amp;GP=4&amp;SP=32&amp;IX=246&amp;FX=0&amp;T=1</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="variables_set" id="9/F*;FkHU|6(7rCiITW3">
                                                <field name="VAR" id="FE;=bub#@-:/yZ/%L*yZ">komplett_aus</field>
                                                <value name="VALUE">
                                                  <block type="text" id="FOY#k|qLCYVxlLh/_acs">
                                                    <field name="TEXT">T=0</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="comment" id="zeXAjy|E#I,^C,B]Dh7h">
                                                    <field name="COMMENT">ACHTUNG die Endschalter für AUF abfragen</field>
                                                    <next>
                                                      <block type="comment" id="9-Trv:F3zPe+BX5@y/[p">
                                                        <field name="COMMENT">um das Grüne Licht / Spot zu starten</field>
                                                        <next>
                                                          <block type="on_ext" id="v5?`O4SHcr}Nd7P#H;6e">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="3"></mutation>
                                                            <field name="CONDITION">any</field>
                                                            <field name="ACK_CONDITION"></field>
                                                            <value name="OID0">
                                                              <shadow type="field_oid" id="_wPH/$mF4jZM@f/mg/MD">
                                                                <field name="oid">zigbee.0.00158d0007e2f9d4.opened</field>
                                                              </shadow>
                                                            </value>
                                                            <value name="OID1">
                                                              <shadow type="field_oid" id="T7{#EbRHXmRlo2Xq[~Jq">
                                                                <field name="oid">zigbee.0.00158d0007e2fb36.opened</field>
                                                              </shadow>
                                                            </value>
                                                            <value name="OID2">
                                                              <shadow type="field_oid" id="S6f,79TI[l$4}=Si,aqa">
                                                                <field name="oid">zigbee.0.001788010cdc8130.illuminance</field>
                                                              </shadow>
                                                            </value>
                                                            <statement name="STATEMENT">
                                                              <block type="comment" id="Lna.HF8[AF}FW{{z]@CG">
                                                                <field name="COMMENT">Sensor Aqara</field>
                                                                <next>
                                                                  <block type="controls_if" id="W%#h}eIET7l[*r_S-eVZ">
                                                                    <mutation elseif="1"></mutation>
                                                                    <value name="IF0">
                                                                      <block type="logic_operation" id="wG~IV%=~_1BtuyDSJ59@" inline="false">
                                                                        <field name="OP">AND</field>
                                                                        <value name="A">
                                                                          <block type="logic_compare" id="v%atUy]qWal)tQxya%Ky" inline="false">
                                                                            <field name="OP">LT</field>
                                                                            <value name="A">
                                                                              <block type="get_value" id="#+rkU$vdA2fG6?=ajjmc">
                                                                                <field name="ATTR">val</field>
                                                                                <field name="OID">zigbee.0.001788010cdc8130.illuminance</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="math_number" id="%mwg[_?BlO%WA1R,J^cB">
                                                                                <field name="NUM">120</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="logic_operation" id="FB-Oh#6Bj(_^`$-yu;%i" inline="false">
                                                                            <field name="OP">AND</field>
                                                                            <value name="A">
                                                                              <block type="logic_compare" id="vK(|LmVGSlJQ~pV5D#zQ" inline="false">
                                                                                <field name="OP">EQ</field>
                                                                                <value name="A">
                                                                                  <block type="get_value" id=":D03lvcBw)A{DpJ3ZpYL">
                                                                                    <field name="ATTR">val</field>
                                                                                    <field name="OID">zigbee.0.00158d0007e2f9d4.opened</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="logic_boolean" id="fhtS#Gf_~{.zHChBMvp1">
                                                                                    <field name="BOOL">TRUE</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="logic_compare" id="Ty@[+*1}kB_cIcf:T4c?" inline="false">
                                                                                <field name="OP">EQ</field>
                                                                                <value name="A">
                                                                                  <block type="get_value" id="ks+Pn:yT51o5MFo!kXZs">
                                                                                    <field name="ATTR">val</field>
                                                                                    <field name="OID">zigbee.0.00158d0007e2fb36.opened</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="logic_boolean" id="w:`HT`@B^:TI9)Wr;WGs">
                                                                                    <field name="BOOL">TRUE</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <statement name="DO0">
                                                                      <block type="update" id="IrTe=+CN4@]r*hihDyiP">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                        <field name="OID">0_userdata.0.Messwerte.Szenen.Garagentor_in_bewe</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="logic_boolean" id="B7CINQQG?6gkawXe3$KJ">
                                                                            <field name="BOOL">TRUE</field>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="request" id="u6]M_o0lmx+1QS3_1*^=">
                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                                                            <field name="WITH_STATEMENT">FALSE</field>
                                                                            <field name="LOG"></field>
                                                                            <value name="URL">
                                                                              <shadow type="text" id="e{{7P{@W#b%2xvxE_eId">
                                                                                <field name="TEXT">text</field>
                                                                              </shadow>
                                                                              <block type="text_join" id="$a#0I]ocAv%yKuny3uG,">
                                                                                <mutation items="2"></mutation>
                                                                                <value name="ADD0">
                                                                                  <block type="variables_get" id="N,n09%*EyKyG$mX#+I.-">
                                                                                    <field name="VAR" id="*OTdEQ@gmp6[ml}Z-7G3">IP_Adresse_WLED</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="ADD1">
                                                                                  <block type="variables_get" id="G4rLlef1a/5|Cmj/X]a.">
                                                                                    <field name="VAR" id="`mAjS]P=RuR7uqc{ipQ`">Tor_in_Bewegung</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </statement>
                                                                    <value name="IF1">
                                                                      <block type="logic_operation" id="p)GSQ4P@/Wx12ym8Q`O;" inline="false">
                                                                        <field name="OP">AND</field>
                                                                        <value name="A">
                                                                          <block type="logic_compare" id="}112~z=6MVQjjZvkzC1x" inline="false">
                                                                            <field name="OP">LT</field>
                                                                            <value name="A">
                                                                              <block type="get_value" id="3NZtEuh5:ZEHFrd1=RRm">
                                                                                <field name="ATTR">val</field>
                                                                                <field name="OID">zigbee.0.001788010cdc8130.illuminance</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="math_number" id="(6?[ymBdC~+)a/RL54IF">
                                                                                <field name="NUM">120</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="logic_operation" id=")R!HZq(me8JhA%l}x78=" inline="false">
                                                                            <field name="OP">AND</field>
                                                                            <value name="A">
                                                                              <block type="logic_compare" id="v?#V|X/)Jpb`eX,z`ec{" inline="false">
                                                                                <field name="OP">EQ</field>
                                                                                <value name="A">
                                                                                  <block type="get_value" id="~Ey@j|/TLa4F~36Ld;Vj">
                                                                                    <field name="ATTR">val</field>
                                                                                    <field name="OID">zigbee.0.00158d0007e2fb36.opened</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="logic_boolean" id="N.Jfs`-X$)lmR8g`YPRp">
                                                                                    <field name="BOOL">FALSE</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="logic_compare" id="iw_.}.KvQ,l:zNd.@c%1" inline="false">
                                                                                <field name="OP">EQ</field>
                                                                                <value name="A">
                                                                                  <block type="get_value" id="L8k1|HuV~aVd9u;|S9xT">
                                                                                    <field name="ATTR">val</field>
                                                                                    <field name="OID">zigbee.0.00158d0007e2f9d4.opened</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="logic_boolean" id="^)yH#4i4|(f|GsdKeRU6">
                                                                                    <field name="BOOL">TRUE</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <statement name="DO1">
                                                                      <block type="request" id="EC|aded,,tGS*2UQ2X.F">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                                                        <field name="WITH_STATEMENT">FALSE</field>
                                                                        <field name="LOG"></field>
                                                                        <value name="URL">
                                                                          <shadow type="text" id="ZfYA*N!(k%jzJ.6{ER0j">
                                                                            <field name="TEXT">text</field>
                                                                          </shadow>
                                                                          <block type="text_join" id="@4B60l_nJp#lV$RY=!Mg">
                                                                            <mutation items="2"></mutation>
                                                                            <value name="ADD0">
                                                                              <block type="variables_get" id="Kd-O-|~AOu-ES*gBw^Bo">
                                                                                <field name="VAR" id="*OTdEQ@gmp6[ml}Z-7G3">IP_Adresse_WLED</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="ADD1">
                                                                              <block type="variables_get" id="-tm^F}%F:[7Y,kIL%05M">
                                                                                <field name="VAR" id="O4FHleH:tl6~UI~DkJgr">Tor_grün_blinken</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="timeouts_cleartimeout" id="Y1?22j!rtHfI3=5/k$2=">
                                                                            <field name="NAME">Grün dauer ein2</field>
                                                                            <next>
                                                                              <block type="timeouts_settimeout" id=",e|l:x%B([-}bdh1!f]6">
                                                                                <field name="NAME">Grün dauer ein2</field>
                                                                                <field name="DELAY">1</field>
                                                                                <field name="UNIT">sec</field>
                                                                                <statement name="STATEMENT">
                                                                                  <block type="request" id="TrEfk2y^lkCRXIrrbA|p">
                                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                                                                    <field name="WITH_STATEMENT">FALSE</field>
                                                                                    <field name="LOG"></field>
                                                                                    <value name="URL">
                                                                                      <shadow type="text" id=":X,S`|6@xE|S[_y;%CIV">
                                                                                        <field name="TEXT">text</field>
                                                                                      </shadow>
                                                                                      <block type="text_join" id="Vb+`N?||?{c89-@#s^@i">
                                                                                        <mutation items="2"></mutation>
                                                                                        <value name="ADD0">
                                                                                          <block type="variables_get" id="-w~WPwbh?GYK+Dx*CZV1">
                                                                                            <field name="VAR" id="*OTdEQ@gmp6[ml}Z-7G3">IP_Adresse_WLED</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="ADD1">
                                                                                          <block type="variables_get" id="2D{p=f}:@jF0n}G~-;fw">
                                                                                            <field name="VAR" id="]_%]yGuJ+6l`+e^JVS4H">Tor_offen_dauer_grün</field>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <next>
                                                                                      <block type="timeouts_cleartimeout" id="hUk_z`]$8^X%fMaWP`::">
                                                                                        <field name="NAME">Grün dauer ein2</field>
                                                                                        <next>
                                                                                          <block type="timeouts_settimeout" id="j/aYA#wkLYF^Gc]4m.r!">
                                                                                            <field name="NAME">Spot Einschalten2</field>
                                                                                            <field name="DELAY">5</field>
                                                                                            <field name="UNIT">sec</field>
                                                                                            <statement name="STATEMENT">
                                                                                              <block type="request" id="si#*fieAZdnC.F@ag^%k">
                                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                                                                                <field name="WITH_STATEMENT">FALSE</field>
                                                                                                <field name="LOG"></field>
                                                                                                <value name="URL">
                                                                                                  <shadow type="text" id="o|}fW7)o=NiBUQRgWBSd">
                                                                                                    <field name="TEXT">text</field>
                                                                                                  </shadow>
                                                                                                  <block type="text_join" id="+Ey2hFJuE:3NC*.wX#P|">
                                                                                                    <mutation items="2"></mutation>
                                                                                                    <value name="ADD0">
                                                                                                      <block type="variables_get" id="v~NV75Ox_)N9J{c21Vm1">
                                                                                                        <field name="VAR" id="*OTdEQ@gmp6[ml}Z-7G3">IP_Adresse_WLED</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="ADD1">
                                                                                                      <block type="variables_get" id="7JTO]uOo;c4$D.Vx/$hs">
                                                                                                        <field name="VAR" id="Um:Oj{57SH~GJP8C[(hN">Spot</field>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </statement>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </statement>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </statement>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                            <next>
                                                              <block type="comment" id="oCTMmmFLPEc+-A]T%Fud">
                                                                <field name="COMMENT">Endschalter vom Tor zu alles aus</field>
                                                                <next>
                                                                  <block type="on_ext" id="Kl7[t92[q;LHwWyWzccF">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                                    <field name="CONDITION">any</field>
                                                                    <field name="ACK_CONDITION"></field>
                                                                    <value name="OID0">
                                                                      <shadow type="field_oid" id="q}0i_/?}QjB+F08AYb8j">
                                                                        <field name="oid">zigbee.0.00158d0007e2f9d4.opened</field>
                                                                      </shadow>
                                                                    </value>
                                                                    <statement name="STATEMENT">
                                                                      <block type="controls_if" id="W__/eC.Y1858qsIxou^=">
                                                                        <value name="IF0">
                                                                          <block type="logic_operation" id=";0RM7(N/H^K$kFIi}mIb" inline="false">
                                                                            <field name="OP">AND</field>
                                                                            <value name="A">
                                                                              <block type="logic_compare" id="4=IE9J[nD(AuNElj+Nw.">
                                                                                <field name="OP">EQ</field>
                                                                                <value name="A">
                                                                                  <block type="on_source" id="}lz)+|lgPT`$iFyO@Fsc">
                                                                                    <field name="ATTR">state.val</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="logic_boolean" id="y|8Y0:Qe!%J;iYe3Y},T">
                                                                                    <field name="BOOL">FALSE</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="logic_compare" id="VlyuUN/n4]*evEq%;o.5" inline="false">
                                                                                <field name="OP">LT</field>
                                                                                <value name="A">
                                                                                  <block type="get_value" id="llg/0-ibVdRCKZl+nC-[">
                                                                                    <field name="ATTR">val</field>
                                                                                    <field name="OID">zigbee.0.001788010cdc8130.illuminance</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="math_number" id="(}HN#_]@w]obCwjyPH8K">
                                                                                    <field name="NUM">120</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <statement name="DO0">
                                                                          <block type="timeouts_settimeout" id="C=Ievn6b/2Az7(kol,o/">
                                                                            <field name="NAME">Spot Einschalten3</field>
                                                                            <field name="DELAY">1</field>
                                                                            <field name="UNIT">sec</field>
                                                                            <statement name="STATEMENT">
                                                                              <block type="request" id="p;#.?^s:l/v*ZZ:CA4LH">
                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                                                                <field name="WITH_STATEMENT">FALSE</field>
                                                                                <field name="LOG"></field>
                                                                                <value name="URL">
                                                                                  <shadow type="text" id="MhM`A@PAJMKKIuD;`k)3">
                                                                                    <field name="TEXT">text</field>
                                                                                  </shadow>
                                                                                  <block type="text_join" id="c^XJVr(oMxVv%`lH+y1V">
                                                                                    <mutation items="2"></mutation>
                                                                                    <value name="ADD0">
                                                                                      <block type="variables_get" id="WW,wSQ:#!yfnCx2cc=m_">
                                                                                        <field name="VAR" id="*OTdEQ@gmp6[ml}Z-7G3">IP_Adresse_WLED</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="ADD1">
                                                                                      <block type="variables_get" id="rJ(-BNJn`B~##jgAlpD+">
                                                                                        <field name="VAR" id="Um:Oj{57SH~GJP8C[(hN">Spot</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </statement>
                                                                            <next>
                                                                              <block type="timeouts_settimeout" id="bUkj%WD(;aLc?n^-Np-L">
                                                                                <field name="NAME">Endschalter zu alles aus</field>
                                                                                <field name="DELAY">60</field>
                                                                                <field name="UNIT">sec</field>
                                                                                <statement name="STATEMENT">
                                                                                  <block type="request" id="^;Umnn((|geyUTI8qDyC">
                                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="false"></mutation>
                                                                                    <field name="WITH_STATEMENT">FALSE</field>
                                                                                    <field name="LOG"></field>
                                                                                    <value name="URL">
                                                                                      <shadow type="text" id="(ioj6MV?=7#yE+G!gW6W">
                                                                                        <field name="TEXT">text</field>
                                                                                      </shadow>
                                                                                      <block type="text_join" id="ugY=.{Me=%vqfbq)MEB0">
                                                                                        <mutation items="2"></mutation>
                                                                                        <value name="ADD0">
                                                                                          <block type="variables_get" id="c8bNA.j:JFOO39%@bDz,">
                                                                                            <field name="VAR" id="*OTdEQ@gmp6[ml}Z-7G3">IP_Adresse_WLED</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="ADD1">
                                                                                          <block type="variables_get" id="j6WLjln`VupX~o!u)#%t">
                                                                                            <field name="VAR" id="FE;=bub#@-:/yZ/%L*yZ">komplett_aus</field>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </statement>
                                                                                <next>
                                                                                  <block type="control" id="Vg5;7=!oOLC)#;dLcRcm">
                                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                    <field name="OID">0_userdata.0.Messwerte.Szenen.Garagentor_in_bewe</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="logic_boolean" id="9ge$6dw#HB.q.~W*q@4G">
                                                                                        <field name="BOOL">FALSE</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </statement>
                                                                      </block>
                                                                    </statement>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                      <block type="comment" id="}oz*i0NN;e8RQC2W=niu" x="1237" y="62">
                        <field name="COMMENT">!!!! ACHTUNG MUSS auf wurde aktualisiert stehen</field>
                        <next>
                          <block type="comment" id="E[P^*NqX=b,.*QlSem/(">
                            <field name="COMMENT">Handsender HM</field>
                            <next>
                              <block type="comment" id="R8VTNLfH;shX|iU?}B*#">
                                <field name="COMMENT">Spot einschalten</field>
                                <next>
                                  <block type="on_ext" id="^Y#tI3BbL;c)mz(Zfnbi" collapsed="true" disabled="true">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                    <field name="CONDITION">any</field>
                                    <field name="ACK_CONDITION"></field>
                                    <value name="OID0">
                                      <shadow type="field_oid" id="WX)Pm6)r3{Is@kU$i3^r">
                                        <field name="oid">javascript.0.Garage.GaragentorLicht</field>
                                      </shadow>
                                    </value>
                                    <statement name="STATEMENT">
                                      <block type="controls_if" id="ecQyt_SaZP?;z4^QgG~I">
                                        <mutation else="1"></mutation>
                                        <value name="IF0">
                                          <block type="logic_compare" id="c,*]p,_n)IOpbQ68g(L-">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="on_source" id="ijed7W4/F1EaZNJhue]e">
                                                <field name="ATTR">state.val</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_boolean" id="Qc,MX8[p`[*wq5uv6%`Z">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="comment" id="#mEy;Itxn2~_D)$92I!e">
                                        <field name="COMMENT">Garagentor öffnen / schliessen</field>
                                        <next>
                                          <block type="on_ext" id="85Xyy):=QU10G-zca6P." collapsed="true" disabled="true">
                                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                            <field name="CONDITION">any</field>
                                            <field name="ACK_CONDITION"></field>
                                            <value name="OID0">
                                              <shadow type="field_oid" id="$j#2tln^uy1?+kJZ;Dft">
                                                <field name="oid">hm-rpc.0.NEQ1136838.2.PRESS_SHORT</field>
                                              </shadow>
                                            </value>
                                            <statement name="STATEMENT">
                                              <block type="controls_if" id="9lEpkEQu-AV:TeM2KSgA">
                                                <value name="IF0">
                                                  <block type="on_source" id="Vv/]h%942IrB),_k^+wg">
                                                    <field name="ATTR">id</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                            <next>
                                              <block type="comment" id="~56Mx89X*7K*A)eBjv0q">
                                                <field name="COMMENT">Licht und Garagentor</field>
                                                <next>
                                                  <block type="on_ext" id="JU#.UH:mr_W*2w0L$yXO" disabled="true">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                    <field name="CONDITION">any</field>
                                                    <field name="ACK_CONDITION"></field>
                                                    <value name="OID0">
                                                      <shadow type="field_oid" id="MxxWTnkJM@,Wb@`_JoH`">
                                                        <field name="oid">hm-rpc.0.NEQ1136838.1.PRESS_SHORT</field>
                                                      </shadow>
                                                    </value>
                                                    <statement name="STATEMENT">
                                                      <block type="controls_if" id="Y~b[0:!pIax(wxcX[RDz">
                                                        <value name="IF0">
                                                          <block type="on_source" id="s..^Q@AY$S=G,w2;+|+:">
                                                            <field name="ATTR">id</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </statement>
                                                    <next>
                                                      <block type="comment" id="d/g1NaL^f;8oFx5gsunx">
                                                        <field name="COMMENT">Garagentor Stop und Licht aus</field>
                                                        <next>
                                                          <block type="on_ext" id="@1ut$?Y_NYcXF}Y}V7t2" disabled="true">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                                                            <field name="CONDITION">ne</field>
                                                            <field name="ACK_CONDITION"></field>
                                                            <value name="OID0">
                                                              <shadow type="field_oid" id="-GyZcivsp5AZsjF]lc@-">
                                                                <field name="oid">hm-rpc.0.NEQ1136838.4.PRESS_SHORT</field>
                                                              </shadow>
                                                            </value>
                                                            <statement name="STATEMENT">
                                                              <block type="controls_if" id="E=tOj6K9-wSsCcxqA/F.">
                                                                <value name="IF0">
                                                                  <block type="on_source" id="[g@[LK/RgL_rBucKRdn#">
                                                                    <field name="ATTR">id</field>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO0">
                                                                  <block type="variables_set" id="M8x@C:oD[Sfslxvb3FO3">
                                                                    <field name="VAR" id="FE;=bub#@-:/yZ/%L*yZ">komplett_aus</field>
                                                                    <value name="VALUE">
                                                                      <block type="logic_boolean" id="rK2(M1.Ai5~YfFu~U,Y}">
                                                                        <field name="BOOL">TRUE</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </statement>
                                                              </block>
                                                            </statement>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </xml>
                    

                    Kannst dir das Skript gern mal anschauen. Oder soll ich lieber Screenshot posten?
                    Bekomme noch folgende Fehlermeldung:

                    script.js.Außenbereich.Skript_1: request package is deprecated - please use httpGet (or a stable lib like axios) instead!
                    

                    Funktioniert erstmal alles. Bin nur der Meinung, dass es vielleicht zu umständlich ist.
                    Ich will nur noch über einen Datenpunkt, siehe Skript, ein "wahr" setzen, wenn die Garage in Bewegung ist.

                    CodierknechtC Offline
                    CodierknechtC Offline
                    Codierknecht
                    Developer Most Active
                    wrote on last edited by
                    #9

                    @13patrick37 sagte in Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung:

                    Kannst dir das Skript gern mal anschauen. Oder soll ich lieber Screenshot posten?

                    Bitte Blockly immer als Screenshot liefern.

                    Den Code kann man optional (hinter 'nem Spoiler) zusätzlich liefern.

                    Nur die allerwenigsten haben Lust, ein Blockly erstmal zu importieren (was gar nicht immer geht) um einen Blick darauf zu werfen.

                    "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                    Proxmox 8.2.4 LXC|8 GB|Core i7-6700
                    HmIP|ZigBee|Tasmota|Unifi + dies & das
                    Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                    1 1 Reply Last reply
                    0
                    • CodierknechtC Codierknecht

                      @13patrick37 sagte in Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung:

                      Kannst dir das Skript gern mal anschauen. Oder soll ich lieber Screenshot posten?

                      Bitte Blockly immer als Screenshot liefern.

                      Den Code kann man optional (hinter 'nem Spoiler) zusätzlich liefern.

                      Nur die allerwenigsten haben Lust, ein Blockly erstmal zu importieren (was gar nicht immer geht) um einen Blick darauf zu werfen.

                      1 Offline
                      1 Offline
                      13patrick37
                      wrote on last edited by
                      #10

                      @codierknecht
                      1.jpg
                      2.jpg
                      4.jpg

                      1 Reply Last reply
                      0
                      • CodierknechtC Codierknecht

                        @13patrick37 sagte in Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung:

                        eine Frage zum Datenpunkt - wenn Garage in Bewegung ist soll es einen Datenpunkt mit wahr setzen

                        Wie ist der denn definiert?

                        CodierknechtC Offline
                        CodierknechtC Offline
                        Codierknecht
                        Developer Most Active
                        wrote on last edited by
                        #11

                        @codierknecht sagte in Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung:

                        Wie ist der denn definiert?

                        @13patrick37
                        Zeig mal bitte die Definition (Objektdaten, also das JSON) dieses "Datenpunktes" (bitte in Code-Tags)

                        "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                        Proxmox 8.2.4 LXC|8 GB|Core i7-6700
                        HmIP|ZigBee|Tasmota|Unifi + dies & das
                        Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                        1 1 Reply Last reply
                        0
                        • CodierknechtC Codierknecht

                          @codierknecht sagte in Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung:

                          Wie ist der denn definiert?

                          @13patrick37
                          Zeig mal bitte die Definition (Objektdaten, also das JSON) dieses "Datenpunktes" (bitte in Code-Tags)

                          1 Offline
                          1 Offline
                          13patrick37
                          wrote on last edited by 13patrick37
                          #12

                          @codierknecht

                          {
                            "0_userdata.0.Messwerte.Szenen.Garagentor_in_bewe": {
                              "common": {
                                "name": "Neuer Zustand1",
                                "desc": "",
                                "role": "switch",
                                "type": "boolean",
                                "read": true,
                                "write": true
                              },
                              "type": "state",
                              "native": {},
                              "_id": "0_userdata.0.Messwerte.Szenen.Garagentor_in_bewe",
                              "from": "system.adapter.admin.0",
                              "user": "system.user.admin",
                              "ts": 1762192731441,
                              "val": false,
                              "ack": false
                            }
                          }
                          

                          Ich habe nun den http-request doch auf die normalen WLED Presets geändert. Ich bin mir nur bei dem timeout Block unsicher ob das so korrekt ist:
                          Wenn Garage offen dann Preset 1 (leuchtet grün), danach sollen zwei andere Presets ablaufen und zu den Spots (3) übergehen und so bleiben, solange die Garage geöffnet ist.

                          Screenshot 2025-11-04 124451.jpg

                          1 Reply Last reply
                          0
                          • CodierknechtC Offline
                            CodierknechtC Offline
                            Codierknecht
                            Developer Most Active
                            wrote on last edited by Codierknecht
                            #13

                            @13patrick37

                            Nur damit ich das richtig verstehe:

                            • Endschalter "unten" geschlossen
                              Tor ist zu - alles aus
                            • Endschalter "unten" öffnet
                              Rotes Lauflicht
                            • Endschalter "oben" wird geschlossen
                              Tor ist oben. Dauerlicht weiß und Spots einschalten
                            • Endschalter "oben" öffnet
                              Spots aus und rotes Lauflicht

                            Wozu genau sollen da die Timeouts dienen?

                            "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                            Proxmox 8.2.4 LXC|8 GB|Core i7-6700
                            HmIP|ZigBee|Tasmota|Unifi + dies & das
                            Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                            1 1 Reply Last reply
                            0
                            • CodierknechtC Codierknecht

                              @13patrick37

                              Nur damit ich das richtig verstehe:

                              • Endschalter "unten" geschlossen
                                Tor ist zu - alles aus
                              • Endschalter "unten" öffnet
                                Rotes Lauflicht
                              • Endschalter "oben" wird geschlossen
                                Tor ist oben. Dauerlicht weiß und Spots einschalten
                              • Endschalter "oben" öffnet
                                Spots aus und rotes Lauflicht

                              Wozu genau sollen da die Timeouts dienen?

                              1 Offline
                              1 Offline
                              13patrick37
                              wrote on last edited by
                              #14

                              @codierknecht

                              Endschalter unten offen und oben offen = Lauflicht
                              Endschalter oben zu und unten offen = grünes Licht, danach weißes Lauflicht und dann Spots. (Daher die Timeouts)
                              Sobald wieder alles in Endlage ist (oben offen, unten geschlossen) noch 60sek Spots, dann aus.

                              Den Datenpunkt habe ich gesetzt, dass das Garagentorlicht nicht währenddessen angeht, falls ich durch den BWM laufe.

                              Beispiel zur Beleuchtung: https://www.youtube.com/watch?v=M8xCgQUihd8

                              CodierknechtC 1 Reply Last reply
                              0
                              • 1 13patrick37

                                @codierknecht

                                Endschalter unten offen und oben offen = Lauflicht
                                Endschalter oben zu und unten offen = grünes Licht, danach weißes Lauflicht und dann Spots. (Daher die Timeouts)
                                Sobald wieder alles in Endlage ist (oben offen, unten geschlossen) noch 60sek Spots, dann aus.

                                Den Datenpunkt habe ich gesetzt, dass das Garagentorlicht nicht währenddessen angeht, falls ich durch den BWM laufe.

                                Beispiel zur Beleuchtung: https://www.youtube.com/watch?v=M8xCgQUihd8

                                CodierknechtC Offline
                                CodierknechtC Offline
                                Codierknecht
                                Developer Most Active
                                wrote on last edited by
                                #15

                                @13patrick37

                                Vielleicht so?

                                14f08a2d-56a4-492e-a092-6e4b2e7ebe10-grafik.png
                                Versuch macht klug 😁

                                "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                                Proxmox 8.2.4 LXC|8 GB|Core i7-6700
                                HmIP|ZigBee|Tasmota|Unifi + dies & das
                                Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                                1 3 Replies Last reply
                                1
                                • CodierknechtC Codierknecht

                                  @13patrick37

                                  Vielleicht so?

                                  14f08a2d-56a4-492e-a092-6e4b2e7ebe10-grafik.png
                                  Versuch macht klug 😁

                                  1 Offline
                                  1 Offline
                                  13patrick37
                                  wrote on last edited by
                                  #16

                                  @codierknecht
                                  Danke, wird getestet! 🙂

                                  Und was sagst du zum Datenpunkt? ok so?

                                  CodierknechtC 1 Reply Last reply
                                  0
                                  • 1 13patrick37

                                    @codierknecht
                                    Danke, wird getestet! 🙂

                                    Und was sagst du zum Datenpunkt? ok so?

                                    CodierknechtC Offline
                                    CodierknechtC Offline
                                    Codierknecht
                                    Developer Most Active
                                    wrote on last edited by
                                    #17

                                    @13patrick37 sagte in Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung:

                                    Und was sagst du zum Datenpunkt? ok so?

                                    Soll ja nur ein Flag sein, oder? Sollte passen.

                                    "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                                    Proxmox 8.2.4 LXC|8 GB|Core i7-6700
                                    HmIP|ZigBee|Tasmota|Unifi + dies & das
                                    Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                                    1 Reply Last reply
                                    0
                                    • CodierknechtC Codierknecht

                                      @13patrick37

                                      Vielleicht so?

                                      14f08a2d-56a4-492e-a092-6e4b2e7ebe10-grafik.png
                                      Versuch macht klug 😁

                                      1 Offline
                                      1 Offline
                                      13patrick37
                                      wrote on last edited by
                                      #18

                                      @codierknecht

                                      Hi, also öffnen und schließen mit Lauflicht funktioniert so! Auch das grüne Dauerlicht.
                                      Habe nur zwei Probleme:

                                      • Lauflicht rot geht nicht aus, wenn Garage geschlossen ist. Im Skript fehlt etwas, dass er erkennt dass alles geschlossen ist, nachdem vorher offen war.

                                      • teilweise reagiert das Lichtband sehr spät. Erst 5 Sekunden nachdem ich die Garage geöffnet habe.. entweder der untere Sensor reagiert zu spät oder der Impuls von WLED dauert zu lange? Wobei das schließen richtig schnell geht.

                                      1 Reply Last reply
                                      0
                                      • CodierknechtC Codierknecht

                                        @13patrick37

                                        Vielleicht so?

                                        14f08a2d-56a4-492e-a092-6e4b2e7ebe10-grafik.png
                                        Versuch macht klug 😁

                                        1 Offline
                                        1 Offline
                                        13patrick37
                                        wrote on last edited by
                                        #19

                                        @codierknecht oder soll ich im unteren Feld einfach nochmal einen neuen Trigger erstellen, der nur die untere Endlage betrifft?

                                        CodierknechtC 1 Reply Last reply
                                        0
                                        • 1 13patrick37

                                          @codierknecht oder soll ich im unteren Feld einfach nochmal einen neuen Trigger erstellen, der nur die untere Endlage betrifft?

                                          CodierknechtC Offline
                                          CodierknechtC Offline
                                          Codierknecht
                                          Developer Most Active
                                          wrote on last edited by
                                          #20

                                          @13patrick37 sagte in Benötige Hilfe / Blockly Skript WLED Garagentor Beleuchtung:

                                          einen neuen Trigger erstellen

                                          Du brauchst keinen neuen Trigger. Es gibt ja nur die beiden Endschalter ... und deren Status wir zu Beginn ermittelt.
                                          Du muss im "falls" lediglich auf die passenden Werte der beiden Endschalter reagieren.
                                          Wann ist denn "zu"? Wenn ES unten geschlossen und ES oben offen?

                                          "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                                          Proxmox 8.2.4 LXC|8 GB|Core i7-6700
                                          HmIP|ZigBee|Tasmota|Unifi + dies & das
                                          Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                                          1 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

                                          553

                                          Online

                                          32.4k

                                          Users

                                          81.3k

                                          Topics

                                          1.3m

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

                                          • Don't have an account? Register

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