Das hier ist eine Änderung dieses Themas https://www.technik22.de/d/859-powerstation-mit-balkonkraftwerk-automatisch-laden für Leute die Ihre Powerstation per PV-Akku/Batterie laden wollen.
Hier wird in der Zeit von 14 - 18:00 Uhr die Powerstation geladen, wenn die Batterie mit 13.4V geladen ist.
Deaktiviert wird in der Zeit 18:01 - und 14:00 Uhr (bitte ändert das auf 13:59 ab) oder wenn die Akku Spannung unter 13V fällt.
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="on_ext" id="Zgql;yuDe,,:_rAX3C)V" x="-562" y="-487">
<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="c]/3;=1!sN4{)CPfzNxZ">
<field name="oid">modbus.0.inputRegisters.238.771_Batterie_Spannung</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="2.=*?9hOO8@[JUQjgEtd">
<value name="IF0">
<block type="logic_operation" id="ndrAF3_75tSf27?:]R-G">
<field name="OP">AND</field>
<value name="A">
<block type="time_compare" id="{sb]hJH**rpw]L${Oi-o">
<mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
<field name="OPTION">between</field>
<field name="START_TIME">14:00</field>
<field name="END_TIME">18:00</field>
</block>
</value>
<value name="B">
<block type="logic_compare" id="7E%-HI-h]^y5fV%if44e">
<field name="OP">GTE</field>
<value name="A">
<block type="get_value" id="-2=lyQW(Zm.{rmM!_KVC">
<field name="ATTR">val</field>
<field name="OID">modbus.0.inputRegisters.238.771_Batterie_Spannung</field>
</block>
</value>
<value name="B">
<block type="math_number" id="9#~~w`/pQtlak;?TB{YV">
<field name="NUM">13.4</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id=".?{o2]Bl~!0mz7di8rjt">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">sonoff.0.Sonoff-Drucker.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="OIs2Fh_at4k0sLcK{7b5">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
<next>
<block type="controls_if" id="/QvjBBba^;9v8PxGd!_M">
<value name="IF0">
<block type="logic_operation" id="|).CqYpnuT9)ERpx}u,V">
<field name="OP">AND</field>
<value name="A">
<block type="time_compare" id="i}h_oYT_a7d[*v[NfFnE">
<mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
<field name="OPTION">between</field>
<field name="START_TIME">18:01</field>
<field name="END_TIME">14:00</field>
</block>
</value>
<value name="B">
<block type="logic_compare" id="6ZbD6nYn3Jq8omt113/K">
<field name="OP">LT</field>
<value name="A">
<block type="get_value" id="*{@t+cUK%JT}@%acL1CM">
<field name="ATTR">val</field>
<field name="OID">modbus.0.inputRegisters.238.771_Batterie_Spannung</field>
</block>
</value>
<value name="B">
<block type="math_number" id="4hZyJR]K7=e@26h){LHt">
<field name="NUM">13</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id=".L@,}8eCphxlOJ(r#Kda">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
<field name="OID">sonoff.0.Sonoff-Drucker.POWER</field>
<field name="WITH_DELAY">TRUE</field>
<field name="DELAY_MS">10</field>
<field name="UNIT">sec</field>
<field name="CLEAR_RUNNING">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="0T/Ap^wsX+WQ7uKsd=}k">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
</xml>
P.S……. Ich entlade jede Nacht die Powerstation mit einem Grid Inverter 🤭