NEWS
Überschussladung an nicht-smarter Wallbox Hilfe!?
-
@sub7 sagte: über einen Taster den gestarteten Ladevorgang (Ladepriorisierung) abbrechen kann.
Ist "javascript.0.Eigene_Datenpunkte.Test.Taster_laden_ein" ein Taster oder ein Schalter? Im Skript wird er auf "wahr" geprüft zum Einschalten der Ladepriorisierung. Wenn es ein Schalter ist, könnte bei "falsch" die Ladepriorisierung beendet werden.
Wie verhält es sich mit dem DP "mqtt.0.shellyplusi4-485519993044.status.input:0"?EDIT: Weshalb wird bei "Ladezustandsanzeige" auf Datenpunkte getriggert, die innerhalb der Callback-Funktion nicht ausgewertet werden?
Übrigens: Zum Schreiben eigener Datenpunkte verwendet man besser "aktualisiere" anstelle von "steuere".Der Shelly ist ein Hardwaretaster (Serientaster zwei Tastwippen) bisher aber nur ein Kanal in Verwendung für Ladepriorisierung und die anderen beiden sollen Softwaretaster in der VIS vom Tablet sein (Taster-Ein Ladeprio Taster-Aus Ladepriorisierung ohne Ablauf der Zeit beenden).
Den Rest mit den Variablen steig ich noch nicht ganz durch, aber im Trockenversuch mit den Schaltsteckdosen funktioniert es, ist halt wieder völlig umständlich und teilweise doppelt umgesetzt.Sorry für meine kurzen Antworten, muss aber gerade vom Smartphone schreiben.
-
Der Shelly ist ein Hardwaretaster (Serientaster zwei Tastwippen) bisher aber nur ein Kanal in Verwendung für Ladepriorisierung und die anderen beiden sollen Softwaretaster in der VIS vom Tablet sein (Taster-Ein Ladeprio Taster-Aus Ladepriorisierung ohne Ablauf der Zeit beenden).
Den Rest mit den Variablen steig ich noch nicht ganz durch, aber im Trockenversuch mit den Schaltsteckdosen funktioniert es, ist halt wieder völlig umständlich und teilweise doppelt umgesetzt.Sorry für meine kurzen Antworten, muss aber gerade vom Smartphone schreiben.
-
@sub7 sagte: Taster-Aus Ladepriorisierung
Dann dafür einen eigenen Trigger auf "ist wahr" verwenden.
Wenn man bei den beiden Tastern für "Ladepriorisierung Ein" auf "ist größer als letztes" triggert, kann man sich die Oder-Abfragen sparen.
So, bin jetzt zuhause und habe die Änderungen eingepflegt, sieht jetzt wie folgt aus.
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable type="timeout" id="Timeout_1.8kW">Timeout_1.8kW</variable> <variable type="timeout" id="Timeout_3.7kW">Timeout_3.7kW</variable> <variable id=";t!!{he,NqY7LjF_(N[%">Ladepriorisierung</variable> <variable id="3hvpTzojo}y2$Ew~Gyhv">PV_laden-1.8kW</variable> <variable id="]@YsD2#L/zM,THq9GqS[">PV_laden_3_7kW</variable> <variable type="timeout" id="Timeout_Aus">Timeout_Aus</variable> <variable type="timeout" id="Timeout_ladung">Timeout_ladung</variable> <variable type="timeout" id="timeout">timeout</variable> </variables> <block type="on" id="$4wQL[ftP_6@,fTC3at$" x="-112" y="-98"> <field name="OID">shelly.0.SHEM-3#3494547559AD#1.Emeter2.Power</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="comment" id="A%${1aeY]+DhiUchoxE4"> <field name="COMMENT">Laden mit nur 1,8kW Leistung</field> <next> <block type="controls_if" id="]ourj]{^20nkJwurfDR["> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_compare" id="1+gNc=EeK5e,fUJnc^}8"> <field name="OP">GT</field> <value name="A"> <block type="on_source" id="k_T:%FZ61/wK(R2^mIU3"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="!]h!/j]Sjsh`~{_bVK-0"> <field name="NUM">-1400</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_cleartimeout" id="FgWgp`HD1-;4.K`v$}Us"> <field name="NAME">Timeout_1.8kW</field> </block> </statement> <value name="IF1"> <block type="logic_operation" id="zu**V*R;jsb+vDs)/J.U" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_negate" id="Qx^`}eX,?sgZ*uDGx_+k"> <value name="BOOL"> <block type="timeouts_gettimeout" id="@ndH!4yq0cG2I(uJ0y^N"> <field name="NAME">Timeout_1.8kW</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="c[9-0L7e@xjMN5BlD9(," inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_negate" id="0yj+TV2u!*9F,.)fx!Zc"> <value name="BOOL"> <block type="variables_get" id="tj$S1IGl4$v1d|],20at"> <field name="VAR" id=";t!!{he,NqY7LjF_(N[%">Ladepriorisierung</field> </block> </value> </block> </value> <value name="B"> <block type="logic_negate" id="1vQj}l,tkf2so_?uC5{G"> <value name="BOOL"> <block type="variables_get" id="53zCnmG4C|L%(*)wf_Q}"> <field name="VAR" id="3hvpTzojo}y2$Ew~Gyhv">PV_laden-1.8kW</field> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="timeouts_settimeout" id=":O-$Y1-hZ9)Lp3q_Dw,z"> <field name="NAME">Timeout_1.8kW</field> <field name="DELAY">3</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="comment" id="5=w_x$,??{yY}RJOtsj6"> <field name="COMMENT">Lastabwurf (1,8kW laden) Freigabe</field> <next> <block type="control" id="U9`dXV4#tZhe@IbMEz~="> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hm-rpc.0.000218A995E697.3.STATE</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="QxAOUPlRj-Fc-cY{;TP1"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="comment" id="XVRA]9A/@`Ya:~%i0cwJ"> <field name="COMMENT">Ladefreigabe Wallbox</field> <next> <block type="control" id="ANCablvP2!Z*FcTR$A$E"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">hm-rpc.0.00021A49A85AF2.3.STATE</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">2</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="logic_boolean" id="I/RPAC+Rw)p%bOGUAOpl"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="FF2Y;ps~$85/Q|T=rs*w"> <field name="VAR" id="3hvpTzojo}y2$Ew~Gyhv">PV_laden-1.8kW</field> <value name="VALUE"> <block type="logic_boolean" id="}h`Uo;j}l+=wG$.6iu;G"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> <next> <block type="comment" id="rAG3V-k0Tx];%@JKviiJ"> <field name="COMMENT">Laden mit 3,7kW Leistung</field> <next> <block type="controls_if" id="}8)0BG-8cl8U#(jDmMb;"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_compare" id="@[^iqFZlZzxc(YkB:nbn"> <field name="OP">GT</field> <value name="A"> <block type="on_source" id="TNFuW~94!_y;TMwq?OQ6"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="P?UKwKXa7-z.n93Nx``t"> <field name="NUM">-1300</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_cleartimeout" id="w4U}HDwOB=:|?@(aG@MV"> <field name="NAME">Timeout_3.7kW</field> </block> </statement> <value name="IF1"> <block type="logic_operation" id="@0t4B]jt@]a7cDS2,bfJ" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_negate" id="YNSR_.B%-q[ggjFq7/oE"> <value name="BOOL"> <block type="timeouts_gettimeout" id="=ubBtiSt6l/|wkG64}d;"> <field name="NAME">Timeout_3.7kW</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="ZZhu%#gawc,]3/d:Aba/" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_negate" id="6;Hr@t|6~Hz!k5y|RhD0"> <value name="BOOL"> <block type="variables_get" id="O5N$32P(r=/d!5b=WZ#["> <field name="VAR" id=";t!!{he,NqY7LjF_(N[%">Ladepriorisierung</field> </block> </value> </block> </value> <value name="B"> <block type="variables_get" id="b}?:7#q1c!ceD:]X#)WL"> <field name="VAR" id="3hvpTzojo}y2$Ew~Gyhv">PV_laden-1.8kW</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="timeouts_settimeout" id="qmT6f/(nmv@X@fuopHeT"> <field name="NAME">Timeout_3.7kW</field> <field name="DELAY">3</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="comment" id="UaB9Cr[jk,;ClTLU,nhl"> <field name="COMMENT">Lastabwurf (1,8kW laden) beenden</field> <next> <block type="control" id="[lIXy~ZA5FnFiF~VBQe/"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hm-rpc.0.000218A995E697.3.STATE</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="/oexX.IjL7{:cADc|55y"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="comment" id="JLFrf(1hcmU2w/dM`T($"> <field name="COMMENT">Ladefreigabe Wallbox</field> <next> <block type="control" id="VIqP?kgIFPzggbPL3nA:" disabled="true"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHEM-3#3494547559AD#1.Relay0.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="R[b7O7?[{cJr{h}n;C]/"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="y|+5wTO|]!oWogp4CP6L"> <field name="VAR" id="]@YsD2#L/zM,THq9GqS[">PV_laden_3_7kW</field> <value name="VALUE"> <block type="logic_boolean" id="QI`C4pdb=J4H-)kmsN1b"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> <next> <block type="comment" id="4^U_u2%h%:{p_2_nSk;L"> <field name="COMMENT">Laden Beenden</field> <next> <block type="controls_if" id="m@5jE)W9TrLWYyWfH5~/"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_compare" id="0N?~zQzK+8QPhMVQI91T"> <field name="OP">LT</field> <value name="A"> <block type="on_source" id="pruOR[Iw=EW~:c6sEE{X"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="#Atkqp^N?6sPqLtus+dy"> <field name="NUM">1100</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_cleartimeout" id="pmJVFRiw^N1CaF^TNW$|"> <field name="NAME">Timeout_ladung</field> <next> <block type="timeouts_cleartimeout" id="klMU@ROv}+)Y_rZ`w~F@"> <field name="NAME">Timeout_Aus</field> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_negate" id="/`X#*6~3YLYQ.x~4x:RW"> <value name="BOOL"> <block type="variables_get" id="7=[8sze_(p8OQ#(#Vk3%"> <field name="VAR" id=";t!!{he,NqY7LjF_(N[%">Ladepriorisierung</field> </block> </value> </block> </value> <statement name="DO1"> <block type="controls_if" id="0#UePKmT!/G=Cw2acVT8"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="variables_get" id="^9cz-ty!3e{q}sRWV1]$"> <field name="VAR" id="]@YsD2#L/zM,THq9GqS[">PV_laden_3_7kW</field> </block> </value> <statement name="DO0"> <block type="controls_if" id="j3jDf]s{6se)2ZnJ9IC!"> <value name="IF0"> <block type="logic_negate" id="m9f$G~}_1r_%Y1pKH1II"> <value name="BOOL"> <block type="timeouts_gettimeout" id="C~D=?ovIeI/ztL[(PL:f"> <field name="NAME">Timeout_ladung</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="dQ!K)FB?m/YM^P#sC*DG"> <field name="NAME">Timeout_ladung</field> <field name="DELAY">4</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="comment" id="`UBRn~o47hO%[*urSD;x"> <field name="COMMENT">Lastabwurf (1,8kW laden) Freigabe</field> <next> <block type="control" id="6P[j9~,ThS5.6)4|Uv~I"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hm-rpc.0.000218A995E697.3.STATE</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="d7I}K~Ge$J{?]seuXW6R"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="x=pNl?3le_!m/HuFBgOk"> <field name="VAR" id="]@YsD2#L/zM,THq9GqS[">PV_laden_3_7kW</field> <value name="VALUE"> <block type="logic_boolean" id="[}zSMva!{7gwFV.*b$w{"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </statement> <value name="IF1"> <block type="logic_negate" id="kkz5jcTfmn?dZ[NO*x*:"> <value name="BOOL"> <block type="timeouts_gettimeout" id="2WjOw;3@JwLvHY%c%B^k"> <field name="NAME">Timeout_Aus</field> </block> </value> </block> </value> <statement name="DO1"> <block type="timeouts_settimeout" id="mU~cyc5)|eM2[RfU[Us%"> <field name="NAME">Timeout_Aus</field> <field name="DELAY">6</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="comment" id="Dj]!T4pK3AXd6LD-WTzw"> <field name="COMMENT">Ladefreigabe Wallbox</field> <next> <block type="control" id="$6hC:h9r7POj2%.!z~D%"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hm-rpc.0.00021A49A85AF2.3.STATE</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="O[fz8v!rbK^6ffjYQ5mh"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="variables_set" id="#pvQ0Y/bV/==;q6`WGKY"> <field name="VAR" id="3hvpTzojo}y2$Ew~Gyhv">PV_laden-1.8kW</field> <value name="VALUE"> <block type="logic_boolean" id="L_*.0Z_2ug,nv=t/}dUD"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="comment" id="},68DrkN]Qs0sxrqunPE"> <field name="COMMENT">Ladepriorisierung Taster</field> <next> <block type="on_ext" id="L#YE!lPD[B=Dr)bg)Er3"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation> <field name="CONDITION">gt</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id=".C8^%a2*C4?O%e#@,jl]"> <field name="oid">mqtt.0.shellyplusi4-485519993044.status.input:0</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="S#F48={NAgosgE90Q6g}"> <field name="oid">javascript.0.Eigene_Datenpunkte.Test.Taster_laden_ein</field> </shadow> </value> <statement name="STATEMENT"> <block type="comment" id="EWUYteUc2lgAjYIushWK"> <field name="COMMENT">Lastabwurf (1,8kW laden) beenden</field> <next> <block type="control" id="Wt~4R%K^mNn#HzO}G}bd"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hm-rpc.0.000218A995E697.3.STATE</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id=",ev#lF494;UaT:h6z`g#"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="comment" id="?]0Pb1?CYP3lhu+)dIJM"> <field name="COMMENT">Ladfreigabe Wallbox</field> <next> <block type="control" id="m5!sdC45DHMO~mwjz(Rw"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hm-rpc.0.00021A49A85AF2.3.STATE</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="#DW|QhnR4g8iMY://uE@"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="#Ou%SJ`ssQrmMQZ:lR4@"> <field name="VAR" id=";t!!{he,NqY7LjF_(N[%">Ladepriorisierung</field> <value name="VALUE"> <block type="logic_boolean" id="NQubyOf86$`BtadX1+h1"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="timeouts_cleartimeout" id="{RRzWHB_[ab2F2|O|i%w"> <field name="NAME">Timeout_1.8kW</field> <next> <block type="timeouts_cleartimeout" id="n]PnPMvpWO-bd[]63z/U"> <field name="NAME">Timeout_3.7kW</field> <next> <block type="timeouts_cleartimeout" id="n;CgQ,7[Msta)GRGGWVU"> <field name="NAME">Timeout_ladung</field> <next> <block type="timeouts_cleartimeout" id="2llI`Vw)5;MsmpwG^UX+"> <field name="NAME">Timeout_Aus</field> <next> <block type="timeouts_settimeout" id="I=o*dw`qwZZvu,Xp,YN4"> <field name="NAME">timeout</field> <field name="DELAY">320</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="comment" id="wteP^$GXA`N^22R?KhCi"> <field name="COMMENT">Ladfreigabe Wallbox</field> <next> <block type="control" id="Y%?cWoX:k~;@A]d6bGi#"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hm-rpc.0.00021A49A85AF2.3.STATE</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="MOwKytL#:_lk*|%g??oL"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="variables_set" id="TU1dc|o]Re+hJ*NCZM,h"> <field name="VAR" id=";t!!{he,NqY7LjF_(N[%">Ladepriorisierung</field> <value name="VALUE"> <block type="logic_boolean" id="_BSPxo(n6{HQ.Gq$tfxR"> <field name="BOOL">FALSE</field> </block> </value> </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> </statement> <next> <block type="comment" id="r#tz-vTLkT*8,2j`1,;f"> <field name="COMMENT">Ladepriorisierung beenden Taster</field> <next> <block type="on_ext" id="z/?.cqXX1Fy}8j0Myu`-"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">true</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="((.8;ox^p5*/sfPk*PhR"> <field name="oid">javascript.0.Eigene_Datenpunkte.Test.Taster_laden_beenden</field> </shadow> </value> <statement name="STATEMENT"> <block type="comment" id="[JPzfN,QJ{!8L6uHXo[|"> <field name="COMMENT">Ladfreigabe Wallbox</field> <next> <block type="control" id="c}xSZrphnZgxgV+^,IW,"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hm-rpc.0.00021A49A85AF2.3.STATE</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="UhwRBjXX3S9VQ6R-;GLz"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="variables_set" id="p=G#u7u6r5TX)zGt]5jm"> <field name="VAR" id=";t!!{he,NqY7LjF_(N[%">Ladepriorisierung</field> <value name="VALUE"> <block type="logic_boolean" id="IR_-UZrv0PcDxg-D9b}]"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </next> </block> </statement> <next> <block type="comment" id="=4sOoG*8Su?UfHIYD6e="> <field name="COMMENT">Ladezustandsanzeige</field> <next> <block type="on_ext" id="qE)3NloHa(xD@0r2prcC"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="4"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="k}+HV}TbmJesp`dM2.mg"> <field name="oid">hm-rpc.0.000218A995E697.3.STATE</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="#Z8b.RI7f1vTm,W*wrfZ"> <field name="oid">javascript.0.Eigene_Datenpunkte.Test.Taster_laden_ein</field> </shadow> </value> <value name="OID2"> <shadow type="field_oid" id="AO.(BxeWYppO6ScYJiWd"> <field name="oid">javascript.0.Eigene_Datenpunkte.Test.Taster_laden_beenden</field> </shadow> </value> <value name="OID3"> <shadow type="field_oid" id="D}d3Gfo7D.~`,_=j3E3W"> <field name="oid">hm-rpc.0.00021A49A85AF2.3.STATE</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="QYffXS!FX!z[VEB8-xE6"> <mutation elseif="3"></mutation> <value name="IF0"> <block type="logic_operation" id="Ym|/4=H5Sx,q-V:%L/D1" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="q@+3bG3j7A%vm8vMNG/8"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="%#0DW`0PUoh5B7xl=G_q"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.00021A49A85AF2.3.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="R_!X3P6dd2O83Eb4J?MI"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="oK]we2|2w3IM,S@^S:.T" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="gx^`enTQ0_/z_z8ELFu4"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="`J2/V32[e?Rt,r-iOU-L"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.000218A995E697.3.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="xvOZI^@ha0q}fLEcBZrt"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_negate" id="43XKO0pvD{Pxf|Gnn6N+"> <value name="BOOL"> <block type="variables_get" id="*IUq=op+S5~t6LxOAmD{"> <field name="VAR" id="]@YsD2#L/zM,THq9GqS[">PV_laden_3_7kW</field> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="41;AiE$Rat^_Uo_KC9@s"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Test.Ladezustand_Wallbox</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="b7yCL5_(gs|s}yE:teKS"> <field name="TEXT">Manueller Start</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id="aOE?L3Aax?rFY;E?;h+)"> <field name="OP">EQ</field> <value name="A"> <block type="logic_operation" id="[GAu+u8`}|GEc[$P~Px]" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="get_value" id="q.zFhW?77`){`a,3O;2c"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.000218A995E697.3.STATE</field> </block> </value> <value name="B"> <block type="get_value" id="I*dEL8fJ0(QSrL^$L;K9"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.00021A49A85AF2.3.STATE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_boolean" id="vGwwiDT7x@i?$40CfdvN"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="[u0}@=s`#k9qm-E#S#6t"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Test.Ladezustand_Wallbox</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="4@:iTLGOi5@}z0l]-|BX"> <field name="TEXT">Laden 1.8kW</field> </block> </value> </block> </statement> <value name="IF2"> <block type="logic_operation" id="zRY=}*R6VJZ$PA!Q|-N)" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_negate" id="*O=~+O0?x|mP@OFvlOa)"> <value name="BOOL"> <block type="variables_get" id=":srI7$6*Tq3)9FLRtULn"> <field name="VAR" id=";t!!{he,NqY7LjF_(N[%">Ladepriorisierung</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="UgC$V2T}fgTack?Ff$a(" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="VoZZE|-VX7]GT[blR}*!"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="}Qxo:(itxtp=e8[lc9Q2"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.00021A49A85AF2.3.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="8PFO~GjzYp}N/Y8(PrDU"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="cBfqtN;]XzKpJQy|74=P"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="Q-Sd?4^d#edu+vqx2Won"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.000218A995E697.3.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="n*y//0^hLAL4;y;CB!o]"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO2"> <block type="control" id="Afbw%P.BGNTl+~{vb?um"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Test.Ladezustand_Wallbox</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="XA@LIztXvllxsqboU-m+"> <field name="TEXT">Laden 3.7kW</field> </block> </value> </block> </statement> <value name="IF3"> <block type="logic_compare" id="=Z{B^YO/]BZrAUTe2!LB"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="okn(7BG.#4.!fm}iAz!7"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.00021A49A85AF2.3.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="L=;jv*5)T%SVrn-:yzWb"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO3"> <block type="control" id=".ySJ`BN!`XSP=Z?bR{}F"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Test.Ladezustand_Wallbox</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="q,$o3Wye1fTM#dT5+P3A"> <field name="TEXT">Keine Freigabe</field> </block> </value> </block> </statement> <next> <block type="comment" id="P!)CRi@KlveMm|6KS)XL"> <field name="COMMENT">Countdown Ladepriorisierung</field> <next> <block type="controls_if" id="f-0=|p{LwILBP!{pr$x$"> <mutation else="1"></mutation> <value name="IF0"> <block type="variables_get" id="9pS0tR~hiLkWRUq3[num"> <field name="VAR" id=";t!!{he,NqY7LjF_(N[%">Ladepriorisierung</field> </block> </value> <statement name="DO0"> <block type="control" id="pi0QSlq*+SeHcWE;SeN_"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">mytime.0.Countdown.Test.cmd</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="=NW:~$L}7_Q-M.xqnaL5"> <field name="TEXT">start</field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="control" id="u_riLpm/J#!GAk$d)?5q"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">mytime.0.Countdown.Test.cmd</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="8qqA_m(MJgu.GJDnfIC`"> <field name="TEXT">end</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </xml> -
So, bin jetzt zuhause und habe die Änderungen eingepflegt, sieht jetzt wie folgt aus.
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable type="timeout" id="Timeout_1.8kW">Timeout_1.8kW</variable> <variable type="timeout" id="Timeout_3.7kW">Timeout_3.7kW</variable> <variable id=";t!!{he,NqY7LjF_(N[%">Ladepriorisierung</variable> <variable id="3hvpTzojo}y2$Ew~Gyhv">PV_laden-1.8kW</variable> <variable id="]@YsD2#L/zM,THq9GqS[">PV_laden_3_7kW</variable> <variable type="timeout" id="Timeout_Aus">Timeout_Aus</variable> <variable type="timeout" id="Timeout_ladung">Timeout_ladung</variable> <variable type="timeout" id="timeout">timeout</variable> </variables> <block type="on" id="$4wQL[ftP_6@,fTC3at$" x="-112" y="-98"> <field name="OID">shelly.0.SHEM-3#3494547559AD#1.Emeter2.Power</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="comment" id="A%${1aeY]+DhiUchoxE4"> <field name="COMMENT">Laden mit nur 1,8kW Leistung</field> <next> <block type="controls_if" id="]ourj]{^20nkJwurfDR["> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_compare" id="1+gNc=EeK5e,fUJnc^}8"> <field name="OP">GT</field> <value name="A"> <block type="on_source" id="k_T:%FZ61/wK(R2^mIU3"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="!]h!/j]Sjsh`~{_bVK-0"> <field name="NUM">-1400</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_cleartimeout" id="FgWgp`HD1-;4.K`v$}Us"> <field name="NAME">Timeout_1.8kW</field> </block> </statement> <value name="IF1"> <block type="logic_operation" id="zu**V*R;jsb+vDs)/J.U" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_negate" id="Qx^`}eX,?sgZ*uDGx_+k"> <value name="BOOL"> <block type="timeouts_gettimeout" id="@ndH!4yq0cG2I(uJ0y^N"> <field name="NAME">Timeout_1.8kW</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="c[9-0L7e@xjMN5BlD9(," inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_negate" id="0yj+TV2u!*9F,.)fx!Zc"> <value name="BOOL"> <block type="variables_get" id="tj$S1IGl4$v1d|],20at"> <field name="VAR" id=";t!!{he,NqY7LjF_(N[%">Ladepriorisierung</field> </block> </value> </block> </value> <value name="B"> <block type="logic_negate" id="1vQj}l,tkf2so_?uC5{G"> <value name="BOOL"> <block type="variables_get" id="53zCnmG4C|L%(*)wf_Q}"> <field name="VAR" id="3hvpTzojo}y2$Ew~Gyhv">PV_laden-1.8kW</field> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="timeouts_settimeout" id=":O-$Y1-hZ9)Lp3q_Dw,z"> <field name="NAME">Timeout_1.8kW</field> <field name="DELAY">3</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="comment" id="5=w_x$,??{yY}RJOtsj6"> <field name="COMMENT">Lastabwurf (1,8kW laden) Freigabe</field> <next> <block type="control" id="U9`dXV4#tZhe@IbMEz~="> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hm-rpc.0.000218A995E697.3.STATE</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="QxAOUPlRj-Fc-cY{;TP1"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="comment" id="XVRA]9A/@`Ya:~%i0cwJ"> <field name="COMMENT">Ladefreigabe Wallbox</field> <next> <block type="control" id="ANCablvP2!Z*FcTR$A$E"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">hm-rpc.0.00021A49A85AF2.3.STATE</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">2</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">TRUE</field> <value name="VALUE"> <block type="logic_boolean" id="I/RPAC+Rw)p%bOGUAOpl"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="FF2Y;ps~$85/Q|T=rs*w"> <field name="VAR" id="3hvpTzojo}y2$Ew~Gyhv">PV_laden-1.8kW</field> <value name="VALUE"> <block type="logic_boolean" id="}h`Uo;j}l+=wG$.6iu;G"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> <next> <block type="comment" id="rAG3V-k0Tx];%@JKviiJ"> <field name="COMMENT">Laden mit 3,7kW Leistung</field> <next> <block type="controls_if" id="}8)0BG-8cl8U#(jDmMb;"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_compare" id="@[^iqFZlZzxc(YkB:nbn"> <field name="OP">GT</field> <value name="A"> <block type="on_source" id="TNFuW~94!_y;TMwq?OQ6"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="P?UKwKXa7-z.n93Nx``t"> <field name="NUM">-1300</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_cleartimeout" id="w4U}HDwOB=:|?@(aG@MV"> <field name="NAME">Timeout_3.7kW</field> </block> </statement> <value name="IF1"> <block type="logic_operation" id="@0t4B]jt@]a7cDS2,bfJ" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_negate" id="YNSR_.B%-q[ggjFq7/oE"> <value name="BOOL"> <block type="timeouts_gettimeout" id="=ubBtiSt6l/|wkG64}d;"> <field name="NAME">Timeout_3.7kW</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="ZZhu%#gawc,]3/d:Aba/" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_negate" id="6;Hr@t|6~Hz!k5y|RhD0"> <value name="BOOL"> <block type="variables_get" id="O5N$32P(r=/d!5b=WZ#["> <field name="VAR" id=";t!!{he,NqY7LjF_(N[%">Ladepriorisierung</field> </block> </value> </block> </value> <value name="B"> <block type="variables_get" id="b}?:7#q1c!ceD:]X#)WL"> <field name="VAR" id="3hvpTzojo}y2$Ew~Gyhv">PV_laden-1.8kW</field> </block> </value> </block> </value> </block> </value> <statement name="DO1"> <block type="timeouts_settimeout" id="qmT6f/(nmv@X@fuopHeT"> <field name="NAME">Timeout_3.7kW</field> <field name="DELAY">3</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="comment" id="UaB9Cr[jk,;ClTLU,nhl"> <field name="COMMENT">Lastabwurf (1,8kW laden) beenden</field> <next> <block type="control" id="[lIXy~ZA5FnFiF~VBQe/"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hm-rpc.0.000218A995E697.3.STATE</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="/oexX.IjL7{:cADc|55y"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="comment" id="JLFrf(1hcmU2w/dM`T($"> <field name="COMMENT">Ladefreigabe Wallbox</field> <next> <block type="control" id="VIqP?kgIFPzggbPL3nA:" disabled="true"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">shelly.0.SHEM-3#3494547559AD#1.Relay0.Switch</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="R[b7O7?[{cJr{h}n;C]/"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="y|+5wTO|]!oWogp4CP6L"> <field name="VAR" id="]@YsD2#L/zM,THq9GqS[">PV_laden_3_7kW</field> <value name="VALUE"> <block type="logic_boolean" id="QI`C4pdb=J4H-)kmsN1b"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </statement> <next> <block type="comment" id="4^U_u2%h%:{p_2_nSk;L"> <field name="COMMENT">Laden Beenden</field> <next> <block type="controls_if" id="m@5jE)W9TrLWYyWfH5~/"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_compare" id="0N?~zQzK+8QPhMVQI91T"> <field name="OP">LT</field> <value name="A"> <block type="on_source" id="pruOR[Iw=EW~:c6sEE{X"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="#Atkqp^N?6sPqLtus+dy"> <field name="NUM">1100</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_cleartimeout" id="pmJVFRiw^N1CaF^TNW$|"> <field name="NAME">Timeout_ladung</field> <next> <block type="timeouts_cleartimeout" id="klMU@ROv}+)Y_rZ`w~F@"> <field name="NAME">Timeout_Aus</field> </block> </next> </block> </statement> <value name="IF1"> <block type="logic_negate" id="/`X#*6~3YLYQ.x~4x:RW"> <value name="BOOL"> <block type="variables_get" id="7=[8sze_(p8OQ#(#Vk3%"> <field name="VAR" id=";t!!{he,NqY7LjF_(N[%">Ladepriorisierung</field> </block> </value> </block> </value> <statement name="DO1"> <block type="controls_if" id="0#UePKmT!/G=Cw2acVT8"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="variables_get" id="^9cz-ty!3e{q}sRWV1]$"> <field name="VAR" id="]@YsD2#L/zM,THq9GqS[">PV_laden_3_7kW</field> </block> </value> <statement name="DO0"> <block type="controls_if" id="j3jDf]s{6se)2ZnJ9IC!"> <value name="IF0"> <block type="logic_negate" id="m9f$G~}_1r_%Y1pKH1II"> <value name="BOOL"> <block type="timeouts_gettimeout" id="C~D=?ovIeI/ztL[(PL:f"> <field name="NAME">Timeout_ladung</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_settimeout" id="dQ!K)FB?m/YM^P#sC*DG"> <field name="NAME">Timeout_ladung</field> <field name="DELAY">4</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="comment" id="`UBRn~o47hO%[*urSD;x"> <field name="COMMENT">Lastabwurf (1,8kW laden) Freigabe</field> <next> <block type="control" id="6P[j9~,ThS5.6)4|Uv~I"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hm-rpc.0.000218A995E697.3.STATE</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="d7I}K~Ge$J{?]seuXW6R"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="x=pNl?3le_!m/HuFBgOk"> <field name="VAR" id="]@YsD2#L/zM,THq9GqS[">PV_laden_3_7kW</field> <value name="VALUE"> <block type="logic_boolean" id="[}zSMva!{7gwFV.*b$w{"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </statement> <value name="IF1"> <block type="logic_negate" id="kkz5jcTfmn?dZ[NO*x*:"> <value name="BOOL"> <block type="timeouts_gettimeout" id="2WjOw;3@JwLvHY%c%B^k"> <field name="NAME">Timeout_Aus</field> </block> </value> </block> </value> <statement name="DO1"> <block type="timeouts_settimeout" id="mU~cyc5)|eM2[RfU[Us%"> <field name="NAME">Timeout_Aus</field> <field name="DELAY">6</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="comment" id="Dj]!T4pK3AXd6LD-WTzw"> <field name="COMMENT">Ladefreigabe Wallbox</field> <next> <block type="control" id="$6hC:h9r7POj2%.!z~D%"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hm-rpc.0.00021A49A85AF2.3.STATE</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="O[fz8v!rbK^6ffjYQ5mh"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="variables_set" id="#pvQ0Y/bV/==;q6`WGKY"> <field name="VAR" id="3hvpTzojo}y2$Ew~Gyhv">PV_laden-1.8kW</field> <value name="VALUE"> <block type="logic_boolean" id="L_*.0Z_2ug,nv=t/}dUD"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="comment" id="},68DrkN]Qs0sxrqunPE"> <field name="COMMENT">Ladepriorisierung Taster</field> <next> <block type="on_ext" id="L#YE!lPD[B=Dr)bg)Er3"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation> <field name="CONDITION">gt</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id=".C8^%a2*C4?O%e#@,jl]"> <field name="oid">mqtt.0.shellyplusi4-485519993044.status.input:0</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="S#F48={NAgosgE90Q6g}"> <field name="oid">javascript.0.Eigene_Datenpunkte.Test.Taster_laden_ein</field> </shadow> </value> <statement name="STATEMENT"> <block type="comment" id="EWUYteUc2lgAjYIushWK"> <field name="COMMENT">Lastabwurf (1,8kW laden) beenden</field> <next> <block type="control" id="Wt~4R%K^mNn#HzO}G}bd"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hm-rpc.0.000218A995E697.3.STATE</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id=",ev#lF494;UaT:h6z`g#"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="comment" id="?]0Pb1?CYP3lhu+)dIJM"> <field name="COMMENT">Ladfreigabe Wallbox</field> <next> <block type="control" id="m5!sdC45DHMO~mwjz(Rw"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hm-rpc.0.00021A49A85AF2.3.STATE</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="#DW|QhnR4g8iMY://uE@"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="#Ou%SJ`ssQrmMQZ:lR4@"> <field name="VAR" id=";t!!{he,NqY7LjF_(N[%">Ladepriorisierung</field> <value name="VALUE"> <block type="logic_boolean" id="NQubyOf86$`BtadX1+h1"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="timeouts_cleartimeout" id="{RRzWHB_[ab2F2|O|i%w"> <field name="NAME">Timeout_1.8kW</field> <next> <block type="timeouts_cleartimeout" id="n]PnPMvpWO-bd[]63z/U"> <field name="NAME">Timeout_3.7kW</field> <next> <block type="timeouts_cleartimeout" id="n;CgQ,7[Msta)GRGGWVU"> <field name="NAME">Timeout_ladung</field> <next> <block type="timeouts_cleartimeout" id="2llI`Vw)5;MsmpwG^UX+"> <field name="NAME">Timeout_Aus</field> <next> <block type="timeouts_settimeout" id="I=o*dw`qwZZvu,Xp,YN4"> <field name="NAME">timeout</field> <field name="DELAY">320</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="comment" id="wteP^$GXA`N^22R?KhCi"> <field name="COMMENT">Ladfreigabe Wallbox</field> <next> <block type="control" id="Y%?cWoX:k~;@A]d6bGi#"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hm-rpc.0.00021A49A85AF2.3.STATE</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="MOwKytL#:_lk*|%g??oL"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="variables_set" id="TU1dc|o]Re+hJ*NCZM,h"> <field name="VAR" id=";t!!{he,NqY7LjF_(N[%">Ladepriorisierung</field> <value name="VALUE"> <block type="logic_boolean" id="_BSPxo(n6{HQ.Gq$tfxR"> <field name="BOOL">FALSE</field> </block> </value> </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> </statement> <next> <block type="comment" id="r#tz-vTLkT*8,2j`1,;f"> <field name="COMMENT">Ladepriorisierung beenden Taster</field> <next> <block type="on_ext" id="z/?.cqXX1Fy}8j0Myu`-"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">true</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="((.8;ox^p5*/sfPk*PhR"> <field name="oid">javascript.0.Eigene_Datenpunkte.Test.Taster_laden_beenden</field> </shadow> </value> <statement name="STATEMENT"> <block type="comment" id="[JPzfN,QJ{!8L6uHXo[|"> <field name="COMMENT">Ladfreigabe Wallbox</field> <next> <block type="control" id="c}xSZrphnZgxgV+^,IW,"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">hm-rpc.0.00021A49A85AF2.3.STATE</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="UhwRBjXX3S9VQ6R-;GLz"> <field name="BOOL">FALSE</field> </block> </value> <next> <block type="variables_set" id="p=G#u7u6r5TX)zGt]5jm"> <field name="VAR" id=";t!!{he,NqY7LjF_(N[%">Ladepriorisierung</field> <value name="VALUE"> <block type="logic_boolean" id="IR_-UZrv0PcDxg-D9b}]"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </next> </block> </statement> <next> <block type="comment" id="=4sOoG*8Su?UfHIYD6e="> <field name="COMMENT">Ladezustandsanzeige</field> <next> <block type="on_ext" id="qE)3NloHa(xD@0r2prcC"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="4"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="k}+HV}TbmJesp`dM2.mg"> <field name="oid">hm-rpc.0.000218A995E697.3.STATE</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="#Z8b.RI7f1vTm,W*wrfZ"> <field name="oid">javascript.0.Eigene_Datenpunkte.Test.Taster_laden_ein</field> </shadow> </value> <value name="OID2"> <shadow type="field_oid" id="AO.(BxeWYppO6ScYJiWd"> <field name="oid">javascript.0.Eigene_Datenpunkte.Test.Taster_laden_beenden</field> </shadow> </value> <value name="OID3"> <shadow type="field_oid" id="D}d3Gfo7D.~`,_=j3E3W"> <field name="oid">hm-rpc.0.00021A49A85AF2.3.STATE</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="QYffXS!FX!z[VEB8-xE6"> <mutation elseif="3"></mutation> <value name="IF0"> <block type="logic_operation" id="Ym|/4=H5Sx,q-V:%L/D1" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="q@+3bG3j7A%vm8vMNG/8"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="%#0DW`0PUoh5B7xl=G_q"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.00021A49A85AF2.3.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="R_!X3P6dd2O83Eb4J?MI"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="oK]we2|2w3IM,S@^S:.T" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="gx^`enTQ0_/z_z8ELFu4"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="`J2/V32[e?Rt,r-iOU-L"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.000218A995E697.3.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="xvOZI^@ha0q}fLEcBZrt"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_negate" id="43XKO0pvD{Pxf|Gnn6N+"> <value name="BOOL"> <block type="variables_get" id="*IUq=op+S5~t6LxOAmD{"> <field name="VAR" id="]@YsD2#L/zM,THq9GqS[">PV_laden_3_7kW</field> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="41;AiE$Rat^_Uo_KC9@s"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Test.Ladezustand_Wallbox</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="b7yCL5_(gs|s}yE:teKS"> <field name="TEXT">Manueller Start</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id="aOE?L3Aax?rFY;E?;h+)"> <field name="OP">EQ</field> <value name="A"> <block type="logic_operation" id="[GAu+u8`}|GEc[$P~Px]" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="get_value" id="q.zFhW?77`){`a,3O;2c"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.000218A995E697.3.STATE</field> </block> </value> <value name="B"> <block type="get_value" id="I*dEL8fJ0(QSrL^$L;K9"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.00021A49A85AF2.3.STATE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_boolean" id="vGwwiDT7x@i?$40CfdvN"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="[u0}@=s`#k9qm-E#S#6t"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Test.Ladezustand_Wallbox</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="4@:iTLGOi5@}z0l]-|BX"> <field name="TEXT">Laden 1.8kW</field> </block> </value> </block> </statement> <value name="IF2"> <block type="logic_operation" id="zRY=}*R6VJZ$PA!Q|-N)" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_negate" id="*O=~+O0?x|mP@OFvlOa)"> <value name="BOOL"> <block type="variables_get" id=":srI7$6*Tq3)9FLRtULn"> <field name="VAR" id=";t!!{he,NqY7LjF_(N[%">Ladepriorisierung</field> </block> </value> </block> </value> <value name="B"> <block type="logic_operation" id="UgC$V2T}fgTack?Ff$a(" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="VoZZE|-VX7]GT[blR}*!"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="}Qxo:(itxtp=e8[lc9Q2"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.00021A49A85AF2.3.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="8PFO~GjzYp}N/Y8(PrDU"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="cBfqtN;]XzKpJQy|74=P"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="Q-Sd?4^d#edu+vqx2Won"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.000218A995E697.3.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="n*y//0^hLAL4;y;CB!o]"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> </block> </value> </block> </value> <statement name="DO2"> <block type="control" id="Afbw%P.BGNTl+~{vb?um"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Test.Ladezustand_Wallbox</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="XA@LIztXvllxsqboU-m+"> <field name="TEXT">Laden 3.7kW</field> </block> </value> </block> </statement> <value name="IF3"> <block type="logic_compare" id="=Z{B^YO/]BZrAUTe2!LB"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="okn(7BG.#4.!fm}iAz!7"> <field name="ATTR">val</field> <field name="OID">hm-rpc.0.00021A49A85AF2.3.STATE</field> </block> </value> <value name="B"> <block type="logic_boolean" id="L=;jv*5)T%SVrn-:yzWb"> <field name="BOOL">FALSE</field> </block> </value> </block> </value> <statement name="DO3"> <block type="control" id=".ySJ`BN!`XSP=Z?bR{}F"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">javascript.0.Eigene_Datenpunkte.Test.Ladezustand_Wallbox</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="q,$o3Wye1fTM#dT5+P3A"> <field name="TEXT">Keine Freigabe</field> </block> </value> </block> </statement> <next> <block type="comment" id="P!)CRi@KlveMm|6KS)XL"> <field name="COMMENT">Countdown Ladepriorisierung</field> <next> <block type="controls_if" id="f-0=|p{LwILBP!{pr$x$"> <mutation else="1"></mutation> <value name="IF0"> <block type="variables_get" id="9pS0tR~hiLkWRUq3[num"> <field name="VAR" id=";t!!{he,NqY7LjF_(N[%">Ladepriorisierung</field> </block> </value> <statement name="DO0"> <block type="control" id="pi0QSlq*+SeHcWE;SeN_"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">mytime.0.Countdown.Test.cmd</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="=NW:~$L}7_Q-M.xqnaL5"> <field name="TEXT">start</field> </block> </value> </block> </statement> <statement name="ELSE"> <block type="control" id="u_riLpm/J#!GAk$d)?5q"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">mytime.0.Countdown.Test.cmd</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="8qqA_m(MJgu.GJDnfIC`"> <field name="TEXT">end</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </xml> -
Ich war mir nicht sicher ob ich die brauche, ich nehme wenn ich mir unsicher bin im Zweifelsfall ein Paar Datenpunkte zuviel rein, bevor mir nachher der Trigger in einer nötigen Situation nicht auslöst. Mache ich aber auch raus wenn es für Dich keinen Sinn ergibt.
-
Ich war mir nicht sicher ob ich die brauche, ich nehme wenn ich mir unsicher bin im Zweifelsfall ein Paar Datenpunkte zuviel rein, bevor mir nachher der Trigger in einer nötigen Situation nicht auslöst. Mache ich aber auch raus wenn es für Dich keinen Sinn ergibt.
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden
