Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Testscript: Hausspeicher dyn. laden nach Tibberpreisen uvm.

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.3k

Testscript: Hausspeicher dyn. laden nach Tibberpreisen uvm.

Geplant Angeheftet Gesperrt Verschoben Blockly
blockly
60 Beiträge 6 Kommentatoren 5.5k Aufrufe 6 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • B babl
    1. Script ist das Script um die Batterie an den Zeiten zu laden die vorher in den beiden Scripten ausgearbeitet wurden.
    <xml xmlns="https://developers.google.com/blockly/xml">
      <variables>
        <variable id="ML@$Lt_]|-r%{#NpcuTc">Angestrebte Ladung des Hausspeichers in %</variable>
        <variable id="EG.rbA-N:U.-0WD.q.!q">Ladeleistung Hausspeicher in Watt</variable>
        <variable id="goWOWAU+Ug5AX7zoPejz">Max Füllstand Hausspeicher in Wh</variable>
        <variable id="4J?aX*2N(RCecW;gi3B;">user_soc</variable>
        <variable id="OpCZqd.EFNouMwR1*Z?X">start ladung</variable>
        <variable id="g}MF8_uaSRlr;N!k%#HA">ladung</variable>
        <variable id="d}:9/gTxuS605HBk*Vh#">Aktueller Füllstand Hausspeicher</variable>
        <variable id="x]#UqG,4n[x3lR-{wi=%">berechnung</variable>
        <variable id="YLKsIDz]9MH,.z4Hlri/">mehr als 1 stunde</variable>
        <variable type="cron" id="schedule1">schedule1</variable>
        <variable type="cron" id="schedule2">schedule2</variable>
        <variable type="cron" id="schedule3">schedule3</variable>
      </variables>
      <block type="variables_set" id="LV/YM`ccmRcE}iIYofSo" x="88" y="413">
        <field name="VAR" id="ML@$Lt_]|-r%{#NpcuTc">Angestrebte Ladung des Hausspeichers in %</field>
        <value name="VALUE">
          <block type="math_number" id="Ob{p6sJ+B^]pk$uAhpbr">
            <field name="NUM">100</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="8HO5Q;6hbG~$,Hd{wWj?">
            <field name="VAR" id="EG.rbA-N:U.-0WD.q.!q">Ladeleistung Hausspeicher in Watt</field>
            <value name="VALUE">
              <block type="math_number" id="Pl)!Bv-Rf{F{0;A?j[4x">
                <field name="NUM">3000</field>
              </block>
            </value>
            <next>
              <block type="variables_set" id="cpeqv]RuwK^PLMbr#_}Y">
                <field name="VAR" id="goWOWAU+Ug5AX7zoPejz">Max Füllstand Hausspeicher in Wh</field>
                <value name="VALUE">
                  <block type="math_number" id="5lteLew:-BAmA:T47H0_">
                    <field name="NUM">5000</field>
                  </block>
                </value>
                <next>
                  <block type="variables_set" id="X./aSKc)=0pVT8EZZpCf">
                    <field name="VAR" id="OpCZqd.EFNouMwR1*Z?X">start ladung</field>
                    <value name="VALUE">
                      <block type="get_value" id="=5sbMX8r_3[G-?=W6TB_">
                        <field name="ATTR">val</field>
                        <field name="OID">0_userdata.0.Tibber.Bester_Preis.0.Uhrzeit</field>
                      </block>
                    </value>
                    <next>
                      <block type="schedule" id="PpHw,4;Y%c+B0c_2!yvm">
                        <field name="SCHEDULE">{"time":{"start":"sunset","end":"sunrise","mode":"hours","interval":1},"period":{"days":1}}</field>
                        <statement name="STATEMENT">
                          <block type="variables_set" id="+[Er4N3+fY[UF,]*nA_}">
                            <field name="VAR" id="d}:9/gTxuS605HBk*Vh#">Aktueller Füllstand Hausspeicher</field>
                            <value name="VALUE">
                              <block type="math_arithmetic" id="$W5(oC9tYC)d1d!ykQjZ">
                                <field name="OP">DIVIDE</field>
                                <value name="A">
                                  <shadow type="math_number" id="`q%]g0+3,ql3|b6{?.#V">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="math_arithmetic" id="SM3|Od8O8XifG};eY-M+">
                                    <field name="OP">MULTIPLY</field>
                                    <value name="A">
                                      <shadow type="math_number" id="S/`Dm(AO/oP=)BFqdH~T">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="variables_get" id="HISAN$fC4;k.Wv2E=G#8">
                                        <field name="VAR" id="goWOWAU+Ug5AX7zoPejz">Max Füllstand Hausspeicher in Wh</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <shadow type="math_number" id="xe.-h_}[@bU;zB4CdTq]">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="get_value" id="@N}??]8R#0xR/zo:5E]k">
                                        <field name="ATTR">val</field>
                                        <field name="OID">sonnen.0.status.userSoc</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number" id="nQ()6Jl.@|Iq}Q8~k7#)">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="math_number" id="^*9c-Frw{7[A8C0DJr}1">
                                    <field name="NUM">100</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="aai9l-l7vb)f::o9,[hA">
                                <field name="VAR" id="x]#UqG,4n[x3lR-{wi=%">berechnung</field>
                                <value name="VALUE">
                                  <block type="math_arithmetic" id=")Qb]Wr35*4![FU06.CDz">
                                    <field name="OP">MINUS</field>
                                    <value name="A">
                                      <shadow type="math_number" id="|}uEFH|!V1u3o%|`Z|P@">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="variables_get" id="_:biLL}VcUr-eEl$$HR?">
                                        <field name="VAR" id="goWOWAU+Ug5AX7zoPejz">Max Füllstand Hausspeicher in Wh</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <shadow type="math_number" id="P89`WEYM7yh]CKxW/`h:">
                                        <field name="NUM">1</field>
                                      </shadow>
                                      <block type="variables_get" id="b?R[@BuSC^8}|ynV7Z(w">
                                        <field name="VAR" id="d}:9/gTxuS605HBk*Vh#">Aktueller Füllstand Hausspeicher</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="controls_if" id="*aITaBVqga~c?`Y16L]y">
                                    <mutation else="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_compare" id="J4doY.kF$c~7WO6$@Zl]">
                                        <field name="OP">GTE</field>
                                        <value name="A">
                                          <block type="variables_get" id="^+y:hf;({LqRAy82+y:K">
                                            <field name="VAR" id="x]#UqG,4n[x3lR-{wi=%">berechnung</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="variables_get" id="7;izE9{|{{M#CPUoU2nG">
                                            <field name="VAR" id="EG.rbA-N:U.-0WD.q.!q">Ladeleistung Hausspeicher in Watt</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="debug" id="[7Q@F$)p#$IWLL9HJl!l">
                                        <field name="Severity">log</field>
                                        <value name="TEXT">
                                          <shadow type="text" id="@et]-#PUIz8NFG0/uDV.">
                                            <field name="TEXT">test</field>
                                          </shadow>
                                          <block type="text" id="rnD(s?y[I|jltc{t%v:)">
                                            <field name="TEXT">Hausspeicher braucht mehr Zeit als 1 Stunde zum laden</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="n:L0K+eh$HsloK,hJ=M}">
                                            <field name="VAR" id="YLKsIDz]9MH,.z4Hlri/">mehr als 1 stunde</field>
                                            <value name="VALUE">
                                              <block type="math_number" id="O7c08GJ4;v]O:KEocFOq">
                                                <field name="NUM">1</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <statement name="ELSE">
                                      <block type="variables_set" id="Nz-Y}HaS1|UPvlF923^,">
                                        <field name="VAR" id="YLKsIDz]9MH,.z4Hlri/">mehr als 1 stunde</field>
                                        <value name="VALUE">
                                          <block type="math_number" id=".[{{u#9HJ7]yXML`D7Zd">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="debug" id="|Xo|;2c$BPKS;]6=zd^/">
                                            <field name="Severity">log</field>
                                            <value name="TEXT">
                                              <shadow type="text" id="AM:gcMXCq6m^Ece,|srv">
                                                <field name="TEXT">test</field>
                                              </shadow>
                                              <block type="text" id="0GJt~9uV4UwpcIl]S]RN">
                                                <field name="TEXT">Hausspeicher braucht weniger Zeit als 1 Stunde zum laden</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="controls_if" id="~pa#*tFO;43xct8E*9*v">
                                        <mutation elseif="1"></mutation>
                                        <value name="IF0">
                                          <block type="logic_compare" id="{u6UgYjuG}BdOOvo=_+x">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="variables_get" id="BmTjF:*;]w@wgfpPUqGJ">
                                                <field name="VAR" id="YLKsIDz]9MH,.z4Hlri/">mehr als 1 stunde</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="b!(noN/?90nVl9a$LB1;">
                                                <field name="NUM">1</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="controls_if" id="},E,0+.1Q]o0O8^c/;RK">
                                            <mutation else="1"></mutation>
                                            <value name="IF0">
                                              <block type="logic_compare" id="=oI1,42OV5xXnv}ctl?O">
                                                <field name="OP">LT</field>
                                                <value name="A">
                                                  <block type="get_value" id="KSN[vS9-7KED$lQLG^^P">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">0_userdata.0.Tibber.Bester_Preis.1.Uhrzeit</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="get_value" id="c|zsGPH0{e!@7(a-(IpC">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">0_userdata.0.Tibber.Bester_Preis.0.Uhrzeit</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="variables_set" id="!oDadcObIuF/m!DKgoB+">
                                                <field name="VAR" id="OpCZqd.EFNouMwR1*Z?X">start ladung</field>
                                                <value name="VALUE">
                                                  <block type="math_arithmetic" id="|DfsO2R%l-ztqy(ASEnQ">
                                                    <field name="OP">MINUS</field>
                                                    <value name="A">
                                                      <shadow type="math_number" id=";h2oyrBp+Oaoz-j[5ZH#">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="variables_get" id="rJDB8`!n=C]l$I]N-?9(">
                                                        <field name="VAR" id="OpCZqd.EFNouMwR1*Z?X">start ladung</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <shadow type="math_number" id="CqPRA+C_4|(F#+xZv0%%">
                                                        <field name="NUM">1</field>
                                                      </shadow>
                                                      <block type="math_number" id="sA==0mTxWu!X7{eTz%bY">
                                                        <field name="NUM">1</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="schedule_create" id="Kb~{O?7%@kmbg29O![3k">
                                                    <field name="NAME">schedule2</field>
                                                    <value name="SCHEDULE">
                                                      <shadow type="field_cron">
                                                        <field name="CRON">* * * * *</field>
                                                      </shadow>
                                                      <block type="cron_builder" id="1_Cs!0I|N0;l;(waVeeC" inline="true">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" seconds="false" as_line="false"></mutation>
                                                        <field name="LINE">TRUE</field>
                                                        <field name="WITH_SECONDS">FALSE</field>
                                                        <value name="DOW">
                                                          <shadow type="text" id="!G?2GB#@?OtrhK]M|m;$">
                                                            <field name="TEXT">*</field>
                                                          </shadow>
                                                        </value>
                                                        <value name="MONTHS">
                                                          <shadow type="text" id="?F@+P_;??(#!a(D}miw0">
                                                            <field name="TEXT">*</field>
                                                          </shadow>
                                                        </value>
                                                        <value name="DAYS">
                                                          <shadow type="text" id="b!Uu0:A$WEbrwb{;f*TW">
                                                            <field name="TEXT">*</field>
                                                          </shadow>
                                                        </value>
                                                        <value name="HOURS">
                                                          <shadow type="text">
                                                            <field name="TEXT">*</field>
                                                          </shadow>
                                                          <block type="variables_get" id="R;1?aKX^DR%xuWY}Om{0">
                                                            <field name="VAR" id="OpCZqd.EFNouMwR1*Z?X">start ladung</field>
                                                          </block>
                                                        </value>
                                                        <value name="MINUTES">
                                                          <shadow type="text" id="R/lDIh]=qAH0ESK13ygY">
                                                            <field name="TEXT">*</field>
                                                          </shadow>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="STATEMENT">
                                                      <block type="update" id="Jiy46ovPO.HG]0uJ=)*5">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                        <field name="OID">0_userdata.0.SB_10_manuell_laden</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="logic_boolean" id="Ujbo)O0+l-~r0{25zaNM">
                                                            <field name="BOOL">TRUE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                            <statement name="ELSE">
                                              <block type="variables_set" id="Hg]_nxZ!8ws/WcM1^gza">
                                                <field name="VAR" id="OpCZqd.EFNouMwR1*Z?X">start ladung</field>
                                                <value name="VALUE">
                                                  <block type="variables_get" id="}8tlC_$h;XoxalZM?82#">
                                                    <field name="VAR" id="OpCZqd.EFNouMwR1*Z?X">start ladung</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="schedule_create" id="6LKI7T3!qFm,RTC*{1[D">
                                                    <field name="NAME">schedule3</field>
                                                    <value name="SCHEDULE">
                                                      <shadow type="field_cron">
                                                        <field name="CRON">* * * * *</field>
                                                      </shadow>
                                                      <block type="cron_builder" id="*V.rE+aUeX-^mjb9~gSU" inline="true">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" seconds="false" as_line="false"></mutation>
                                                        <field name="LINE">FALSE</field>
                                                        <field name="WITH_SECONDS">FALSE</field>
                                                        <value name="DOW">
                                                          <shadow type="text" id="bVsEN7f16vgRwp7{Le%U">
                                                            <field name="TEXT">*</field>
                                                          </shadow>
                                                        </value>
                                                        <value name="MONTHS">
                                                          <shadow type="text" id="+AE;v0T)S^2`+$Rv$?P#">
                                                            <field name="TEXT">*</field>
                                                          </shadow>
                                                        </value>
                                                        <value name="DAYS">
                                                          <shadow type="text" id="ZQ!l*(E#|J2i,Z^!67wG">
                                                            <field name="TEXT">*</field>
                                                          </shadow>
                                                        </value>
                                                        <value name="HOURS">
                                                          <shadow type="text">
                                                            <field name="TEXT">*</field>
                                                          </shadow>
                                                          <block type="variables_get" id="yP;{JyQoEhN+%k1mE/j*">
                                                            <field name="VAR" id="OpCZqd.EFNouMwR1*Z?X">start ladung</field>
                                                          </block>
                                                        </value>
                                                        <value name="MINUTES">
                                                          <shadow type="text" id="7f;y])6]3,5!n)C:aU$i">
                                                            <field name="TEXT">*</field>
                                                          </shadow>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="STATEMENT">
                                                      <block type="update" id="BX/Z_7g8Gl;x:|y(r;w(">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                        <field name="OID">0_userdata.0.SB_10_manuell_laden</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="logic_boolean" id="fbSR%WF{pHU9#zf|HhZL">
                                                            <field name="BOOL">TRUE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                        <value name="IF1">
                                          <block type="logic_compare" id="Su1?m]QD3]1SfLJVdyB?">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="variables_get" id="${+eKYzVR?MP(mtP:}*k">
                                                <field name="VAR" id="YLKsIDz]9MH,.z4Hlri/">mehr als 1 stunde</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="Iuu%~s`qi}I%tG5ax1ez">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO1">
                                          <block type="schedule_create" id="72:7^3=1b^~aeu-z/8@|">
                                            <field name="NAME">schedule1</field>
                                            <value name="SCHEDULE">
                                              <shadow type="field_cron" id="e]-wfGNxa(WCODp.0)~N">
                                                <field name="CRON">* * * * *</field>
                                              </shadow>
                                              <block type="cron_builder" id="E5OPeWM?Q2CisyT)yi.t" inline="true">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" seconds="false" as_line="false"></mutation>
                                                <field name="LINE">FALSE</field>
                                                <field name="WITH_SECONDS">FALSE</field>
                                                <value name="DOW">
                                                  <shadow type="text" id=":,]7l,/9;x;U[/{U?7BR">
                                                    <field name="TEXT">*</field>
                                                  </shadow>
                                                </value>
                                                <value name="MONTHS">
                                                  <shadow type="text" id="Ch2bg`fbk$6MjiBAiB;`">
                                                    <field name="TEXT">*</field>
                                                  </shadow>
                                                </value>
                                                <value name="DAYS">
                                                  <shadow type="text" id="9hC5JVB==f*vj)alD^hF">
                                                    <field name="TEXT">*</field>
                                                  </shadow>
                                                </value>
                                                <value name="HOURS">
                                                  <shadow type="text" id="Fi+4#uvW~;];=W|F^-)}">
                                                    <field name="TEXT">*</field>
                                                  </shadow>
                                                  <block type="variables_get" id="%zuvphPJ*:|$ogkn3PM^">
                                                    <field name="VAR" id="OpCZqd.EFNouMwR1*Z?X">start ladung</field>
                                                  </block>
                                                </value>
                                                <value name="MINUTES">
                                                  <shadow type="text" id="?|:Z-!075n/pD4/t+6u]">
                                                    <field name="TEXT">*</field>
                                                  </shadow>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="STATEMENT">
                                              <block type="update" id="W#8k+fCnusVzQys3JIoR">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">0_userdata.0.SB_10_manuell_laden</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="|BSESbtBs=H9eqL#m??O">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </next>
      </block>
      <block type="on_ext" id="}ec}5MTos#m/+Jc%mAv," x="88" y="1665">
        <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="9T+8w9LUyD0C|]4R5vds">
            <field name="oid">sonnen.0.status.userSoc</field>
          </shadow>
        </value>
        <statement name="STATEMENT">
          <block type="controls_if" id="2i;.un?=k!HN(E#9_S}{">
            <value name="IF0">
              <block type="logic_compare" id="-|PDR$iLtW*acAH_g;%8">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="get_value" id="_[9Nyawe!,B~3YiY`6B*">
                    <field name="ATTR">val</field>
                    <field name="OID">0_userdata.0.SB_10_manuell_laden</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_boolean" id="e+a51Z==w4Gi(JCD/TP(">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="variables_set" id="9:hB{DuI0$WVq*3K-fh4">
                <field name="VAR" id="4J?aX*2N(RCecW;gi3B;">user_soc</field>
                <value name="VALUE">
                  <block type="on_source" id="e$4T}@8fHA)f[PLb0u7c">
                    <field name="ATTR">state.val</field>
                  </block>
                </value>
                <next>
                  <block type="controls_if" id="~w!Ro5h?:#7tnE4=x9-Y">
                    <mutation elseif="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="4B5Q!,$t_dk8cPg?slzF">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="variables_get" id="yV,ZA2NpDWg4H]hGr?/$">
                            <field name="VAR" id="4J?aX*2N(RCecW;gi3B;">user_soc</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="t3vGPyaw8nXwWzeR][XX">
                            <field name="VAR" id="ML@$Lt_]|-r%{#NpcuTc">Angestrebte Ladung des Hausspeichers in %</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="controls_if" id="^WjYBsozNBT-$d/yBGcp">
                        <mutation else="1"></mutation>
                        <value name="IF0">
                          <block type="logic_operation" id="*yY1cJY1p4x9@dR4toT-" inline="false">
                            <field name="OP">OR</field>
                            <value name="A">
                              <block type="logic_compare" id=")|N4!7dE$lGQf%IKqU,~">
                                <field name="OP">LT</field>
                                <value name="A">
                                  <block type="variables_get" id="aAPwk3f=aFk1X%rD}Or@">
                                    <field name="VAR" id="4J?aX*2N(RCecW;gi3B;">user_soc</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="PZ#ooa4jyT9#1*[as2XV">
                                    <field name="NUM">5</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id="M:`Sz,:(g[v/e}!5M=C:">
                                <field name="OP">GT</field>
                                <value name="A">
                                  <block type="variables_get" id="Mu%rTuZNodaJCDc2-wOp">
                                    <field name="VAR" id="4J?aX*2N(RCecW;gi3B;">user_soc</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="EqY/*s2tp5KA%N}vqY)R">
                                    <field name="NUM">95</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="variables_set" id="dFt3k]R?%yno!6e![[1~">
                            <field name="VAR" id="g}MF8_uaSRlr;N!k%#HA">ladung</field>
                            <value name="VALUE">
                              <block type="math_arithmetic" id="ZZ7u1pzwK.k~RIyE(5%B">
                                <field name="OP">DIVIDE</field>
                                <value name="A">
                                  <shadow type="math_number" id="o`FFL(Ww=gzl.gm@yEUe">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="variables_get" id="GOH!9`0Ns689,KS/yG:e">
                                    <field name="VAR" id="EG.rbA-N:U.-0WD.q.!q">Ladeleistung Hausspeicher in Watt</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <shadow type="math_number">
                                    <field name="NUM">1</field>
                                  </shadow>
                                  <block type="math_number" id="/?Hc2`zev:ICtMC2d}o/">
                                    <field name="NUM">2</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="variables_set" id="Y1o%+C9-[|PE/*2,9wt8">
                            <field name="VAR" id="g}MF8_uaSRlr;N!k%#HA">ladung</field>
                            <value name="VALUE">
                              <block type="variables_get" id="yK%yYFy|-Ls_zbjpUWx3">
                                <field name="VAR" id="EG.rbA-N:U.-0WD.q.!q">Ladeleistung Hausspeicher in Watt</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                      </block>
                    </statement>
                    <value name="IF1">
                      <block type="logic_compare" id="YCo~T:mO^H~4SgA+}xNj">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="{7}9wHB7]Wd9OKI~5{G|">
                            <field name="VAR" id="4J?aX*2N(RCecW;gi3B;">user_soc</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="variables_get" id="iM_7JOkAno;+HG3rPOpG">
                            <field name="VAR" id="ML@$Lt_]|-r%{#NpcuTc">Angestrebte Ladung des Hausspeichers in %</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO1">
                      <block type="variables_set" id="b[n/uLuI[HVEuq__}k$y">
                        <field name="VAR" id="g}MF8_uaSRlr;N!k%#HA">ladung</field>
                        <value name="VALUE">
                          <block type="math_number" id="p1sNSm2Id}8}[Ov.Le`C">
                            <field name="NUM">0</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </statement>
        <next>
          <block type="schedule" id="+NROA+tjABrSw/,khlQV">
            <field name="SCHEDULE">*/10 * * * * *</field>
            <statement name="STATEMENT">
              <block type="control" id="a6m]ztAM=I`t[0uNBv8D">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">sonnen.0.control.charge</field>
                <field name="WITH_DELAY">FALSE</field>
                <value name="VALUE">
                  <block type="variables_get" id="d*3eJ0B6U?ie;$;,Nud3">
                    <field name="VAR" id="g}MF8_uaSRlr;N!k%#HA">ladung</field>
                  </block>
                </value>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </xml>
    

    script3.jpg
    script3a.jpg

    paul53P Offline
    paul53P Offline
    paul53
    schrieb am zuletzt editiert von paul53
    #30

    @babl sagte: Script ist das Script um die Batterie an den Zeiten zu laden die vorher in den beiden Scripten ausgearbeitet wurden.

    Das funktioniert so nicht: Wenn Zeitpläne innerhalb eines Triggers neu erstellt werden, müssen die laufenden Zeitpläne vorher gelöscht werden. Außerdem darf die Variable start_ladung nicht nur bei Skriptstart gesetzt werden.

    Der untere Teil (Trigger: "User State of Charge") gefällt mir wesentlich besser als der Ursprung.

    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

    B 1 Antwort Letzte Antwort
    0
    • paul53P paul53

      @babl sagte: Script ist das Script um die Batterie an den Zeiten zu laden die vorher in den beiden Scripten ausgearbeitet wurden.

      Das funktioniert so nicht: Wenn Zeitpläne innerhalb eines Triggers neu erstellt werden, müssen die laufenden Zeitpläne vorher gelöscht werden. Außerdem darf die Variable start_ladung nicht nur bei Skriptstart gesetzt werden.

      Der untere Teil (Trigger: "User State of Charge") gefällt mir wesentlich besser als der Ursprung.

      B Offline
      B Offline
      babl
      schrieb am zuletzt editiert von
      #31

      @paul53 wie meinst du das, das die zeitpläne so gar nicht funktionieren, ich habe mir gedacht das blockly erstellt da einen Cron Schedule im Hintergrund mit dem was dann unten drin steht, ist wohl nicht so.

      paul53P 1 Antwort Letzte Antwort
      0
      • B babl

        @paul53 wie meinst du das, das die zeitpläne so gar nicht funktionieren, ich habe mir gedacht das blockly erstellt da einen Cron Schedule im Hintergrund mit dem was dann unten drin steht, ist wohl nicht so.

        paul53P Offline
        paul53P Offline
        paul53
        schrieb am zuletzt editiert von
        #32

        @babl sagte: blockly erstellt da einen Cron Schedule im Hintergrund mit dem was dann unten drin steht

        Ja, aber der Zeitplan vom Vortag muss erst gelöscht werden, da er sonst zusätzlich weiter läuft.

        Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
        Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

        B 2 Antworten Letzte Antwort
        0
        • paul53P paul53

          @babl sagte: blockly erstellt da einen Cron Schedule im Hintergrund mit dem was dann unten drin steht

          Ja, aber der Zeitplan vom Vortag muss erst gelöscht werden, da er sonst zusätzlich weiter läuft.

          B Offline
          B Offline
          babl
          schrieb am zuletzt editiert von
          #33

          @paul53 meinst du so?
          script3b.jpg

          paul53P 1 Antwort Letzte Antwort
          0
          • paul53P paul53

            @babl sagte: blockly erstellt da einen Cron Schedule im Hintergrund mit dem was dann unten drin steht

            Ja, aber der Zeitplan vom Vortag muss erst gelöscht werden, da er sonst zusätzlich weiter läuft.

            B Offline
            B Offline
            babl
            schrieb am zuletzt editiert von
            #34

            @paul53 Funktioniert dann das Script auch sollte es im schlimmsten Fall dazu kommen daß der billigste punkt um 0Uhr ist und der 2. billigste um 23 Uhr?

            paul53P 1 Antwort Letzte Antwort
            0
            • B babl

              @paul53 meinst du so?
              script3b.jpg

              paul53P Offline
              paul53P Offline
              paul53
              schrieb am zuletzt editiert von paul53
              #35

              @babl sagte: meinst du so?

              Nein, es müssen immer alle Zeitpläne gestoppt werden, da z.B. vorherige Nacht > 1h und diese Nacht < 1 h geladen werden kann. Außerdem muss der Ladevorgang nicht bei > 1 h laden nicht zweimal gestartet werden, da er nicht automatisch nach einer Stunde endet, sondern erst, wenn voll geladen ist: Der Datenpunkt "manuell_laden" muss auch zurück gesetzt werden.

              Bild_2023-01-06_134437936.png

              Was ist das überhaupt für ein Trigger? Astro-Trigger macht in diesem Zusammenhang keinen Sinn!

              Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
              Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

              1 Antwort Letzte Antwort
              0
              • B babl

                @paul53 Funktioniert dann das Script auch sollte es im schlimmsten Fall dazu kommen daß der billigste punkt um 0Uhr ist und der 2. billigste um 23 Uhr?

                paul53P Offline
                paul53P Offline
                paul53
                schrieb am zuletzt editiert von
                #36

                @babl
                Stoppen der Zeitpläne:

                Bild_2023-01-06_140244972.png

                Trigger jede Stunde von 19:00 bis 5:00 Uhr und Auswertung nur zu beiden möglichen Startzeitpunkten:

                Bild_2023-01-06_140532085.png

                Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                B 1 Antwort Letzte Antwort
                0
                • paul53P paul53

                  @babl
                  Stoppen der Zeitpläne:

                  Bild_2023-01-06_140244972.png

                  Trigger jede Stunde von 19:00 bis 5:00 Uhr und Auswertung nur zu beiden möglichen Startzeitpunkten:

                  Bild_2023-01-06_140532085.png

                  B Offline
                  B Offline
                  babl
                  schrieb am zuletzt editiert von
                  #37

                  @paul53 so hätte ich es jetzt überarbeitet.

                  script3c.jpg

                  paul53P 1 Antwort Letzte Antwort
                  0
                  • B babl

                    @paul53 so hätte ich es jetzt überarbeitet.

                    script3c.jpg

                    paul53P Offline
                    paul53P Offline
                    paul53
                    schrieb am zuletzt editiert von paul53
                    #38

                    @babl sagte: so hätte ich es jetzt überarbeitet.

                    Das wird wohl so nicht funktionieren?

                    Nimm besser das Javascript, das die beiden Startzeitpunkte ermittelt, und das folgende Blockly:

                    <xml xmlns="https://developers.google.com/blockly/xml">
                     <variables>
                       <variable id="_o(A;@hO^Y!0l@!%+U[U">Groesse_Hausspeicher_in_Wh</variable>
                       <variable id="p*yERo]2-$0,t=p+lkg8">Beladeleistung_Hausspeicher_in_Watt</variable>
                       <variable id="tUKE0PX3K5)VD=YNcLvD">userSoc</variable>
                       <variable id="662+@SNN1=iL4}c|%OCB">Gewünschte Volladung der Batterie in %</variable>
                       <variable id="7%%2=ua6TF*_3*n=+KFP">ladung</variable>
                       <variable id="i!o.-Ha)p18KJmC7sy:z">stunde</variable>
                       <variable id="2]{L:*:~P%K~o/VBmsiG">start1h</variable>
                       <variable id="W81ft)h|Zh*R-R*?Fb?/">start2h</variable>
                       <variable id="-^A9hW=83#~9i72OlX=6">Hausspeicher_User_Soc_in%</variable>
                       <variable id="ML@$Lt_]|-r%{#NpcuTc">Gewünschte Volladung des Hausspeichers in Wh</variable>
                       <variable id="i.}R%W]BfZO,N3SI9H@(">Aktueller Inhalt des Hausspeichers in Wh</variable>
                       <variable id="8%;!XNXHU4)/mq1Q{26l">benoetigte_Wh_fuer_Vollladung</variable>
                     </variables>
                     <block type="on_ext" id="!:S,u%F%,D|^qI+fx8+7" x="913" y="-62">
                       <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="`}o+tiQuWh+V$coUrcqd">
                           <field name="oid">default</field>
                         </shadow>
                         <block type="text" id="u6A}Mf}c?SsdQ$-NSY|Q">
                           <field name="TEXT">sonnen.0.status.userSoc</field>
                         </block>
                       </value>
                       <statement name="STATEMENT">
                         <block type="controls_if" id="2i;.un?=k!HN(E#9_S}{">
                           <value name="IF0">
                             <block type="get_value" id="_[9Nyawe!,B~3YiY`6B*">
                               <field name="ATTR">val</field>
                               <field name="OID">0_userdata.0.SB_10_manuell_laden</field>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="variables_set" id=",ve{v3}#7O$OVB;qf4b3">
                               <field name="VAR" id="tUKE0PX3K5)VD=YNcLvD">userSoc</field>
                               <value name="VALUE">
                                 <block type="on_source" id="=Nyl81_dezLL_9N^QooF">
                                   <field name="ATTR">state.val</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="controls_if" id="S[wO/T])mRy4l-TM9G~]">
                                   <mutation else="1"></mutation>
                                   <value name="IF0">
                                     <block type="logic_compare" id="2f4p(u=}(=K%7M%4r^T,">
                                       <field name="OP">LT</field>
                                       <value name="A">
                                         <block type="variables_get" id="Q)@yXE3VuEJmeqc!iI]3">
                                           <field name="VAR" id="tUKE0PX3K5)VD=YNcLvD">userSoc</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="variables_get" id="zR1p/~~]}.J]ql^Q9C.j">
                                           <field name="VAR" id="662+@SNN1=iL4}c|%OCB">Gewünschte Volladung der Batterie in %</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="controls_if" id="qb(ZsyG;/ctpEs%AgIhu">
                                       <mutation else="1"></mutation>
                                       <value name="IF0">
                                         <block type="logic_operation" id="WR,do8bkYb4;$b0d0ZRz" inline="false">
                                           <field name="OP">OR</field>
                                           <value name="A">
                                             <block type="logic_compare" id="+)8PQPUGZ:f^FSo.X8XH">
                                               <field name="OP">LT</field>
                                               <value name="A">
                                                 <block type="variables_get" id="H.`T3QRHnKeW8/r[|Z_X">
                                                   <field name="VAR" id="tUKE0PX3K5)VD=YNcLvD">userSoc</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="math_number" id="]M3DjmiXpy??;HfY3IRA">
                                                   <field name="NUM">5</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="logic_compare" id="#hzl#oPN@kR$Vml(Mb=-">
                                               <field name="OP">GT</field>
                                               <value name="A">
                                                 <block type="variables_get" id="`@hXr^ZK`egjbYkULC%E">
                                                   <field name="VAR" id="tUKE0PX3K5)VD=YNcLvD">userSoc</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="math_number" id="CZTTbH4U%.tnZndUo?)-">
                                                   <field name="NUM">95</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <statement name="DO0">
                                         <block type="variables_set" id="i?5`%cy!H,*)mre5DN,g">
                                           <field name="VAR" id="7%%2=ua6TF*_3*n=+KFP">ladung</field>
                                           <value name="VALUE">
                                             <block type="math_arithmetic" id="0R*gz0*U~M)o$]a@aH3^">
                                               <field name="OP">DIVIDE</field>
                                               <value name="A">
                                                 <shadow type="math_number">
                                                   <field name="NUM">1</field>
                                                 </shadow>
                                                 <block type="variables_get" id="NRSK%SF9*$IrZJK5O+?W">
                                                   <field name="VAR" id="p*yERo]2-$0,t=p+lkg8">Beladeleistung_Hausspeicher_in_Watt</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <shadow type="math_number">
                                                   <field name="NUM">1</field>
                                                 </shadow>
                                                 <block type="math_number" id=":Yi=O@m`xRWa=P-q=xW)">
                                                   <field name="NUM">2</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                         </block>
                                       </statement>
                                       <statement name="ELSE">
                                         <block type="variables_set" id="bRNS:q59Ud-z?;Z?q:6|">
                                           <field name="VAR" id="7%%2=ua6TF*_3*n=+KFP">ladung</field>
                                           <value name="VALUE">
                                             <block type="variables_get" id="T79bP^WCXStAdTBj{KVH">
                                               <field name="VAR" id="p*yERo]2-$0,t=p+lkg8">Beladeleistung_Hausspeicher_in_Watt</field>
                                             </block>
                                           </value>
                                         </block>
                                       </statement>
                                     </block>
                                   </statement>
                                   <statement name="ELSE">
                                     <block type="update" id="d3zagXK[uKqXL~AVHIl+">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">0_userdata.0.SB_10_manuell_laden</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="logic_boolean" id="HqS~dS}s![:3!na`{LE|">
                                           <field name="BOOL">FALSE</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="variables_set" id="$grJ9zwL;,f|c:%(i4iO">
                                           <field name="VAR" id="7%%2=ua6TF*_3*n=+KFP">ladung</field>
                                           <value name="VALUE">
                                             <block type="math_number" id="54W^ln.jYu|z27??![pW">
                                               <field name="NUM">0</field>
                                             </block>
                                           </value>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                 </block>
                               </next>
                             </block>
                           </statement>
                         </block>
                       </statement>
                       <next>
                         <block type="schedule" id="HswSC2x#x@q*V16btQTB">
                           <field name="SCHEDULE">*/8 * * * * *</field>
                           <statement name="STATEMENT">
                             <block type="control" id="{Vq?}rT:I^wT${3(H3+.">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                               <field name="OID">sonnen.0.control.charge</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="variables_get" id="n7~aIw=1}rs5#-lK+@V3">
                                   <field name="VAR" id="7%%2=ua6TF*_3*n=+KFP">ladung</field>
                                 </block>
                               </value>
                             </block>
                           </statement>
                         </block>
                       </next>
                     </block>
                     <block type="variables_set" id="MZP??-@GgCQ0uW}:EOVg" x="87" y="194">
                       <field name="VAR" id="_o(A;@hO^Y!0l@!%+U[U">Groesse_Hausspeicher_in_Wh</field>
                       <value name="VALUE">
                         <block type="math_number" id="o8-buWU0G_HoI4}4;evH">
                           <field name="NUM">5000</field>
                         </block>
                       </value>
                       <next>
                         <block type="variables_set" id="(S#.kljR#zd~`f9RB(yq">
                           <field name="VAR" id="p*yERo]2-$0,t=p+lkg8">Beladeleistung_Hausspeicher_in_Watt</field>
                           <value name="VALUE">
                             <block type="math_number" id="Zu?;iFSO1mu1EKv/TXIl">
                               <field name="NUM">3000</field>
                             </block>
                           </value>
                           <next>
                             <block type="variables_set" id="GKzOcYV_*aI#z-DvQM-l">
                               <field name="VAR" id="662+@SNN1=iL4}c|%OCB">Gewünschte Volladung der Batterie in %</field>
                               <value name="VALUE">
                                 <block type="math_number" id="~rqaOR`YtTkL*2N]d]Pb">
                                   <field name="NUM">100</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="schedule" id="PpHw,4;Y%c+B0c_2!yvm">
                                   <field name="SCHEDULE">0 0-5,19-23 * * *</field>
                                   <statement name="STATEMENT">
                                     <block type="variables_set" id="+CObYKOl:duuBTJwO?fN">
                                       <field name="VAR" id="i!o.-Ha)p18KJmC7sy:z">stunde</field>
                                       <value name="VALUE">
                                         <block type="time_get" id="{7CG2P6msM+sg=DI/Ib*">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                           <field name="OPTION">h</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="variables_set" id=";w9ec0563t3N?#;PR6lg">
                                           <field name="VAR" id="2]{L:*:~P%K~o/VBmsiG">start1h</field>
                                           <value name="VALUE">
                                             <block type="get_value" id="+edqU(uyzR7C!in:@y!m">
                                               <field name="ATTR">val</field>
                                               <field name="OID">0_userdata.0.Tibber.Bester_Preis.Start1h</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="variables_set" id="}/(:p1v0{D5D)^a^_7eM">
                                               <field name="VAR" id="W81ft)h|Zh*R-R*?Fb?/">start2h</field>
                                               <value name="VALUE">
                                                 <block type="get_value" id="_)S5(r}hvt!234ABX7Lj">
                                                   <field name="ATTR">val</field>
                                                   <field name="OID">0_userdata.0.Tibber.Bester_Preis.Start2h</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="controls_if" id="V^C-W~Z]9ve.tu:OK[{b">
                                                   <value name="IF0">
                                                     <block type="logic_operation" id=",s,PDs0@SsAH+2PG[P2^" inline="false">
                                                       <field name="OP">AND</field>
                                                       <value name="A">
                                                         <block type="logic_operation" id="[Em}#@0oLHmA_`E|F34W">
                                                           <field name="OP">OR</field>
                                                           <value name="A">
                                                             <block type="logic_compare" id="4,c|9~-qXY=toW32Ju)#">
                                                               <field name="OP">EQ</field>
                                                               <value name="A">
                                                                 <block type="variables_get" id="b{gm}vW!jZgpF^){AEia">
                                                                   <field name="VAR" id="i!o.-Ha)p18KJmC7sy:z">stunde</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="variables_get" id="7(h*]j;D}wA9b^Oiq!66">
                                                                   <field name="VAR" id="2]{L:*:~P%K~o/VBmsiG">start1h</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="logic_compare" id="=NSBA(Vb)IIYp.vkf^;B">
                                                               <field name="OP">EQ</field>
                                                               <value name="A">
                                                                 <block type="variables_get" id="N@`O)}08SBDD7T9fhJWo">
                                                                   <field name="VAR" id="i!o.-Ha)p18KJmC7sy:z">stunde</field>
                                                                 </block>
                                                               </value>
                                                               <value name="B">
                                                                 <block type="variables_get" id=":AwViRZ{e7#a8N4Vw=r1">
                                                                   <field name="VAR" id="W81ft)h|Zh*R-R*?Fb?/">start2h</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <value name="B">
                                                         <block type="logic_negate" id="Q/R*]xz%tp{@9@qvYxJJ">
                                                           <value name="BOOL">
                                                             <block type="get_value" id="wp[}xVYrx(%|;LlRFs,%">
                                                               <field name="ATTR">val</field>
                                                               <field name="OID">0_userdata.0.SB_10_manuell_laden</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                     </block>
                                                   </value>
                                                   <statement name="DO0">
                                                     <block type="comment" id="?{,$;?Kz_31x-o=h1qXF">
                                                       <field name="COMMENT">Hausspeicher aktueller User Soc Datenpunkt (diese Variable wird leider unten in der Ausführung nicht übernommen, daher muß man sie unten manuell eingeben)</field>
                                                       <next>
                                                         <block type="variables_set" id="!70`ha%X:wSKw!l4tfT0">
                                                           <field name="VAR" id="-^A9hW=83#~9i72OlX=6">Hausspeicher_User_Soc_in%</field>
                                                           <value name="VALUE">
                                                             <block type="get_value" id="M~|s)d7rGJAty~MxH`GT">
                                                               <field name="ATTR">val</field>
                                                               <field name="OID">sonnen.0.status.userSoc</field>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="variables_set" id="aT316iyC~O^.QPGm#usj">
                                                               <field name="VAR" id="ML@$Lt_]|-r%{#NpcuTc">Gewünschte Volladung des Hausspeichers in Wh</field>
                                                               <value name="VALUE">
                                                                 <block type="math_arithmetic" id="L,d!WkA(ZTF?rMk*gX|:">
                                                                   <field name="OP">DIVIDE</field>
                                                                   <value name="A">
                                                                     <shadow type="math_number">
                                                                       <field name="NUM">1</field>
                                                                     </shadow>
                                                                     <block type="math_arithmetic" id="Y?ptK9X2+dF|Q6oNZfa;">
                                                                       <field name="OP">MULTIPLY</field>
                                                                       <value name="A">
                                                                         <shadow type="math_number">
                                                                           <field name="NUM">1</field>
                                                                         </shadow>
                                                                         <block type="variables_get" id="Y[a`=E?0,0EU%,*`|@PL">
                                                                           <field name="VAR" id="_o(A;@hO^Y!0l@!%+U[U">Groesse_Hausspeicher_in_Wh</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="B">
                                                                         <shadow type="math_number" id="D:Q_eDfS0$0eFkE.s~d9">
                                                                           <field name="NUM">1</field>
                                                                         </shadow>
                                                                         <block type="variables_get" id="h+AE0hEXUMZzgS/(PqHw">
                                                                           <field name="VAR" id="662+@SNN1=iL4}c|%OCB">Gewünschte Volladung der Batterie in %</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                   <value name="B">
                                                                     <shadow type="math_number">
                                                                       <field name="NUM">1</field>
                                                                     </shadow>
                                                                     <block type="math_number" id=".q-.W`ppE=W6~U,G[M{G">
                                                                       <field name="NUM">100</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <next>
                                                                 <block type="debug" id="}G,+oeAzYOWBp`(;iE/L">
                                                                   <field name="Severity">log</field>
                                                                   <value name="TEXT">
                                                                     <shadow type="text">
                                                                       <field name="TEXT">test</field>
                                                                     </shadow>
                                                                     <block type="variables_get" id="@ylEhTd*p|@Qpf9DO01~">
                                                                       <field name="VAR" id="ML@$Lt_]|-r%{#NpcuTc">Gewünschte Volladung des Hausspeichers in Wh</field>
                                                                     </block>
                                                                   </value>
                                                                   <next>
                                                                     <block type="variables_set" id="QpSp*L2/obVl#BmPW=Im">
                                                                       <field name="VAR" id="i.}R%W]BfZO,N3SI9H@(">Aktueller Inhalt des Hausspeichers in Wh</field>
                                                                       <value name="VALUE">
                                                                         <block type="math_arithmetic" id="4yEqQ!XOBu/CM1z55rZ+">
                                                                           <field name="OP">DIVIDE</field>
                                                                           <value name="A">
                                                                             <shadow type="math_number">
                                                                               <field name="NUM">1</field>
                                                                             </shadow>
                                                                             <block type="math_arithmetic" id="NOV4:y,hKM_4WGK+-L5a">
                                                                               <field name="OP">MULTIPLY</field>
                                                                               <value name="A">
                                                                                 <shadow type="math_number">
                                                                                   <field name="NUM">1</field>
                                                                                 </shadow>
                                                                                 <block type="variables_get" id="@@bf!^!!zG3ZazhhDi3N">
                                                                                   <field name="VAR" id="_o(A;@hO^Y!0l@!%+U[U">Groesse_Hausspeicher_in_Wh</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="B">
                                                                                 <shadow type="math_number">
                                                                                   <field name="NUM">1</field>
                                                                                 </shadow>
                                                                                 <block type="variables_get" id="r8^7W*S+mf8?Y+^iCEu^">
                                                                                   <field name="VAR" id="-^A9hW=83#~9i72OlX=6">Hausspeicher_User_Soc_in%</field>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </value>
                                                                           <value name="B">
                                                                             <shadow type="math_number">
                                                                               <field name="NUM">1</field>
                                                                             </shadow>
                                                                             <block type="math_number" id="z=X5B0F%iKCu_{K=nTtz">
                                                                               <field name="NUM">100</field>
                                                                             </block>
                                                                           </value>
                                                                         </block>
                                                                       </value>
                                                                       <next>
                                                                         <block type="variables_set" id="GcnkwY=Av#fEW9`j_(LA">
                                                                           <field name="VAR" id="8%;!XNXHU4)/mq1Q{26l">benoetigte_Wh_fuer_Vollladung</field>
                                                                           <value name="VALUE">
                                                                             <block type="math_arithmetic" id="BC:,rAc!m7F!HG_H?a`.">
                                                                               <field name="OP">MINUS</field>
                                                                               <value name="A">
                                                                                 <shadow type="math_number" id="ZEU-dcK#.OUwTR%xlpL!">
                                                                                   <field name="NUM">1</field>
                                                                                 </shadow>
                                                                                 <block type="variables_get" id="znl~Q@O?I@#g8i;LBO3F">
                                                                                   <field name="VAR" id="ML@$Lt_]|-r%{#NpcuTc">Gewünschte Volladung des Hausspeichers in Wh</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="B">
                                                                                 <shadow type="math_number" id="`6.:,gs|}r;|)i=WOM)q">
                                                                                   <field name="NUM">1</field>
                                                                                 </shadow>
                                                                                 <block type="variables_get" id=".aFs`RGDYOQiyNOnEq,s">
                                                                                   <field name="VAR" id="i.}R%W]BfZO,N3SI9H@(">Aktueller Inhalt des Hausspeichers in Wh</field>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </value>
                                                                           <next>
                                                                             <block type="debug" id="U-5c]Rj@%|q4-iR)n$GK">
                                                                               <field name="Severity">log</field>
                                                                               <value name="TEXT">
                                                                                 <shadow type="text" id="0/@w@_4bKtO[4-@JL/bx">
                                                                                   <field name="TEXT">test</field>
                                                                                 </shadow>
                                                                                 <block type="variables_get" id="sQjcbO4t8x}*ph/08A42">
                                                                                   <field name="VAR" id="8%;!XNXHU4)/mq1Q{26l">benoetigte_Wh_fuer_Vollladung</field>
                                                                                 </block>
                                                                               </value>
                                                                               <next>
                                                                                 <block type="controls_if" id="Dv{j+@Ao0zX4F,q.:#[=">
                                                                                   <mutation elseif="1"></mutation>
                                                                                   <value name="IF0">
                                                                                     <block type="logic_compare" id="J4doY.kF$c~7WO6$@Zl]">
                                                                                       <field name="OP">GTE</field>
                                                                                       <value name="A">
                                                                                         <block type="variables_get" id="gJz6kkTqUqfp]]%bVxmK">
                                                                                           <field name="VAR" id="8%;!XNXHU4)/mq1Q{26l">benoetigte_Wh_fuer_Vollladung</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="B">
                                                                                         <block type="variables_get" id="aigO*jWNOUWw.2d4z`y}">
                                                                                           <field name="VAR" id="p*yERo]2-$0,t=p+lkg8">Beladeleistung_Hausspeicher_in_Watt</field>
                                                                                         </block>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                   <statement name="DO0">
                                                                                     <block type="controls_if" id=")`YJ^)aGk6A+l]oCX9@g">
                                                                                       <value name="IF0">
                                                                                         <block type="logic_compare" id="1kL5O,FD^1AF~Ui^-?N%">
                                                                                           <field name="OP">EQ</field>
                                                                                           <value name="A">
                                                                                             <block type="variables_get" id="YTv05lus(j-!otQ,RA0l">
                                                                                               <field name="VAR" id="i!o.-Ha)p18KJmC7sy:z">stunde</field>
                                                                                             </block>
                                                                                           </value>
                                                                                           <value name="B">
                                                                                             <block type="variables_get" id="+nauxomT!BzcChx*43Gu">
                                                                                               <field name="VAR" id="W81ft)h|Zh*R-R*?Fb?/">start2h</field>
                                                                                             </block>
                                                                                           </value>
                                                                                         </block>
                                                                                       </value>
                                                                                       <statement name="DO0">
                                                                                         <block type="update" id=")`oTB=*R-ng3gjG-q5ZH">
                                                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                           <field name="OID">0_userdata.0.SB_10_manuell_laden</field>
                                                                                           <field name="WITH_DELAY">FALSE</field>
                                                                                           <value name="VALUE">
                                                                                             <block type="logic_boolean" id=",je=plC@|,)bhNC|FHQk">
                                                                                               <field name="BOOL">TRUE</field>
                                                                                             </block>
                                                                                           </value>
                                                                                         </block>
                                                                                       </statement>
                                                                                     </block>
                                                                                   </statement>
                                                                                   <value name="IF1">
                                                                                     <block type="logic_compare" id="NS0?wW4pIbx9)fY,Xiqa">
                                                                                       <field name="OP">EQ</field>
                                                                                       <value name="A">
                                                                                         <block type="variables_get" id="U?57`D)MS,~NwrLt[I5u">
                                                                                           <field name="VAR" id="i!o.-Ha)p18KJmC7sy:z">stunde</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="B">
                                                                                         <block type="variables_get" id="JMJ{duW8sv=nwo^:39h3">
                                                                                           <field name="VAR" id="2]{L:*:~P%K~o/VBmsiG">start1h</field>
                                                                                         </block>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                   <statement name="DO1">
                                                                                     <block type="update" id="~_6S%,WZ][E^nlvlRJXE">
                                                                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                       <field name="OID">0_userdata.0.SB_10_manuell_laden</field>
                                                                                       <field name="WITH_DELAY">FALSE</field>
                                                                                       <value name="VALUE">
                                                                                         <block type="logic_boolean" id="CpF%8d:6}p-SqTWpemF4">
                                                                                           <field name="BOOL">TRUE</field>
                                                                                         </block>
                                                                                       </value>
                                                                                     </block>
                                                                                   </statement>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </next>
                                                                         </block>
                                                                       </next>
                                                                     </block>
                                                                   </next>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </statement>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                    </xml>
                    

                    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                    B 1 Antwort Letzte Antwort
                    1
                    • paul53P paul53

                      @babl sagte: so hätte ich es jetzt überarbeitet.

                      Das wird wohl so nicht funktionieren?

                      Nimm besser das Javascript, das die beiden Startzeitpunkte ermittelt, und das folgende Blockly:

                      <xml xmlns="https://developers.google.com/blockly/xml">
                       <variables>
                         <variable id="_o(A;@hO^Y!0l@!%+U[U">Groesse_Hausspeicher_in_Wh</variable>
                         <variable id="p*yERo]2-$0,t=p+lkg8">Beladeleistung_Hausspeicher_in_Watt</variable>
                         <variable id="tUKE0PX3K5)VD=YNcLvD">userSoc</variable>
                         <variable id="662+@SNN1=iL4}c|%OCB">Gewünschte Volladung der Batterie in %</variable>
                         <variable id="7%%2=ua6TF*_3*n=+KFP">ladung</variable>
                         <variable id="i!o.-Ha)p18KJmC7sy:z">stunde</variable>
                         <variable id="2]{L:*:~P%K~o/VBmsiG">start1h</variable>
                         <variable id="W81ft)h|Zh*R-R*?Fb?/">start2h</variable>
                         <variable id="-^A9hW=83#~9i72OlX=6">Hausspeicher_User_Soc_in%</variable>
                         <variable id="ML@$Lt_]|-r%{#NpcuTc">Gewünschte Volladung des Hausspeichers in Wh</variable>
                         <variable id="i.}R%W]BfZO,N3SI9H@(">Aktueller Inhalt des Hausspeichers in Wh</variable>
                         <variable id="8%;!XNXHU4)/mq1Q{26l">benoetigte_Wh_fuer_Vollladung</variable>
                       </variables>
                       <block type="on_ext" id="!:S,u%F%,D|^qI+fx8+7" x="913" y="-62">
                         <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="`}o+tiQuWh+V$coUrcqd">
                             <field name="oid">default</field>
                           </shadow>
                           <block type="text" id="u6A}Mf}c?SsdQ$-NSY|Q">
                             <field name="TEXT">sonnen.0.status.userSoc</field>
                           </block>
                         </value>
                         <statement name="STATEMENT">
                           <block type="controls_if" id="2i;.un?=k!HN(E#9_S}{">
                             <value name="IF0">
                               <block type="get_value" id="_[9Nyawe!,B~3YiY`6B*">
                                 <field name="ATTR">val</field>
                                 <field name="OID">0_userdata.0.SB_10_manuell_laden</field>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="variables_set" id=",ve{v3}#7O$OVB;qf4b3">
                                 <field name="VAR" id="tUKE0PX3K5)VD=YNcLvD">userSoc</field>
                                 <value name="VALUE">
                                   <block type="on_source" id="=Nyl81_dezLL_9N^QooF">
                                     <field name="ATTR">state.val</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="controls_if" id="S[wO/T])mRy4l-TM9G~]">
                                     <mutation else="1"></mutation>
                                     <value name="IF0">
                                       <block type="logic_compare" id="2f4p(u=}(=K%7M%4r^T,">
                                         <field name="OP">LT</field>
                                         <value name="A">
                                           <block type="variables_get" id="Q)@yXE3VuEJmeqc!iI]3">
                                             <field name="VAR" id="tUKE0PX3K5)VD=YNcLvD">userSoc</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="variables_get" id="zR1p/~~]}.J]ql^Q9C.j">
                                             <field name="VAR" id="662+@SNN1=iL4}c|%OCB">Gewünschte Volladung der Batterie in %</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="controls_if" id="qb(ZsyG;/ctpEs%AgIhu">
                                         <mutation else="1"></mutation>
                                         <value name="IF0">
                                           <block type="logic_operation" id="WR,do8bkYb4;$b0d0ZRz" inline="false">
                                             <field name="OP">OR</field>
                                             <value name="A">
                                               <block type="logic_compare" id="+)8PQPUGZ:f^FSo.X8XH">
                                                 <field name="OP">LT</field>
                                                 <value name="A">
                                                   <block type="variables_get" id="H.`T3QRHnKeW8/r[|Z_X">
                                                     <field name="VAR" id="tUKE0PX3K5)VD=YNcLvD">userSoc</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="math_number" id="]M3DjmiXpy??;HfY3IRA">
                                                     <field name="NUM">5</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="logic_compare" id="#hzl#oPN@kR$Vml(Mb=-">
                                                 <field name="OP">GT</field>
                                                 <value name="A">
                                                   <block type="variables_get" id="`@hXr^ZK`egjbYkULC%E">
                                                     <field name="VAR" id="tUKE0PX3K5)VD=YNcLvD">userSoc</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="math_number" id="CZTTbH4U%.tnZndUo?)-">
                                                     <field name="NUM">95</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <statement name="DO0">
                                           <block type="variables_set" id="i?5`%cy!H,*)mre5DN,g">
                                             <field name="VAR" id="7%%2=ua6TF*_3*n=+KFP">ladung</field>
                                             <value name="VALUE">
                                               <block type="math_arithmetic" id="0R*gz0*U~M)o$]a@aH3^">
                                                 <field name="OP">DIVIDE</field>
                                                 <value name="A">
                                                   <shadow type="math_number">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                   <block type="variables_get" id="NRSK%SF9*$IrZJK5O+?W">
                                                     <field name="VAR" id="p*yERo]2-$0,t=p+lkg8">Beladeleistung_Hausspeicher_in_Watt</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <shadow type="math_number">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                   <block type="math_number" id=":Yi=O@m`xRWa=P-q=xW)">
                                                     <field name="NUM">2</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                         <statement name="ELSE">
                                           <block type="variables_set" id="bRNS:q59Ud-z?;Z?q:6|">
                                             <field name="VAR" id="7%%2=ua6TF*_3*n=+KFP">ladung</field>
                                             <value name="VALUE">
                                               <block type="variables_get" id="T79bP^WCXStAdTBj{KVH">
                                                 <field name="VAR" id="p*yERo]2-$0,t=p+lkg8">Beladeleistung_Hausspeicher_in_Watt</field>
                                               </block>
                                             </value>
                                           </block>
                                         </statement>
                                       </block>
                                     </statement>
                                     <statement name="ELSE">
                                       <block type="update" id="d3zagXK[uKqXL~AVHIl+">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                         <field name="OID">0_userdata.0.SB_10_manuell_laden</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="logic_boolean" id="HqS~dS}s![:3!na`{LE|">
                                             <field name="BOOL">FALSE</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="variables_set" id="$grJ9zwL;,f|c:%(i4iO">
                                             <field name="VAR" id="7%%2=ua6TF*_3*n=+KFP">ladung</field>
                                             <value name="VALUE">
                                               <block type="math_number" id="54W^ln.jYu|z27??![pW">
                                                 <field name="NUM">0</field>
                                               </block>
                                             </value>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                           </block>
                         </statement>
                         <next>
                           <block type="schedule" id="HswSC2x#x@q*V16btQTB">
                             <field name="SCHEDULE">*/8 * * * * *</field>
                             <statement name="STATEMENT">
                               <block type="control" id="{Vq?}rT:I^wT${3(H3+.">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                 <field name="OID">sonnen.0.control.charge</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="variables_get" id="n7~aIw=1}rs5#-lK+@V3">
                                     <field name="VAR" id="7%%2=ua6TF*_3*n=+KFP">ladung</field>
                                   </block>
                                 </value>
                               </block>
                             </statement>
                           </block>
                         </next>
                       </block>
                       <block type="variables_set" id="MZP??-@GgCQ0uW}:EOVg" x="87" y="194">
                         <field name="VAR" id="_o(A;@hO^Y!0l@!%+U[U">Groesse_Hausspeicher_in_Wh</field>
                         <value name="VALUE">
                           <block type="math_number" id="o8-buWU0G_HoI4}4;evH">
                             <field name="NUM">5000</field>
                           </block>
                         </value>
                         <next>
                           <block type="variables_set" id="(S#.kljR#zd~`f9RB(yq">
                             <field name="VAR" id="p*yERo]2-$0,t=p+lkg8">Beladeleistung_Hausspeicher_in_Watt</field>
                             <value name="VALUE">
                               <block type="math_number" id="Zu?;iFSO1mu1EKv/TXIl">
                                 <field name="NUM">3000</field>
                               </block>
                             </value>
                             <next>
                               <block type="variables_set" id="GKzOcYV_*aI#z-DvQM-l">
                                 <field name="VAR" id="662+@SNN1=iL4}c|%OCB">Gewünschte Volladung der Batterie in %</field>
                                 <value name="VALUE">
                                   <block type="math_number" id="~rqaOR`YtTkL*2N]d]Pb">
                                     <field name="NUM">100</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="schedule" id="PpHw,4;Y%c+B0c_2!yvm">
                                     <field name="SCHEDULE">0 0-5,19-23 * * *</field>
                                     <statement name="STATEMENT">
                                       <block type="variables_set" id="+CObYKOl:duuBTJwO?fN">
                                         <field name="VAR" id="i!o.-Ha)p18KJmC7sy:z">stunde</field>
                                         <value name="VALUE">
                                           <block type="time_get" id="{7CG2P6msM+sg=DI/Ib*">
                                             <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                             <field name="OPTION">h</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="variables_set" id=";w9ec0563t3N?#;PR6lg">
                                             <field name="VAR" id="2]{L:*:~P%K~o/VBmsiG">start1h</field>
                                             <value name="VALUE">
                                               <block type="get_value" id="+edqU(uyzR7C!in:@y!m">
                                                 <field name="ATTR">val</field>
                                                 <field name="OID">0_userdata.0.Tibber.Bester_Preis.Start1h</field>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="variables_set" id="}/(:p1v0{D5D)^a^_7eM">
                                                 <field name="VAR" id="W81ft)h|Zh*R-R*?Fb?/">start2h</field>
                                                 <value name="VALUE">
                                                   <block type="get_value" id="_)S5(r}hvt!234ABX7Lj">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">0_userdata.0.Tibber.Bester_Preis.Start2h</field>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="controls_if" id="V^C-W~Z]9ve.tu:OK[{b">
                                                     <value name="IF0">
                                                       <block type="logic_operation" id=",s,PDs0@SsAH+2PG[P2^" inline="false">
                                                         <field name="OP">AND</field>
                                                         <value name="A">
                                                           <block type="logic_operation" id="[Em}#@0oLHmA_`E|F34W">
                                                             <field name="OP">OR</field>
                                                             <value name="A">
                                                               <block type="logic_compare" id="4,c|9~-qXY=toW32Ju)#">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="b{gm}vW!jZgpF^){AEia">
                                                                     <field name="VAR" id="i!o.-Ha)p18KJmC7sy:z">stunde</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="variables_get" id="7(h*]j;D}wA9b^Oiq!66">
                                                                     <field name="VAR" id="2]{L:*:~P%K~o/VBmsiG">start1h</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <block type="logic_compare" id="=NSBA(Vb)IIYp.vkf^;B">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="variables_get" id="N@`O)}08SBDD7T9fhJWo">
                                                                     <field name="VAR" id="i!o.-Ha)p18KJmC7sy:z">stunde</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="variables_get" id=":AwViRZ{e7#a8N4Vw=r1">
                                                                     <field name="VAR" id="W81ft)h|Zh*R-R*?Fb?/">start2h</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="logic_negate" id="Q/R*]xz%tp{@9@qvYxJJ">
                                                             <value name="BOOL">
                                                               <block type="get_value" id="wp[}xVYrx(%|;LlRFs,%">
                                                                 <field name="ATTR">val</field>
                                                                 <field name="OID">0_userdata.0.SB_10_manuell_laden</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <statement name="DO0">
                                                       <block type="comment" id="?{,$;?Kz_31x-o=h1qXF">
                                                         <field name="COMMENT">Hausspeicher aktueller User Soc Datenpunkt (diese Variable wird leider unten in der Ausführung nicht übernommen, daher muß man sie unten manuell eingeben)</field>
                                                         <next>
                                                           <block type="variables_set" id="!70`ha%X:wSKw!l4tfT0">
                                                             <field name="VAR" id="-^A9hW=83#~9i72OlX=6">Hausspeicher_User_Soc_in%</field>
                                                             <value name="VALUE">
                                                               <block type="get_value" id="M~|s)d7rGJAty~MxH`GT">
                                                                 <field name="ATTR">val</field>
                                                                 <field name="OID">sonnen.0.status.userSoc</field>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="variables_set" id="aT316iyC~O^.QPGm#usj">
                                                                 <field name="VAR" id="ML@$Lt_]|-r%{#NpcuTc">Gewünschte Volladung des Hausspeichers in Wh</field>
                                                                 <value name="VALUE">
                                                                   <block type="math_arithmetic" id="L,d!WkA(ZTF?rMk*gX|:">
                                                                     <field name="OP">DIVIDE</field>
                                                                     <value name="A">
                                                                       <shadow type="math_number">
                                                                         <field name="NUM">1</field>
                                                                       </shadow>
                                                                       <block type="math_arithmetic" id="Y?ptK9X2+dF|Q6oNZfa;">
                                                                         <field name="OP">MULTIPLY</field>
                                                                         <value name="A">
                                                                           <shadow type="math_number">
                                                                             <field name="NUM">1</field>
                                                                           </shadow>
                                                                           <block type="variables_get" id="Y[a`=E?0,0EU%,*`|@PL">
                                                                             <field name="VAR" id="_o(A;@hO^Y!0l@!%+U[U">Groesse_Hausspeicher_in_Wh</field>
                                                                           </block>
                                                                         </value>
                                                                         <value name="B">
                                                                           <shadow type="math_number" id="D:Q_eDfS0$0eFkE.s~d9">
                                                                             <field name="NUM">1</field>
                                                                           </shadow>
                                                                           <block type="variables_get" id="h+AE0hEXUMZzgS/(PqHw">
                                                                             <field name="VAR" id="662+@SNN1=iL4}c|%OCB">Gewünschte Volladung der Batterie in %</field>
                                                                           </block>
                                                                         </value>
                                                                       </block>
                                                                     </value>
                                                                     <value name="B">
                                                                       <shadow type="math_number">
                                                                         <field name="NUM">1</field>
                                                                       </shadow>
                                                                       <block type="math_number" id=".q-.W`ppE=W6~U,G[M{G">
                                                                         <field name="NUM">100</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <next>
                                                                   <block type="debug" id="}G,+oeAzYOWBp`(;iE/L">
                                                                     <field name="Severity">log</field>
                                                                     <value name="TEXT">
                                                                       <shadow type="text">
                                                                         <field name="TEXT">test</field>
                                                                       </shadow>
                                                                       <block type="variables_get" id="@ylEhTd*p|@Qpf9DO01~">
                                                                         <field name="VAR" id="ML@$Lt_]|-r%{#NpcuTc">Gewünschte Volladung des Hausspeichers in Wh</field>
                                                                       </block>
                                                                     </value>
                                                                     <next>
                                                                       <block type="variables_set" id="QpSp*L2/obVl#BmPW=Im">
                                                                         <field name="VAR" id="i.}R%W]BfZO,N3SI9H@(">Aktueller Inhalt des Hausspeichers in Wh</field>
                                                                         <value name="VALUE">
                                                                           <block type="math_arithmetic" id="4yEqQ!XOBu/CM1z55rZ+">
                                                                             <field name="OP">DIVIDE</field>
                                                                             <value name="A">
                                                                               <shadow type="math_number">
                                                                                 <field name="NUM">1</field>
                                                                               </shadow>
                                                                               <block type="math_arithmetic" id="NOV4:y,hKM_4WGK+-L5a">
                                                                                 <field name="OP">MULTIPLY</field>
                                                                                 <value name="A">
                                                                                   <shadow type="math_number">
                                                                                     <field name="NUM">1</field>
                                                                                   </shadow>
                                                                                   <block type="variables_get" id="@@bf!^!!zG3ZazhhDi3N">
                                                                                     <field name="VAR" id="_o(A;@hO^Y!0l@!%+U[U">Groesse_Hausspeicher_in_Wh</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="B">
                                                                                   <shadow type="math_number">
                                                                                     <field name="NUM">1</field>
                                                                                   </shadow>
                                                                                   <block type="variables_get" id="r8^7W*S+mf8?Y+^iCEu^">
                                                                                     <field name="VAR" id="-^A9hW=83#~9i72OlX=6">Hausspeicher_User_Soc_in%</field>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </value>
                                                                             <value name="B">
                                                                               <shadow type="math_number">
                                                                                 <field name="NUM">1</field>
                                                                               </shadow>
                                                                               <block type="math_number" id="z=X5B0F%iKCu_{K=nTtz">
                                                                                 <field name="NUM">100</field>
                                                                               </block>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                         <next>
                                                                           <block type="variables_set" id="GcnkwY=Av#fEW9`j_(LA">
                                                                             <field name="VAR" id="8%;!XNXHU4)/mq1Q{26l">benoetigte_Wh_fuer_Vollladung</field>
                                                                             <value name="VALUE">
                                                                               <block type="math_arithmetic" id="BC:,rAc!m7F!HG_H?a`.">
                                                                                 <field name="OP">MINUS</field>
                                                                                 <value name="A">
                                                                                   <shadow type="math_number" id="ZEU-dcK#.OUwTR%xlpL!">
                                                                                     <field name="NUM">1</field>
                                                                                   </shadow>
                                                                                   <block type="variables_get" id="znl~Q@O?I@#g8i;LBO3F">
                                                                                     <field name="VAR" id="ML@$Lt_]|-r%{#NpcuTc">Gewünschte Volladung des Hausspeichers in Wh</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="B">
                                                                                   <shadow type="math_number" id="`6.:,gs|}r;|)i=WOM)q">
                                                                                     <field name="NUM">1</field>
                                                                                   </shadow>
                                                                                   <block type="variables_get" id=".aFs`RGDYOQiyNOnEq,s">
                                                                                     <field name="VAR" id="i.}R%W]BfZO,N3SI9H@(">Aktueller Inhalt des Hausspeichers in Wh</field>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </value>
                                                                             <next>
                                                                               <block type="debug" id="U-5c]Rj@%|q4-iR)n$GK">
                                                                                 <field name="Severity">log</field>
                                                                                 <value name="TEXT">
                                                                                   <shadow type="text" id="0/@w@_4bKtO[4-@JL/bx">
                                                                                     <field name="TEXT">test</field>
                                                                                   </shadow>
                                                                                   <block type="variables_get" id="sQjcbO4t8x}*ph/08A42">
                                                                                     <field name="VAR" id="8%;!XNXHU4)/mq1Q{26l">benoetigte_Wh_fuer_Vollladung</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <next>
                                                                                   <block type="controls_if" id="Dv{j+@Ao0zX4F,q.:#[=">
                                                                                     <mutation elseif="1"></mutation>
                                                                                     <value name="IF0">
                                                                                       <block type="logic_compare" id="J4doY.kF$c~7WO6$@Zl]">
                                                                                         <field name="OP">GTE</field>
                                                                                         <value name="A">
                                                                                           <block type="variables_get" id="gJz6kkTqUqfp]]%bVxmK">
                                                                                             <field name="VAR" id="8%;!XNXHU4)/mq1Q{26l">benoetigte_Wh_fuer_Vollladung</field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="B">
                                                                                           <block type="variables_get" id="aigO*jWNOUWw.2d4z`y}">
                                                                                             <field name="VAR" id="p*yERo]2-$0,t=p+lkg8">Beladeleistung_Hausspeicher_in_Watt</field>
                                                                                           </block>
                                                                                         </value>
                                                                                       </block>
                                                                                     </value>
                                                                                     <statement name="DO0">
                                                                                       <block type="controls_if" id=")`YJ^)aGk6A+l]oCX9@g">
                                                                                         <value name="IF0">
                                                                                           <block type="logic_compare" id="1kL5O,FD^1AF~Ui^-?N%">
                                                                                             <field name="OP">EQ</field>
                                                                                             <value name="A">
                                                                                               <block type="variables_get" id="YTv05lus(j-!otQ,RA0l">
                                                                                                 <field name="VAR" id="i!o.-Ha)p18KJmC7sy:z">stunde</field>
                                                                                               </block>
                                                                                             </value>
                                                                                             <value name="B">
                                                                                               <block type="variables_get" id="+nauxomT!BzcChx*43Gu">
                                                                                                 <field name="VAR" id="W81ft)h|Zh*R-R*?Fb?/">start2h</field>
                                                                                               </block>
                                                                                             </value>
                                                                                           </block>
                                                                                         </value>
                                                                                         <statement name="DO0">
                                                                                           <block type="update" id=")`oTB=*R-ng3gjG-q5ZH">
                                                                                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                             <field name="OID">0_userdata.0.SB_10_manuell_laden</field>
                                                                                             <field name="WITH_DELAY">FALSE</field>
                                                                                             <value name="VALUE">
                                                                                               <block type="logic_boolean" id=",je=plC@|,)bhNC|FHQk">
                                                                                                 <field name="BOOL">TRUE</field>
                                                                                               </block>
                                                                                             </value>
                                                                                           </block>
                                                                                         </statement>
                                                                                       </block>
                                                                                     </statement>
                                                                                     <value name="IF1">
                                                                                       <block type="logic_compare" id="NS0?wW4pIbx9)fY,Xiqa">
                                                                                         <field name="OP">EQ</field>
                                                                                         <value name="A">
                                                                                           <block type="variables_get" id="U?57`D)MS,~NwrLt[I5u">
                                                                                             <field name="VAR" id="i!o.-Ha)p18KJmC7sy:z">stunde</field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="B">
                                                                                           <block type="variables_get" id="JMJ{duW8sv=nwo^:39h3">
                                                                                             <field name="VAR" id="2]{L:*:~P%K~o/VBmsiG">start1h</field>
                                                                                           </block>
                                                                                         </value>
                                                                                       </block>
                                                                                     </value>
                                                                                     <statement name="DO1">
                                                                                       <block type="update" id="~_6S%,WZ][E^nlvlRJXE">
                                                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                         <field name="OID">0_userdata.0.SB_10_manuell_laden</field>
                                                                                         <field name="WITH_DELAY">FALSE</field>
                                                                                         <value name="VALUE">
                                                                                           <block type="logic_boolean" id="CpF%8d:6}p-SqTWpemF4">
                                                                                             <field name="BOOL">TRUE</field>
                                                                                           </block>
                                                                                         </value>
                                                                                       </block>
                                                                                     </statement>
                                                                                   </block>
                                                                                 </next>
                                                                               </block>
                                                                             </next>
                                                                           </block>
                                                                         </next>
                                                                       </block>
                                                                     </next>
                                                                   </block>
                                                                 </next>
                                                               </block>
                                                             </next>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </statement>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                      </xml>
                      

                      B Offline
                      B Offline
                      babl
                      schrieb am zuletzt editiert von
                      #39

                      @paul53 da kommt dann auf beiden datenpunkten die gleiche Uhrzeit raus, sind die preise dann von heute oder von morgen in deinem Script

                      paul53P 1 Antwort Letzte Antwort
                      0
                      • B babl

                        @paul53 da kommt dann auf beiden datenpunkten die gleiche Uhrzeit raus, sind die preise dann von heute oder von morgen in deinem Script

                        paul53P Offline
                        paul53P Offline
                        paul53
                        schrieb am zuletzt editiert von paul53
                        #40

                        @babl sagte: da kommt dann auf beiden datenpunkten die gleiche Uhrzeit raus

                        Das kann durchaus sein, ist aber nicht immer so.

                        @babl sagte in Testscript: Hausspeicher dyn. laden nach Tibberpreisen uvm.:

                        sind die preise dann von heute oder von morgen

                        Bis Mitternacht von heute und ab 0:00 Uhr von morgen.

                        Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                        Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                        B 1 Antwort Letzte Antwort
                        0
                        • paul53P paul53

                          @babl sagte: da kommt dann auf beiden datenpunkten die gleiche Uhrzeit raus

                          Das kann durchaus sein, ist aber nicht immer so.

                          @babl sagte in Testscript: Hausspeicher dyn. laden nach Tibberpreisen uvm.:

                          sind die preise dann von heute oder von morgen

                          Bis Mitternacht von heute und ab 0:00 Uhr von morgen.

                          B Offline
                          B Offline
                          babl
                          schrieb am zuletzt editiert von
                          #41

                          @paul53 ok danke kann man dann den Höchstpreis noch als bestehenden Datenpunkt in das Script miteinbauen, so kann man den Preis über die VIS ändern, ohne daß man jedesmal in deinem Script rumwursteln muss? :grinning:

                          paul53P 1 Antwort Letzte Antwort
                          0
                          • B babl

                            @paul53 ok danke kann man dann den Höchstpreis noch als bestehenden Datenpunkt in das Script miteinbauen, so kann man den Preis über die VIS ändern, ohne daß man jedesmal in deinem Script rumwursteln muss? :grinning:

                            paul53P Offline
                            paul53P Offline
                            paul53
                            schrieb am zuletzt editiert von
                            #42

                            @babl sagte: kann man dann den Höchstpreis noch als bestehenden Datenpunkt in das Script miteinbauen, so kann man den Preis über die VIS ändern, ohne daß man jedesmal in deinem Script rumwursteln muss?

                            Ja, dann muss der Höchstpreis-Datenpunkt innerhalb des 18:57-Uhr-Triggers abgefragt werden.

                            Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                            Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                            B 1 Antwort Letzte Antwort
                            0
                            • paul53P paul53

                              @babl sagte: kann man dann den Höchstpreis noch als bestehenden Datenpunkt in das Script miteinbauen, so kann man den Preis über die VIS ändern, ohne daß man jedesmal in deinem Script rumwursteln muss?

                              Ja, dann muss der Höchstpreis-Datenpunkt innerhalb des 18:57-Uhr-Triggers abgefragt werden.

                              B Offline
                              B Offline
                              babl
                              schrieb am zuletzt editiert von babl
                              #43

                              @paul53

                              also so

                              const maxPreis = 0.3;

                              zu

                              const maxPreis = '0_userdata.0.Tibber.Strom_Höchstpreis';

                              innerhalb des Trigger Block

                              Ist das so richtig?

                              paul53P 1 Antwort Letzte Antwort
                              0
                              • B babl

                                @paul53

                                also so

                                const maxPreis = 0.3;

                                zu

                                const maxPreis = '0_userdata.0.Tibber.Strom_Höchstpreis';

                                innerhalb des Trigger Block

                                Ist das so richtig?

                                paul53P Offline
                                paul53P Offline
                                paul53
                                schrieb am zuletzt editiert von
                                #44

                                @babl sagte: Ist das so richtig?

                                Nein, innerhalb des Triggers:

                                const maxPreis = getState('0_userdata.0.Tibber.Strom_Höchstpreis').val;
                                

                                Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                B 1 Antwort Letzte Antwort
                                0
                                • paul53P paul53

                                  @babl sagte: Ist das so richtig?

                                  Nein, innerhalb des Triggers:

                                  const maxPreis = getState('0_userdata.0.Tibber.Strom_Höchstpreis').val;
                                  
                                  B Offline
                                  B Offline
                                  babl
                                  schrieb am zuletzt editiert von
                                  #45

                                  @paul53 sagte in Testscript: Hausspeicher dyn. laden nach Tibberpreisen uvm.:

                                  const maxPreis = getState('0_userdata.0.Tibber.Strom_Höchstpreis').val;

                                  ok so?

                                  schedule('50 14 * * *', function() {
                                      
                                  const maxPreis = getState('0_userdata.0.Tibber.Strom_Höchstpreis').val; 
                                  
                                      const preise = [];
                                  
                                  paul53P 1 Antwort Letzte Antwort
                                  0
                                  • B babl

                                    @paul53 sagte in Testscript: Hausspeicher dyn. laden nach Tibberpreisen uvm.:

                                    const maxPreis = getState('0_userdata.0.Tibber.Strom_Höchstpreis').val;

                                    ok so?

                                    schedule('50 14 * * *', function() {
                                        
                                    const maxPreis = getState('0_userdata.0.Tibber.Strom_Höchstpreis').val; 
                                    
                                        const preise = [];
                                    
                                    paul53P Offline
                                    paul53P Offline
                                    paul53
                                    schrieb am zuletzt editiert von
                                    #46

                                    @babl sagte: ok so?

                                    Ja.
                                    Verwendest Du Firefox für ioBroker? Das würde die Leerzeilen beim Kopieren erklären.

                                    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                    B 2 Antworten Letzte Antwort
                                    0
                                    • paul53P paul53

                                      @babl sagte: ok so?

                                      Ja.
                                      Verwendest Du Firefox für ioBroker? Das würde die Leerzeilen beim Kopieren erklären.

                                      B Offline
                                      B Offline
                                      babl
                                      schrieb am zuletzt editiert von
                                      #47

                                      @paul53 ja

                                      paul53P 1 Antwort Letzte Antwort
                                      0
                                      • B babl

                                        @paul53 ja

                                        paul53P Offline
                                        paul53P Offline
                                        paul53
                                        schrieb am zuletzt editiert von
                                        #48

                                        @babl
                                        Für das Internet verwende ich auch Firefox, aber Chrome für ioBroker (ohne Leerzeilen beim Kopieren).

                                        Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                                        Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                                        1 Antwort Letzte Antwort
                                        1
                                        • paul53P paul53

                                          @babl sagte: ok so?

                                          Ja.
                                          Verwendest Du Firefox für ioBroker? Das würde die Leerzeilen beim Kopieren erklären.

                                          B Offline
                                          B Offline
                                          babl
                                          schrieb am zuletzt editiert von
                                          #49

                                          @paul53 noch eine Frage warum kommt dann bei dir wenn der max Preis kleiner ist als der Tibberpreis die Zahl 12 raus?

                                          paul53P 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          465

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe