NEWS
E3DC Batterie Ladezustand mittels WLED visualisieren
-
Hi
ich hab eine PV Batterie und möchte dessen Ladezustand mittels WLED anzeigen lassen.
Ich triggere den Ladezustand und gleiche diesen mit den Zahlenwerten ab so dass dann der passende Preset geschaltet wird.
Die Wled Instanz funktioniert reibungslos. Der E3DC-rscp Adapter von iobroker zickt öfter und mein Blockly Programm funktioniert nicht wie gewünscht.Mittlerweile hab ich auch schon den modbusadapter ausprobiert....leider komme ich nicht weiter.
<xml xmlns="https://developers.google.com/blockly/xml"> <block type="on_ext" id="j)a}[J0N7enJ9_n{x|3u" x="214" y="-383"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="KK;Mwk3)j:2uykGYZz|Q"> <field name="oid">modbus.0.holdingRegisters.40083_Batterie</field> </shadow> </value> <statement name="STATEMENT"> <block type="comment" id="F;ht|qX+](rvKCm9e.:"> <field name="COMMENT">Batterie fast voll</field> <next> <block type="controls_if" id="b}7Qv{1u}N)Xg{W?44!."> <value name="IF0"> <block type="logic_compare" id="?1/+/BhoM?(6]JUCfNb$"> <field name="OP">GTE</field> <value name="A"> <block type="get_value" id="S?}SWt}kctWncGvWu0[}"> <field name="ATTR">val</field> <field name="OID">modbus.0.holdingRegisters.40083_Batterie</field> </block> </value> <value name="B"> <block type="math_number" id="OIRD|Ty/$Z7{7HV/ZW1a"> <field name="NUM">75</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="t0Jq^/Me5tt4mTX/C[uP"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.b4e62d698395.on</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="AlA@NsFp8eCiU{*b%];%"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="61j@@Uv#|.?zwlVH):,g"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.b4e62d698395.ps</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="ATnoHIjOPvk=FM@%^wjq"> <field name="NUM">3</field> </block> </value> </block> </next> </block> </statement> <next> <block type="on_ext" id="AklUN~bk=T;_2q/l^%=%"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="x(r3=k-77nfT_YopBldl"> <field name="oid">modbus.0.holdingRegisters.40083_Batterie</field> </shadow> </value> <statement name="STATEMENT"> <block type="comment" id="vK!{bh-5N(Af7Lur7jmp"> <field name="COMMENT">Batterie randvoll</field> <next> <block type="controls_if" id="U1d~=M{]J0puwZ(Qwq%"> <value name="IF0"> <block type="logic_compare" id="$Q^G=|k{!Y#omA)3(9AS"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="D9$Wq(o3ULVKtt~zR}A~"> <field name="ATTR">val</field> <field name="OID">modbus.0.holdingRegisters.40083_Batterie</field> </block> </value> <value name="B"> <block type="math_number" id="%Bz#BN9DQ6B^6^Vz.mpk"> <field name="NUM">100</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="=9Gu;WSrdGG;K,4dV!it"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.b4e62d698395.ps</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="dDygEtI+?-Lc|0#^ly*Q"> <field name="NUM">3</field> </block> </value> <next> <block type="control" id="nT~R1,ztC+8xl*:B2;s"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">wled.0.b4e62d698395.ps</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">3</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="math_number" id="qd7om[Dmm;WXQwH.SA"> <field name="NUM">3</field> </block> </value> <next> <block type="control" id="F~gjnW!NBbZ=NnWe4LAW"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">wled.0.b4e62d698395.ps</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">5</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="math_number" id="{HkB1W{(|XY^n]kX:)Ay"> <field name="NUM">3</field> </block> </value> </block> </next> </block> </next> </block> </statement> <next> <block type="on_ext" id="d2X##!nsleJocVolXw%"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="@);]UI6Uw6O=feS;ybD"> <field name="oid">modbus.0.holdingRegisters.40083_Batterie</field> </shadow> </value> <statement name="STATEMENT"> <block type="comment" id="]^i+*)*FMaP:;{:#Nca)"> <field name="COMMENT">Batterie mittel</field> <next> <block type="controls_if" id="@d;/%1a;xG|6[eBUZv/^"> <value name="IF0"> <block type="logic_operation" id="2rhf*|cz+`C-`Fb|RKik" inline="false"> <field name="OP">AND</field> <value name="A"> <block type="logic_compare" id="o,Gx$|b7FGA6)03wfdp?"> <field name="OP">GT</field> <value name="A"> <block type="get_value" id="884Jnf)V[M)29Lzk2^z~"> <field name="ATTR">val</field> <field name="OID">modbus.0.holdingRegisters.40083_Batterie</field> </block> </value> <value name="B"> <block type="math_number" id="I=~pC00^nPiD_X/G#1k0"> <field name="NUM">25</field> </block> </value> </block> </value> <value name="B"> <block type="logic_compare" id="sk@38S]oSLlNyF^gMw4|"> <field name="OP">LT</field> <value name="A"> <block type="get_value" id=":h/Nd^!glA#sc*Cyv+QB"> <field name="ATTR">val</field> <field name="OID">modbus.0.holdingRegisters.40083_Batterie</field> </block> </value> <value name="B"> <block type="math_number" id="L#_8A`T^=b^f_!b2sRqZ"> <field name="NUM">75</field> </block> </value> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="r,YELdXNvz;RQF,W7Xf-"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.b4e62d698395.ps</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id="5e{*[#9uJDg~8mbPo@hT"> <field name="NUM">2</field> </block> </value> <next> <block type="control" id="XEoc%lLA_Fj?1zOOuSVM"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">wled.0.b4e62d698395.ps</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">3</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="math_number" id="[u6#)HMt,otHj/Wx-/?~"> <field name="NUM">2</field> </block> </value> <next> <block type="control" id="?Rs5cw@FJmgSVXY[o^px"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">wled.0.b4e62d698395.ps</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">5</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="math_number" id="WSB|cao,Q+)/Hes0~:KQ"> <field name="NUM">2</field> </block> </value> </block> </next> </block> </next> </block> </statement> <next> <block type="on_ext" id="n4an9OCd]7oo#^@$+3;P"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">any</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="d,IhGp,ycQK}xt+o8Zj*"> <field name="oid">modbus.0.holdingRegisters.40083_Batterie</field> </shadow> </value> <statement name="STATEMENT"> <block type="comment" id="ZtfirOQ@$YrHihm3wi74"> <field name="COMMENT">Batterie leer</field> <next> <block type="controls_if" id="-n0lJGSq}HrY2o$7J}@F"> <value name="IF0"> <block type="logic_compare" id="{,b~:-j,R2yDq1Z7qniq"> <field name="OP">LTE</field> <value name="A"> <block type="get_value" id="C?r7*+lXPGXTv|P6tug7"> <field name="ATTR">val</field> <field name="OID">modbus.0.holdingRegisters.40083_Batterie</field> </block> </value> <value name="B"> <block type="math_number" id="!,e}/bMJ6Z16e5*Tp+~G"> <field name="NUM">25</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="hGj0YksofySzzv,?p.ag"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">wled.0.b4e62d698395.ps</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="math_number" id=".^Q}Z*KRf;bc9f-b7mb5"> <field name="NUM">1</field> </block> </value> <next> <block type="control" id="hMQl+-YQ#c2N|Ki]gR)p"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">wled.0.b4e62d698395.ps</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">3</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="math_number" id="`T`lN5rCiB4J(%rXZl2V"> <field name="NUM">1</field> </block> </value> <next> <block type="control" id="ws*UaMr#$Ax/FGFcsI#R"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">wled.0.b4e62d698395.ps</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">5</field> <field name="UNIT">sec</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="math_number" id=";2n.Jk98G6.uhzxCRxk/"> <field name="NUM">1</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </statement> </block> </xml>