Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • 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. ioBroker Allgemein
  4. [gelöst]Smarte Waschmaschine Blocklyfehler

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    450

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    376

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    968

[gelöst]Smarte Waschmaschine Blocklyfehler

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
blockly fehler
18 Beiträge 3 Kommentatoren 868 Aufrufe 3 Beobachtet
  • Ä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.
  • J Offline
    J Offline
    jwedenig
    Most Active
    schrieb am zuletzt editiert von
    #6

    aha, der Timeoutbefehl wäre eigentlich gedacht, wenn z.B der Datenpunkt unterschritten wird (was ja bei einer Waschmaschine vorkommt, dass Sie mal Pausen macht), dass nicht gleich die Meldung kommt : "Waschmaschine fertig"
    Ich dachte also, dass frühestens nach 60sec (Länge der Pause ist überschritten sprich Sie ist fertig) der Befehl kommen darf.
    Warum wiederholt sich dann das Ganze?
    Weist du wie man es besser machen könnte?
    Liebe Grüße
    Jürgen

    1 Antwort Letzte Antwort
    0
    • J.A.R.V.I.S.J Offline
      J.A.R.V.I.S.J Offline
      J.A.R.V.I.S.
      Developer
      schrieb am zuletzt editiert von J.A.R.V.I.S.
      #7

      Ich habe noch eine Variable eingefügt, die vor dem Timeout auf true gesetzt wird. Da die Abfrage nur bei "falsch" reagiert, wird der block auch nur einmal ausgeführt. Am ende des Timeouts wird die Variable wieder auf "falsch" gestellt, damit die Abfrage für das nächste mal wieder funktioniert.

      Das Skript ist ungetestet, sollte aber so funktionieren. Ich habe nur die wichtigsten Sachen eingebaut, den Rest musst du noch selber hinzufügen bw. die Variable in dein bestehendes Skripot einfügen. Sollte es so nicht funktionieren, dann sag bitte noch einmal Bescheid.

      7877df99-ee7c-40d3-bac4-afa6359a0187-grafik.png

      1 Antwort Letzte Antwort
      0
      • J Offline
        J Offline
        jwedenig
        Most Active
        schrieb am zuletzt editiert von
        #8

        ja danke, werde es mal testen wenn meine Frau wieder die Wäsche wäscht, ich meld mich dann, danke

        J 1 Antwort Letzte Antwort
        0
        • J jwedenig

          ja danke, werde es mal testen wenn meine Frau wieder die Wäsche wäscht, ich meld mich dann, danke

          J Offline
          J Offline
          jwedenig
          Most Active
          schrieb am zuletzt editiert von
          #9

          mit "inTimeout" meinst du meinen Datenpunkt "Waschmaschine läuft", oder?
          Damit ich versuche dies zu verstehen!

          J.A.R.V.I.S.J 1 Antwort Letzte Antwort
          0
          • J jwedenig

            mit "inTimeout" meinst du meinen Datenpunkt "Waschmaschine läuft", oder?
            Damit ich versuche dies zu verstehen!

            J.A.R.V.I.S.J Offline
            J.A.R.V.I.S.J Offline
            J.A.R.V.I.S.
            Developer
            schrieb am zuletzt editiert von J.A.R.V.I.S.
            #10

            @jwedenig "inTimeout" ist eine Variable im Skript. Diese Variable spiegelt sozusagen den Zustand des Timeout wieder. Also wenn der Timeout beginnt wird "inTimout" auf true gesetzt, also "gesagt" das sich das Skript im Timeout befindet und nicht noch einmal aufgerufen werden muss.

            Die Variable hat nichts mit dem DP "Waschmaschine läuft" zu tun.

            Du kannst oben rechts im Bearbeitungsfenster auch zwischen der Blocky und JS Ansicht wechseln. Dort siehst du auch am Anfang die deklarierte Variable.

            1 Antwort Letzte Antwort
            0
            • J Offline
              J Offline
              jwedenig
              Most Active
              schrieb am zuletzt editiert von
              #11

              Meinst Du so?

              <xml xmlns="http://www.w3.org/1999/xhtml">
                <variables>
                  <variable type="" id="V9/TviR{0#g;/_S{~!W9">inTimeout</variable>
                  <variable type="undefined" id="timeout">timeout</variable>
                </variables>
                <block type="variables_set" id="/5iCS+tfQawO(8ho[n=]" x="37" y="-12">
                  <field name="VAR" id="V9/TviR{0#g;/_S{~!W9" variabletype="">inTimeout</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id="T~7a~+Kgc1a*/km|BSSE">
                      <field name="BOOL">FALSE</field>
                    </block>
                  </value>
                  <next>
                    <block type="on" id="wJAD_6Tt~y.J~Y){`}vx">
                      <field name="OID">hs100.0.192_168_1_69.power</field>
                      <field name="CONDITION">any</field>
                      <field name="ACK_CONDITION"></field>
                      <statement name="STATEMENT">
                        <block type="controls_if" id="6Y^wq_WC]M{/fHM/Qj(?">
                          <mutation elseif="1"></mutation>
                          <value name="IF0">
                            <block type="logic_operation" id="NB%1alrWMb4Z8rdC(0M{">
                              <field name="OP">AND</field>
                              <value name="A">
                                <block type="logic_compare" id="yi9-O72uP0eZ-B4gl|(:">
                                  <field name="OP">GTE</field>
                                  <value name="A">
                                    <block type="get_value" id="`*{?Ux2qblDTp$~qpIW^">
                                      <field name="ATTR">val</field>
                                      <field name="OID">hs100.0.192_168_1_69.power</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="/~+@cS^+RU-]2l%S92(2">
                                      <field name="NUM">10</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_compare" id=")eMq@`{mWrjCI,vUfBfy">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="^^?mc19R^!x^*V7=[ERO">
                                      <field name="ATTR">val</field>
                                      <field name="OID">virtuelle_Knoten.0.Waschmaschine_läuft</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="+Cjq?OVJSLIPBfaLnr-6">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="update" id="_aI72~qdAF/Unh]y{r*6">
                              <mutation delay_input="false"></mutation>
                              <field name="OID">virtuelle_Knoten.0.Waschmaschine_läuft</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="5.K4H_8PW*?^u|W`hYld">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                              <next>
                                <block type="control" id="h^CgS-5@$0FF!;r*Ge/9">
                                  <mutation delay_input="false"></mutation>
                                  <field name="OID">alexa2.0.Echo-Devices.G090L90965230UL0.Commands.speak</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="text" id="p50DxWRt!D3z5pHRQwY[">
                                      <field name="TEXT">Die Waschmaschine wurde gestartet!</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="telegram" id="|;B/GcZ[ArV70vDrEufa">
                                      <field name="INSTANCE"></field>
                                      <field name="LOG"></field>
                                      <field name="SILENT">FALSE</field>
                                      <field name="PARSEMODE">default</field>
                                      <value name="MESSAGE">
                                        <shadow type="text" id="Wk7F{GD!o`1Wb#5Qp+QO">
                                          <field name="TEXT">Die Waschmaschine wurde gestartet!</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                          <value name="IF1">
                            <block type="logic_operation" id="7~V{RD3jd66I#NldR(#z">
                              <field name="OP">AND</field>
                              <value name="A">
                                <block type="logic_compare" id="B#9RLg6{X`M%69evQ3t{">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="variables_get" id="]!{JQB75hzn?-CkE!t-B">
                                      <field name="VAR" id="V9/TviR{0#g;/_S{~!W9" variabletype="">inTimeout</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="us56[xZK(XsH)D7S;4[V">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_operation" id="@;TJ@N]%:Fo]o8;ad@NU">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="logic_compare" id="/)[48L=1U#NEo$K+o*{`">
                                      <field name="OP">LT</field>
                                      <value name="A">
                                        <block type="get_value" id="HiFUx}3xX)y%9|T~zr1-">
                                          <field name="ATTR">val</field>
                                          <field name="OID">hs100.0.192_168_1_69.power</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="d_:@yS}a9e29tcGD`}6:">
                                          <field name="NUM">4</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_compare" id="V]X(u]9%=qvMaJ^3h3}s">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="*2V:EW2}]5KB$73Lkbqt">
                                          <field name="ATTR">val</field>
                                          <field name="OID">virtuelle_Knoten.0.Waschmaschine_läuft</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="s~tV8uSGmLsWcRodoX(W">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO1">
                            <block type="timeouts_settimeout" id="U6B`-Z[=2iHL2UKZH3Gs">
                              <field name="NAME">timeout</field>
                              <field name="DELAY">60</field>
                              <field name="UNIT">sec</field>
                              <statement name="STATEMENT">
                                <block type="update" id="T$7so:*P#zS7;qFFP5D^">
                                  <mutation delay_input="false"></mutation>
                                  <field name="OID">virtuelle_Knoten.0.Waschmaschine_läuft</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="0;oN0Zj+`XAmi5-zpyGj">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id=";0bJlg8qya=5i.Pj7v_W">
                                      <mutation delay_input="false"></mutation>
                                      <field name="OID">alexa2.0.Echo-Devices.G090L90965230UL0.Commands.speak</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="text" id="P.KsgXq;Z4m,R|Q^53fU">
                                          <field name="TEXT">Die Waschmaschine ist fertig!</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="variables_set" id="^z,ST.HVxk;7reLM$P:I">
                                          <field name="VAR" id="V9/TviR{0#g;/_S{~!W9" variabletype="">inTimeout</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="vipw|J6tNu5wk5535dse">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="telegram" id="mJQKn]K=;um%mdYGT]`#">
                                              <field name="INSTANCE"></field>
                                              <field name="LOG"></field>
                                              <field name="SILENT">FALSE</field>
                                              <field name="PARSEMODE">default</field>
                                              <value name="MESSAGE">
                                                <shadow type="text" id="-AtBJ7ME%=n$+HGYTyuZ">
                                                  <field name="TEXT">Die Waschmaschine ist fertig!</field>
                                                </shadow>
                                              </value>
                                              <next>
                                                <block type="variables_set" id="D{F{`#j?*Kz5},|XWKC6">
                                                  <field name="VAR" id="V9/TviR{0#g;/_S{~!W9" variabletype="">inTimeout</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="%TG[Lsj:ck5+r^YlZ)8D">
                                                      <field name="BOOL">FALSE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </statement>
                        </block>
                      </statement>
                    </block>
                  </next>
                </block>
              </xml>
              
              J 1 Antwort Letzte Antwort
              0
              • J jwedenig

                Meinst Du so?

                <xml xmlns="http://www.w3.org/1999/xhtml">
                  <variables>
                    <variable type="" id="V9/TviR{0#g;/_S{~!W9">inTimeout</variable>
                    <variable type="undefined" id="timeout">timeout</variable>
                  </variables>
                  <block type="variables_set" id="/5iCS+tfQawO(8ho[n=]" x="37" y="-12">
                    <field name="VAR" id="V9/TviR{0#g;/_S{~!W9" variabletype="">inTimeout</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="T~7a~+Kgc1a*/km|BSSE">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                    <next>
                      <block type="on" id="wJAD_6Tt~y.J~Y){`}vx">
                        <field name="OID">hs100.0.192_168_1_69.power</field>
                        <field name="CONDITION">any</field>
                        <field name="ACK_CONDITION"></field>
                        <statement name="STATEMENT">
                          <block type="controls_if" id="6Y^wq_WC]M{/fHM/Qj(?">
                            <mutation elseif="1"></mutation>
                            <value name="IF0">
                              <block type="logic_operation" id="NB%1alrWMb4Z8rdC(0M{">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_compare" id="yi9-O72uP0eZ-B4gl|(:">
                                    <field name="OP">GTE</field>
                                    <value name="A">
                                      <block type="get_value" id="`*{?Ux2qblDTp$~qpIW^">
                                        <field name="ATTR">val</field>
                                        <field name="OID">hs100.0.192_168_1_69.power</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="/~+@cS^+RU-]2l%S92(2">
                                        <field name="NUM">10</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_compare" id=")eMq@`{mWrjCI,vUfBfy">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="get_value" id="^^?mc19R^!x^*V7=[ERO">
                                        <field name="ATTR">val</field>
                                        <field name="OID">virtuelle_Knoten.0.Waschmaschine_läuft</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_boolean" id="+Cjq?OVJSLIPBfaLnr-6">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="update" id="_aI72~qdAF/Unh]y{r*6">
                                <mutation delay_input="false"></mutation>
                                <field name="OID">virtuelle_Knoten.0.Waschmaschine_läuft</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="5.K4H_8PW*?^u|W`hYld">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="control" id="h^CgS-5@$0FF!;r*Ge/9">
                                    <mutation delay_input="false"></mutation>
                                    <field name="OID">alexa2.0.Echo-Devices.G090L90965230UL0.Commands.speak</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="text" id="p50DxWRt!D3z5pHRQwY[">
                                        <field name="TEXT">Die Waschmaschine wurde gestartet!</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="telegram" id="|;B/GcZ[ArV70vDrEufa">
                                        <field name="INSTANCE"></field>
                                        <field name="LOG"></field>
                                        <field name="SILENT">FALSE</field>
                                        <field name="PARSEMODE">default</field>
                                        <value name="MESSAGE">
                                          <shadow type="text" id="Wk7F{GD!o`1Wb#5Qp+QO">
                                            <field name="TEXT">Die Waschmaschine wurde gestartet!</field>
                                          </shadow>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </statement>
                            <value name="IF1">
                              <block type="logic_operation" id="7~V{RD3jd66I#NldR(#z">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="logic_compare" id="B#9RLg6{X`M%69evQ3t{">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="variables_get" id="]!{JQB75hzn?-CkE!t-B">
                                        <field name="VAR" id="V9/TviR{0#g;/_S{~!W9" variabletype="">inTimeout</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_boolean" id="us56[xZK(XsH)D7S;4[V">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_operation" id="@;TJ@N]%:Fo]o8;ad@NU">
                                    <field name="OP">AND</field>
                                    <value name="A">
                                      <block type="logic_compare" id="/)[48L=1U#NEo$K+o*{`">
                                        <field name="OP">LT</field>
                                        <value name="A">
                                          <block type="get_value" id="HiFUx}3xX)y%9|T~zr1-">
                                            <field name="ATTR">val</field>
                                            <field name="OID">hs100.0.192_168_1_69.power</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="d_:@yS}a9e29tcGD`}6:">
                                            <field name="NUM">4</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="logic_compare" id="V]X(u]9%=qvMaJ^3h3}s">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="get_value" id="*2V:EW2}]5KB$73Lkbqt">
                                            <field name="ATTR">val</field>
                                            <field name="OID">virtuelle_Knoten.0.Waschmaschine_läuft</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_boolean" id="s~tV8uSGmLsWcRodoX(W">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO1">
                              <block type="timeouts_settimeout" id="U6B`-Z[=2iHL2UKZH3Gs">
                                <field name="NAME">timeout</field>
                                <field name="DELAY">60</field>
                                <field name="UNIT">sec</field>
                                <statement name="STATEMENT">
                                  <block type="update" id="T$7so:*P#zS7;qFFP5D^">
                                    <mutation delay_input="false"></mutation>
                                    <field name="OID">virtuelle_Knoten.0.Waschmaschine_läuft</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="0;oN0Zj+`XAmi5-zpyGj">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="control" id=";0bJlg8qya=5i.Pj7v_W">
                                        <mutation delay_input="false"></mutation>
                                        <field name="OID">alexa2.0.Echo-Devices.G090L90965230UL0.Commands.speak</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="text" id="P.KsgXq;Z4m,R|Q^53fU">
                                            <field name="TEXT">Die Waschmaschine ist fertig!</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="^z,ST.HVxk;7reLM$P:I">
                                            <field name="VAR" id="V9/TviR{0#g;/_S{~!W9" variabletype="">inTimeout</field>
                                            <value name="VALUE">
                                              <block type="logic_boolean" id="vipw|J6tNu5wk5535dse">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="telegram" id="mJQKn]K=;um%mdYGT]`#">
                                                <field name="INSTANCE"></field>
                                                <field name="LOG"></field>
                                                <field name="SILENT">FALSE</field>
                                                <field name="PARSEMODE">default</field>
                                                <value name="MESSAGE">
                                                  <shadow type="text" id="-AtBJ7ME%=n$+HGYTyuZ">
                                                    <field name="TEXT">Die Waschmaschine ist fertig!</field>
                                                  </shadow>
                                                </value>
                                                <next>
                                                  <block type="variables_set" id="D{F{`#j?*Kz5},|XWKC6">
                                                    <field name="VAR" id="V9/TviR{0#g;/_S{~!W9" variabletype="">inTimeout</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="%TG[Lsj:ck5+r^YlZ)8D">
                                                        <field name="BOOL">FALSE</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </statement>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </xml>
                
                J Offline
                J Offline
                jwedenig
                Most Active
                schrieb am zuletzt editiert von
                #12

                Bildschirmfoto 2019-12-06 um 10.26.51.png

                1 Antwort Letzte Antwort
                0
                • J.A.R.V.I.S.J Offline
                  J.A.R.V.I.S.J Offline
                  J.A.R.V.I.S.
                  Developer
                  schrieb am zuletzt editiert von J.A.R.V.I.S.
                  #13

                  @jwedenig fast richtig. Du muss das "Setze inTimeout auf wahr" außerhalb des Timeoutblockes packen. Also am besten packst du den Block einfach direkt vor den Timeout Block.

                  So wie es jetzt ist würde es nicht viel bringen, da die Variable erst nach dem Timeout gesetzt werden würde.

                  1 Antwort Letzte Antwort
                  0
                  • J Offline
                    J Offline
                    jwedenig
                    Most Active
                    schrieb am zuletzt editiert von
                    #14

                    jetzt aber, oder?
                    Bin gespannt, ob es funktioniert

                    Bildschirmfoto 2019-12-07 um 08.05.57.png

                    paul53P 1 Antwort Letzte Antwort
                    0
                    • J jwedenig

                      jetzt aber, oder?
                      Bin gespannt, ob es funktioniert

                      Bildschirmfoto 2019-12-07 um 08.05.57.png

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

                      @jwedenig sagte:

                      jetzt aber, oder?

                      Nein, setze inTimeout auf falsch muss in den timeout / verzögert ausgeführt 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

                      1 Antwort Letzte Antwort
                      0
                      • J.A.R.V.I.S.J Offline
                        J.A.R.V.I.S.J Offline
                        J.A.R.V.I.S.
                        Developer
                        schrieb am zuletzt editiert von J.A.R.V.I.S.
                        #16

                        Das sollte die richtige Version sein.

                         <xml xmlns="http://www.w3.org/1999/xhtml">
                          <variables>
                            <variable type="" id="V9/TviR{0#g;/_S{~!W9">inTimeout</variable>
                            <variable type="undefined" id="timeout">timeout</variable>
                          </variables>
                          <block type="variables_set" id="/5iCS+tfQawO(8ho[n=]" x="37" y="-12">
                            <field name="VAR" id="V9/TviR{0#g;/_S{~!W9" variabletype="">inTimeout</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="T~7a~+Kgc1a*/km|BSSE">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                            <next>
                              <block type="on" id="wJAD_6Tt~y.J~Y){`}vx">
                                <field name="OID">hs100.0.192_168_1_69.power</field>
                                <field name="CONDITION">any</field>
                                <field name="ACK_CONDITION"></field>
                                <statement name="STATEMENT">
                                  <block type="controls_if" id="6Y^wq_WC]M{/fHM/Qj(?">
                                    <mutation elseif="1"></mutation>
                                    <value name="IF0">
                                      <block type="logic_operation" id="NB%1alrWMb4Z8rdC(0M{">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_compare" id="yi9-O72uP0eZ-B4gl|(:">
                                            <field name="OP">GTE</field>
                                            <value name="A">
                                              <block type="get_value" id="`*{?Ux2qblDTp$~qpIW^">
                                                <field name="ATTR">val</field>
                                                <field name="OID">hs100.0.192_168_1_69.power</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="/~+@cS^+RU-]2l%S92(2">
                                                <field name="NUM">10</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_compare" id=")eMq@`{mWrjCI,vUfBfy">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="get_value" id="^^?mc19R^!x^*V7=[ERO">
                                                <field name="ATTR">val</field>
                                                <field name="OID">virtuelle_Knoten.0.Waschmaschine_läuft</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_boolean" id="+Cjq?OVJSLIPBfaLnr-6">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="update" id="_aI72~qdAF/Unh]y{r*6">
                                        <mutation delay_input="false"></mutation>
                                        <field name="OID">virtuelle_Knoten.0.Waschmaschine_läuft</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="5.K4H_8PW*?^u|W`hYld">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="control" id="h^CgS-5@$0FF!;r*Ge/9">
                                            <mutation delay_input="false"></mutation>
                                            <field name="OID">alexa2.0.Echo-Devices.G090L90965230UL0.Commands.speak</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="text" id="p50DxWRt!D3z5pHRQwY[">
                                                <field name="TEXT">Die Waschmaschine wurde gestartet!</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="telegram" id="|;B/GcZ[ArV70vDrEufa">
                                                <field name="INSTANCE"></field>
                                                <field name="LOG"></field>
                                                <field name="SILENT">FALSE</field>
                                                <field name="PARSEMODE">default</field>
                                                <value name="MESSAGE">
                                                  <shadow type="text" id="Wk7F{GD!o`1Wb#5Qp+QO">
                                                    <field name="TEXT">Die Waschmaschine wurde gestartet!</field>
                                                  </shadow>
                                                </value>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                    <value name="IF1">
                                      <block type="logic_operation" id="7~V{RD3jd66I#NldR(#z">
                                        <field name="OP">AND</field>
                                        <value name="A">
                                          <block type="logic_compare" id="B#9RLg6{X`M%69evQ3t{">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="variables_get" id="]!{JQB75hzn?-CkE!t-B">
                                                <field name="VAR" id="V9/TviR{0#g;/_S{~!W9" variabletype="">inTimeout</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_boolean" id="us56[xZK(XsH)D7S;4[V">
                                                <field name="BOOL">FALSE</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_operation" id="@;TJ@N]%:Fo]o8;ad@NU">
                                            <field name="OP">AND</field>
                                            <value name="A">
                                              <block type="logic_compare" id="/)[48L=1U#NEo$K+o*{`">
                                                <field name="OP">LT</field>
                                                <value name="A">
                                                  <block type="get_value" id="HiFUx}3xX)y%9|T~zr1-">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">hs100.0.192_168_1_69.power</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="d_:@yS}a9e29tcGD`}6:">
                                                    <field name="NUM">4</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="logic_compare" id="V]X(u]9%=qvMaJ^3h3}s">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="get_value" id="*2V:EW2}]5KB$73Lkbqt">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">virtuelle_Knoten.0.Waschmaschine_läuft</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="logic_boolean" id="s~tV8uSGmLsWcRodoX(W">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO1">
                                      <block type="variables_set" id="^z,ST.HVxk;7reLM$P:I">
                                        <field name="VAR" id="V9/TviR{0#g;/_S{~!W9" variabletype="">inTimeout</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="vipw|J6tNu5wk5535dse">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="timeouts_settimeout" id="U6B`-Z[=2iHL2UKZH3Gs">
                                            <field name="NAME">timeout</field>
                                            <field name="DELAY">60</field>
                                            <field name="UNIT">sec</field>
                                            <statement name="STATEMENT">
                                              <block type="update" id="T$7so:*P#zS7;qFFP5D^">
                                                <mutation delay_input="false"></mutation>
                                                <field name="OID">virtuelle_Knoten.0.Waschmaschine_läuft</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="0;oN0Zj+`XAmi5-zpyGj">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="control" id=";0bJlg8qya=5i.Pj7v_W">
                                                    <mutation delay_input="false"></mutation>
                                                    <field name="OID">alexa2.0.Echo-Devices.G090L90965230UL0.Commands.speak</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="text" id="P.KsgXq;Z4m,R|Q^53fU">
                                                        <field name="TEXT">Die Waschmaschine ist fertig!</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="telegram" id="mJQKn]K=;um%mdYGT]`#">
                                                        <field name="INSTANCE"></field>
                                                        <field name="LOG"></field>
                                                        <field name="SILENT">FALSE</field>
                                                        <field name="PARSEMODE">default</field>
                                                        <value name="MESSAGE">
                                                          <shadow type="text" id="-AtBJ7ME%=n$+HGYTyuZ">
                                                            <field name="TEXT">Die Waschmaschine ist fertig!</field>
                                                          </shadow>
                                                        </value>
                                                        <next>
                                                          <block type="variables_set" id="D{F{`#j?*Kz5},|XWKC6">
                                                            <field name="VAR" id="V9/TviR{0#g;/_S{~!W9" variabletype="">inTimeout</field>
                                                            <value name="VALUE">
                                                              <block type="logic_boolean" id="%TG[Lsj:ck5+r^YlZ)8D">
                                                                <field name="BOOL">FALSE</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </xml>
                        

                        1 Antwort Letzte Antwort
                        0
                        • J Offline
                          J Offline
                          jwedenig
                          Most Active
                          schrieb am zuletzt editiert von
                          #17

                          Super, danke Euch, werde wieder testen und berichten!
                          Schönen Abend!

                          1 Antwort Letzte Antwort
                          0
                          • J Offline
                            J Offline
                            jwedenig
                            Most Active
                            schrieb am zuletzt editiert von
                            #18

                            vielen Dank nochmals, es funktioniert nun tadellos!
                            Liebe Grüße
                            Jürgen

                            1 Antwort Letzte Antwort
                            0

                            Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                            Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                            Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                            Registrieren Anmelden
                            Antworten
                            • In einem neuen Thema antworten
                            Anmelden zum Antworten
                            • Älteste zuerst
                            • Neuste zuerst
                            • Meiste Stimmen


                            Support us

                            ioBroker
                            Community Adapters
                            Donate
                            FAQ Cloud / IOT
                            HowTo: Node.js-Update
                            HowTo: Backup/Restore
                            Downloads
                            BLOG

                            649

                            Online

                            32.8k

                            Benutzer

                            82.8k

                            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