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. Steckdose abschalten nach x sek unter wert x..

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    15
    1
    207

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.4k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.3k

Steckdose abschalten nach x sek unter wert x..

Geplant Angeheftet Gesperrt Verschoben Blockly
8 Beiträge 2 Kommentatoren 556 Aufrufe 1 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.
  • M Offline
    M Offline
    michael_4358
    schrieb am zuletzt editiert von
    #1

    Hallo

    Ich habe eine Tasmota Steckdose mit leistungs aufnahme.
    dort ist mein ebike angeschlossen, wenn dort kein storm mehr abgenommen wird soll nach 15 sekunden die steckdose abgeschaltet werden.

    leider ist im blockly irgenwo was am klemmen....

    ich finde den fehler nicht..

    <xml xmlns="https://developers.google.com/blockly/xml">
      <variables>
        <variable id="|^k{v~]8PHjRUl(6FunB">timer 1 mal ausführen</variable>
        <variable id="^O9MRmi4VnW)QW8h+`ry">weniger als 99Watt</variable>
        <variable type="timeout" id="timeout2">timeout2</variable>
      </variables>
      <block type="variables_set" id=",{ae@N2/`l,mcDyBGp4(" x="-1012" y="-1912">
        <field name="VAR" id="|^k{v~]8PHjRUl(6FunB">timer 1 mal ausführen</field>
        <value name="VALUE">
          <block type="logic_boolean" id=";=7l0IHnX:4Xmn2:3LKy">
            <field name="BOOL">FALSE</field>
          </block>
        </value>
        <next>
          <block type="variables_set" id="B*V@kA}NlCJ]~hIsuSak">
            <field name="VAR" id="^O9MRmi4VnW)QW8h+`ry">weniger als 99Watt</field>
            <value name="VALUE">
              <block type="logic_boolean" id="]sM:HtyG!!:MTR_B.ET9">
                <field name="BOOL">FALSE</field>
              </block>
            </value>
            <next>
              <block type="on_ext" id="y-Gu4Km[Up)X857P$uZ{">
                <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="`gfSGH/Pb1%:*31CG8zt">
                    <field name="oid">default</field>
                  </shadow>
                  <block type="field_oid" id="vYB.G=;n^|7Emy~lZAFD">
                    <field name="oid">sonoff.0.Steck_E_Bike.ENERGY_Power</field>
                  </block>
                </value>
                <statement name="STATEMENT">
                  <block type="debug" id="dhNviA%r@,8DB@qnjV`S">
                    <field name="Severity">log</field>
                    <value name="TEXT">
                      <shadow type="text" id="(tmm_9b{Gc-GHod0NZAu">
                        <field name="TEXT">Wurde aktualisierte</field>
                      </shadow>
                    </value>
                    <next>
                      <block type="controls_if" id="muzxbrU(@@PGO/)#F!vL">
                        <mutation elseif="2"></mutation>
                        <value name="IF0">
                          <block type="logic_operation" id="ME%JBZ6cnUiQ|X8KjT[`" inline="false">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="logic_compare" id="5fYf=(lCbv^}D]~dII2X">
                                <field name="OP">LT</field>
                                <value name="A">
                                  <block type="on_source" id="wxy=XldBmiY[ou/,rPDi">
                                    <field name="ATTR">state.val</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="DXu|X%`bXV!rhus@|-ru">
                                    <field name="NUM">99</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id="SI)!NFovK@2[,=D9vi$N">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="variables_get" id="o?@Stx#Rdm8$tts0oOtI">
                                    <field name="VAR" id="|^k{v~]8PHjRUl(6FunB">timer 1 mal ausführen</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_boolean" id="A}q$F;r{_qyGi{QvQi|j">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="debug" id="P3WOiAvZejT3`2eXTR]b">
                            <field name="Severity">log</field>
                            <value name="TEXT">
                              <shadow type="text" id="NPITzcW{=o{#vfhT,;vb">
                                <field name="TEXT">Timer wird ausgeführt</field>
                              </shadow>
                            </value>
                            <next>
                              <block type="timeouts_settimeout" id="=xVMI|0^GZRC3L!w:^;=">
                                <field name="NAME">timeout2</field>
                                <field name="DELAY">15</field>
                                <field name="UNIT">sec</field>
                                <statement name="STATEMENT">
                                  <block type="variables_set" id="`P;H(4CmmSv#I14?NC34">
                                    <field name="VAR" id="^O9MRmi4VnW)QW8h+`ry">weniger als 99Watt</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="p$ju?)DW#EaS;TU?[?(!">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="O3(sqQyuQc*G7~Kn[T[n">
                                        <field name="VAR" id="|^k{v~]8PHjRUl(6FunB">timer 1 mal ausführen</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="u~/HjjhDgjz92jg21gwO">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="debug" id="TW]]8OC3|#tka+MWB34W">
                                            <field name="Severity">log</field>
                                            <value name="TEXT">
                                              <shadow type="text" id="xG2YFFW*4,f@5g5)CjJ#">
                                                <field name="TEXT">15sek vorbei</field>
                                              </shadow>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <value name="IF1">
                          <block type="logic_compare" id="Fc@xMakb{4LE7zR/W4NW">
                            <field name="OP">GT</field>
                            <value name="A">
                              <block type="on_source" id="RKH!UHj[ayv@|~XsfE/J">
                                <field name="ATTR">state.val</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="G`-$w0eLy=I=GP]QcZk(">
                                <field name="NUM">99</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO1">
                          <block type="debug" id="-XUcaZ@hod~mD^yw(N{1">
                            <field name="Severity">log</field>
                            <value name="TEXT">
                              <shadow type="text" id="P}*!p1?n0jQ7fM.xqZw]">
                                <field name="TEXT">stop timer</field>
                              </shadow>
                            </value>
                            <next>
                              <block type="timeouts_cleartimeout" id="~5o6P$pNOvmGpiE3eT^X">
                                <field name="NAME">timeout2</field>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <value name="IF2">
                          <block type="logic_operation" id="lP)c6WJ3Xm.!rf}y0=JB" inline="false">
                            <field name="OP">AND</field>
                            <value name="A">
                              <block type="logic_compare" id="y--^]F!QD9hrKp5(em?G">
                                <field name="OP">LT</field>
                                <value name="A">
                                  <block type="on_source" id=":}HUG=PZ$TGyv%W)`E4q">
                                    <field name="ATTR">state.val</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="LLyAhQQVfi;vGMD_.^x?">
                                    <field name="NUM">99</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id="*w-!j^3j@5]Wm__j_0{o">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="variables_get" id="jx)?,Ber/[}0-CF#)nn(">
                                    <field name="VAR" id="^O9MRmi4VnW)QW8h+`ry">weniger als 99Watt</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_boolean" id="fj4?;{P[)fWW!4P++/U_">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO2">
                          <block type="debug" id="}|m~ug:w|=*WUo_|]b@k">
                            <field name="Severity">log</field>
                            <value name="TEXT">
                              <shadow type="text" id="q!ocb$wBhb-,u)H{rGyq">
                                <field name="TEXT">Steckdose ausschalten</field>
                              </shadow>
                            </value>
                            <next>
                              <block type="control" id="bfuMMeFp!R(_,C{d.|yX">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">sonoff.0.Steck_E_Bike.POWER</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="!1W]N[LWAV85@ld#wu7z">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id="9{0GmTtbl{RMg#W(Zzfd">
                                    <field name="VAR" id="^O9MRmi4VnW)QW8h+`ry">weniger als 99Watt</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="HHc:O5WL*ild7}]j^{`G">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="6p1T@JRZy1%pDH-Dwu-m">
                                        <field name="VAR" id="|^k{v~]8PHjRUl(6FunB">timer 1 mal ausführen</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="25yvqvpR3HM/d6W}$A2A">
                                            <field name="BOOL">FALSE</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="telegram" id="XG]EXKcRyW2in%HwNxl|">
                                            <field name="INSTANCE">.0</field>
                                            <field name="LOG"></field>
                                            <field name="SILENT">FALSE</field>
                                            <field name="PARSEMODE">default</field>
                                            <value name="MESSAGE">
                                              <shadow type="text" id="ji=XPEB;dU;96$[fm#C$">
                                                <field name="TEXT">Die ladestation ......is aus...</field>
                                              </shadow>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </xml>
    
    M 1 Antwort Letzte Antwort
    0
    • M michael_4358

      Hallo

      Ich habe eine Tasmota Steckdose mit leistungs aufnahme.
      dort ist mein ebike angeschlossen, wenn dort kein storm mehr abgenommen wird soll nach 15 sekunden die steckdose abgeschaltet werden.

      leider ist im blockly irgenwo was am klemmen....

      ich finde den fehler nicht..

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable id="|^k{v~]8PHjRUl(6FunB">timer 1 mal ausführen</variable>
          <variable id="^O9MRmi4VnW)QW8h+`ry">weniger als 99Watt</variable>
          <variable type="timeout" id="timeout2">timeout2</variable>
        </variables>
        <block type="variables_set" id=",{ae@N2/`l,mcDyBGp4(" x="-1012" y="-1912">
          <field name="VAR" id="|^k{v~]8PHjRUl(6FunB">timer 1 mal ausführen</field>
          <value name="VALUE">
            <block type="logic_boolean" id=";=7l0IHnX:4Xmn2:3LKy">
              <field name="BOOL">FALSE</field>
            </block>
          </value>
          <next>
            <block type="variables_set" id="B*V@kA}NlCJ]~hIsuSak">
              <field name="VAR" id="^O9MRmi4VnW)QW8h+`ry">weniger als 99Watt</field>
              <value name="VALUE">
                <block type="logic_boolean" id="]sM:HtyG!!:MTR_B.ET9">
                  <field name="BOOL">FALSE</field>
                </block>
              </value>
              <next>
                <block type="on_ext" id="y-Gu4Km[Up)X857P$uZ{">
                  <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="`gfSGH/Pb1%:*31CG8zt">
                      <field name="oid">default</field>
                    </shadow>
                    <block type="field_oid" id="vYB.G=;n^|7Emy~lZAFD">
                      <field name="oid">sonoff.0.Steck_E_Bike.ENERGY_Power</field>
                    </block>
                  </value>
                  <statement name="STATEMENT">
                    <block type="debug" id="dhNviA%r@,8DB@qnjV`S">
                      <field name="Severity">log</field>
                      <value name="TEXT">
                        <shadow type="text" id="(tmm_9b{Gc-GHod0NZAu">
                          <field name="TEXT">Wurde aktualisierte</field>
                        </shadow>
                      </value>
                      <next>
                        <block type="controls_if" id="muzxbrU(@@PGO/)#F!vL">
                          <mutation elseif="2"></mutation>
                          <value name="IF0">
                            <block type="logic_operation" id="ME%JBZ6cnUiQ|X8KjT[`" inline="false">
                              <field name="OP">AND</field>
                              <value name="A">
                                <block type="logic_compare" id="5fYf=(lCbv^}D]~dII2X">
                                  <field name="OP">LT</field>
                                  <value name="A">
                                    <block type="on_source" id="wxy=XldBmiY[ou/,rPDi">
                                      <field name="ATTR">state.val</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="DXu|X%`bXV!rhus@|-ru">
                                      <field name="NUM">99</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_compare" id="SI)!NFovK@2[,=D9vi$N">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="variables_get" id="o?@Stx#Rdm8$tts0oOtI">
                                      <field name="VAR" id="|^k{v~]8PHjRUl(6FunB">timer 1 mal ausführen</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="A}q$F;r{_qyGi{QvQi|j">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="debug" id="P3WOiAvZejT3`2eXTR]b">
                              <field name="Severity">log</field>
                              <value name="TEXT">
                                <shadow type="text" id="NPITzcW{=o{#vfhT,;vb">
                                  <field name="TEXT">Timer wird ausgeführt</field>
                                </shadow>
                              </value>
                              <next>
                                <block type="timeouts_settimeout" id="=xVMI|0^GZRC3L!w:^;=">
                                  <field name="NAME">timeout2</field>
                                  <field name="DELAY">15</field>
                                  <field name="UNIT">sec</field>
                                  <statement name="STATEMENT">
                                    <block type="variables_set" id="`P;H(4CmmSv#I14?NC34">
                                      <field name="VAR" id="^O9MRmi4VnW)QW8h+`ry">weniger als 99Watt</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="p$ju?)DW#EaS;TU?[?(!">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="variables_set" id="O3(sqQyuQc*G7~Kn[T[n">
                                          <field name="VAR" id="|^k{v~]8PHjRUl(6FunB">timer 1 mal ausführen</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="u~/HjjhDgjz92jg21gwO">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="debug" id="TW]]8OC3|#tka+MWB34W">
                                              <field name="Severity">log</field>
                                              <value name="TEXT">
                                                <shadow type="text" id="xG2YFFW*4,f@5g5)CjJ#">
                                                  <field name="TEXT">15sek vorbei</field>
                                                </shadow>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </next>
                            </block>
                          </statement>
                          <value name="IF1">
                            <block type="logic_compare" id="Fc@xMakb{4LE7zR/W4NW">
                              <field name="OP">GT</field>
                              <value name="A">
                                <block type="on_source" id="RKH!UHj[ayv@|~XsfE/J">
                                  <field name="ATTR">state.val</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="math_number" id="G`-$w0eLy=I=GP]QcZk(">
                                  <field name="NUM">99</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO1">
                            <block type="debug" id="-XUcaZ@hod~mD^yw(N{1">
                              <field name="Severity">log</field>
                              <value name="TEXT">
                                <shadow type="text" id="P}*!p1?n0jQ7fM.xqZw]">
                                  <field name="TEXT">stop timer</field>
                                </shadow>
                              </value>
                              <next>
                                <block type="timeouts_cleartimeout" id="~5o6P$pNOvmGpiE3eT^X">
                                  <field name="NAME">timeout2</field>
                                </block>
                              </next>
                            </block>
                          </statement>
                          <value name="IF2">
                            <block type="logic_operation" id="lP)c6WJ3Xm.!rf}y0=JB" inline="false">
                              <field name="OP">AND</field>
                              <value name="A">
                                <block type="logic_compare" id="y--^]F!QD9hrKp5(em?G">
                                  <field name="OP">LT</field>
                                  <value name="A">
                                    <block type="on_source" id=":}HUG=PZ$TGyv%W)`E4q">
                                      <field name="ATTR">state.val</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="LLyAhQQVfi;vGMD_.^x?">
                                      <field name="NUM">99</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_compare" id="*w-!j^3j@5]Wm__j_0{o">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="variables_get" id="jx)?,Ber/[}0-CF#)nn(">
                                      <field name="VAR" id="^O9MRmi4VnW)QW8h+`ry">weniger als 99Watt</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="fj4?;{P[)fWW!4P++/U_">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO2">
                            <block type="debug" id="}|m~ug:w|=*WUo_|]b@k">
                              <field name="Severity">log</field>
                              <value name="TEXT">
                                <shadow type="text" id="q!ocb$wBhb-,u)H{rGyq">
                                  <field name="TEXT">Steckdose ausschalten</field>
                                </shadow>
                              </value>
                              <next>
                                <block type="control" id="bfuMMeFp!R(_,C{d.|yX">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">sonoff.0.Steck_E_Bike.POWER</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="!1W]N[LWAV85@ld#wu7z">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="variables_set" id="9{0GmTtbl{RMg#W(Zzfd">
                                      <field name="VAR" id="^O9MRmi4VnW)QW8h+`ry">weniger als 99Watt</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="HHc:O5WL*ild7}]j^{`G">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="variables_set" id="6p1T@JRZy1%pDH-Dwu-m">
                                          <field name="VAR" id="|^k{v~]8PHjRUl(6FunB">timer 1 mal ausführen</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="25yvqvpR3HM/d6W}$A2A">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="telegram" id="XG]EXKcRyW2in%HwNxl|">
                                              <field name="INSTANCE">.0</field>
                                              <field name="LOG"></field>
                                              <field name="SILENT">FALSE</field>
                                              <field name="PARSEMODE">default</field>
                                              <value name="MESSAGE">
                                                <shadow type="text" id="ji=XPEB;dU;96$[fm#C$">
                                                  <field name="TEXT">Die ladestation ......is aus...</field>
                                                </shadow>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </next>
            </block>
          </next>
        </block>
      </xml>
      
      M Offline
      M Offline
      michael_4358
      schrieb am zuletzt editiert von
      #2

      ea10c20d-9279-409a-9352-d6dc38950468-grafik.png

      paul53P 1 Antwort Letzte Antwort
      0
      • M michael_4358

        ea10c20d-9279-409a-9352-d6dc38950468-grafik.png

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

        @michael_4358
        Versuche es mal so:

        Blockly_temp.JPG

        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

        M 1 Antwort Letzte Antwort
        0
        • paul53P paul53

          @michael_4358
          Versuche es mal so:

          Blockly_temp.JPG

          M Offline
          M Offline
          michael_4358
          schrieb am zuletzt editiert von
          #4

          @paul53

          hast du ggf den code?

          paul53P 1 Antwort Letzte Antwort
          0
          • M michael_4358

            @paul53

            hast du ggf den code?

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

            @michael_4358 sagte:

            code?

            <xml xmlns="https://developers.google.com/blockly/xml">
             <variables>
               <variable type="timeout" id="timeout2">timeout2</variable>
             </variables>
             <block type="on_ext" id="y-Gu4Km[Up)X857P$uZ{" x="-1012" y="-1858">
               <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="`gfSGH/Pb1%:*31CG8zt">
                   <field name="oid">default</field>
                 </shadow>
                 <block type="field_oid" id="vYB.G=;n^|7Emy~lZAFD">
                   <field name="oid">sonoff.0.Steck_E_Bike.ENERGY_Power</field>
                 </block>
               </value>
               <statement name="STATEMENT">
                 <block type="controls_if" id="muzxbrU(@@PGO/)#F!vL">
                   <mutation elseif="1"></mutation>
                   <value name="IF0">
                     <block type="logic_compare" id="5fYf=(lCbv^}D]~dII2X">
                       <field name="OP">GT</field>
                       <value name="A">
                         <block type="on_source" id="wxy=XldBmiY[ou/,rPDi">
                           <field name="ATTR">state.val</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="math_number" id="DXu|X%`bXV!rhus@|-ru">
                           <field name="NUM">99</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="debug" id="-XUcaZ@hod~mD^yw(N{1">
                       <field name="Severity">log</field>
                       <value name="TEXT">
                         <shadow type="text" id="P}*!p1?n0jQ7fM.xqZw]">
                           <field name="TEXT">stop timer</field>
                         </shadow>
                       </value>
                       <next>
                         <block type="timeouts_cleartimeout" id="~5o6P$pNOvmGpiE3eT^X">
                           <field name="NAME">timeout2</field>
                         </block>
                       </next>
                     </block>
                   </statement>
                   <value name="IF1">
                     <block type="logic_compare" id="Fc@xMakb{4LE7zR/W4NW">
                       <field name="OP">GT</field>
                       <value name="A">
                         <block type="on_source" id="RKH!UHj[ayv@|~XsfE/J">
                           <field name="ATTR">oldState.val</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="math_number" id="G`-$w0eLy=I=GP]QcZk(">
                           <field name="NUM">99</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO1">
                     <block type="debug" id="P3WOiAvZejT3`2eXTR]b">
                       <field name="Severity">log</field>
                       <value name="TEXT">
                         <shadow type="text" id="NPITzcW{=o{#vfhT,;vb">
                           <field name="TEXT">Timer wird ausgeführt</field>
                         </shadow>
                       </value>
                       <next>
                         <block type="timeouts_settimeout" id="=xVMI|0^GZRC3L!w:^;=">
                           <field name="NAME">timeout2</field>
                           <field name="DELAY">15</field>
                           <field name="UNIT">sec</field>
                           <statement name="STATEMENT">
                             <block type="debug" id="}|m~ug:w|=*WUo_|]b@k">
                               <field name="Severity">log</field>
                               <value name="TEXT">
                                 <shadow type="text" id="q!ocb$wBhb-,u)H{rGyq">
                                   <field name="TEXT">Steckdose ausschalten</field>
                                 </shadow>
                               </value>
                               <next>
                                 <block type="control" id="bfuMMeFp!R(_,C{d.|yX">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                   <field name="OID">sonoff.0.Steck_E_Bike.POWER</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="logic_boolean" id="!1W]N[LWAV85@ld#wu7z">
                                       <field name="BOOL">FALSE</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="telegram" id="XG]EXKcRyW2in%HwNxl|">
                                       <field name="INSTANCE">.0</field>
                                       <field name="LOG"></field>
                                       <field name="SILENT">FALSE</field>
                                       <field name="PARSEMODE">default</field>
                                       <value name="MESSAGE">
                                         <shadow type="text" id="ji=XPEB;dU;96$[fm#C$">
                                           <field name="TEXT">Die ladestation ......is aus...</field>
                                         </shadow>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </statement>
                         </block>
                       </next>
                     </block>
                   </statement>
                 </block>
               </statement>
             </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

            M 1 Antwort Letzte Antwort
            0
            • paul53P paul53

              @michael_4358 sagte:

              code?

              <xml xmlns="https://developers.google.com/blockly/xml">
               <variables>
                 <variable type="timeout" id="timeout2">timeout2</variable>
               </variables>
               <block type="on_ext" id="y-Gu4Km[Up)X857P$uZ{" x="-1012" y="-1858">
                 <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="`gfSGH/Pb1%:*31CG8zt">
                     <field name="oid">default</field>
                   </shadow>
                   <block type="field_oid" id="vYB.G=;n^|7Emy~lZAFD">
                     <field name="oid">sonoff.0.Steck_E_Bike.ENERGY_Power</field>
                   </block>
                 </value>
                 <statement name="STATEMENT">
                   <block type="controls_if" id="muzxbrU(@@PGO/)#F!vL">
                     <mutation elseif="1"></mutation>
                     <value name="IF0">
                       <block type="logic_compare" id="5fYf=(lCbv^}D]~dII2X">
                         <field name="OP">GT</field>
                         <value name="A">
                           <block type="on_source" id="wxy=XldBmiY[ou/,rPDi">
                             <field name="ATTR">state.val</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="math_number" id="DXu|X%`bXV!rhus@|-ru">
                             <field name="NUM">99</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO0">
                       <block type="debug" id="-XUcaZ@hod~mD^yw(N{1">
                         <field name="Severity">log</field>
                         <value name="TEXT">
                           <shadow type="text" id="P}*!p1?n0jQ7fM.xqZw]">
                             <field name="TEXT">stop timer</field>
                           </shadow>
                         </value>
                         <next>
                           <block type="timeouts_cleartimeout" id="~5o6P$pNOvmGpiE3eT^X">
                             <field name="NAME">timeout2</field>
                           </block>
                         </next>
                       </block>
                     </statement>
                     <value name="IF1">
                       <block type="logic_compare" id="Fc@xMakb{4LE7zR/W4NW">
                         <field name="OP">GT</field>
                         <value name="A">
                           <block type="on_source" id="RKH!UHj[ayv@|~XsfE/J">
                             <field name="ATTR">oldState.val</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="math_number" id="G`-$w0eLy=I=GP]QcZk(">
                             <field name="NUM">99</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO1">
                       <block type="debug" id="P3WOiAvZejT3`2eXTR]b">
                         <field name="Severity">log</field>
                         <value name="TEXT">
                           <shadow type="text" id="NPITzcW{=o{#vfhT,;vb">
                             <field name="TEXT">Timer wird ausgeführt</field>
                           </shadow>
                         </value>
                         <next>
                           <block type="timeouts_settimeout" id="=xVMI|0^GZRC3L!w:^;=">
                             <field name="NAME">timeout2</field>
                             <field name="DELAY">15</field>
                             <field name="UNIT">sec</field>
                             <statement name="STATEMENT">
                               <block type="debug" id="}|m~ug:w|=*WUo_|]b@k">
                                 <field name="Severity">log</field>
                                 <value name="TEXT">
                                   <shadow type="text" id="q!ocb$wBhb-,u)H{rGyq">
                                     <field name="TEXT">Steckdose ausschalten</field>
                                   </shadow>
                                 </value>
                                 <next>
                                   <block type="control" id="bfuMMeFp!R(_,C{d.|yX">
                                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                     <field name="OID">sonoff.0.Steck_E_Bike.POWER</field>
                                     <field name="WITH_DELAY">FALSE</field>
                                     <value name="VALUE">
                                       <block type="logic_boolean" id="!1W]N[LWAV85@ld#wu7z">
                                         <field name="BOOL">FALSE</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="telegram" id="XG]EXKcRyW2in%HwNxl|">
                                         <field name="INSTANCE">.0</field>
                                         <field name="LOG"></field>
                                         <field name="SILENT">FALSE</field>
                                         <field name="PARSEMODE">default</field>
                                         <value name="MESSAGE">
                                           <shadow type="text" id="ji=XPEB;dU;96$[fm#C$">
                                             <field name="TEXT">Die ladestation ......is aus...</field>
                                           </shadow>
                                         </value>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                           </block>
                         </next>
                       </block>
                     </statement>
                   </block>
                 </statement>
               </block>
              </xml>
              

              M Offline
              M Offline
              michael_4358
              schrieb am zuletzt editiert von
              #6

              @paul53

              dort ist jedesmal wenn der wert größer als 99 ist müsste das nicht kleiner sein?

              paul53P 1 Antwort Letzte Antwort
              0
              • M michael_4358

                @paul53

                dort ist jedesmal wenn der wert größer als 99 ist müsste das nicht kleiner sein?

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

                @michael_4358 sagte:

                dort ist jedesmal wenn der wert größer als 99 ist müsste das nicht kleiner sein?

                Die Steckdose soll doch abschalten, wenn die Leistung unter einen bestimmten Wert sinkt ?

                falls Wert > 99
                sonst falls vorheriger Wert > 99
                

                ist gleichbedeutend mit

                falls Wert <= 99 und vorheriger Wert > 99
                

                also erstmaliges Unterschreiten des Grenzwertes.

                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

                M 1 Antwort Letzte Antwort
                0
                • paul53P paul53

                  @michael_4358 sagte:

                  dort ist jedesmal wenn der wert größer als 99 ist müsste das nicht kleiner sein?

                  Die Steckdose soll doch abschalten, wenn die Leistung unter einen bestimmten Wert sinkt ?

                  falls Wert > 99
                  sonst falls vorheriger Wert > 99
                  

                  ist gleichbedeutend mit

                  falls Wert <= 99 und vorheriger Wert > 99
                  

                  also erstmaliges Unterschreiten des Grenzwertes.

                  M Offline
                  M Offline
                  michael_4358
                  schrieb am zuletzt editiert von
                  #8

                  @paul53

                  ein neustart des brokers und es geht :) danke dir

                  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

                  364

                  Online

                  32.7k

                  Benutzer

                  82.4k

                  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