NEWS
Test Adapter Zendure Solarflow
-
@nograx Da bin ich im Moment leicht irritiert. Die Scripte von lesiflo erzeugen mir das hier:
und in den Calculations steht das:
Das sind nahezu die doppelten Werte. Fragt sich nur, warum ...
-
Gibt es gerade ein Problem mit dem Server?
Per app komm ich drauf aber der iobroker kann sich nicht verbinden. -
@webranger welche Version ist installiert? Ich habe neuerdings das Problem das mein Browser Benutzer und Password automatisch in die Adapter Einstellungen Haut. Ggf. Noch mal neu eingeben.
-
@diet99 habe da noch ein paar Ungereimtheiten drin. Optimiere das noch in dieser Woche…
-
@nograx Aktuelle Version 1.1.15 aber bei 1.1.14 war es auch schon so
Habe schon versucht die zugangsdaten neu einzutrage und das in verschieden Browsern.
Keine änderung -
@diet99 Bei der alten Script-Version wurden beim Restart die Werte auf Null gesetzt. Hast du da einen Restart gemacht?
Hier die korrigierte Version, diese setzt bei den letzten ermittelten Werten auf:
<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="gn:HU~SCGvnqbRCRMSCy">Neustart_1</variable> <variable id="a/H8.,c0S360]Nw/|3:F">Neustart_2</variable> <variable id="XNCv~NlI5*nArvrO2?sc">Neustart_3</variable> <variable id="b:qp3p2Oss,$m0DdLd:M">Neustart_4</variable> <variable id="H`8%Q[C];S#Po%f%^,*[">energie</variable> <variable id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</variable> <variable id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</variable> <variable id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</variable> </variables> <block type="comment" id="j2:aNxn%Er`8Q_}@!!P$" x="789" y="1475"> <field name="COMMENT">Reset Tageswerte</field> <next> <block type="schedule" id="]L}6=Uyw4CKieYA8qo*{"> <field name="SCHEDULE">2 0 * * *</field> <statement name="STATEMENT"> <block type="control" id="wO]+tfPu:O]@8vg4)@^w"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="0-8b%VD~nqwRqI#LWXFs"> <field name="NUM">0</field> </block> </value> <next> <block type="control" id=":Xx0TE*B2+5{)MCyETx9"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputPackPower_kWh</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="%F@$?A{uLGsZVc@9nVkI"> <field name="NUM">0</field> </block> </value> <next> <block type="control" id="!Ssd`Ac.tsL+mEscm.y!"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.solarInputPower_kWh</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="B.yO.QUgA{;$4X?-g8,h"> <field name="NUM">0</field> </block> </value> <next> <block type="control" id="EW#t.vr$F-%Xm}DI79r$"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputHomePower_kWh</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id=")~K]8GK6@)ZJoFk(PTjL"> <field name="NUM">0</field> </block> </value> <next> <block type="variables_set" id="RfP%gUCE_#E^hZzbQAYj"> <field name="VAR" id="H`8%Q[C];S#Po%f%^,*[">energie</field> <value name="VALUE"> <block type="get_object" id="fhJ-zn1s(d8_~@ror)Ga"> <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.solarInputPower_kWh</field> </block> </value> <next> <block type="variables_set" id="gw70B~d](MZS^tlJL$ZE"> <field name="VAR" id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</field> <value name="VALUE"> <block type="get_object" id="nvgxO+GU:/NYyfGjd(T7"> <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field> </block> </value> <next> <block type="variables_set" id="(HL3sW/GTkqUWTykp!IY"> <field name="VAR" id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</field> <value name="VALUE"> <block type="get_object" id="k8M@bC*%_F78uSqVwepP"> <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputPackPower_kWh</field> </block> </value> <next> <block type="variables_set" id=".j`=}xOL2?JBtSp_b6LK"> <field name="VAR" id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</field> <value name="VALUE"> <block type="get_object" id="c[)j_kHXIV/jwf7+(%gs"> <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputHomePower_kWh</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="variables_set" id="A.e$V`ynjg0#}qJnFF)w"> <field name="VAR" id="gn:HU~SCGvnqbRCRMSCy">Neustart_1</field> <value name="VALUE"> <block type="logic_boolean" id="9Lm!l6t-vOXOddA~3mJg"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="Kwwkm.V~1`Ki68g_9#b%"> <field name="VAR" id="a/H8.,c0S360]Nw/|3:F">Neustart_2</field> <value name="VALUE"> <block type="logic_boolean" id="UJ:^du30dYguD?8AaTS_"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="xKnM0`eD{gXYrjW[m8-~"> <field name="VAR" id="XNCv~NlI5*nArvrO2?sc">Neustart_3</field> <value name="VALUE"> <block type="logic_boolean" id="5}jK$ZYn{!C.;k;}lZfO"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="variables_set" id="IA]l7VT+#U1)a(Wx,f,8"> <field name="VAR" id="b:qp3p2Oss,$m0DdLd:M">Neustart_4</field> <value name="VALUE"> <block type="logic_boolean" id="##^J8V1KGH.r~8;dy?]Z"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="comment" id="RV+eO`6:RC~uyK=4f_nx"> <field name="COMMENT">Produktion PV in kWh</field> <next> <block type="on_ext" id="TZZI45[#ikP]~r)[F#^K"> <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="FYq7rQr_UY1$l*O%mT96"> <field name="oid">zendure-solarflow.0.73bkTV.7rk1nVD9.solarInputPower</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="9ONCtcSN=;/2qz9[DzO~"> <value name="IF0"> <block type="logic_compare" id="4EEJBi[?ILa5iGd=EP**"> <field name="OP">GT</field> <value name="A"> <block type="on_source" id="^t~l#qd|9b]s|+=[u^;5"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="pmxSrG=-GuXXA_}`$X1D"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id="*L*Yc!EzfPIh*2k}_7Vz"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="n;dpIW~`J2u7;lV3ROiX"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="4fY}typI~6{8=h%GUoQ~"> <field name="VAR" id="gn:HU~SCGvnqbRCRMSCy">Neustart_1</field> </block> </value> <value name="B"> <block type="logic_boolean" id="rkB9sBz,O9_}wD4.-5u8"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="math_change" id="y-9zY$P8f}:4ALE*brXu"> <field name="VAR" id="H`8%Q[C];S#Po%f%^,*[">energie</field> <value name="DELTA"> <shadow type="math_number" id=",5ZCZx[AyTZPJRCD4}~t"> <field name="NUM">3.41</field> </shadow> <block type="get_value" id="S?iu6=CgEh|3V[gG}+,q"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.solarInputPower_kWh</field> </block> </value> <next> <block type="variables_set" id="a3[{#PxcqT50XxDZ8o+/"> <field name="VAR" id="gn:HU~SCGvnqbRCRMSCy">Neustart_1</field> <value name="VALUE"> <block type="logic_boolean" id="[5x*/OoOwUtJnu5;fI!%"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> <statement name="ELSE"> <block type="math_change" id="4l|3nJK3ab*a;%4oOEr:"> <field name="VAR" id="H`8%Q[C];S#Po%f%^,*[">energie</field> <value name="DELTA"> <shadow type="math_number" id="v6ED/wn1{*R^;wC?o2j!"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="*TjAL)Qm[^ij,1^%-zFp" inline="false"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="7TDAa@37OuJ`vcT;P%*S"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="f-yO-QtK`#*o44p4l~(z" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="5~%F;bHMxZ^filO5NJlP"> <field name="NUM">1</field> </shadow> <block type="on_source" id=":[cP3-xt`]9uOyB~EA0|"> <field name="ATTR">oldState.val</field> </block> </value> <value name="B"> <shadow type="math_number" id="pL#ugPnA,fA?t^ZJgf.Y"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="Lg(3A*d,5?1Nb.q|gM=s"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="vD5aC,I(S]J9iOZ+c4J-"> <field name="NUM">1</field> </shadow> <block type="on_source" id="Znb.rqcqheWmt5$ect[t"> <field name="ATTR">state.lc</field> </block> </value> <value name="B"> <shadow type="math_number" id="RlrE5saDi)]Sef;L+Ayu"> <field name="NUM">1</field> </shadow> <block type="on_source" id="sC$AGCU(o~$];AuwLfa_"> <field name="ATTR">oldState.lc</field> </block> </value> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="f6(R_NuM*Zwyrg-(qhk}"> <field name="NUM">3600000000</field> </shadow> </value> </block> </value> </block> </statement> <next> <block type="update" id="CII[{jcsb@hcMs[d|BQ("> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.solarInputPower_kWh</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id="~?Jqw`YNch87/XxEuB~~"> <field name="n">3</field> <value name="x"> <shadow type="math_number" id="${2/m,%T*ULKInSPhEs;"> <field name="NUM">3.1234</field> </shadow> <block type="variables_get" id=";gMk*PhZzVvIU5*ye4Zc"> <field name="VAR" id="H`8%Q[C];S#Po%f%^,*[">energie</field> </block> </value> </block> </value> <next> <block type="control" id="Q!_jCcJF^7_-(qn6CvZ,"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">mqtt.0.openWB.set.pv.2.WhCounter</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="Ea`xv/s7NDugI.AC@N@g" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="N=7tsj%3fV7yT+T#m[MR"> <field name="NUM">1</field> </shadow> <block type="get_value" id="pmeKMtFb8gwAO1?l@QVQ"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.solarInputPower_kWh</field> </block> </value> <value name="B"> <shadow type="math_number" id="w`C6H+RV?nMM32v2P^09"> <field name="NUM">1000</field> </shadow> </value> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> <next> <block type="comment" id="S[uq}2B1D)vx]H[TnOay"> <field name="COMMENT">Berechnung Akku laden in kWh</field> <next> <block type="on_ext" id="tA7mP|%Y5`?gn6w1L-|D"> <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="N7O~V4f9c?ea+dU1L`:X"> <field name="oid">zendure-solarflow.0.73bkTV.7rk1nVD9.outputPackPower</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id=")7LDT=K6QU!2Mi~2:ch["> <value name="IF0"> <block type="logic_compare" id="~|FCyyy5ewSEEN=g(M/."> <field name="OP">GT</field> <value name="A"> <block type="on_source" id="P-hhEf#);IW^2rvTpOl~"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="b[5`?J9:V/-r9#MPS,I~"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id="c5aDvpeTriLk~6vf]Y|~"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="*G.~;x%ZLo_bOv7Tl2d9"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="7AGWjISHl;MPE4!e2f3L"> <field name="VAR" id="a/H8.,c0S360]Nw/|3:F">Neustart_2</field> </block> </value> <value name="B"> <block type="logic_boolean" id="IU+EFtT5I~l-h!|:Y,lS"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="math_change" id="h@wU*SxqXA[~W5EB*08B"> <field name="VAR" id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</field> <value name="DELTA"> <shadow type="math_number" id="?2w483KU@L1=[MXF[gOY"> <field name="NUM">1.602</field> </shadow> <block type="get_object" id="i-oJ.c]tqs_+g;RZ5Ox)"> <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field> </block> </value> <next> <block type="variables_set" id="/MC0[xVQ[1|)r]N^uhgy"> <field name="VAR" id="a/H8.,c0S360]Nw/|3:F">Neustart_2</field> <value name="VALUE"> <block type="logic_boolean" id="DDdhB,3DE,K[{?sDGMb`"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> <statement name="ELSE"> <block type="math_change" id=",LTm7BNxx,@5BA3Rh$OI"> <field name="VAR" id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</field> <value name="DELTA"> <shadow type="math_number" id="Tz.y^`eEKJCgv04Ea084"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="C9xe[8k:R1)F;mW!.Ry^" inline="false"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="7TDAa@37OuJ`vcT;P%*S"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="M-Dd1Nd]nm;c|u`.Muod" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="5~%F;bHMxZ^filO5NJlP"> <field name="NUM">1</field> </shadow> <block type="on_source" id="8VDYuoUm^NjBe$n;`ASx"> <field name="ATTR">oldState.val</field> </block> </value> <value name="B"> <shadow type="math_number" id="pL#ugPnA,fA?t^ZJgf.Y"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="~^1xrvsa`JBhMeA(Ly[A"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="vD5aC,I(S]J9iOZ+c4J-"> <field name="NUM">1</field> </shadow> <block type="on_source" id="`DDM(..({)7,a$.8/)lo"> <field name="ATTR">state.lc</field> </block> </value> <value name="B"> <shadow type="math_number" id="RlrE5saDi)]Sef;L+Ayu"> <field name="NUM">1</field> </shadow> <block type="on_source" id="O,KFUPd_Uo~Hzh2W4g[%"> <field name="ATTR">oldState.lc</field> </block> </value> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="Zq.8%jE+,+:1O9jL!fKG"> <field name="NUM">3600000000</field> </shadow> </value> </block> </value> </block> </statement> <next> <block type="update" id="qXnE^jarf]|@.iM]pXSN"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id="As^GC*c3c#/ovcCj[Izk"> <field name="n">3</field> <value name="x"> <shadow type="math_number" id="${2/m,%T*ULKInSPhEs;"> <field name="NUM">3.1234</field> </shadow> <block type="variables_get" id="DVvB(,~+n;u?KX$i-3+{"> <field name="VAR" id="B].n@]e_d8kNxs]d-Ky|">Laden_Akku</field> </block> </value> </block> </value> <next> <block type="control" id="[)VC.[VO$|K8PP2]tY67"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">mqtt.0.openWB.set.houseBattery.WhImported</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="AhC[[X(wwlT`p31ph@gH" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="N=7tsj%3fV7yT+T#m[MR"> <field name="NUM">1</field> </shadow> <block type="get_value" id="?,B:`OZ!(-V](MS~Z[jR"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.packInputPower_kWh</field> </block> </value> <value name="B"> <shadow type="math_number" id="095(Ty8?(Bn804.AK%N@"> <field name="NUM">1000</field> </shadow> </value> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> <next> <block type="comment" id="c=~;P.ij`)3VXFF.QfJ9"> <field name="COMMENT">Berechnung Akku entladen in kWh</field> <next> <block type="on_ext" id="!BqpT6L5Jt9!dy}Om1f_"> <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="-$}N.4QXm{r96x(/6LPZ"> <field name="oid">zendure-solarflow.0.73bkTV.7rk1nVD9.packInputPower</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="8v:aj[g:]uaMl].C1`_."> <value name="IF0"> <block type="logic_compare" id="H3slbvS[c!1Lq#r^W74f"> <field name="OP">GT</field> <value name="A"> <block type="on_source" id="f.E$s3*Wp/UKOokR7Lob"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="#~(=zoaXW2j_5O/GTH$U"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id="VJ8Io*WhRDbS1}FaX:74"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="V1zhz55Qm7$vDkk2z%T3"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="?;zl!U(GfWmA{?6/4:cM"> <field name="VAR" id="XNCv~NlI5*nArvrO2?sc">Neustart_3</field> </block> </value> <value name="B"> <block type="logic_boolean" id="XQ#hdORn*wHz{=F8nSa?"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="math_change" id="m0~C1eo2h6f6yZFU6MS8"> <field name="VAR" id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</field> <value name="DELTA"> <shadow type="math_number" id="1r4~awuX!)O}@Lmc*#vZ"> <field name="NUM">1.71</field> </shadow> <block type="get_object" id="9^W,912D^Kj{T=_rhV#@"> <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputPackPower_kWh</field> </block> </value> <next> <block type="variables_set" id="]/EX6[=X`iRF;C3hn=Vs"> <field name="VAR" id="XNCv~NlI5*nArvrO2?sc">Neustart_3</field> <value name="VALUE"> <block type="logic_boolean" id="}S=44gZ,lyqsH([ac97s"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> <statement name="ELSE"> <block type="math_change" id="zv~:LFqOXR8eCzZ}2PSn"> <field name="VAR" id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</field> <value name="DELTA"> <shadow type="math_number" id="ay#exbh~G#uELijBtY?p"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="=~zzaYs@C!=/7kiGaDYT" inline="false"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="7TDAa@37OuJ`vcT;P%*S"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="*c:?e5VPn7Sh9~_QJ=-j" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="5~%F;bHMxZ^filO5NJlP"> <field name="NUM">1</field> </shadow> <block type="on_source" id="HvBAv0llhwnR6p[ODeBS"> <field name="ATTR">oldState.val</field> </block> </value> <value name="B"> <shadow type="math_number" id="pL#ugPnA,fA?t^ZJgf.Y"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="5yr^uZJ29Ue}-Hlpod-c"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="vD5aC,I(S]J9iOZ+c4J-"> <field name="NUM">1</field> </shadow> <block type="on_source" id="Uex!oWqZ]paz15!9(cFm"> <field name="ATTR">state.lc</field> </block> </value> <value name="B"> <shadow type="math_number" id="RlrE5saDi)]Sef;L+Ayu"> <field name="NUM">1</field> </shadow> <block type="on_source" id="#(Wqzv;9MnYqi|T$8:FQ"> <field name="ATTR">oldState.lc</field> </block> </value> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="v2u8FsxwPa=M=y?4:9M8"> <field name="NUM">3600000000</field> </shadow> </value> </block> </value> </block> </statement> <next> <block type="update" id=";^JXx3vl[5u[6j}uIq(0"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputPackPower_kWh</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id="o4%pJbXN;{br1M}:2,Sa"> <field name="n">3</field> <value name="x"> <shadow type="math_number" id="${2/m,%T*ULKInSPhEs;"> <field name="NUM">3.1234</field> </shadow> <block type="variables_get" id="e6xZibt(AEyrALe;?(`j"> <field name="VAR" id="Ua?)Az%)A;%j}Z?Y(@qh">Entladen_Akku</field> </block> </value> </block> </value> <next> <block type="control" id="(06jUc?xnQ,eg+64uDv`"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">mqtt.0.openWB.set.houseBattery.WhExported</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="G%YwXy}:JLdYme*1aOEN" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="N=7tsj%3fV7yT+T#m[MR"> <field name="NUM">1</field> </shadow> <block type="get_value" id="PH#Ytw3L8+aUa)$O|p3m"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputPackPower_kWh</field> </block> </value> <value name="B"> <shadow type="math_number" id="D|T1ZM^54Ur/]np;jQ~L"> <field name="NUM">1000</field> </shadow> </value> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </statement> <next> <block type="comment" id="!Rz`~!wnwyL0;![Qh:}p"> <field name="COMMENT">Berechnung Abgabe Haus in kWh</field> <next> <block type="on_ext" id="lu.)LCKv`g8i-n#_TISE" collapsed="true"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="N3{ZrX7f+OsMsIP#/U9i"> <field name="oid">zendure-solarflow.0.73bkTV.7rk1nVD9.outputHomePower</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="+G8hcCGY@}X{m=_./ZS9"> <value name="IF0"> <block type="logic_compare" id="6?gQo4NovHN[5^(I,XC4"> <field name="OP">GT</field> <value name="A"> <block type="on_source" id="/),v0q8DTHi1duT7Tgk2"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="BB)1-0}6e._yDF76=WOt"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id="mSS8%^)DYudFmr@:+8I9"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_compare" id="$E#Dc8vr.B]olt;a-y(G"> <field name="OP">EQ</field> <value name="A"> <block type="variables_get" id="|`D=XZ|35{IQ3S;Jndfe"> <field name="VAR" id="b:qp3p2Oss,$m0DdLd:M">Neustart_4</field> </block> </value> <value name="B"> <block type="logic_boolean" id="l*KugydQ(QG8/H_!CRO$"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="math_change" id="6z6`_uZX34.@i5b~Vb^J"> <field name="VAR" id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</field> <value name="DELTA"> <shadow type="math_number" id="1r4~awuX!)O}@Lmc*#vZ"> <field name="NUM">1.74</field> </shadow> <block type="get_value" id="=O`7WQ]*m(8x=h#@2%eD"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputHomePower_kWh</field> </block> </value> <next> <block type="variables_set" id="U$3upQY@!8D2iq5ZAu5K"> <field name="VAR" id="b:qp3p2Oss,$m0DdLd:M">Neustart_4</field> <value name="VALUE"> <block type="logic_boolean" id="C9eqy.G8v9ZLb+}]k2sL"> <field name="BOOL">FALSE</field> </block> </value> </block> </next> </block> </statement> <statement name="ELSE"> <block type="math_change" id="9b^dkm#-?~e0OS5Nq^4V"> <field name="VAR" id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</field> <value name="DELTA"> <shadow type="math_number" id="ay#exbh~G#uELijBtY?p"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="{vcK[DOQcI)]y;z4Kr4C" inline="false"> <field name="OP">DIVIDE</field> <value name="A"> <shadow type="math_number" id="7TDAa@37OuJ`vcT;P%*S"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="gJV2]_@S+B~UD}TSpd;4" inline="false"> <field name="OP">MULTIPLY</field> <value name="A"> <shadow type="math_number" id="5~%F;bHMxZ^filO5NJlP"> <field name="NUM">1</field> </shadow> <block type="on_source" id="IAb1A;puC-C6AMdJhhgT"> <field name="ATTR">oldState.val</field> </block> </value> <value name="B"> <shadow type="math_number" id="pL#ugPnA,fA?t^ZJgf.Y"> <field name="NUM">1</field> </shadow> <block type="math_arithmetic" id="olvs!]kL^=dCZ!e:AX.J"> <field name="OP">MINUS</field> <value name="A"> <shadow type="math_number" id="vD5aC,I(S]J9iOZ+c4J-"> <field name="NUM">1</field> </shadow> <block type="on_source" id="~bmB$Km8w],+,S%s0tOs"> <field name="ATTR">state.lc</field> </block> </value> <value name="B"> <shadow type="math_number" id="RlrE5saDi)]Sef;L+Ayu"> <field name="NUM">1</field> </shadow> <block type="on_source" id=":2+j;NyubW-?`^b=wo=a"> <field name="ATTR">oldState.lc</field> </block> </value> </block> </value> </block> </value> <value name="B"> <shadow type="math_number" id="y]r%zv}RqUk.DhB!z`|S"> <field name="NUM">3600000000</field> </shadow> </value> </block> </value> </block> </statement> <next> <block type="update" id="NVg/pYOb]:Z0#~Y4x~^c"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">0_userdata.0.Eigene_Variablen.PV.Solarflow.outputHomePower_kWh</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_rndfixed" id="uT1DuxRN5JQjq:xj(%`+"> <field name="n">3</field> <value name="x"> <shadow type="math_number" id="${2/m,%T*ULKInSPhEs;"> <field name="NUM">3.1234</field> </shadow> <block type="variables_get" id="/AI?+5SzC8*}70Yiw`In"> <field name="VAR" id="rNmt]Ylyn6~w3v(K59#b">Abgabe_Haus</field> </block> </value> </block> </value> </block> </next> </block> </statement> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </xml>
-
@lesiflo Moin! Das wäre rein theoretisch möglich - bin aber nicht sicher. Muß ich mir anschauen.
Danke für die neue Version!Edit: wo kommt der Block hin?
-
@diet99 sagte in Test Adapter Zendure Solarflow:
@lesiflo Moin! Das wäre rein theoretisch möglich - bin aber nicht sicher. Muß ich mir anschauen.
Danke für die neue Version!Edit: wo kommt der Block hin?
Komplett austauschen oder neues Script anlegen. Ist das komplette Script.
-
@lesiflo ok ... es hatte mich irritiert, daß das so wenig ist im Vergleich zum vorherigen. Bei mir sehe ich da nur Abgabe ins Haus ...
-
@diet99 Stimmt du hast recht, da fehlt was. Hab's nochmal neu reinkopiert. Sollte jetzt alles da sein.
-
@webranger Kann eigentlich kein allgemeines Problem sein, bei mir selbst läuft es jedenfalls noch.
-
@nograx werde nachher mal löschen und neu installieren
-
@lesiflo Danke! Da scheint aber immer noch was zu fehlen. Das hört so auf:
-
@diet99 sagte in Test Adapter Zendure Solarflow:
@lesiflo Danke! Da scheint aber immer noch was zu fehlen. Das hört so auf:
Da fehlt nicht's ist nur eingeklappt. Rechte Maustaste auf Objekt und "Baustein entfalten"
-
Nach einigem Hin und Her sollte die Berechnung im Adapter jetzt relativ gut passen. Was ich noch ein wenig optimieren muss ist die Berechnung der Lade und Entladeverluste.
-
@nograx sagte in Test Adapter Zendure Solarflow:
Nach einigem Hin und Her sollte die Berechnung im Adapter jetzt relativ gut passen. Was ich noch ein wenig optimieren muss ist die Berechnung der Lade und Entladeverluste.
Ok, werde mal das neue Release laden und berichten.
-
@lesiflo Danke,dann probiere ich das denn mal.
-
Habe Zendure PVHub2000 bestellt. Soll im April geliefert werden. In Vorbereitung zur Hub -Steuerung habe ich mir die App für iobroker angesehen. Sieht ja vielversprechend aus. Bei mir ist am Stromzähler ein bitShake SmartMeterReader - AIR | WiFi | TASMOTA vorinstalliert | angeschlossen.Die Energieflussanzeige in iobroker läuft sehr gut. Der aktuelle Leistungswert steht in MQTT zur Verfügung. Damit sollte man doch auch den Hub von SolarFlow steuern können. (?) Shelly pro 3em kann z.Z. nur 1 Phase erfassen uns ist recht teuer. Habe ich es richtig verstanden- Werteänderung nur mit dieser App hier und nicht über MQTT vom Zendure - Broker ?
-
@maxeddy2 Sollte über mqtt auch gehen aber dann muss man das meine ich als json senden. Ich würde das komplett mit dem Adapter machen zudem der auch mittlerweile die kWh Werte ausgibt, was ja Zendure aktuell nicht hinbekommt. Hier weichen die Werte dich sehr stark von denen in iobroker ab.
-
@maxeddy2 Warum soll Shelly Pro 3EM nur eine Phase erfassen können? Das verstehe ich gerade nicht ganz.