<xml xmlns="https://developers.google.com/blockly/xml">
  <variables>
    <variable id="RN60(qjl7F{NmiovXN+C">url</variable>
    <variable id="C/[C@W#xx{DE)wr`?r#k">body</variable>
    <variable id="~)Ah:*%~%3)~J}HqlO;O">WARP_acP</variable>
    <variable id="+5jus4tl4iyNXhC.5@Bc">BEV_cP_max</variable>
    <variable id="_5!(|E6*?!^x5ZSimfFZ">BEV_SoC</variable>
    <variable id="/];Rk:^`,B)*nuzzWBn}">PushOverText</variable>
    <variable id="=wCwQK8y![iw6(UJ?+~n">FAST_BEV_SoC_ziel</variable>
    <variable type="timeout" id="timeout">timeout</variable>
  </variables>
  <block type="procedures_callnoreturn" id=".,gFf2bYvV.A#vd}U6V?" x="13" y="13">
    <mutation name="FKT_0.1_Variablen_laden"></mutation>
    <next>
      <block type="variables_set" id="A$(#[iKcS.TufH_90dX@">
        <field name="VAR" id="~)Ah:*%~%3)~J}HqlO;O">WARP_acP</field>
        <value name="VALUE">
          <block type="math_number" id="9Nsen$(fu#1AZaUQNlxL">
            <field name="NUM">0</field>
          </block>
        </value>
        <next>
          <block type="procedures_callnoreturn" id="4-YWAhB^|+U_NL*zwaA}">
            <mutation name="FKT_5_WARP_Werte_schreiben"></mutation>
            <next>
              <block type="on" id="K6+fRa@j.`F..%tKYHzC">
                <field name="OID">0_userdata.0.Warp.Ladevorgang.LV_Status</field>
                <field name="CONDITION">ne</field>
                <field name="ACK_CONDITION"></field>
                <statement name="STATEMENT">
                  <block type="comment" id="=e75p{qJc0|EIIjv_-bx">
                    <field name="COMMENT">wenn LV_Status geändert wurde</field>
                    <next>
                      <block type="procedures_callnoreturn" id="vcpca{D_P8+!#zH8Bp1$">
                        <mutation name="FKT_0.1_Variablen_laden"></mutation>
                        <next>
                          <block type="controls_if" id="@Fi1h5NP-ll@LA.N}K[5">
                            <mutation else="1"></mutation>
                            <value name="IF0">
                              <block type="logic_compare" id="s@lOzxeAHhskHom(Y+/Z">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id=".FzIWGdPUO/^ztm_x4N0">
                                    <field name="ATTR">val</field>
                                    <field name="OID">0_userdata.0.Warp.Betriebsmodus</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="text" id=":pLFbc^:(k`^$uV2%+QI">
                                    <field name="TEXT">FAST</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="comment" id="fi5gH3,t$J*m(`ugqb-F">
                                <field name="COMMENT">wenn Betriebsmodus = FAST</field>
                                <next>
                                  <block type="debug" id=",2;cKL}FR4ivfX{n%h.D" disabled="true">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="gCVNY7IE1#:05vu!S;}^">
                                        <field name="TEXT">Betriebsart   FAST</field>
                                      </shadow>
                                    </value>
                                    <next>
                                      <block type="debug" id="H3kBRY,):e~1R?e%r@t}" disabled="true">
                                        <field name="Severity">log</field>
                                        <value name="TEXT">
                                          <shadow type="text" id="vV6CpJRfli0om}RMRiFX">
                                            <field name="TEXT">test</field>
                                          </shadow>
                                          <block type="text_join" id="es=opYIy7QWgkG)i-H)J">
                                            <mutation items="4"></mutation>
                                            <value name="ADD0">
                                              <block type="text" id="TJm*2VC1_cm3Zg`G{h,@">
                                                <field name="TEXT">BEV_SoC_ziel: </field>
                                              </block>
                                            </value>
                                            <value name="ADD1">
                                              <block type="variables_get" id="sazc)@o:Wv|~Dac^Nwq%">
                                                <field name="VAR" id="=wCwQK8y![iw6(UJ?+~n">FAST_BEV_SoC_ziel</field>
                                              </block>
                                            </value>
                                            <value name="ADD2">
                                              <block type="text" id="-MyO}%z4V3tZ{W8c6OHT">
                                                <field name="TEXT">   |   BEV_SoC: </field>
                                              </block>
                                            </value>
                                            <value name="ADD3">
                                              <block type="variables_get" id="hnZ~K;oJqKKIv/^K;xU0">
                                                <field name="VAR" id="_5!(|E6*?!^x5ZSimfFZ">BEV_SoC</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="controls_if" id="A81S80Y?@0^i!4v=:J4`">
                                            <mutation else="1"></mutation>
                                            <value name="IF0">
                                              <block type="logic_compare" id="0{YR%LLC51UXXcxJX}--">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="on_source" id="4Jrp(vNo4HvnQozpLcxU">
                                                    <field name="ATTR">state.val</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="text" id="%Q8Ihdh9@xQ@2XK%z6rj">
                                                    <field name="TEXT">LV_starten</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="control" id="%Z[Y:!4HdNWwSe_y6K2q">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">0_userdata.0.Warp.FAST.FAST_LV_Status</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="(c1hb(BR[jjy#Fpy+-LV">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="debug" id="c*-vJjMu%C0]LaNSRWlU" disabled="true">
                                                    <field name="Severity">log</field>
                                                    <value name="TEXT">
                                                      <shadow type="text" id="wKpCMO,D61AZ)(odl2H7">
                                                        <field name="TEXT">FAST  |  WARP_acP 11000  |  wird geschrieben</field>
                                                      </shadow>
                                                    </value>
                                                    <next>
                                                      <block type="variables_set" id="*)gySVzXA|XHyC?o6;UZ">
                                                        <field name="VAR" id="~)Ah:*%~%3)~J}HqlO;O">WARP_acP</field>
                                                        <value name="VALUE">
                                                          <block type="math_number" id="NaR#Pl?;n(WHRng4,@ZJ">
                                                            <field name="NUM">11000</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="procedures_callnoreturn" id="lM|LL5*.+io_Mh%UaXJF">
                                                            <mutation name="FKT_5_WARP_Werte_schreiben"></mutation>
                                                            <next>
                                                              <block type="timeouts_settimeout" id="]qJ[lwKmji@qM+=5:1]#">
                                                                <field name="NAME">timeout</field>
                                                                <field name="DELAY">2</field>
                                                                <field name="UNIT">sec</field>
                                                                <statement name="STATEMENT">
                                                                  <block type="comment" id="B5nFaA$FjiW-EMPx#5ao">
                                                                    <field name="COMMENT">Warten wegen Reihenfolge PushOver Nachrichten</field>
                                                                    <next>
                                                                      <block type="variables_set" id="|4A-+I{N#5VgO|$yU+FW">
                                                                        <field name="VAR" id="/];Rk:^`,B)*nuzzWBn}">PushOverText</field>
                                                                        <value name="VALUE">
                                                                          <block type="text_join" id="wz^xa}O5_:7M?qF%OqNk">
                                                                            <mutation items="5"></mutation>
                                                                            <value name="ADD0">
                                                                              <block type="text" id="5^KVzh4ah#*In^gq=8a*">
                                                                                <field name="TEXT">FAST  |  BEV Ladevorgang gestartet   |   SoC: </field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="ADD1">
                                                                              <block type="variables_get" id="j0i{qL/,:pS):26c5}%(">
                                                                                <field name="VAR" id="_5!(|E6*?!^x5ZSimfFZ">BEV_SoC</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="ADD2">
                                                                              <block type="text" id="{.Agj2jWF,vT@8VrZSjK">
                                                                                <field name="TEXT">% auf </field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="ADD3">
                                                                              <block type="variables_get" id="dMKE:4XA|h$Bw%Bq@Zc^">
                                                                                <field name="VAR" id="=wCwQK8y![iw6(UJ?+~n">FAST_BEV_SoC_ziel</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="ADD4">
                                                                              <block type="text" id="*)).soeDNj7GF1f33lo`">
                                                                                <field name="TEXT">%</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="procedures_callnoreturn" id="c2gC1EVwA=ExA=WIrLma">
                                                                            <mutation name="FKT_4_PushOver_absetzen"></mutation>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                            <statement name="ELSE">
                                              <block type="control" id="pMT_E~JhOZHz![pixQ~n">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">0_userdata.0.Warp.FAST.FAST_LV_Status</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="3+d:=;nY^8%//j$?[O:0">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="debug" id="P7p5/4AitQQ1BjGYh=:L">
                                                    <field name="Severity">log</field>
                                                    <value name="TEXT">
                                                      <shadow type="text" id="4}e{0@:dci2Py;QnyNZQ">
                                                        <field name="TEXT">FAST  |  WARP_acP 0  |  wird geschrieben</field>
                                                      </shadow>
                                                    </value>
                                                    <next>
                                                      <block type="variables_set" id="ouI~@pZaC2_]c=4+Oh=S">
                                                        <field name="VAR" id="~)Ah:*%~%3)~J}HqlO;O">WARP_acP</field>
                                                        <value name="VALUE">
                                                          <block type="math_number" id="C!EogU|4v*(K5:z~0uJ{">
                                                            <field name="NUM">0</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="procedures_callnoreturn" id="g{}[}HpV)h*NQKV`HIJD">
                                                            <mutation name="FKT_5_WARP_Werte_schreiben"></mutation>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </statement>
                            <statement name="ELSE">
                              <block type="debug" id="#q_G^@2XWomEAFKNtQRj" disabled="true">
                                <field name="Severity">log</field>
                                <value name="TEXT">
                                  <shadow type="text" id="hiu7-Qq651v?G?;PIHjr">
                                    <field name="TEXT">Betriebsart   NICHT   FAST</field>
                                  </shadow>
                                </value>
                                <next>
                                  <block type="control" id="*B^QHE_7LX]NdraxVF36">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">0_userdata.0.Warp.FAST.FAST_LV_Status</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="fYeh=+Br}I#YXdgtB{#N">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="controls_if" id="381sy@topr9b`6E+W-c)">
                                        <value name="IF0">
                                          <block type="logic_compare" id="ms8(1=m]~@x1iwG=bDK*">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="get_value" id="}(J|Yu7D![-{x}~~=58v">
                                                <field name="ATTR">val</field>
                                                <field name="OID">0_userdata.0.Warp.Betriebsmodus</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="text" id="]EHpzZ#C2kcRJYQTp!$l">
                                                <field name="TEXT">OFF</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="comment" id="7YD#2xj6LF!ea0#qVU-F">
                                            <field name="COMMENT">Nur hier wird bei "OFF" WARP_acP = 0 geschrieben</field>
                                            <next>
                                              <block type="variables_set" id="Q._Y@EGz%H*D0i]2{Y)e">
                                                <field name="VAR" id="~)Ah:*%~%3)~J}HqlO;O">WARP_acP</field>
                                                <value name="VALUE">
                                                  <block type="math_number" id="KDU~1tfeGg9L^t0D0V#b">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="procedures_callnoreturn" id="0oc|}+rFJoI?3/eICtb)">
                                                    <mutation name="FKT_5_WARP_Werte_schreiben"></mutation>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </next>
  </block>
  <block type="procedures_defnoreturn" id="asQ8M,xH2_-E?Iy`wv/1" x="13" y="1338">
    <field name="NAME">FKT_0.1_Variablen_laden</field>
    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
    <statement name="STACK">
      <block type="variables_set" id="O626!jbsyE{uoiS6ErR?">
        <field name="VAR" id="+5jus4tl4iyNXhC.5@Bc">BEV_cP_max</field>
        <value name="VALUE">
          <block type="get_value" id="Zvx_zD(fR|Bgjv@T;kI%">
            <field name="ATTR">val</field>
            <field name="OID">0_userdata.0.Warp.BEV.BEV_cP_max</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="bD)v${qGzU5+__F0yk*L">
            <field name="VAR" id="_5!(|E6*?!^x5ZSimfFZ">BEV_SoC</field>
            <value name="VALUE">
              <block type="get_value" id="W@-LDFJLPiyD^r;:Xc~%">
                <field name="ATTR">val</field>
                <field name="OID">vw-connect.0.TMBLE9NY8PF062092.status.charging.status.battery.stateOfChargeInPercent</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="?.GIpTm6Df1c2JRn@)mC">
                <field name="VAR" id="=wCwQK8y![iw6(UJ?+~n">FAST_BEV_SoC_ziel</field>
                <value name="VALUE">
                  <block type="get_value" id="sfh~,d{/jCd:?A:]y-FJ">
                    <field name="ATTR">val</field>
                    <field name="OID">0_userdata.0.Warp.FAST.FAST_BEV_SoC_ziel</field>
                  </block>
                </value>
              </block>
            </next>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="GvVF6WliRWPI[/0]W;ld" x="13" y="1488">
    <field name="NAME">FKT_5_WARP_Werte_schreiben</field>
    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
    <statement name="STACK">
      <block type="debug" id="!9]j}WXRBze4@+t9xDb)">
        <field name="Severity">log</field>
        <value name="TEXT">
          <shadow type="text" id="z_%3Zek0S@s,7PxZ*any">
            <field name="TEXT">test</field>
          </shadow>
          <block type="procedures_callcustomreturn" id="b}o7}Kgq685M*43q;;uJ">
            <mutation name="etwas tun">
              <arg name="url"></arg>
              <arg name="body"></arg>
            </mutation>
            <value name="ARG0">
              <block type="text" id="r}Ut,oNZ[IkXK`N[]uHV">
                <field name="TEXT">http://192.168.111.248/phase_switcher/available_charging_power</field>
              </block>
            </value>
            <value name="ARG1">
              <block type="text_join" id="Qa[/8T7]I_Avv_Z,N!#C">
                <mutation items="3"></mutation>
                <value name="ADD0">
                  <block type="text" id="H.xll%%kJ(Xr/BP|yKA^">
                    <field name="TEXT">{"power":</field>
                  </block>
                </value>
                <value name="ADD1">
                  <block type="convert_tostring" id="2^#M9hC5xI}(][H/JRHa">
                    <value name="VALUE">
                      <block type="variables_get" id="3b=#.]IS|O4uBL-W._-c">
                        <field name="VAR" id="~)Ah:*%~%3)~J}HqlO;O">WARP_acP</field>
                      </block>
                    </value>
                  </block>
                </value>
                <value name="ADD2">
                  <block type="text" id=")GFt2Og2!Rh3]b5wDkL=">
                    <field name="TEXT">}</field>
                  </block>
                </value>
              </block>
            </value>
          </block>
        </value>
        <next>
          <block type="control" id="UqrF$~mat3f]t[7$`SxU">
            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
            <field name="OID">0_userdata.0.Warp.WARP.availableChargingPower</field>
            <field name="WITH_DELAY">FALSE</field>
            <value name="VALUE">
              <block type="variables_get" id="e}h.KXgHnBwz6#I*=hFZ">
                <field name="VAR" id="~)Ah:*%~%3)~J}HqlO;O">WARP_acP</field>
              </block>
            </value>
          </block>
        </next>
      </block>
    </statement>
  </block>
  <block type="procedures_defnoreturn" id="JK.6s2-n~O,c475+^{W9" x="13" y="1738">
    <field name="NAME">FKT_4_PushOver_absetzen</field>
    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
    <statement name="STACK">
      <block type="pushover" id="!gUN/Myg,e3fQjS?c1]Y">
        <field name="INSTANCE"></field>
        <field name="SOUND"></field>
        <field name="PRIORITY">0</field>
        <field name="LOG">log</field>
        <value name="MESSAGE">
          <shadow type="text" id="wfX/IYW8s9Zpk@`ccQ(N">
            <field name="TEXT">text</field>
          </shadow>
          <block type="variables_get" id="My6hRqs(36tV~a!_aq`w">
            <field name="VAR" id="/];Rk:^`,B)*nuzzWBn}">PushOverText</field>
          </block>
        </value>
        <value name="SOUND_CUSTOM">
          <shadow type="text" id="XH~,d8.mI#`/ofyYHu8c">
            <field name="TEXT"></field>
          </shadow>
        </value>
      </block>
    </statement>
  </block>
  <block type="procedures_defcustomreturn" id="RJyEs^b*}L:H/Rm$;sGy" x="13" y="2113">
    <mutation statements="false">
      <arg name="url" varid="RN60(qjl7F{NmiovXN+C"></arg>
      <arg name="body" varid="C/[C@W#xx{DE)wr`?r#k"></arg>
    </mutation>
    <field name="NAME">etwas tun</field>
    <field name="SCRIPT">Y29uc3QgYXhpb3MgPSByZXF1aXJlKCdheGlvcycpOw0KDQpsZXQgcmVzcG9uc2VWYWx1ZSA9ICcnOw0KDQphd2FpdCBheGlvcy5wdXQodXJsLCBKU09OLnBhcnNlKGJvZHkpKQ0KICAudGhlbihmdW5jdGlvbiAocmVzcG9uc2UpIHsNCiAgICByZXNwb25zZVZhbHVlID0gcmVzcG9uc2UuZGF0YTsNCiAgICAvLyBjb25zb2xlLmxvZyggcmVzcG9uc2VWYWx1ZSk7DQogIH0pDQogIC5jYXRjaChmdW5jdGlvbiAoZXJyb3IpIHsNCiAgICBjb25zb2xlLmVycm9yKCdFcnJvcjonLCBlcnJvcik7DQogIH0pOw0KDQpyZXR1cm4gcmVzcG9uc2VWYWx1ZTsNCg==</field>
    <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
  </block>
</xml>