Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Crow86

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    C
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Groups 0

    Crow86

    @Crow86

    0
    Reputation
    5
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Crow86 Follow

    Latest posts made by Crow86

    • Pv Überschuss steurung

      Hallo,
      Ich habe ein problem mit einem skript, und zwar schaltet mein "verbraucher1" passend ein soballt Grid Summe größer als 800watt ist, aber beim abschalten klappt was nicht mit der wolken verzögerung.
      Ich möchte quasi das sich nach und nach die verbraucher abschalten sofern länger als sonnenverzögerung die endsprechende wattzahl vorhanden ist.
      ich bin absoluter anfänger und habe das skript im netz gefunden und etwas auf meine bedürfnisse angepasst daher sicherlich auch der fehler.

      Hier mein skript:

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="N2Dk85CQN2uL0w3qt8A_">Verbraucher_1</variable>
          <variable id="f6*O*xo-Qtq,VGU7f|-6">Verbraucher_2</variable>
          <variable id="Qd@~YUEX}4:5(CxoR0XE">Verbraucher_3</variable>
          <variable id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</variable>
          <variable id="Zs+nKXWb1F_(8ioCBAN2">Verbraucher_2_TF</variable>
          <variable id="p^C8]xkYA`vcvj}h|bOJ">Verbraucher_3_TF</variable>
          <variable id="u$n!XZBM)j[J?f~JT%z5">WolkenVerzoegerung</variable>
          <variable type="timeout" id="WolkenTimeout">WolkenTimeout</variable>
        </variables>
        <block type="comment" id="!$7v[$OV+$1bj2,8AG^I" x="-38" y="-1337">
          <field name="COMMENT">Verbraucher nach Priorität definieren</field>
          <next>
            <block type="variables_set" id="X,Kte;fb[i[!TOm:{KMP">
              <field name="VAR" id="N2Dk85CQN2uL0w3qt8A_">Verbraucher_1</field>
              <value name="VALUE">
                <block type="math_number" id="4]$iqGm92WQ(}+WKtd@b">
                  <field name="NUM">800</field>
                </block>
              </value>
              <next>
                <block type="variables_set" id="D}?AQ/fSwSt3Yn@5aWda">
                  <field name="VAR" id="f6*O*xo-Qtq,VGU7f|-6">Verbraucher_2</field>
                  <value name="VALUE">
                    <block type="math_number" id=";x*A;(3wi@hJO^nx#Rdx">
                      <field name="NUM">1000</field>
                    </block>
                  </value>
                  <next>
                    <block type="variables_set" id="*#bP}Vb`Ny@(KL.dN5Z5">
                      <field name="VAR" id="Qd@~YUEX}4:5(CxoR0XE">Verbraucher_3</field>
                      <value name="VALUE">
                        <block type="math_number" id=")S3mPs;-xP/57{2:|Luf">
                          <field name="NUM">3000</field>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="q9RCpGf%NCHwe3CT?.Bg">
                          <field name="VAR" id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="S%3.V:zT{[3GZ]B9GhTu">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="+e=+FZA$6D/hg3sg}-6~">
                              <field name="VAR" id="Zs+nKXWb1F_(8ioCBAN2">Verbraucher_2_TF</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="IwMX1dzDOB#m*QTi$gMq">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="/E-q[dH)W-w]o13faTdn">
                                  <field name="VAR" id="p^C8]xkYA`vcvj}h|bOJ">Verbraucher_3_TF</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="cN+]-J6tWyNJF!1RK6Fa">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="variables_set" id="m*B*b{{@X{[p}%}LAi{y">
                                      <field name="VAR" id="u$n!XZBM)j[J?f~JT%z5">WolkenVerzoegerung</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="`teF9Vr6xe54GK6^[!u]">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="procedures_callnoreturn" id="N$t)M,:~htBoAo.G_^)p">
                                          <mutation name="Verbraucher_1_F"></mutation>
                                          <next>
                                            <block type="procedures_callnoreturn" id="U,y:5!^da~,*5BF~il0v">
                                              <mutation name="Verbraucher_2_F"></mutation>
                                              <next>
                                                <block type="procedures_callnoreturn" id="`q_aF*(K(]hp6[X`hX1x">
                                                  <mutation name="Verbraucher_3_F"></mutation>
                                                  <next>
                                                    <block type="on_ext" id="W*oi[r42Fur~gO:zbm4g">
                                                      <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="85SpWm|JTqSGg:^e/*rU">
                                                          <field name="oid">default</field>
                                                        </shadow>
                                                        <block type="field_oid" id="QJ=%Ay8%ZQ4%B9.thx%A">
                                                          <field name="oid">0_userdata.0.Grid_summe</field>
                                                        </block>
                                                      </value>
                                                      <statement name="STATEMENT">
                                                        <block type="controls_if" id="^7l^4UD1B#B1Ze$~9,5R">
                                                          <value name="IF0">
                                                            <block type="logic_compare" id="R[55*32U9|fV73jr|d5w">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="variables_get" id="wD#_u4grFGiK*IuaQTh|">
                                                                  <field name="VAR" id="u$n!XZBM)j[J?f~JT%z5">WolkenVerzoegerung</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="logic_boolean" id="Rmo~p[C`sY{T:v`@.hR_">
                                                                  <field name="BOOL">FALSE</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="variables_set" id="pe}-WiBkwCh)557LFEEA">
                                                              <field name="VAR" id="u$n!XZBM)j[J?f~JT%z5">WolkenVerzoegerung</field>
                                                              <value name="VALUE">
                                                                <block type="logic_boolean" id="|.0)VM`BPJ#(SM$L%Q|P">
                                                                  <field name="BOOL">TRUE</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="timeouts_settimeout" id="15Tt]:5FLZ+hls0uWS7C">
                                                                  <field name="NAME">WolkenTimeout</field>
                                                                  <field name="DELAY">5</field>
                                                                  <field name="UNIT">min</field>
                                                                  <statement name="STATEMENT">
                                                                    <block type="variables_set" id="%IH/_dNX*NNu4-D5DKEq">
                                                                      <field name="VAR" id="u$n!XZBM)j[J?f~JT%z5">WolkenVerzoegerung</field>
                                                                      <value name="VALUE">
                                                                        <block type="logic_boolean" id="jzJKMdVAcr-KH,=lqAVW">
                                                                          <field name="BOOL">FALSE</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </statement>
                                                                  <next>
                                                                    <block type="controls_if" id="6=1*.Afj/9S!Iab2LFQR">
                                                                      <mutation elseif="2"></mutation>
                                                                      <value name="IF0">
                                                                        <block type="logic_operation" id="vnLhnn:#XfvGmd@]}e,E" inline="false">
                                                                          <field name="OP">AND</field>
                                                                          <value name="A">
                                                                            <block type="logic_compare" id="DhztCHC}xjSoVz%kp4dG">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="variables_get" id="scM/kU*7TP*]C[i_npzN">
                                                                                  <field name="VAR" id="p^C8]xkYA`vcvj}h|bOJ">Verbraucher_3_TF</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id="]gmRpKHu4,Hxs{Zdu`r?">
                                                                                  <field name="BOOL">TRUE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="logic_compare" id="2LKHdpjKy1EyHR?.FVt$">
                                                                              <field name="OP">LT</field>
                                                                              <value name="A">
                                                                                <block type="on_source" id="-^oF!vgjO6mRpWqK:C^U">
                                                                                  <field name="ATTR">state.val</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="variables_get" id="ZLF^jCN,qjggU-iWK.U-">
                                                                                  <field name="VAR" id="Qd@~YUEX}4:5(CxoR0XE">Verbraucher_3</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO0">
                                                                        <block type="variables_set" id="^ODI8wS9$6CvIasDCP?l">
                                                                          <field name="VAR" id="p^C8]xkYA`vcvj}h|bOJ">Verbraucher_3_TF</field>
                                                                          <value name="VALUE">
                                                                            <block type="logic_boolean" id="^R.MVS:SK_{)j=.-8^|7">
                                                                              <field name="BOOL">FALSE</field>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="procedures_callnoreturn" id="u:hqtieIXe/0XTiGs]`q">
                                                                              <mutation name="Verbraucher_3_F"></mutation>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </statement>
                                                                      <value name="IF1">
                                                                        <block type="logic_operation" id="12nva]Q=7I]aU=RqPcF^" inline="false">
                                                                          <field name="OP">AND</field>
                                                                          <value name="A">
                                                                            <block type="logic_compare" id="B/,5-jyojV+qqsCnlguO">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="variables_get" id="olTmeRlU/{_y6p~fNgbK">
                                                                                  <field name="VAR" id="Zs+nKXWb1F_(8ioCBAN2">Verbraucher_2_TF</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id="GEr$l_D,jsSI#i$XS:*?">
                                                                                  <field name="BOOL">TRUE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="logic_compare" id="e%|4mPECYNQ?=Wxe_-N-">
                                                                              <field name="OP">LT</field>
                                                                              <value name="A">
                                                                                <block type="on_source" id="BX,l?`N8Ne$//Pj[be79">
                                                                                  <field name="ATTR">state.val</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="variables_get" id="6w]Y.3!mnc3gkOHJcNfr">
                                                                                  <field name="VAR" id="f6*O*xo-Qtq,VGU7f|-6">Verbraucher_2</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO1">
                                                                        <block type="variables_set" id="9RgBrLvxD2U,ye-m9viy">
                                                                          <field name="VAR" id="Zs+nKXWb1F_(8ioCBAN2">Verbraucher_2_TF</field>
                                                                          <value name="VALUE">
                                                                            <block type="logic_boolean" id="@1`T||6b=WVwfp5%#[8%">
                                                                              <field name="BOOL">FALSE</field>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="procedures_callnoreturn" id="rh}kO.E$x/(8_Uq(19zR">
                                                                              <mutation name="Verbraucher_2_F"></mutation>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </statement>
                                                                      <value name="IF2">
                                                                        <block type="logic_operation" id="OoH]dSnZuO^}B?a}EP8z" inline="false">
                                                                          <field name="OP">AND</field>
                                                                          <value name="A">
                                                                            <block type="logic_compare" id="$68a%w#)rPE:4TDpRWis">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="variables_get" id="/;g5aqBuPe84GnfC2UbU">
                                                                                  <field name="VAR" id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id=")hP]*877jPwu9N8.[(79">
                                                                                  <field name="BOOL">TRUE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="logic_compare" id=".V;dQCQ)J3E+aXm0(^vh">
                                                                              <field name="OP">LT</field>
                                                                              <value name="A">
                                                                                <block type="on_source" id="[g1HWrXjMhE+XBZ[C?{u">
                                                                                  <field name="ATTR">state.val</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="variables_get" id="##_kE;LZ.iFP~mVkc`DL">
                                                                                  <field name="VAR" id="N2Dk85CQN2uL0w3qt8A_">Verbraucher_1</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO2">
                                                                        <block type="variables_set" id="UBdvQr/~=|oAO4JZI2YP">
                                                                          <field name="VAR" id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</field>
                                                                          <value name="VALUE">
                                                                            <block type="logic_boolean" id="q894myS0At?(+8Iub+)O">
                                                                              <field name="BOOL">FALSE</field>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="procedures_callnoreturn" id="t*`6kK;Hg:%(cS!PAAy#">
                                                                              <mutation name="Verbraucher_1_F"></mutation>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </statement>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                          <next>
                                                            <block type="controls_if" id="t.XI=#VXj0H!fM{0bY_:">
                                                              <value name="IF0">
                                                                <block type="logic_operation" id="{-Ok}Tq^6famB8*r?8!c" inline="false">
                                                                  <field name="OP">AND</field>
                                                                  <value name="A">
                                                                    <block type="logic_operation" id="V,+DBlwc3RcC_Z0;%Zmq" inline="false">
                                                                      <field name="OP">AND</field>
                                                                      <value name="A">
                                                                        <block type="logic_compare" id="iD|?etR?+R+iMsPXh~ur">
                                                                          <field name="OP">EQ</field>
                                                                          <value name="A">
                                                                            <block type="variables_get" id="rmU-UOP9y{h.AL3mPV=A">
                                                                              <field name="VAR" id="Zs+nKXWb1F_(8ioCBAN2">Verbraucher_2_TF</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="logic_boolean" id="@WO#FL{bE^{nzla/+4RI">
                                                                              <field name="BOOL">TRUE</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="logic_compare" id="0Nc1JZhc%qRQfKgv~i9{">
                                                                          <field name="OP">EQ</field>
                                                                          <value name="A">
                                                                            <block type="variables_get" id="n^_FO~a2pbFz+8ylUj~{">
                                                                              <field name="VAR" id="p^C8]xkYA`vcvj}h|bOJ">Verbraucher_3_TF</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="logic_boolean" id="q2v6oqX:!e!vD#nmgLAk">
                                                                              <field name="BOOL">FALSE</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="logic_compare" id="+{V3I=d_,Ut#m`ib2Z2;">
                                                                      <field name="OP">GT</field>
                                                                      <value name="A">
                                                                        <block type="on_source" id="mK-g1|fy$C=9wO?aCFea">
                                                                          <field name="ATTR">state.val</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="variables_get" id="*[Hy@(,~J)Q^XXb=XY?v">
                                                                          <field name="VAR" id="Qd@~YUEX}4:5(CxoR0XE">Verbraucher_3</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="variables_set" id="4ITjd}1LnqzvO|cncQ~,">
                                                                  <field name="VAR" id="p^C8]xkYA`vcvj}h|bOJ">Verbraucher_3_TF</field>
                                                                  <value name="VALUE">
                                                                    <block type="logic_boolean" id="xW@]Ee`^fp{~wAk/$10(">
                                                                      <field name="BOOL">TRUE</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="procedures_callnoreturn" id="HI{mswB}yHji[a[hqbLm">
                                                                      <mutation name="Verbraucher_3_F"></mutation>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </statement>
                                                              <next>
                                                                <block type="controls_if" id="TlcF#~;(KK,X;G*vlZ8=">
                                                                  <value name="IF0">
                                                                    <block type="logic_operation" id="(Rj_mFB[y=NL]@HA7P/|" inline="false">
                                                                      <field name="OP">AND</field>
                                                                      <value name="A">
                                                                        <block type="logic_operation" id="7N^F+8]71lW$##QIUy$B" inline="false">
                                                                          <field name="OP">AND</field>
                                                                          <value name="A">
                                                                            <block type="logic_compare" id="h{d{Dw:k9^KsTD$L{nZ7">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="variables_get" id=",QW|)b.9Tq}2!F|NR!1x">
                                                                                  <field name="VAR" id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id="th:D+I`=$t*~EaFGdK~G">
                                                                                  <field name="BOOL">TRUE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="logic_compare" id="DTqYVel.mUQrL@|]~Lmd">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="variables_get" id="D=AepqiQ{QDRI]n%b1f7">
                                                                                  <field name="VAR" id="Zs+nKXWb1F_(8ioCBAN2">Verbraucher_2_TF</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id="?T)F?s)1CDYj7%CO.g`B">
                                                                                  <field name="BOOL">FALSE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="logic_compare" id="?v3=Y9}r,}OY(ncYjj9g">
                                                                          <field name="OP">GT</field>
                                                                          <value name="A">
                                                                            <block type="on_source" id="C/Pmre#rdW$tUH-XW*$*">
                                                                              <field name="ATTR">state.val</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="variables_get" id="9*Jny))Y@xs%`xDHR*@p">
                                                                              <field name="VAR" id="f6*O*xo-Qtq,VGU7f|-6">Verbraucher_2</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="variables_set" id="Zg$SD{N]K+PSUxYB9-o|">
                                                                      <field name="VAR" id="Zs+nKXWb1F_(8ioCBAN2">Verbraucher_2_TF</field>
                                                                      <value name="VALUE">
                                                                        <block type="logic_boolean" id="/oh?,o%I$vT+j)lb_O(#">
                                                                          <field name="BOOL">TRUE</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="procedures_callnoreturn" id="KfF(Reu0A`vil9gQLN0Y">
                                                                          <mutation name="Verbraucher_2_F"></mutation>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                  <next>
                                                                    <block type="controls_if" id="OR;gh_3qNzTWff^,Odz?">
                                                                      <value name="IF0">
                                                                        <block type="logic_operation" id="-sA^!k(a^)![bgg8QO,0" inline="false">
                                                                          <field name="OP">AND</field>
                                                                          <value name="A">
                                                                            <block type="logic_compare" id="[:_X{(FJiRjRP5Dq[b~7">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="variables_get" id="5l|ih7Z{?RspVMO/,T+*">
                                                                                  <field name="VAR" id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id="Ysq0?hi]75cZ;bA?Idq8">
                                                                                  <field name="BOOL">FALSE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="logic_compare" id=",g[iGCo{TR}`a3/UY_EV">
                                                                              <field name="OP">GT</field>
                                                                              <value name="A">
                                                                                <block type="on_source" id="9F5lP(6(HiG8a*)D/2Ly">
                                                                                  <field name="ATTR">state.val</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="variables_get" id="fTjOF-28N.5xkh.w3{}*">
                                                                                  <field name="VAR" id="N2Dk85CQN2uL0w3qt8A_">Verbraucher_1</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <statement name="DO0">
                                                                        <block type="variables_set" id="VS:=Vu}2;M9#/-!Bs$j+">
                                                                          <field name="VAR" id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</field>
                                                                          <value name="VALUE">
                                                                            <block type="logic_boolean" id="bv=z4F*]g3`I_!*W03Q^">
                                                                              <field name="BOOL">TRUE</field>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="procedures_callnoreturn" id="$_59jQ7tbX]YcUXk@o(:">
                                                                              <mutation name="Verbraucher_1_F"></mutation>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </statement>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </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="procedures_defnoreturn" id="@ekGxf-0b4ul@_*yU!q!" x="663" y="-1262">
          <field name="NAME">Verbraucher_1_F</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          <statement name="STACK">
            <block type="debug" id="XsQy?M`M`FP^QIJ)GB|7">
              <field name="Severity">info</field>
              <value name="TEXT">
                <shadow type="text" id="Id[jm[wLw-/,vB51Uf]H">
                  <field name="TEXT">Verbraucher 1</field>
                </shadow>
                <block type="text_join" id="]4D|#f/?y/zeHDhp$LWS">
                  <mutation items="2"></mutation>
                  <value name="ADD0">
                    <block type="text" id="jQw-UwTC]DksT)NNdDF.">
                      <field name="TEXT">Verbraucher 1</field>
                    </block>
                  </value>
                  <value name="ADD1">
                    <block type="logic_ternary" id="3$oAdrX`bqXSv1TghR.a" collapsed="true">
                      <value name="IF">
                        <block type="logic_compare" id="_^RA22h*u.[ABpnqOU-6">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="variables_get" id="DjJzTDY_{F!8$yQ,;f~w">
                              <field name="VAR" id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_boolean" id="ynJ[Spx.q3u?mqcU0Qxy">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="THEN">
                        <block type="text" id="[7]As70kU{wfCZ8:,62F">
                          <field name="TEXT"> zugeschaltet</field>
                        </block>
                      </value>
                      <value name="ELSE">
                        <block type="text" id="f%SouFvX9rOT[udv-)ON">
                          <field name="TEXT"> abgeschaltet</field>
                        </block>
                      </value>
                    </block>
                  </value>
                </block>
              </value>
              <next>
                <block type="control" id="i5St;qI=KfF6(?@W4e|G">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">shelly.0.shellyplus1#0cdc7efa6cc4#1.Relay0.Switch</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="variables_get" id="W@27ApZuY8.*wCEN]X~1">
                      <field name="VAR" id="iwu_1;PHCBW[(6sePQ9Q">Verbraucher_1_TF</field>
                    </block>
                  </value>
                </block>
              </next>
            </block>
          </statement>
        </block>
        <block type="procedures_defnoreturn" id="F^J*l7#(vxkqOv6n)nLf" x="662" y="-1087">
          <field name="NAME">Verbraucher_2_F</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          <statement name="STACK">
            <block type="debug" id="If`Pz%NHny~M=l4AMJx1">
              <field name="Severity">info</field>
              <value name="TEXT">
                <shadow type="text" id="$bvv8Zk*D[+xWPH/PA|D">
                  <field name="TEXT">Verbraucher 1</field>
                </shadow>
                <block type="text_join" id="~^.dt!hM~I?DoQg7dyf9">
                  <mutation items="2"></mutation>
                  <value name="ADD0">
                    <block type="text" id="WK4M9[-w%~LwJYG;P4y@">
                      <field name="TEXT">Verbraucher 2</field>
                    </block>
                  </value>
                  <value name="ADD1">
                    <block type="logic_ternary" id="T8._+^dNayVtrY,5wyUO" collapsed="true">
                      <value name="IF">
                        <block type="logic_compare" id="z``pY2*;X=~7=DU7`0(b">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="variables_get" id="2DY;v,+~;E`GhWN(UehP">
                              <field name="VAR" id="Zs+nKXWb1F_(8ioCBAN2">Verbraucher_2_TF</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_boolean" id="]:B-TeVoq?l?+RB9}+!^">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="THEN">
                        <block type="text" id="CGE4y~V]Ky}?W:_K9u+A">
                          <field name="TEXT"> zugeschaltet</field>
                        </block>
                      </value>
                      <value name="ELSE">
                        <block type="text" id="RiVXqI.mm[=Y]rgpn-6T">
                          <field name="TEXT"> abgeschaltet</field>
                        </block>
                      </value>
                    </block>
                  </value>
                </block>
              </value>
            </block>
          </statement>
        </block>
        <block type="procedures_defnoreturn" id="rVnNMwa*ldF*C!S`2Tch" x="662" y="-863">
          <field name="NAME">Verbraucher_3_F</field>
          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
          <statement name="STACK">
            <block type="debug" id="i3V2P?+By1VW3C~IuvBF">
              <field name="Severity">info</field>
              <value name="TEXT">
                <shadow type="text" id="f`Nmr{D%Den*.Si(Kv~~">
                  <field name="TEXT">Verbraucher 1</field>
                </shadow>
                <block type="text_join" id="wIetKZ2Ymar]/WVPxh}@">
                  <mutation items="2"></mutation>
                  <value name="ADD0">
                    <block type="text" id="Vqx~~[XvWb+[E$dZ4]J4">
                      <field name="TEXT">Verbraucher 3</field>
                    </block>
                  </value>
                  <value name="ADD1">
                    <block type="logic_ternary" id="=GQ]r[dcOt[nJ}c)6j/O" collapsed="true">
                      <value name="IF">
                        <block type="logic_compare" id="]{#nwEqLHZvC?#BD:jo7">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="variables_get" id="2^~lRHaC5dQ-[;{s3p~9">
                              <field name="VAR" id="p^C8]xkYA`vcvj}h|bOJ">Verbraucher_3_TF</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_boolean" id=";F}r,kfP_pt3ysSM+edX">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="THEN">
                        <block type="text" id="RHD5q%W3mNv~Rc2}gE3}">
                          <field name="TEXT"> zugeschaltet</field>
                        </block>
                      </value>
                      <value name="ELSE">
                        <block type="text" id=",89l.Z35zw#b^FWyd{YV">
                          <field name="TEXT"> abgeschaltet</field>
                        </block>
                      </value>
                    </block>
                  </value>
                </block>
              </value>
            </block>
          </statement>
        </block>
      </xml>
      

      Mod-Edit
      Code in Code-Tags </> setzen

      posted in Blockly
      C
      Crow86
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo