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

  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. [VORLAGE] Blockly Meldung wenn Waschmaschine fertig

NEWS

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

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

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

[VORLAGE] Blockly Meldung wenn Waschmaschine fertig

Geplant Angeheftet Gesperrt Verschoben Blockly
blocklytemplate
242 Beiträge 59 Kommentatoren 82.4k Aufrufe 51 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.
  • ? Offline
    ? Offline
    Ein ehemaliger Benutzer
    schrieb am zuletzt editiert von
    #158

    Ich habe Rantanplans script auch als Basis genutzt, läuft seit einem Jahr problemlos, für die Leistungsmessung läuft ein Shelly 1pm. Ich habe außerdem eine Leistungsmessung des Waschvorgangs erstellt, die die Leistungsveränderungen des Shelly zur Laufzeit der Maschine aufsummiert und nach Ende des Waschvorgangs eine pushhover-Meldung mit dem Gesamtverbrauch sendet. Erstaunlicherweise entspricht der Wert mit nur geringer Abweichung dem Realverbrauch:

    alt text

    Logik ist eigentlich einfach: Solange die Waschmaschine läuft ist die Variable WON wahr, mit jedem Update des Leistungswert im Shelly-Objekt merken wir uns Leistung und den Timestamp der letzten Änderungen. Bei der nächsten Änderung ermitteln wir die Differenz zum letzten Timestamp, multiplizieren mit der Leistung, formatieren und aktualisieren den gespeicherten Gesamtwert. Am Ende der Waschmaschine können wir den Wert aus Waschmaschine.power oder der Variablen ts_temp auslesen und z.B. an die Pushover-Nachricht anhängen:
    alt text

    Gerne auch mal testen, die gesamte Beschreibung gibt's hier: https://www.smarthomejetzt.de/so-wird-jede-waschmaschine-und-trockner-smart/

    1 Antwort Letzte Antwort
    0
    • t3chT Offline
      t3chT Offline
      t3ch
      schrieb am zuletzt editiert von t3ch
      #159

      Hi,
      ich habe das Problem, dass die Einschaltverzögerung nicht zurückgesetzt wird. Hat evtl. jemand´ne Idee woran das liegen mag? Dadurch bekomme ich kein "Waschmaschine läuft" Benachrichtigung. Mein Grenzwert liegt bei 2.1W. Wenn ich das Skript pausiere und starte wenn die Waschmaschine schon arbeitet, also > 0W zieht, funktioniert es..

      09:09:47.991	info	javascript.0 (7888) script.js.WaschmaschineFertig: Power:11.79 Verzögerung aktiv:falseWaschmaschine an:false
      09:09:47.992	info	javascript.0 (7888) script.js.WaschmaschineFertig: ***Starte Verzögerung
      09:09:52.569	info	javascript.0 (7888) script.js.WaschmaschineFertig: Power:11.55 Verzögerung aktiv:trueWaschmaschine an: false
      09:10:23.188	info	javascript.0 (7888) script.js.WaschmaschineFertig: Power:4.01 Verzögerung aktiv:true Waschmaschine an: false
      09:10:59.389	info	javascript.0 (7888) script.js.WaschmaschineFertig: Power:3.94 Verzögerung aktiv:true Waschmaschine an: false
      09:11:35.189	info	javascript.0 (7888) script.js.WaschmaschineFertig: Power:3.84 Verzögerung aktiv:true Waschmaschine an: false
      09:12:05.069	info	javascript.0 (7888) script.js.WaschmaschineFertig: Power:3.85 Verzögerung aktiv:true Waschmaschine an: false
      09:12:58.578	info	javascript.0 (7888) script.js.WaschmaschineFertig: Power:2120 Verzögerung aktiv:true Waschmaschine an: false
      09:14:36.289	info	javascript.0 (7888) script.js.WaschmaschineFertig: Power:2107 Verzögerung aktiv:true Waschmaschine an: false
      
      1 Antwort Letzte Antwort
      0
      • D Offline
        D Offline
        djsirius
        schrieb am zuletzt editiert von djsirius
        #160

        Guten Morgen,

        ich benutze dieses Script auch schon lange. Leider funktioniert das Script nach dem letzten JS Update nicht mehr, bzw. nur, wenn ich das Script neustarte.

        Hat jemand eine Idee wo der Fehler ist? Irgendwie reagiert das Script nicht, obwohl sich der Powerwert ändert.

        <xml xmlns="https://developers.google.com/blockly/xml">
          <variables>
            <variable id="eo//GcIsH?o?Xb`gsj^L">Meldetext</variable>
            <variable id="x74@3fHfZNDz?z2a,xF.">parameter</variable>
            <variable id="MXAKoyu#FS,d3bu4)hLY">VerzoegerungAktivSpuelmaschine</variable>
            <variable id="bCUZ,!4dG^ya5cOGE7Qr">GrenzWertWattSpuelmaschine</variable>
            <variable type="timeout" id="timeout">timeout</variable>
            <variable type="timeout" id="Einschaltverzoegerung">Einschaltverzoegerung</variable>
          </variables>
          <block type="procedures_defnoreturn" id="l1.gm`YNTt2#Ww;_Stf+" x="838" y="88">
            <mutation>
              <arg name="Meldetext" varid="eo//GcIsH?o?Xb`gsj^L"></arg>
            </mutation>
            <field name="NAME">Melden</field>
            <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
            <statement name="STACK">
              <block type="comment" id="CgkHkrp5c26e`w3uU(i`">
                <field name="COMMENT">Hier wird die Meldung ausgegeben</field>
                <next>
                  <block type="debug" id="SYQu;@N0JgE!W~[JZcZ_">
                    <field name="Severity">log</field>
                    <value name="TEXT">
                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="4+J8c.^+FrkDV^]dAda-">
                        <field name="TEXT">test</field>
                      </shadow>
                      <block type="variables_get" id="KuX^Hf4/i6gnp|rmq9WR">
                        <field name="VAR" id="eo//GcIsH?o?Xb`gsj^L">Meldetext</field>
                      </block>
                    </value>
                    <next>
                      <block type="comment" id="hBy7hd`EsC3Cz[CG}/hg">
                        <field name="COMMENT">Dot Küche</field>
                        <next>
                          <block type="control" id="Jy`_L_yjLJ-oY0??$JX~">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">alexa2.0.Echo-Devices.G090U5099123064L.Commands.speak</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="variables_get" id="aYz#A93`;)Vf.Cv3gV#p">
                                <field name="VAR" id="eo//GcIsH?o?Xb`gsj^L">Meldetext</field>
                              </block>
                            </value>
                            <next>
                              <block type="comment" id="W9A6q3XJioE0SVpw`ETK">
                                <field name="COMMENT">Dot Bad</field>
                                <next>
                                  <block type="control" id="{VAA_o!bo5pGR5ez84Zz">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">alexa2.0.Echo-Devices.G090U50991360F42.Commands.speak</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="variables_get" id="vC22]G-c^OPoF#d*~^_H">
                                        <field name="VAR" id="eo//GcIsH?o?Xb`gsj^L">Meldetext</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="telegram" id="G+{j+/n)Z41#7/ds34Zl">
                                        <field name="INSTANCE"></field>
                                        <field name="LOG"></field>
                                        <field name="SILENT">FALSE</field>
                                        <field name="PARSEMODE">default</field>
                                        <value name="MESSAGE">
                                          <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="9x|HH665Ob)EXKKk_S:P">
                                            <field name="TEXT"></field>
                                          </shadow>
                                          <block type="variables_get" id="gQDFNZc!n#_3q$RU_`W2">
                                            <field name="VAR" id="eo//GcIsH?o?Xb`gsj^L">Meldetext</field>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
          </block>
          <block type="comment" id="@`s,ARMz+*DZ*ns;z2m_" x="13" y="155">
            <field name="COMMENT">Initialisierung bei Scriptstart</field>
            <next>
              <block type="comment" id="Ov|lJMd@PV!y.oUN9Boj">
                <field name="COMMENT">VerzögerungAktiv NICHT ändern</field>
                <next>
                  <block type="variables_set" id="T+;|Db@bx|T]wkX[e.xT">
                    <field name="VAR" id="MXAKoyu#FS,d3bu4)hLY">VerzoegerungAktivSpuelmaschine</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="FimMeG{k6LBu0{7UjBJ4">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                    <next>
                      <block type="comment" id="6q4+KcF6/q*eh;RCmGKL">
                        <field name="COMMENT">Entscheidungswert festlegen</field>
                        <next>
                          <block type="variables_set" id="pE;t15K()B2=@=,RY5D_">
                            <field name="VAR" id="bCUZ,!4dG^ya5cOGE7Qr">GrenzWertWattSpuelmaschine</field>
                            <value name="VALUE">
                              <block type="math_number" id="OB=)nO2pXH:1HNwm(JpG">
                                <field name="NUM">1</field>
                              </block>
                            </value>
                            <next>
                              <block type="comment" id="|2tm%?,yK/o3_AA)J{ah">
                                <field name="COMMENT">Steckdose überwachen</field>
                                <next>
                                  <block type="on" id="|dlGHoQ87=K)nFeYS]]X">
                                    <field name="OID">meross.0.1912247791726925188148e1e9147e11.0-power</field>
                                    <field name="CONDITION">ne</field>
                                    <field name="ACK_CONDITION"></field>
                                    <statement name="STATEMENT">
                                      <block type="controls_if" id="=n/Jfc]x(Ib[NRPJZ%7X">
                                        <value name="IF0">
                                          <block type="logic_compare" id="?m1STicTe5=N-/f:Ji2s">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="on_source" id="QjKQBx`PdHENcy)eGM,5">
                                                <field name="ATTR">oldState.val</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id=":(p2PWPzD2(~R-q9upeS">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="comment" id=";%e=m5A.5_U8[v[Odt7.">
                                            <field name="COMMENT">Dieser Teil wird NUR ausgeführt wenn</field>
                                            <next>
                                              <block type="comment" id="Bv,r2iN_4zSfF_^X35gM">
                                                <field name="COMMENT">Funkstecker oder Spülm. komplett aus war.</field>
                                                <next>
                                                  <block type="variables_set" id="xuK#29.xYf)m6FX5LA78">
                                                    <field name="VAR" id="MXAKoyu#FS,d3bu4)hLY">VerzoegerungAktivSpuelmaschine</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id=")}Jh9zUdflaLNnL+;^h=">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="debug" id="Wv*jiP9Bn3#//0KE[4e[">
                                                        <field name="Severity">log</field>
                                                        <value name="TEXT">
                                                          <shadow type="text" id="!hyL_SIc#q!nV1G.NU,/">
                                                            <field name="TEXT">***Starte Verzögerung</field>
                                                          </shadow>
                                                        </value>
                                                        <next>
                                                          <block type="timeouts_settimeout" id="v[ws-ZxN:-nNl,kERlT8">
                                                            <field name="NAME">Einschaltverzoegerung</field>
                                                            <field name="DELAY">0</field>
                                                            <field name="UNIT">sec</field>
                                                            <statement name="STATEMENT">
                                                              <block type="comment" id="UyUTD{W;Ef;u2!)%y5h|">
                                                                <field name="COMMENT">Eventuell hohe Einschaltspannung abfangen.</field>
                                                                <next>
                                                                  <block type="comment" id="^wiM;VZ*5RLS-+SMsG7?">
                                                                    <field name="COMMENT">Diese kann größer als der Grenzwert sein</field>
                                                                    <next>
                                                                      <block type="variables_set" id="@d2;tEWydly|fW:ng;eg">
                                                                        <field name="VAR" id="MXAKoyu#FS,d3bu4)hLY">VerzoegerungAktivSpuelmaschine</field>
                                                                        <value name="VALUE">
                                                                          <block type="logic_boolean" id="S5R1RMtIKx(=N;}|dM%Z">
                                                                            <field name="BOOL">FALSE</field>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="debug" id="1^,/eLLAT{#66hqVIel8">
                                                                            <field name="Severity">log</field>
                                                                            <value name="TEXT">
                                                                              <shadow type="text" id="[koH26;mOP0UeXV~CJRb">
                                                                                <field name="TEXT">***Beende Verzögerung</field>
                                                                              </shadow>
                                                                            </value>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                        <next>
                                          <block type="comment" id="EZK4(UY%`}HZl{2F)m6p">
                                            <field name="COMMENT">Ab hier wird gewaschen</field>
                                            <next>
                                              <block type="controls_if" id="S(-Xvr1uja6/vNdH|?j:">
                                                <mutation elseif="2"></mutation>
                                                <value name="IF0">
                                                  <block type="logic_operation" id="s(;r=_ekdU*dF=_Tsrbb" inline="false">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block type="logic_compare" id="d_lZY_VlNaa40/Pob=Um">
                                                        <field name="OP">GT</field>
                                                        <value name="A">
                                                          <block type="on_source" id="`c4GU.`+o2_G+Vdxq;n/">
                                                            <field name="ATTR">state.val</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="variables_get" id="FD[JnQcwajuYLgGmTX`.">
                                                            <field name="VAR" id="bCUZ,!4dG^ya5cOGE7Qr">GrenzWertWattSpuelmaschine</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_operation" id="*Y`H0qa!`fsBeI/2Cv+c" inline="false">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <block type="logic_compare" id="zC,(}TPXAvX2yd^k`W._">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="get_value" id=";a;[[bw/v2oQnG9DHZIn">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">javascript.0.SpuelmaschineAN</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_boolean" id=";a5=vVD`86hstjR{4y~+">
                                                                <field name="BOOL">FALSE</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_compare" id="K.3M9Le`+STB!.M_eD7O">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="variables_get" id="[!KuvI83Wzp*sDDNM{S!">
                                                                <field name="VAR" id="MXAKoyu#FS,d3bu4)hLY">VerzoegerungAktivSpuelmaschine</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_boolean" id="9_[X?aI?X1w]lj.RY`K^">
                                                                <field name="BOOL">FALSE</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="control" id="S6URE:3#}}.v#e!X.A4D">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">javascript.0.SpuelmaschineAN</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="logic_boolean" id="QqpwRU?xP?P=bvS9HS[1">
                                                        <field name="BOOL">TRUE</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="procedures_callnoreturn" id="=!*WIp};Ta`)XeMMk,iR">
                                                        <mutation name="Melden">
                                                          <arg name="Meldetext"></arg>
                                                        </mutation>
                                                        <value name="ARG0">
                                                          <block type="text" id="{QcAY3oi:,FGG.929?TS">
                                                            <field name="TEXT">Die Spülmaschine läuft</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                                <value name="IF1">
                                                  <block type="logic_compare" id="Yuagp|w@)mC+asceXLLu">
                                                    <field name="OP">GT</field>
                                                    <value name="A">
                                                      <block type="on_source" id="P(tu4AS{);E?w-p?]{1q">
                                                        <field name="ATTR">state.val</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="variables_get" id="ou6,Zi?vbs[;{]@93U`!">
                                                        <field name="VAR" id="bCUZ,!4dG^ya5cOGE7Qr">GrenzWertWattSpuelmaschine</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO1">
                                                  <block type="comment" id="H90l#sdGb5I}Wqsbz=9s">
                                                    <field name="COMMENT">Timer stoppen</field>
                                                    <next>
                                                      <block type="procedures_callnoreturn" id="zo=cPu~=j#pus6bWVaJl">
                                                        <mutation name="checkFertig">
                                                          <arg name="parameter"></arg>
                                                        </mutation>
                                                        <value name="ARG0">
                                                          <block type="logic_boolean" id="1SYbGS^3xkqD/Uj?{bvJ">
                                                            <field name="BOOL">FALSE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                                <value name="IF2">
                                                  <block type="logic_operation" id="_@|YxZPYI(z3![Q=ZbX4" inline="false">
                                                    <field name="OP">AND</field>
                                                    <value name="A">
                                                      <block type="logic_compare" id="Ge6FX#6b5WYoc;wF%%iH">
                                                        <field name="OP">LT</field>
                                                        <value name="A">
                                                          <block type="on_source" id="0Vw33+AwVD~={g{aHa~d">
                                                            <field name="ATTR">state.val</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="variables_get" id="NufLwbvZR1.fEmqJNOTZ">
                                                            <field name="VAR" id="bCUZ,!4dG^ya5cOGE7Qr">GrenzWertWattSpuelmaschine</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="logic_compare" id="X[1t=zl25bQ]aHT[:`,8">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="get_value" id="4WFkiPOYU?#zQhOL)0u(">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">javascript.0.SpuelmaschineAN</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_boolean" id="?jrLY7K)k;1?sa!Ef{VO">
                                                            <field name="BOOL">TRUE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO2">
                                                  <block type="comment" id="}Q59!:8+Dc~b~LwZhq-(">
                                                    <field name="COMMENT">Timer starten</field>
                                                    <next>
                                                      <block type="procedures_callnoreturn" id=";MD%1IF[[H29g_f=vvYH">
                                                        <mutation name="checkFertig">
                                                          <arg name="parameter"></arg>
                                                        </mutation>
                                                        <value name="ARG0">
                                                          <block type="logic_boolean" id="/yX*,4aU!HHUO#/2U-NR">
                                                            <field name="BOOL">TRUE</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </next>
          </block>
          <block type="procedures_defnoreturn" id="sDP?w~)oJD}Z95[_?EY0" x="838" y="588">
            <mutation>
              <arg name="parameter" varid="x74@3fHfZNDz?z2a,xF."></arg>
            </mutation>
            <field name="NAME">checkFertig</field>
            <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
            <statement name="STACK">
              <block type="comment" id="V2@7jqv5RTl+}q}xfEsZ">
                <field name="COMMENT">Timer stoppen</field>
                <next>
                  <block type="timeouts_cleartimeout" id="y7iPL;/^^,*);q|%Pk6;">
                    <field name="NAME">Einschaltverzoegerung</field>
                    <next>
                      <block type="controls_if" id="*DX-*|5t*M5.|5Qw0p76">
                        <value name="IF0">
                          <block type="logic_compare" id="[-Hs2uzeFf6L7XO4:d6g">
                            <field name="OP">EQ</field>
                            <value name="A">
                              <block type="variables_get" id="uT*6f!Y:?Sivq1F-y;7_">
                                <field name="VAR" id="x74@3fHfZNDz?z2a,xF.">parameter</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_boolean" id="w?1)4.uK{/ey3NJ)NjH:">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="comment" id="fU`TRz:h*y1K[t@GmyY:">
                            <field name="COMMENT">Timer starten</field>
                            <next>
                              <block type="timeouts_settimeout" id="k%sy5:QdTn+3f@{OZshs">
                                <field name="NAME">timeout</field>
                                <field name="DELAY">40</field>
                                <field name="UNIT">sec</field>
                                <statement name="STATEMENT">
                                  <block type="control" id="UOquZ.)w|Dv~5_@iC*HO">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">javascript.0.SpuelmaschineAN</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="ttQizIf!/AB*HLfb9Kw1">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="procedures_callnoreturn" id="HHrpaU=vtt6v1JInTG~l">
                                        <mutation name="Melden">
                                          <arg name="Meldetext"></arg>
                                        </mutation>
                                        <value name="ARG0">
                                          <block type="text" id="leE4:W;JI@,LD;n0Gs6r">
                                            <field name="TEXT">Die Spülmaschine ist fertig</field>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </statement>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
          </block>
        </xml>
        

        Gruß

        djsirius

        sigi234S dslraserD 2 Antworten Letzte Antwort
        0
        • D djsirius

          Guten Morgen,

          ich benutze dieses Script auch schon lange. Leider funktioniert das Script nach dem letzten JS Update nicht mehr, bzw. nur, wenn ich das Script neustarte.

          Hat jemand eine Idee wo der Fehler ist? Irgendwie reagiert das Script nicht, obwohl sich der Powerwert ändert.

          <xml xmlns="https://developers.google.com/blockly/xml">
            <variables>
              <variable id="eo//GcIsH?o?Xb`gsj^L">Meldetext</variable>
              <variable id="x74@3fHfZNDz?z2a,xF.">parameter</variable>
              <variable id="MXAKoyu#FS,d3bu4)hLY">VerzoegerungAktivSpuelmaschine</variable>
              <variable id="bCUZ,!4dG^ya5cOGE7Qr">GrenzWertWattSpuelmaschine</variable>
              <variable type="timeout" id="timeout">timeout</variable>
              <variable type="timeout" id="Einschaltverzoegerung">Einschaltverzoegerung</variable>
            </variables>
            <block type="procedures_defnoreturn" id="l1.gm`YNTt2#Ww;_Stf+" x="838" y="88">
              <mutation>
                <arg name="Meldetext" varid="eo//GcIsH?o?Xb`gsj^L"></arg>
              </mutation>
              <field name="NAME">Melden</field>
              <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
              <statement name="STACK">
                <block type="comment" id="CgkHkrp5c26e`w3uU(i`">
                  <field name="COMMENT">Hier wird die Meldung ausgegeben</field>
                  <next>
                    <block type="debug" id="SYQu;@N0JgE!W~[JZcZ_">
                      <field name="Severity">log</field>
                      <value name="TEXT">
                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="4+J8c.^+FrkDV^]dAda-">
                          <field name="TEXT">test</field>
                        </shadow>
                        <block type="variables_get" id="KuX^Hf4/i6gnp|rmq9WR">
                          <field name="VAR" id="eo//GcIsH?o?Xb`gsj^L">Meldetext</field>
                        </block>
                      </value>
                      <next>
                        <block type="comment" id="hBy7hd`EsC3Cz[CG}/hg">
                          <field name="COMMENT">Dot Küche</field>
                          <next>
                            <block type="control" id="Jy`_L_yjLJ-oY0??$JX~">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">alexa2.0.Echo-Devices.G090U5099123064L.Commands.speak</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="variables_get" id="aYz#A93`;)Vf.Cv3gV#p">
                                  <field name="VAR" id="eo//GcIsH?o?Xb`gsj^L">Meldetext</field>
                                </block>
                              </value>
                              <next>
                                <block type="comment" id="W9A6q3XJioE0SVpw`ETK">
                                  <field name="COMMENT">Dot Bad</field>
                                  <next>
                                    <block type="control" id="{VAA_o!bo5pGR5ez84Zz">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">alexa2.0.Echo-Devices.G090U50991360F42.Commands.speak</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="variables_get" id="vC22]G-c^OPoF#d*~^_H">
                                          <field name="VAR" id="eo//GcIsH?o?Xb`gsj^L">Meldetext</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="telegram" id="G+{j+/n)Z41#7/ds34Zl">
                                          <field name="INSTANCE"></field>
                                          <field name="LOG"></field>
                                          <field name="SILENT">FALSE</field>
                                          <field name="PARSEMODE">default</field>
                                          <value name="MESSAGE">
                                            <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="9x|HH665Ob)EXKKk_S:P">
                                              <field name="TEXT"></field>
                                            </shadow>
                                            <block type="variables_get" id="gQDFNZc!n#_3q$RU_`W2">
                                              <field name="VAR" id="eo//GcIsH?o?Xb`gsj^L">Meldetext</field>
                                            </block>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
            <block type="comment" id="@`s,ARMz+*DZ*ns;z2m_" x="13" y="155">
              <field name="COMMENT">Initialisierung bei Scriptstart</field>
              <next>
                <block type="comment" id="Ov|lJMd@PV!y.oUN9Boj">
                  <field name="COMMENT">VerzögerungAktiv NICHT ändern</field>
                  <next>
                    <block type="variables_set" id="T+;|Db@bx|T]wkX[e.xT">
                      <field name="VAR" id="MXAKoyu#FS,d3bu4)hLY">VerzoegerungAktivSpuelmaschine</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="FimMeG{k6LBu0{7UjBJ4">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                      <next>
                        <block type="comment" id="6q4+KcF6/q*eh;RCmGKL">
                          <field name="COMMENT">Entscheidungswert festlegen</field>
                          <next>
                            <block type="variables_set" id="pE;t15K()B2=@=,RY5D_">
                              <field name="VAR" id="bCUZ,!4dG^ya5cOGE7Qr">GrenzWertWattSpuelmaschine</field>
                              <value name="VALUE">
                                <block type="math_number" id="OB=)nO2pXH:1HNwm(JpG">
                                  <field name="NUM">1</field>
                                </block>
                              </value>
                              <next>
                                <block type="comment" id="|2tm%?,yK/o3_AA)J{ah">
                                  <field name="COMMENT">Steckdose überwachen</field>
                                  <next>
                                    <block type="on" id="|dlGHoQ87=K)nFeYS]]X">
                                      <field name="OID">meross.0.1912247791726925188148e1e9147e11.0-power</field>
                                      <field name="CONDITION">ne</field>
                                      <field name="ACK_CONDITION"></field>
                                      <statement name="STATEMENT">
                                        <block type="controls_if" id="=n/Jfc]x(Ib[NRPJZ%7X">
                                          <value name="IF0">
                                            <block type="logic_compare" id="?m1STicTe5=N-/f:Ji2s">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="on_source" id="QjKQBx`PdHENcy)eGM,5">
                                                  <field name="ATTR">oldState.val</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="math_number" id=":(p2PWPzD2(~R-q9upeS">
                                                  <field name="NUM">0</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="comment" id=";%e=m5A.5_U8[v[Odt7.">
                                              <field name="COMMENT">Dieser Teil wird NUR ausgeführt wenn</field>
                                              <next>
                                                <block type="comment" id="Bv,r2iN_4zSfF_^X35gM">
                                                  <field name="COMMENT">Funkstecker oder Spülm. komplett aus war.</field>
                                                  <next>
                                                    <block type="variables_set" id="xuK#29.xYf)m6FX5LA78">
                                                      <field name="VAR" id="MXAKoyu#FS,d3bu4)hLY">VerzoegerungAktivSpuelmaschine</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id=")}Jh9zUdflaLNnL+;^h=">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="debug" id="Wv*jiP9Bn3#//0KE[4e[">
                                                          <field name="Severity">log</field>
                                                          <value name="TEXT">
                                                            <shadow type="text" id="!hyL_SIc#q!nV1G.NU,/">
                                                              <field name="TEXT">***Starte Verzögerung</field>
                                                            </shadow>
                                                          </value>
                                                          <next>
                                                            <block type="timeouts_settimeout" id="v[ws-ZxN:-nNl,kERlT8">
                                                              <field name="NAME">Einschaltverzoegerung</field>
                                                              <field name="DELAY">0</field>
                                                              <field name="UNIT">sec</field>
                                                              <statement name="STATEMENT">
                                                                <block type="comment" id="UyUTD{W;Ef;u2!)%y5h|">
                                                                  <field name="COMMENT">Eventuell hohe Einschaltspannung abfangen.</field>
                                                                  <next>
                                                                    <block type="comment" id="^wiM;VZ*5RLS-+SMsG7?">
                                                                      <field name="COMMENT">Diese kann größer als der Grenzwert sein</field>
                                                                      <next>
                                                                        <block type="variables_set" id="@d2;tEWydly|fW:ng;eg">
                                                                          <field name="VAR" id="MXAKoyu#FS,d3bu4)hLY">VerzoegerungAktivSpuelmaschine</field>
                                                                          <value name="VALUE">
                                                                            <block type="logic_boolean" id="S5R1RMtIKx(=N;}|dM%Z">
                                                                              <field name="BOOL">FALSE</field>
                                                                            </block>
                                                                          </value>
                                                                          <next>
                                                                            <block type="debug" id="1^,/eLLAT{#66hqVIel8">
                                                                              <field name="Severity">log</field>
                                                                              <value name="TEXT">
                                                                                <shadow type="text" id="[koH26;mOP0UeXV~CJRb">
                                                                                  <field name="TEXT">***Beende Verzögerung</field>
                                                                                </shadow>
                                                                              </value>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                          <next>
                                            <block type="comment" id="EZK4(UY%`}HZl{2F)m6p">
                                              <field name="COMMENT">Ab hier wird gewaschen</field>
                                              <next>
                                                <block type="controls_if" id="S(-Xvr1uja6/vNdH|?j:">
                                                  <mutation elseif="2"></mutation>
                                                  <value name="IF0">
                                                    <block type="logic_operation" id="s(;r=_ekdU*dF=_Tsrbb" inline="false">
                                                      <field name="OP">AND</field>
                                                      <value name="A">
                                                        <block type="logic_compare" id="d_lZY_VlNaa40/Pob=Um">
                                                          <field name="OP">GT</field>
                                                          <value name="A">
                                                            <block type="on_source" id="`c4GU.`+o2_G+Vdxq;n/">
                                                              <field name="ATTR">state.val</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="variables_get" id="FD[JnQcwajuYLgGmTX`.">
                                                              <field name="VAR" id="bCUZ,!4dG^ya5cOGE7Qr">GrenzWertWattSpuelmaschine</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_operation" id="*Y`H0qa!`fsBeI/2Cv+c" inline="false">
                                                          <field name="OP">AND</field>
                                                          <value name="A">
                                                            <block type="logic_compare" id="zC,(}TPXAvX2yd^k`W._">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="get_value" id=";a;[[bw/v2oQnG9DHZIn">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">javascript.0.SpuelmaschineAN</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="logic_boolean" id=";a5=vVD`86hstjR{4y~+">
                                                                  <field name="BOOL">FALSE</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="logic_compare" id="K.3M9Le`+STB!.M_eD7O">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="variables_get" id="[!KuvI83Wzp*sDDNM{S!">
                                                                  <field name="VAR" id="MXAKoyu#FS,d3bu4)hLY">VerzoegerungAktivSpuelmaschine</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="logic_boolean" id="9_[X?aI?X1w]lj.RY`K^">
                                                                  <field name="BOOL">FALSE</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="control" id="S6URE:3#}}.v#e!X.A4D">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">javascript.0.SpuelmaschineAN</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="logic_boolean" id="QqpwRU?xP?P=bvS9HS[1">
                                                          <field name="BOOL">TRUE</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="procedures_callnoreturn" id="=!*WIp};Ta`)XeMMk,iR">
                                                          <mutation name="Melden">
                                                            <arg name="Meldetext"></arg>
                                                          </mutation>
                                                          <value name="ARG0">
                                                            <block type="text" id="{QcAY3oi:,FGG.929?TS">
                                                              <field name="TEXT">Die Spülmaschine läuft</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                  <value name="IF1">
                                                    <block type="logic_compare" id="Yuagp|w@)mC+asceXLLu">
                                                      <field name="OP">GT</field>
                                                      <value name="A">
                                                        <block type="on_source" id="P(tu4AS{);E?w-p?]{1q">
                                                          <field name="ATTR">state.val</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="variables_get" id="ou6,Zi?vbs[;{]@93U`!">
                                                          <field name="VAR" id="bCUZ,!4dG^ya5cOGE7Qr">GrenzWertWattSpuelmaschine</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO1">
                                                    <block type="comment" id="H90l#sdGb5I}Wqsbz=9s">
                                                      <field name="COMMENT">Timer stoppen</field>
                                                      <next>
                                                        <block type="procedures_callnoreturn" id="zo=cPu~=j#pus6bWVaJl">
                                                          <mutation name="checkFertig">
                                                            <arg name="parameter"></arg>
                                                          </mutation>
                                                          <value name="ARG0">
                                                            <block type="logic_boolean" id="1SYbGS^3xkqD/Uj?{bvJ">
                                                              <field name="BOOL">FALSE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                  <value name="IF2">
                                                    <block type="logic_operation" id="_@|YxZPYI(z3![Q=ZbX4" inline="false">
                                                      <field name="OP">AND</field>
                                                      <value name="A">
                                                        <block type="logic_compare" id="Ge6FX#6b5WYoc;wF%%iH">
                                                          <field name="OP">LT</field>
                                                          <value name="A">
                                                            <block type="on_source" id="0Vw33+AwVD~={g{aHa~d">
                                                              <field name="ATTR">state.val</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="variables_get" id="NufLwbvZR1.fEmqJNOTZ">
                                                              <field name="VAR" id="bCUZ,!4dG^ya5cOGE7Qr">GrenzWertWattSpuelmaschine</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="logic_compare" id="X[1t=zl25bQ]aHT[:`,8">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id="4WFkiPOYU?#zQhOL)0u(">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">javascript.0.SpuelmaschineAN</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="logic_boolean" id="?jrLY7K)k;1?sa!Ef{VO">
                                                              <field name="BOOL">TRUE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO2">
                                                    <block type="comment" id="}Q59!:8+Dc~b~LwZhq-(">
                                                      <field name="COMMENT">Timer starten</field>
                                                      <next>
                                                        <block type="procedures_callnoreturn" id=";MD%1IF[[H29g_f=vvYH">
                                                          <mutation name="checkFertig">
                                                            <arg name="parameter"></arg>
                                                          </mutation>
                                                          <value name="ARG0">
                                                            <block type="logic_boolean" id="/yX*,4aU!HHUO#/2U-NR">
                                                              <field name="BOOL">TRUE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </next>
            </block>
            <block type="procedures_defnoreturn" id="sDP?w~)oJD}Z95[_?EY0" x="838" y="588">
              <mutation>
                <arg name="parameter" varid="x74@3fHfZNDz?z2a,xF."></arg>
              </mutation>
              <field name="NAME">checkFertig</field>
              <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
              <statement name="STACK">
                <block type="comment" id="V2@7jqv5RTl+}q}xfEsZ">
                  <field name="COMMENT">Timer stoppen</field>
                  <next>
                    <block type="timeouts_cleartimeout" id="y7iPL;/^^,*);q|%Pk6;">
                      <field name="NAME">Einschaltverzoegerung</field>
                      <next>
                        <block type="controls_if" id="*DX-*|5t*M5.|5Qw0p76">
                          <value name="IF0">
                            <block type="logic_compare" id="[-Hs2uzeFf6L7XO4:d6g">
                              <field name="OP">EQ</field>
                              <value name="A">
                                <block type="variables_get" id="uT*6f!Y:?Sivq1F-y;7_">
                                  <field name="VAR" id="x74@3fHfZNDz?z2a,xF.">parameter</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_boolean" id="w?1)4.uK{/ey3NJ)NjH:">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="comment" id="fU`TRz:h*y1K[t@GmyY:">
                              <field name="COMMENT">Timer starten</field>
                              <next>
                                <block type="timeouts_settimeout" id="k%sy5:QdTn+3f@{OZshs">
                                  <field name="NAME">timeout</field>
                                  <field name="DELAY">40</field>
                                  <field name="UNIT">sec</field>
                                  <statement name="STATEMENT">
                                    <block type="control" id="UOquZ.)w|Dv~5_@iC*HO">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">javascript.0.SpuelmaschineAN</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="ttQizIf!/AB*HLfb9Kw1">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="procedures_callnoreturn" id="HHrpaU=vtt6v1JInTG~l">
                                          <mutation name="Melden">
                                            <arg name="Meldetext"></arg>
                                          </mutation>
                                          <value name="ARG0">
                                            <block type="text" id="leE4:W;JI@,LD;n0Gs6r">
                                              <field name="TEXT">Die Spülmaschine ist fertig</field>
                                            </block>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </xml>
          
          sigi234S Online
          sigi234S Online
          sigi234
          Forum Testing Most Active
          schrieb am zuletzt editiert von sigi234
          #161

          @djsirius sagte in [VORLAGE] Blockly Meldung wenn Waschmaschine fertig:

          Hat jemand eine Idee wo der Fehler ist?

          Ersetze Alle Time Blockly neu.

          Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
          Immer Daten sichern!

          A 1 Antwort Letzte Antwort
          0
          • D djsirius

            Guten Morgen,

            ich benutze dieses Script auch schon lange. Leider funktioniert das Script nach dem letzten JS Update nicht mehr, bzw. nur, wenn ich das Script neustarte.

            Hat jemand eine Idee wo der Fehler ist? Irgendwie reagiert das Script nicht, obwohl sich der Powerwert ändert.

            <xml xmlns="https://developers.google.com/blockly/xml">
              <variables>
                <variable id="eo//GcIsH?o?Xb`gsj^L">Meldetext</variable>
                <variable id="x74@3fHfZNDz?z2a,xF.">parameter</variable>
                <variable id="MXAKoyu#FS,d3bu4)hLY">VerzoegerungAktivSpuelmaschine</variable>
                <variable id="bCUZ,!4dG^ya5cOGE7Qr">GrenzWertWattSpuelmaschine</variable>
                <variable type="timeout" id="timeout">timeout</variable>
                <variable type="timeout" id="Einschaltverzoegerung">Einschaltverzoegerung</variable>
              </variables>
              <block type="procedures_defnoreturn" id="l1.gm`YNTt2#Ww;_Stf+" x="838" y="88">
                <mutation>
                  <arg name="Meldetext" varid="eo//GcIsH?o?Xb`gsj^L"></arg>
                </mutation>
                <field name="NAME">Melden</field>
                <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                <statement name="STACK">
                  <block type="comment" id="CgkHkrp5c26e`w3uU(i`">
                    <field name="COMMENT">Hier wird die Meldung ausgegeben</field>
                    <next>
                      <block type="debug" id="SYQu;@N0JgE!W~[JZcZ_">
                        <field name="Severity">log</field>
                        <value name="TEXT">
                          <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="4+J8c.^+FrkDV^]dAda-">
                            <field name="TEXT">test</field>
                          </shadow>
                          <block type="variables_get" id="KuX^Hf4/i6gnp|rmq9WR">
                            <field name="VAR" id="eo//GcIsH?o?Xb`gsj^L">Meldetext</field>
                          </block>
                        </value>
                        <next>
                          <block type="comment" id="hBy7hd`EsC3Cz[CG}/hg">
                            <field name="COMMENT">Dot Küche</field>
                            <next>
                              <block type="control" id="Jy`_L_yjLJ-oY0??$JX~">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">alexa2.0.Echo-Devices.G090U5099123064L.Commands.speak</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="variables_get" id="aYz#A93`;)Vf.Cv3gV#p">
                                    <field name="VAR" id="eo//GcIsH?o?Xb`gsj^L">Meldetext</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="comment" id="W9A6q3XJioE0SVpw`ETK">
                                    <field name="COMMENT">Dot Bad</field>
                                    <next>
                                      <block type="control" id="{VAA_o!bo5pGR5ez84Zz">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">alexa2.0.Echo-Devices.G090U50991360F42.Commands.speak</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="variables_get" id="vC22]G-c^OPoF#d*~^_H">
                                            <field name="VAR" id="eo//GcIsH?o?Xb`gsj^L">Meldetext</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="telegram" id="G+{j+/n)Z41#7/ds34Zl">
                                            <field name="INSTANCE"></field>
                                            <field name="LOG"></field>
                                            <field name="SILENT">FALSE</field>
                                            <field name="PARSEMODE">default</field>
                                            <value name="MESSAGE">
                                              <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="9x|HH665Ob)EXKKk_S:P">
                                                <field name="TEXT"></field>
                                              </shadow>
                                              <block type="variables_get" id="gQDFNZc!n#_3q$RU_`W2">
                                                <field name="VAR" id="eo//GcIsH?o?Xb`gsj^L">Meldetext</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
              <block type="comment" id="@`s,ARMz+*DZ*ns;z2m_" x="13" y="155">
                <field name="COMMENT">Initialisierung bei Scriptstart</field>
                <next>
                  <block type="comment" id="Ov|lJMd@PV!y.oUN9Boj">
                    <field name="COMMENT">VerzögerungAktiv NICHT ändern</field>
                    <next>
                      <block type="variables_set" id="T+;|Db@bx|T]wkX[e.xT">
                        <field name="VAR" id="MXAKoyu#FS,d3bu4)hLY">VerzoegerungAktivSpuelmaschine</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="FimMeG{k6LBu0{7UjBJ4">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                        <next>
                          <block type="comment" id="6q4+KcF6/q*eh;RCmGKL">
                            <field name="COMMENT">Entscheidungswert festlegen</field>
                            <next>
                              <block type="variables_set" id="pE;t15K()B2=@=,RY5D_">
                                <field name="VAR" id="bCUZ,!4dG^ya5cOGE7Qr">GrenzWertWattSpuelmaschine</field>
                                <value name="VALUE">
                                  <block type="math_number" id="OB=)nO2pXH:1HNwm(JpG">
                                    <field name="NUM">1</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="comment" id="|2tm%?,yK/o3_AA)J{ah">
                                    <field name="COMMENT">Steckdose überwachen</field>
                                    <next>
                                      <block type="on" id="|dlGHoQ87=K)nFeYS]]X">
                                        <field name="OID">meross.0.1912247791726925188148e1e9147e11.0-power</field>
                                        <field name="CONDITION">ne</field>
                                        <field name="ACK_CONDITION"></field>
                                        <statement name="STATEMENT">
                                          <block type="controls_if" id="=n/Jfc]x(Ib[NRPJZ%7X">
                                            <value name="IF0">
                                              <block type="logic_compare" id="?m1STicTe5=N-/f:Ji2s">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="on_source" id="QjKQBx`PdHENcy)eGM,5">
                                                    <field name="ATTR">oldState.val</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id=":(p2PWPzD2(~R-q9upeS">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="comment" id=";%e=m5A.5_U8[v[Odt7.">
                                                <field name="COMMENT">Dieser Teil wird NUR ausgeführt wenn</field>
                                                <next>
                                                  <block type="comment" id="Bv,r2iN_4zSfF_^X35gM">
                                                    <field name="COMMENT">Funkstecker oder Spülm. komplett aus war.</field>
                                                    <next>
                                                      <block type="variables_set" id="xuK#29.xYf)m6FX5LA78">
                                                        <field name="VAR" id="MXAKoyu#FS,d3bu4)hLY">VerzoegerungAktivSpuelmaschine</field>
                                                        <value name="VALUE">
                                                          <block type="logic_boolean" id=")}Jh9zUdflaLNnL+;^h=">
                                                            <field name="BOOL">TRUE</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="debug" id="Wv*jiP9Bn3#//0KE[4e[">
                                                            <field name="Severity">log</field>
                                                            <value name="TEXT">
                                                              <shadow type="text" id="!hyL_SIc#q!nV1G.NU,/">
                                                                <field name="TEXT">***Starte Verzögerung</field>
                                                              </shadow>
                                                            </value>
                                                            <next>
                                                              <block type="timeouts_settimeout" id="v[ws-ZxN:-nNl,kERlT8">
                                                                <field name="NAME">Einschaltverzoegerung</field>
                                                                <field name="DELAY">0</field>
                                                                <field name="UNIT">sec</field>
                                                                <statement name="STATEMENT">
                                                                  <block type="comment" id="UyUTD{W;Ef;u2!)%y5h|">
                                                                    <field name="COMMENT">Eventuell hohe Einschaltspannung abfangen.</field>
                                                                    <next>
                                                                      <block type="comment" id="^wiM;VZ*5RLS-+SMsG7?">
                                                                        <field name="COMMENT">Diese kann größer als der Grenzwert sein</field>
                                                                        <next>
                                                                          <block type="variables_set" id="@d2;tEWydly|fW:ng;eg">
                                                                            <field name="VAR" id="MXAKoyu#FS,d3bu4)hLY">VerzoegerungAktivSpuelmaschine</field>
                                                                            <value name="VALUE">
                                                                              <block type="logic_boolean" id="S5R1RMtIKx(=N;}|dM%Z">
                                                                                <field name="BOOL">FALSE</field>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="debug" id="1^,/eLLAT{#66hqVIel8">
                                                                                <field name="Severity">log</field>
                                                                                <value name="TEXT">
                                                                                  <shadow type="text" id="[koH26;mOP0UeXV~CJRb">
                                                                                    <field name="TEXT">***Beende Verzögerung</field>
                                                                                  </shadow>
                                                                                </value>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                            <next>
                                              <block type="comment" id="EZK4(UY%`}HZl{2F)m6p">
                                                <field name="COMMENT">Ab hier wird gewaschen</field>
                                                <next>
                                                  <block type="controls_if" id="S(-Xvr1uja6/vNdH|?j:">
                                                    <mutation elseif="2"></mutation>
                                                    <value name="IF0">
                                                      <block type="logic_operation" id="s(;r=_ekdU*dF=_Tsrbb" inline="false">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <block type="logic_compare" id="d_lZY_VlNaa40/Pob=Um">
                                                            <field name="OP">GT</field>
                                                            <value name="A">
                                                              <block type="on_source" id="`c4GU.`+o2_G+Vdxq;n/">
                                                                <field name="ATTR">state.val</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="variables_get" id="FD[JnQcwajuYLgGmTX`.">
                                                                <field name="VAR" id="bCUZ,!4dG^ya5cOGE7Qr">GrenzWertWattSpuelmaschine</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_operation" id="*Y`H0qa!`fsBeI/2Cv+c" inline="false">
                                                            <field name="OP">AND</field>
                                                            <value name="A">
                                                              <block type="logic_compare" id="zC,(}TPXAvX2yd^k`W._">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value" id=";a;[[bw/v2oQnG9DHZIn">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">javascript.0.SpuelmaschineAN</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_boolean" id=";a5=vVD`86hstjR{4y~+">
                                                                    <field name="BOOL">FALSE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_compare" id="K.3M9Le`+STB!.M_eD7O">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="variables_get" id="[!KuvI83Wzp*sDDNM{S!">
                                                                    <field name="VAR" id="MXAKoyu#FS,d3bu4)hLY">VerzoegerungAktivSpuelmaschine</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="logic_boolean" id="9_[X?aI?X1w]lj.RY`K^">
                                                                    <field name="BOOL">FALSE</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="control" id="S6URE:3#}}.v#e!X.A4D">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                        <field name="OID">javascript.0.SpuelmaschineAN</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="logic_boolean" id="QqpwRU?xP?P=bvS9HS[1">
                                                            <field name="BOOL">TRUE</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="procedures_callnoreturn" id="=!*WIp};Ta`)XeMMk,iR">
                                                            <mutation name="Melden">
                                                              <arg name="Meldetext"></arg>
                                                            </mutation>
                                                            <value name="ARG0">
                                                              <block type="text" id="{QcAY3oi:,FGG.929?TS">
                                                                <field name="TEXT">Die Spülmaschine läuft</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                    <value name="IF1">
                                                      <block type="logic_compare" id="Yuagp|w@)mC+asceXLLu">
                                                        <field name="OP">GT</field>
                                                        <value name="A">
                                                          <block type="on_source" id="P(tu4AS{);E?w-p?]{1q">
                                                            <field name="ATTR">state.val</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="variables_get" id="ou6,Zi?vbs[;{]@93U`!">
                                                            <field name="VAR" id="bCUZ,!4dG^ya5cOGE7Qr">GrenzWertWattSpuelmaschine</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO1">
                                                      <block type="comment" id="H90l#sdGb5I}Wqsbz=9s">
                                                        <field name="COMMENT">Timer stoppen</field>
                                                        <next>
                                                          <block type="procedures_callnoreturn" id="zo=cPu~=j#pus6bWVaJl">
                                                            <mutation name="checkFertig">
                                                              <arg name="parameter"></arg>
                                                            </mutation>
                                                            <value name="ARG0">
                                                              <block type="logic_boolean" id="1SYbGS^3xkqD/Uj?{bvJ">
                                                                <field name="BOOL">FALSE</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                    <value name="IF2">
                                                      <block type="logic_operation" id="_@|YxZPYI(z3![Q=ZbX4" inline="false">
                                                        <field name="OP">AND</field>
                                                        <value name="A">
                                                          <block type="logic_compare" id="Ge6FX#6b5WYoc;wF%%iH">
                                                            <field name="OP">LT</field>
                                                            <value name="A">
                                                              <block type="on_source" id="0Vw33+AwVD~={g{aHa~d">
                                                                <field name="ATTR">state.val</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="variables_get" id="NufLwbvZR1.fEmqJNOTZ">
                                                                <field name="VAR" id="bCUZ,!4dG^ya5cOGE7Qr">GrenzWertWattSpuelmaschine</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="logic_compare" id="X[1t=zl25bQ]aHT[:`,8">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="get_value" id="4WFkiPOYU?#zQhOL)0u(">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">javascript.0.SpuelmaschineAN</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_boolean" id="?jrLY7K)k;1?sa!Ef{VO">
                                                                <field name="BOOL">TRUE</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO2">
                                                      <block type="comment" id="}Q59!:8+Dc~b~LwZhq-(">
                                                        <field name="COMMENT">Timer starten</field>
                                                        <next>
                                                          <block type="procedures_callnoreturn" id=";MD%1IF[[H29g_f=vvYH">
                                                            <mutation name="checkFertig">
                                                              <arg name="parameter"></arg>
                                                            </mutation>
                                                            <value name="ARG0">
                                                              <block type="logic_boolean" id="/yX*,4aU!HHUO#/2U-NR">
                                                                <field name="BOOL">TRUE</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
              <block type="procedures_defnoreturn" id="sDP?w~)oJD}Z95[_?EY0" x="838" y="588">
                <mutation>
                  <arg name="parameter" varid="x74@3fHfZNDz?z2a,xF."></arg>
                </mutation>
                <field name="NAME">checkFertig</field>
                <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                <statement name="STACK">
                  <block type="comment" id="V2@7jqv5RTl+}q}xfEsZ">
                    <field name="COMMENT">Timer stoppen</field>
                    <next>
                      <block type="timeouts_cleartimeout" id="y7iPL;/^^,*);q|%Pk6;">
                        <field name="NAME">Einschaltverzoegerung</field>
                        <next>
                          <block type="controls_if" id="*DX-*|5t*M5.|5Qw0p76">
                            <value name="IF0">
                              <block type="logic_compare" id="[-Hs2uzeFf6L7XO4:d6g">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="variables_get" id="uT*6f!Y:?Sivq1F-y;7_">
                                    <field name="VAR" id="x74@3fHfZNDz?z2a,xF.">parameter</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_boolean" id="w?1)4.uK{/ey3NJ)NjH:">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="comment" id="fU`TRz:h*y1K[t@GmyY:">
                                <field name="COMMENT">Timer starten</field>
                                <next>
                                  <block type="timeouts_settimeout" id="k%sy5:QdTn+3f@{OZshs">
                                    <field name="NAME">timeout</field>
                                    <field name="DELAY">40</field>
                                    <field name="UNIT">sec</field>
                                    <statement name="STATEMENT">
                                      <block type="control" id="UOquZ.)w|Dv~5_@iC*HO">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">javascript.0.SpuelmaschineAN</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="ttQizIf!/AB*HLfb9Kw1">
                                            <field name="BOOL">FALSE</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="procedures_callnoreturn" id="HHrpaU=vtt6v1JInTG~l">
                                            <mutation name="Melden">
                                              <arg name="Meldetext"></arg>
                                            </mutation>
                                            <value name="ARG0">
                                              <block type="text" id="leE4:W;JI@,LD;n0Gs6r">
                                                <field name="TEXT">Die Spülmaschine ist fertig</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </xml>
            
            dslraserD Offline
            dslraserD Offline
            dslraser
            Forum Testing Most Active
            schrieb am zuletzt editiert von dslraser
            #162

            @djsirius sagte in [VORLAGE] Blockly Meldung wenn Waschmaschine fertig:

            Leider funktioniert das Script nach dem letzten JS Update nicht mehr, bzw. nur, wenn ich das Script neustarte.

            Es kann sein, das timeout Blöcke umbenannt wurden.

            Bild aus dem ersten Beitrag

            1549974687382-forum_waschmaschine_b2.png

            Schau mal was da bei Dir steht (ich habe Deinen export nicht importiert)

            D 1 Antwort Letzte Antwort
            0
            • sigi234S sigi234

              @djsirius sagte in [VORLAGE] Blockly Meldung wenn Waschmaschine fertig:

              Hat jemand eine Idee wo der Fehler ist?

              Ersetze Alle Time Blockly neu.

              A Offline
              A Offline
              Adnim
              schrieb am zuletzt editiert von
              #163

              @sigi234 sagte in [VORLAGE] Blockly Meldung wenn Waschmaschine fertig:

              Ersetze Alle Time Blockly neu.

              In allen Blocky Skripten...

              1 Antwort Letzte Antwort
              0
              • dslraserD dslraser

                @djsirius sagte in [VORLAGE] Blockly Meldung wenn Waschmaschine fertig:

                Leider funktioniert das Script nach dem letzten JS Update nicht mehr, bzw. nur, wenn ich das Script neustarte.

                Es kann sein, das timeout Blöcke umbenannt wurden.

                Bild aus dem ersten Beitrag

                1549974687382-forum_waschmaschine_b2.png

                Schau mal was da bei Dir steht (ich habe Deinen export nicht importiert)

                D Offline
                D Offline
                djsirius
                schrieb am zuletzt editiert von
                #164

                @dslraser Das scheint der Fehler gewesen zu sein!

                Super, vielen Dank!

                Gruß

                djsirius

                1 Antwort Letzte Antwort
                0
                • ? Offline
                  ? Offline
                  Ein ehemaliger Benutzer
                  schrieb am zuletzt editiert von Ein ehemaliger Benutzer
                  #165

                  Hallo Leute

                  Könnt Ihr mir ev. helfen?

                  Habe ein Skript für Telegrammnachricht bei WM fertig und dieser läuft nun einwandfrei. Die WM ist mit einem Homematic Funk-Schaltaktor mit Leistungsmessung verbunden. Nun habe ich den Wäschetrockner mit einem Sonoff Pow R2 in Betrieb genommen. Die Werte werden korrekt in Objekt angezeigt und dann alle 10 Sekunden aktualisiert.

                  Was nicht funktioniert ist die Meldung via Telegramm. Habe Skript von WM kopiert und für den Trockner dann angepasst. Habe nun einmal beide Skripte angehängt. Vielleicht findet Ihr den Fehler...!?:blush:

                  Skript WM.txt
                  Skript Trockner.txt

                  1 Antwort Letzte Antwort
                  0
                  • M Offline
                    M Offline
                    Master-Rudi
                    schrieb am zuletzt editiert von Master-Rudi
                    #166

                    Hallo zusammen,
                    ich nutze nun seit Monaten dieses Script. Es funktionierte einwandfrei. Seit 3 Wochen ca. läuft es nicht mehr. Ich bekomme bei jedem Waschgang ca. 200 Telegram Nachrichten.
                    Jedes Mal, wenn der Wert unter 55W fällt und danach direkt wieder steigt bekomme ich eine Meldung "WM fertig" und "WM läuft".
                    Im Prinzip wird die Verzögerung komplett ignoriert.

                    Ich hatte was von einem Update des js-controller gelesen, gute Frage, ich updatete meinen iobroker täglich automatisiert.

                    Ich hatte mal versucht die Timeouts zu ersetzen, sehe aber keinen Unterschied.

                    Keine Ahnung woran es liegt. Danke für jede Hilfe...

                    <xml xmlns="https://developers.google.com/blockly/xml">
                      <variables>
                        <variable id="Yy!%k5qHi}pnKz$aE=8:">parameter</variable>
                        <variable id="$rhxzXjEBnv?gzANwLs_">Meldetext</variable>
                        <variable id="@9d6R+12NMzYvL_8~jf?">VerzoegerungAktiv</variable>
                        <variable id="yK|`u`xtTN?zxid^G/J]">GrenzWertInWatt</variable>
                        <variable type="timeout" id="timeout">timeout</variable>
                        <variable type="timeout" id="Einschaltverzoegerung">Einschaltverzoegerung</variable>
                      </variables>
                      <block type="create" id=":XvakORUFJ^_I1/^;0qD" x="13" y="13">
                        <field name="NAME">Waschmaschine</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="@dp#WL$AGmUMtmcRDa8y">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                        <next>
                          <block type="comment" id="@`s,ARMz+*DZ*ns;z2m_">
                            <field name="COMMENT">Initialisierung bei Scriptstart</field>
                            <next>
                              <block type="comment" id="Ov|lJMd@PV!y.oUN9Boj">
                                <field name="COMMENT">VerzögerungAktiv NICHT ändern</field>
                                <next>
                                  <block type="variables_set" id="T+;|Db@bx|T]wkX[e.xT">
                                    <field name="VAR" id="@9d6R+12NMzYvL_8~jf?">VerzoegerungAktiv</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="FimMeG{k6LBu0{7UjBJ4">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="comment" id="6q4+KcF6/q*eh;RCmGKL">
                                        <field name="COMMENT">Entscheidungswert festlegen</field>
                                        <next>
                                          <block type="variables_set" id="pE;t15K()B2=@=,RY5D_">
                                            <field name="VAR" id="yK|`u`xtTN?zxid^G/J]">GrenzWertInWatt</field>
                                            <value name="VALUE">
                                              <block type="math_number" id="OB=)nO2pXH:1HNwm(JpG">
                                                <field name="NUM">55</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="comment" id="|2tm%?,yK/o3_AA)J{ah">
                                                <field name="COMMENT">Steckdose überwachen</field>
                                                <next>
                                                  <block type="on_ext" id="n)UklDS{=z!-#^HfL@Ly">
                                                    <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="@Uda~stBc8L/=2DFzrvo">
                                                        <field name="oid">sonoff.0.DVES_1.ENERGY_Power</field>
                                                      </shadow>
                                                    </value>
                                                    <statement name="STATEMENT">
                                                      <block type="controls_if" id="=n/Jfc]x(Ib[NRPJZ%7X">
                                                        <value name="IF0">
                                                          <block type="logic_compare" id="?m1STicTe5=N-/f:Ji2s">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="on_source" id="QjKQBx`PdHENcy)eGM,5">
                                                                <field name="ATTR">oldState.val</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="math_number" id=":(p2PWPzD2(~R-q9upeS">
                                                                <field name="NUM">0</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="comment" id=";%e=m5A.5_U8[v[Odt7.">
                                                            <field name="COMMENT">Dieser Teil wird NUR ausgeführt wenn</field>
                                                            <next>
                                                              <block type="comment" id="Bv,r2iN_4zSfF_^X35gM">
                                                                <field name="COMMENT">Funkstecker oder Waschm. komplett aus war.</field>
                                                                <next>
                                                                  <block type="variables_set" id="xuK#29.xYf)m6FX5LA78">
                                                                    <field name="VAR" id="@9d6R+12NMzYvL_8~jf?">VerzoegerungAktiv</field>
                                                                    <value name="VALUE">
                                                                      <block type="logic_boolean" id=")}Jh9zUdflaLNnL+;^h=">
                                                                        <field name="BOOL">TRUE</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="debug" id="Wv*jiP9Bn3#//0KE[4e[">
                                                                        <field name="Severity">log</field>
                                                                        <value name="TEXT">
                                                                          <shadow type="text" id="!hyL_SIc#q!nV1G.NU,/">
                                                                            <field name="TEXT">***Starte Verzögerung</field>
                                                                          </shadow>
                                                                        </value>
                                                                        <next>
                                                                          <block type="timeouts_settimeout" id="/P(F70jE{1chR,Gf!q6J">
                                                                            <field name="NAME">Einschaltverzoegerung</field>
                                                                            <field name="DELAY">20</field>
                                                                            <field name="UNIT">sec</field>
                                                                            <statement name="STATEMENT">
                                                                              <block type="comment" id="UyUTD{W;Ef;u2!)%y5h|">
                                                                                <field name="COMMENT">Eventuell hohe Einschaltspannung abfangen.</field>
                                                                                <next>
                                                                                  <block type="comment" id="^wiM;VZ*5RLS-+SMsG7?">
                                                                                    <field name="COMMENT">Diese kann größer als der Grenzwert sein</field>
                                                                                    <next>
                                                                                      <block type="variables_set" id="@d2;tEWydly|fW:ng;eg">
                                                                                        <field name="VAR" id="@9d6R+12NMzYvL_8~jf?">VerzoegerungAktiv</field>
                                                                                        <value name="VALUE">
                                                                                          <block type="logic_boolean" id="S5R1RMtIKx(=N;}|dM%Z">
                                                                                            <field name="BOOL">FALSE</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <next>
                                                                                          <block type="debug" id="1^,/eLLAT{#66hqVIel8">
                                                                                            <field name="Severity">log</field>
                                                                                            <value name="TEXT">
                                                                                              <shadow type="text" id="[koH26;mOP0UeXV~CJRb">
                                                                                                <field name="TEXT">***Beende Verzögerung</field>
                                                                                              </shadow>
                                                                                            </value>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </statement>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                        <next>
                                                          <block type="comment" id="EZK4(UY%`}HZl{2F)m6p">
                                                            <field name="COMMENT">Ab hier wird gewaschen</field>
                                                            <next>
                                                              <block type="controls_if" id="S(-Xvr1uja6/vNdH|?j:">
                                                                <mutation elseif="2"></mutation>
                                                                <value name="IF0">
                                                                  <block type="logic_operation" id="s(;r=_ekdU*dF=_Tsrbb" inline="false">
                                                                    <field name="OP">AND</field>
                                                                    <value name="A">
                                                                      <block type="logic_compare" id="d_lZY_VlNaa40/Pob=Um">
                                                                        <field name="OP">GT</field>
                                                                        <value name="A">
                                                                          <block type="on_source" id="`c4GU.`+o2_G+Vdxq;n/">
                                                                            <field name="ATTR">state.val</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="variables_get" id="FD[JnQcwajuYLgGmTX`.">
                                                                            <field name="VAR" id="yK|`u`xtTN?zxid^G/J]">GrenzWertInWatt</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="logic_operation" id="*Y`H0qa!`fsBeI/2Cv+c" inline="false">
                                                                        <field name="OP">AND</field>
                                                                        <value name="A">
                                                                          <block type="logic_compare" id="zC,(}TPXAvX2yd^k`W._">
                                                                            <field name="OP">EQ</field>
                                                                            <value name="A">
                                                                              <block type="get_value" id=";a;[[bw/v2oQnG9DHZIn">
                                                                                <field name="ATTR">val</field>
                                                                                <field name="OID">javascript.0.Waschmaschine</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="logic_boolean" id=";a5=vVD`86hstjR{4y~+">
                                                                                <field name="BOOL">FALSE</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="logic_compare" id="K.3M9Le`+STB!.M_eD7O">
                                                                            <field name="OP">EQ</field>
                                                                            <value name="A">
                                                                              <block type="variables_get" id="[!KuvI83Wzp*sDDNM{S!">
                                                                                <field name="VAR" id="@9d6R+12NMzYvL_8~jf?">VerzoegerungAktiv</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <block type="logic_boolean" id="9_[X?aI?X1w]lj.RY`K^">
                                                                                <field name="BOOL">FALSE</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO0">
                                                                  <block type="control" id="S6URE:3#}}.v#e!X.A4D">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                    <field name="OID">javascript.0.Waschmaschine</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="logic_boolean" id="QqpwRU?xP?P=bvS9HS[1">
                                                                        <field name="BOOL">TRUE</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="procedures_callnoreturn" id="=!*WIp};Ta`)XeMMk,iR">
                                                                        <mutation name="Melden">
                                                                          <arg name="Meldetext"></arg>
                                                                        </mutation>
                                                                        <value name="ARG0">
                                                                          <block type="text" id="{QcAY3oi:,FGG.929?TS">
                                                                            <field name="TEXT">Waschmaschine LÄUFT</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                                <value name="IF1">
                                                                  <block type="logic_compare" id="Yuagp|w@)mC+asceXLLu">
                                                                    <field name="OP">GT</field>
                                                                    <value name="A">
                                                                      <block type="on_source" id="P(tu4AS{);E?w-p?]{1q">
                                                                        <field name="ATTR">state.val</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="variables_get" id="ou6,Zi?vbs[;{]@93U`!">
                                                                        <field name="VAR" id="yK|`u`xtTN?zxid^G/J]">GrenzWertInWatt</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO1">
                                                                  <block type="comment" id="H90l#sdGb5I}Wqsbz=9s">
                                                                    <field name="COMMENT">Timer stoppen</field>
                                                                    <next>
                                                                      <block type="procedures_callnoreturn" id="4.@#ma`Y^~%:1o1yn^eY">
                                                                        <mutation name="checkFertig">
                                                                          <arg name="parameter"></arg>
                                                                        </mutation>
                                                                        <value name="ARG0">
                                                                          <block type="logic_boolean" id="9BUx7t2ne[J%zKE1=6][">
                                                                            <field name="BOOL">FALSE</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                                <value name="IF2">
                                                                  <block type="logic_operation" id="_@|YxZPYI(z3![Q=ZbX4" inline="false">
                                                                    <field name="OP">AND</field>
                                                                    <value name="A">
                                                                      <block type="logic_compare" id="Ge6FX#6b5WYoc;wF%%iH">
                                                                        <field name="OP">LT</field>
                                                                        <value name="A">
                                                                          <block type="on_source" id="0Vw33+AwVD~={g{aHa~d">
                                                                            <field name="ATTR">state.val</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="variables_get" id="NufLwbvZR1.fEmqJNOTZ">
                                                                            <field name="VAR" id="yK|`u`xtTN?zxid^G/J]">GrenzWertInWatt</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="logic_compare" id="X[1t=zl25bQ]aHT[:`,8">
                                                                        <field name="OP">EQ</field>
                                                                        <value name="A">
                                                                          <block type="get_value" id="4WFkiPOYU?#zQhOL)0u(">
                                                                            <field name="ATTR">val</field>
                                                                            <field name="OID">javascript.0.Waschmaschine</field>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <block type="logic_boolean" id="?jrLY7K)k;1?sa!Ef{VO">
                                                                            <field name="BOOL">TRUE</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO2">
                                                                  <block type="comment" id="}Q59!:8+Dc~b~LwZhq-(">
                                                                    <field name="COMMENT">Timer starten</field>
                                                                    <next>
                                                                      <block type="procedures_callnoreturn" id=";MD%1IF[[H29g_f=vvYH">
                                                                        <mutation name="checkFertig">
                                                                          <arg name="parameter"></arg>
                                                                        </mutation>
                                                                        <value name="ARG0">
                                                                          <block type="logic_boolean" id="/yX*,4aU!HHUO#/2U-NR">
                                                                            <field name="BOOL">TRUE</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </statement>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                      <block type="procedures_defnoreturn" id="sDP?w~)oJD}Z95[_?EY0" x="13" y="1313">
                        <mutation>
                          <arg name="parameter" varid="Yy!%k5qHi}pnKz$aE=8:"></arg>
                        </mutation>
                        <field name="NAME">checkFertig</field>
                        <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                        <statement name="STACK">
                          <block type="comment" id="V2@7jqv5RTl+}q}xfEsZ">
                            <field name="COMMENT">Timer stoppen</field>
                            <next>
                              <block type="timeouts_cleartimeout" id="y7iPL;/^^,*);q|%Pk6;">
                                <field name="NAME">Einschaltverzoegerung</field>
                                <next>
                                  <block type="controls_if" id="*DX-*|5t*M5.|5Qw0p76">
                                    <value name="IF0">
                                      <block type="logic_compare" id="[-Hs2uzeFf6L7XO4:d6g">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="variables_get" id="uT*6f!Y:?Sivq1F-y;7_">
                                            <field name="VAR" id="Yy!%k5qHi}pnKz$aE=8:">parameter</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="logic_boolean" id="w?1)4.uK{/ey3NJ)NjH:">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="comment" id="fU`TRz:h*y1K[t@GmyY:">
                                        <field name="COMMENT">Timer starten</field>
                                        <next>
                                          <block type="timeouts_settimeout" id="w]0Q8Xb@.[Q8uj(YJs]p">
                                            <field name="NAME">timeout</field>
                                            <field name="DELAY">50</field>
                                            <field name="UNIT">sec</field>
                                            <statement name="STATEMENT">
                                              <block type="control" id="UOquZ.)w|Dv~5_@iC*HO">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">javascript.0.Waschmaschine</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="logic_boolean" id="ttQizIf!/AB*HLfb9Kw1">
                                                    <field name="BOOL">FALSE</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="procedures_callnoreturn" id="HHrpaU=vtt6v1JInTG~l">
                                                    <mutation name="Melden">
                                                      <arg name="Meldetext"></arg>
                                                    </mutation>
                                                    <value name="ARG0">
                                                      <block type="text" id="leE4:W;JI@,LD;n0Gs6r">
                                                        <field name="TEXT">Waschmaschine FERTIG</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                        </next>
                                      </block>
                                    </statement>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                      <block type="procedures_defnoreturn" id="l1.gm`YNTt2#Ww;_Stf+" x="13" y="1638">
                        <mutation>
                          <arg name="Meldetext" varid="$rhxzXjEBnv?gzANwLs_"></arg>
                        </mutation>
                        <field name="NAME">Melden</field>
                        <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                        <statement name="STACK">
                          <block type="comment" id="CgkHkrp5c26e`w3uU(i`">
                            <field name="COMMENT">Hier wird die Meldung ausgegeben</field>
                            <next>
                              <block type="debug" id="SYQu;@N0JgE!W~[JZcZ_">
                                <field name="Severity">log</field>
                                <value name="TEXT">
                                  <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="4+J8c.^+FrkDV^]dAda-">
                                    <field name="TEXT">test</field>
                                  </shadow>
                                  <block type="variables_get" id="KuX^Hf4/i6gnp|rmq9WR">
                                    <field name="VAR" id="$rhxzXjEBnv?gzANwLs_">Meldetext</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="comment" id="a;Ent4V!@/ELz)~^PTwn">
                                    <field name="COMMENT">Hier den SendTo Baustein einsetzen,</field>
                                    <next>
                                      <block type="comment" id="Xc,u6Sm.@c5xeqVM)suq">
                                        <field name="COMMENT">den man benutzen will.</field>
                                        <next>
                                          <block type="comment" id="cI=%X;P?/Tfam8YIny%V">
                                            <field name="COMMENT">Die Meldung befindet sich in der Variablen</field>
                                            <next>
                                              <block type="comment" id="{(av)+6o4VfWo^eJEnft">
                                                <field name="COMMENT">"Meldetext"</field>
                                                <next>
                                                  <block type="telegram" id="PQ(Z?ExZDsV!WHV0a$yz">
                                                    <field name="INSTANCE">.0</field>
                                                    <field name="LOG"></field>
                                                    <field name="SILENT">FALSE</field>
                                                    <field name="PARSEMODE">default</field>
                                                    <value name="MESSAGE">
                                                      <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="nxE-Yq*m{TCHi9/$/_sv">
                                                        <field name="TEXT">text</field>
                                                      </shadow>
                                                      <block type="variables_get" id="q]ll5={Nel=m7bAjL{6Q">
                                                        <field name="VAR" id="$rhxzXjEBnv?gzANwLs_">Meldetext</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </xml>
                    

                    Blockly:

                    1.jpg
                    2.jpg
                    3.jpg

                    @Adnim said in [VORLAGE] Blockly Meldung wenn Waschmaschine fertig:

                    @sigi234 sagte in [VORLAGE] Blockly Meldung wenn Waschmaschine fertig:

                    Ersetze Alle Time Blockly neu.

                    In allen Blocky Skripten...

                    Was heißt in allen Blockly Skripten? Ich habe es nur in diesem versucht zu löschen und neu anzupassen. Dann sollte ja zumindest dieses Script gehen? Oder hängt das irgendwie verquert zusammen?!

                    Z 1 Antwort Letzte Antwort
                    0
                    • M Master-Rudi

                      Hallo zusammen,
                      ich nutze nun seit Monaten dieses Script. Es funktionierte einwandfrei. Seit 3 Wochen ca. läuft es nicht mehr. Ich bekomme bei jedem Waschgang ca. 200 Telegram Nachrichten.
                      Jedes Mal, wenn der Wert unter 55W fällt und danach direkt wieder steigt bekomme ich eine Meldung "WM fertig" und "WM läuft".
                      Im Prinzip wird die Verzögerung komplett ignoriert.

                      Ich hatte was von einem Update des js-controller gelesen, gute Frage, ich updatete meinen iobroker täglich automatisiert.

                      Ich hatte mal versucht die Timeouts zu ersetzen, sehe aber keinen Unterschied.

                      Keine Ahnung woran es liegt. Danke für jede Hilfe...

                      <xml xmlns="https://developers.google.com/blockly/xml">
                        <variables>
                          <variable id="Yy!%k5qHi}pnKz$aE=8:">parameter</variable>
                          <variable id="$rhxzXjEBnv?gzANwLs_">Meldetext</variable>
                          <variable id="@9d6R+12NMzYvL_8~jf?">VerzoegerungAktiv</variable>
                          <variable id="yK|`u`xtTN?zxid^G/J]">GrenzWertInWatt</variable>
                          <variable type="timeout" id="timeout">timeout</variable>
                          <variable type="timeout" id="Einschaltverzoegerung">Einschaltverzoegerung</variable>
                        </variables>
                        <block type="create" id=":XvakORUFJ^_I1/^;0qD" x="13" y="13">
                          <field name="NAME">Waschmaschine</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="@dp#WL$AGmUMtmcRDa8y">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                          <next>
                            <block type="comment" id="@`s,ARMz+*DZ*ns;z2m_">
                              <field name="COMMENT">Initialisierung bei Scriptstart</field>
                              <next>
                                <block type="comment" id="Ov|lJMd@PV!y.oUN9Boj">
                                  <field name="COMMENT">VerzögerungAktiv NICHT ändern</field>
                                  <next>
                                    <block type="variables_set" id="T+;|Db@bx|T]wkX[e.xT">
                                      <field name="VAR" id="@9d6R+12NMzYvL_8~jf?">VerzoegerungAktiv</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="FimMeG{k6LBu0{7UjBJ4">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="comment" id="6q4+KcF6/q*eh;RCmGKL">
                                          <field name="COMMENT">Entscheidungswert festlegen</field>
                                          <next>
                                            <block type="variables_set" id="pE;t15K()B2=@=,RY5D_">
                                              <field name="VAR" id="yK|`u`xtTN?zxid^G/J]">GrenzWertInWatt</field>
                                              <value name="VALUE">
                                                <block type="math_number" id="OB=)nO2pXH:1HNwm(JpG">
                                                  <field name="NUM">55</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="comment" id="|2tm%?,yK/o3_AA)J{ah">
                                                  <field name="COMMENT">Steckdose überwachen</field>
                                                  <next>
                                                    <block type="on_ext" id="n)UklDS{=z!-#^HfL@Ly">
                                                      <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="@Uda~stBc8L/=2DFzrvo">
                                                          <field name="oid">sonoff.0.DVES_1.ENERGY_Power</field>
                                                        </shadow>
                                                      </value>
                                                      <statement name="STATEMENT">
                                                        <block type="controls_if" id="=n/Jfc]x(Ib[NRPJZ%7X">
                                                          <value name="IF0">
                                                            <block type="logic_compare" id="?m1STicTe5=N-/f:Ji2s">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="on_source" id="QjKQBx`PdHENcy)eGM,5">
                                                                  <field name="ATTR">oldState.val</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="math_number" id=":(p2PWPzD2(~R-q9upeS">
                                                                  <field name="NUM">0</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="comment" id=";%e=m5A.5_U8[v[Odt7.">
                                                              <field name="COMMENT">Dieser Teil wird NUR ausgeführt wenn</field>
                                                              <next>
                                                                <block type="comment" id="Bv,r2iN_4zSfF_^X35gM">
                                                                  <field name="COMMENT">Funkstecker oder Waschm. komplett aus war.</field>
                                                                  <next>
                                                                    <block type="variables_set" id="xuK#29.xYf)m6FX5LA78">
                                                                      <field name="VAR" id="@9d6R+12NMzYvL_8~jf?">VerzoegerungAktiv</field>
                                                                      <value name="VALUE">
                                                                        <block type="logic_boolean" id=")}Jh9zUdflaLNnL+;^h=">
                                                                          <field name="BOOL">TRUE</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="debug" id="Wv*jiP9Bn3#//0KE[4e[">
                                                                          <field name="Severity">log</field>
                                                                          <value name="TEXT">
                                                                            <shadow type="text" id="!hyL_SIc#q!nV1G.NU,/">
                                                                              <field name="TEXT">***Starte Verzögerung</field>
                                                                            </shadow>
                                                                          </value>
                                                                          <next>
                                                                            <block type="timeouts_settimeout" id="/P(F70jE{1chR,Gf!q6J">
                                                                              <field name="NAME">Einschaltverzoegerung</field>
                                                                              <field name="DELAY">20</field>
                                                                              <field name="UNIT">sec</field>
                                                                              <statement name="STATEMENT">
                                                                                <block type="comment" id="UyUTD{W;Ef;u2!)%y5h|">
                                                                                  <field name="COMMENT">Eventuell hohe Einschaltspannung abfangen.</field>
                                                                                  <next>
                                                                                    <block type="comment" id="^wiM;VZ*5RLS-+SMsG7?">
                                                                                      <field name="COMMENT">Diese kann größer als der Grenzwert sein</field>
                                                                                      <next>
                                                                                        <block type="variables_set" id="@d2;tEWydly|fW:ng;eg">
                                                                                          <field name="VAR" id="@9d6R+12NMzYvL_8~jf?">VerzoegerungAktiv</field>
                                                                                          <value name="VALUE">
                                                                                            <block type="logic_boolean" id="S5R1RMtIKx(=N;}|dM%Z">
                                                                                              <field name="BOOL">FALSE</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <next>
                                                                                            <block type="debug" id="1^,/eLLAT{#66hqVIel8">
                                                                                              <field name="Severity">log</field>
                                                                                              <value name="TEXT">
                                                                                                <shadow type="text" id="[koH26;mOP0UeXV~CJRb">
                                                                                                  <field name="TEXT">***Beende Verzögerung</field>
                                                                                                </shadow>
                                                                                              </value>
                                                                                            </block>
                                                                                          </next>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </statement>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                          <next>
                                                            <block type="comment" id="EZK4(UY%`}HZl{2F)m6p">
                                                              <field name="COMMENT">Ab hier wird gewaschen</field>
                                                              <next>
                                                                <block type="controls_if" id="S(-Xvr1uja6/vNdH|?j:">
                                                                  <mutation elseif="2"></mutation>
                                                                  <value name="IF0">
                                                                    <block type="logic_operation" id="s(;r=_ekdU*dF=_Tsrbb" inline="false">
                                                                      <field name="OP">AND</field>
                                                                      <value name="A">
                                                                        <block type="logic_compare" id="d_lZY_VlNaa40/Pob=Um">
                                                                          <field name="OP">GT</field>
                                                                          <value name="A">
                                                                            <block type="on_source" id="`c4GU.`+o2_G+Vdxq;n/">
                                                                              <field name="ATTR">state.val</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="variables_get" id="FD[JnQcwajuYLgGmTX`.">
                                                                              <field name="VAR" id="yK|`u`xtTN?zxid^G/J]">GrenzWertInWatt</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="logic_operation" id="*Y`H0qa!`fsBeI/2Cv+c" inline="false">
                                                                          <field name="OP">AND</field>
                                                                          <value name="A">
                                                                            <block type="logic_compare" id="zC,(}TPXAvX2yd^k`W._">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="get_value" id=";a;[[bw/v2oQnG9DHZIn">
                                                                                  <field name="ATTR">val</field>
                                                                                  <field name="OID">javascript.0.Waschmaschine</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id=";a5=vVD`86hstjR{4y~+">
                                                                                  <field name="BOOL">FALSE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="logic_compare" id="K.3M9Le`+STB!.M_eD7O">
                                                                              <field name="OP">EQ</field>
                                                                              <value name="A">
                                                                                <block type="variables_get" id="[!KuvI83Wzp*sDDNM{S!">
                                                                                  <field name="VAR" id="@9d6R+12NMzYvL_8~jf?">VerzoegerungAktiv</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <block type="logic_boolean" id="9_[X?aI?X1w]lj.RY`K^">
                                                                                  <field name="BOOL">FALSE</field>
                                                                                </block>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO0">
                                                                    <block type="control" id="S6URE:3#}}.v#e!X.A4D">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">javascript.0.Waschmaschine</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="logic_boolean" id="QqpwRU?xP?P=bvS9HS[1">
                                                                          <field name="BOOL">TRUE</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="procedures_callnoreturn" id="=!*WIp};Ta`)XeMMk,iR">
                                                                          <mutation name="Melden">
                                                                            <arg name="Meldetext"></arg>
                                                                          </mutation>
                                                                          <value name="ARG0">
                                                                            <block type="text" id="{QcAY3oi:,FGG.929?TS">
                                                                              <field name="TEXT">Waschmaschine LÄUFT</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                  <value name="IF1">
                                                                    <block type="logic_compare" id="Yuagp|w@)mC+asceXLLu">
                                                                      <field name="OP">GT</field>
                                                                      <value name="A">
                                                                        <block type="on_source" id="P(tu4AS{);E?w-p?]{1q">
                                                                          <field name="ATTR">state.val</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="variables_get" id="ou6,Zi?vbs[;{]@93U`!">
                                                                          <field name="VAR" id="yK|`u`xtTN?zxid^G/J]">GrenzWertInWatt</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO1">
                                                                    <block type="comment" id="H90l#sdGb5I}Wqsbz=9s">
                                                                      <field name="COMMENT">Timer stoppen</field>
                                                                      <next>
                                                                        <block type="procedures_callnoreturn" id="4.@#ma`Y^~%:1o1yn^eY">
                                                                          <mutation name="checkFertig">
                                                                            <arg name="parameter"></arg>
                                                                          </mutation>
                                                                          <value name="ARG0">
                                                                            <block type="logic_boolean" id="9BUx7t2ne[J%zKE1=6][">
                                                                              <field name="BOOL">FALSE</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                  <value name="IF2">
                                                                    <block type="logic_operation" id="_@|YxZPYI(z3![Q=ZbX4" inline="false">
                                                                      <field name="OP">AND</field>
                                                                      <value name="A">
                                                                        <block type="logic_compare" id="Ge6FX#6b5WYoc;wF%%iH">
                                                                          <field name="OP">LT</field>
                                                                          <value name="A">
                                                                            <block type="on_source" id="0Vw33+AwVD~={g{aHa~d">
                                                                              <field name="ATTR">state.val</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="variables_get" id="NufLwbvZR1.fEmqJNOTZ">
                                                                              <field name="VAR" id="yK|`u`xtTN?zxid^G/J]">GrenzWertInWatt</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <block type="logic_compare" id="X[1t=zl25bQ]aHT[:`,8">
                                                                          <field name="OP">EQ</field>
                                                                          <value name="A">
                                                                            <block type="get_value" id="4WFkiPOYU?#zQhOL)0u(">
                                                                              <field name="ATTR">val</field>
                                                                              <field name="OID">javascript.0.Waschmaschine</field>
                                                                            </block>
                                                                          </value>
                                                                          <value name="B">
                                                                            <block type="logic_boolean" id="?jrLY7K)k;1?sa!Ef{VO">
                                                                              <field name="BOOL">TRUE</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                  <statement name="DO2">
                                                                    <block type="comment" id="}Q59!:8+Dc~b~LwZhq-(">
                                                                      <field name="COMMENT">Timer starten</field>
                                                                      <next>
                                                                        <block type="procedures_callnoreturn" id=";MD%1IF[[H29g_f=vvYH">
                                                                          <mutation name="checkFertig">
                                                                            <arg name="parameter"></arg>
                                                                          </mutation>
                                                                          <value name="ARG0">
                                                                            <block type="logic_boolean" id="/yX*,4aU!HHUO#/2U-NR">
                                                                              <field name="BOOL">TRUE</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </statement>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                        <block type="procedures_defnoreturn" id="sDP?w~)oJD}Z95[_?EY0" x="13" y="1313">
                          <mutation>
                            <arg name="parameter" varid="Yy!%k5qHi}pnKz$aE=8:"></arg>
                          </mutation>
                          <field name="NAME">checkFertig</field>
                          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                          <statement name="STACK">
                            <block type="comment" id="V2@7jqv5RTl+}q}xfEsZ">
                              <field name="COMMENT">Timer stoppen</field>
                              <next>
                                <block type="timeouts_cleartimeout" id="y7iPL;/^^,*);q|%Pk6;">
                                  <field name="NAME">Einschaltverzoegerung</field>
                                  <next>
                                    <block type="controls_if" id="*DX-*|5t*M5.|5Qw0p76">
                                      <value name="IF0">
                                        <block type="logic_compare" id="[-Hs2uzeFf6L7XO4:d6g">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="variables_get" id="uT*6f!Y:?Sivq1F-y;7_">
                                              <field name="VAR" id="Yy!%k5qHi}pnKz$aE=8:">parameter</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_boolean" id="w?1)4.uK{/ey3NJ)NjH:">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="comment" id="fU`TRz:h*y1K[t@GmyY:">
                                          <field name="COMMENT">Timer starten</field>
                                          <next>
                                            <block type="timeouts_settimeout" id="w]0Q8Xb@.[Q8uj(YJs]p">
                                              <field name="NAME">timeout</field>
                                              <field name="DELAY">50</field>
                                              <field name="UNIT">sec</field>
                                              <statement name="STATEMENT">
                                                <block type="control" id="UOquZ.)w|Dv~5_@iC*HO">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">javascript.0.Waschmaschine</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="ttQizIf!/AB*HLfb9Kw1">
                                                      <field name="BOOL">FALSE</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="procedures_callnoreturn" id="HHrpaU=vtt6v1JInTG~l">
                                                      <mutation name="Melden">
                                                        <arg name="Meldetext"></arg>
                                                      </mutation>
                                                      <value name="ARG0">
                                                        <block type="text" id="leE4:W;JI@,LD;n0Gs6r">
                                                          <field name="TEXT">Waschmaschine FERTIG</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                        <block type="procedures_defnoreturn" id="l1.gm`YNTt2#Ww;_Stf+" x="13" y="1638">
                          <mutation>
                            <arg name="Meldetext" varid="$rhxzXjEBnv?gzANwLs_"></arg>
                          </mutation>
                          <field name="NAME">Melden</field>
                          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                          <statement name="STACK">
                            <block type="comment" id="CgkHkrp5c26e`w3uU(i`">
                              <field name="COMMENT">Hier wird die Meldung ausgegeben</field>
                              <next>
                                <block type="debug" id="SYQu;@N0JgE!W~[JZcZ_">
                                  <field name="Severity">log</field>
                                  <value name="TEXT">
                                    <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="4+J8c.^+FrkDV^]dAda-">
                                      <field name="TEXT">test</field>
                                    </shadow>
                                    <block type="variables_get" id="KuX^Hf4/i6gnp|rmq9WR">
                                      <field name="VAR" id="$rhxzXjEBnv?gzANwLs_">Meldetext</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="comment" id="a;Ent4V!@/ELz)~^PTwn">
                                      <field name="COMMENT">Hier den SendTo Baustein einsetzen,</field>
                                      <next>
                                        <block type="comment" id="Xc,u6Sm.@c5xeqVM)suq">
                                          <field name="COMMENT">den man benutzen will.</field>
                                          <next>
                                            <block type="comment" id="cI=%X;P?/Tfam8YIny%V">
                                              <field name="COMMENT">Die Meldung befindet sich in der Variablen</field>
                                              <next>
                                                <block type="comment" id="{(av)+6o4VfWo^eJEnft">
                                                  <field name="COMMENT">"Meldetext"</field>
                                                  <next>
                                                    <block type="telegram" id="PQ(Z?ExZDsV!WHV0a$yz">
                                                      <field name="INSTANCE">.0</field>
                                                      <field name="LOG"></field>
                                                      <field name="SILENT">FALSE</field>
                                                      <field name="PARSEMODE">default</field>
                                                      <value name="MESSAGE">
                                                        <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="nxE-Yq*m{TCHi9/$/_sv">
                                                          <field name="TEXT">text</field>
                                                        </shadow>
                                                        <block type="variables_get" id="q]ll5={Nel=m7bAjL{6Q">
                                                          <field name="VAR" id="$rhxzXjEBnv?gzANwLs_">Meldetext</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </xml>
                      

                      Blockly:

                      1.jpg
                      2.jpg
                      3.jpg

                      @Adnim said in [VORLAGE] Blockly Meldung wenn Waschmaschine fertig:

                      @sigi234 sagte in [VORLAGE] Blockly Meldung wenn Waschmaschine fertig:

                      Ersetze Alle Time Blockly neu.

                      In allen Blocky Skripten...

                      Was heißt in allen Blockly Skripten? Ich habe es nur in diesem versucht zu löschen und neu anzupassen. Dann sollte ja zumindest dieses Script gehen? Oder hängt das irgendwie verquert zusammen?!

                      Z Abwesend
                      Z Abwesend
                      zahnheinrich
                      schrieb am zuletzt editiert von
                      #167

                      @Master-Rudi
                      In der untersten Funktion checkFertig muss es m.E. 'stop timeout' heissen statt 'stop Einschaltverzögerung'.

                      MfG Ulrich

                      dslraserD 1 Antwort Letzte Antwort
                      2
                      • Z zahnheinrich

                        @Master-Rudi
                        In der untersten Funktion checkFertig muss es m.E. 'stop timeout' heissen statt 'stop Einschaltverzögerung'.

                        dslraserD Offline
                        dslraserD Offline
                        dslraser
                        Forum Testing Most Active
                        schrieb am zuletzt editiert von
                        #168

                        @zahnheinrich sagte in [VORLAGE] Blockly Meldung wenn Waschmaschine fertig:

                        @Master-Rudi
                        In der untersten Funktion checkFertig muss es m.E. 'stop timeout' heissen statt 'stop Einschaltverzögerung'.

                        genau..

                        Z 1 Antwort Letzte Antwort
                        1
                        • dslraserD dslraser

                          @zahnheinrich sagte in [VORLAGE] Blockly Meldung wenn Waschmaschine fertig:

                          @Master-Rudi
                          In der untersten Funktion checkFertig muss es m.E. 'stop timeout' heissen statt 'stop Einschaltverzögerung'.

                          genau..

                          Z Abwesend
                          Z Abwesend
                          zahnheinrich
                          schrieb am zuletzt editiert von
                          #169

                          @dslraser
                          Das ist so ein Fehler der beim javascript update entstanden ist.

                          MfG Ulrich

                          dslraserD 1 Antwort Letzte Antwort
                          1
                          • Z zahnheinrich

                            @dslraser
                            Das ist so ein Fehler der beim javascript update entstanden ist.

                            dslraserD Offline
                            dslraserD Offline
                            dslraser
                            Forum Testing Most Active
                            schrieb am zuletzt editiert von
                            #170

                            @zahnheinrich sagte in [VORLAGE] Blockly Meldung wenn Waschmaschine fertig:

                            @dslraser
                            Das ist so ein Fehler der beim javascript update entstanden ist.

                            ich weiß, ich wollte es nur bestätigen.

                            1 Antwort Letzte Antwort
                            0
                            • M Offline
                              M Offline
                              Master-Rudi
                              schrieb am zuletzt editiert von
                              #171

                              Ah! Nur ne Kleinigkeit. Perfekt, geht wieder. Danke für die schnelle Hilfe!!

                              1 Antwort Letzte Antwort
                              0
                              • J Offline
                                J Offline
                                jwerlsdf
                                schrieb am zuletzt editiert von jwerlsdf
                                #172

                                Hallo,
                                erst einmal vielen Dank für das Skript. Eine super Sache!
                                Leider funktioniert bei mir das Skript nicht. Ich bekomme nichts per Telegram geschickt.
                                Ich habe mir die Werte angeschaut. Es kann sein, dass auch der Wert mal auf 3.99 absinkt. Deswegen habe ich den Schwellenwert auf 3 verändert. Die Steckdose wird immer aus und wieder eingeschaltet.
                                Was muss ich verändern, damit es geht?
                                Vielen Dank schon mal für die Hilfe!

                                <xml xmlns="https://developers.google.com/blockly/xml">
                                 <variables>
                                   <variable id="?tDUg:7`_O(*sCa3%?}E">Meldetext</variable>
                                   <variable id="_p/OES*!F4M-zV)UzC_f">parameter</variable>
                                   <variable id=";kvik/O*A+8f;_EzI7$.">VerzoegerungAktiv</variable>
                                   <variable id="gfKrG=#Z6a{snybK/_$t">GrenzWertInWatt</variable>
                                   <variable type="timeout" id="timeout">timeout</variable>
                                   <variable type="timeout" id="Einschaltverzoegerung">Einschaltverzoegerung</variable>
                                 </variables>
                                 <block type="create" id=":XvakORUFJ^_I1/^;0qD" x="13" y="13">
                                   <field name="NAME">WaschmaschineAN</field>
                                   <next>
                                     <block type="comment" id="@`s,ARMz+*DZ*ns;z2m_">
                                       <field name="COMMENT">Initialisierung bei Scriptstart</field>
                                       <next>
                                         <block type="comment" id="Ov|lJMd@PV!y.oUN9Boj">
                                           <field name="COMMENT">VerzögerungAktiv NICHT ändern</field>
                                           <next>
                                             <block type="variables_set" id="T+;|Db@bx|T]wkX[e.xT">
                                               <field name="VAR" id=";kvik/O*A+8f;_EzI7$.">VerzoegerungAktiv</field>
                                               <value name="VALUE">
                                                 <block type="logic_boolean" id="FimMeG{k6LBu0{7UjBJ4">
                                                   <field name="BOOL">FALSE</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="comment" id="6q4+KcF6/q*eh;RCmGKL">
                                                   <field name="COMMENT">Entscheidungswert festlegen</field>
                                                   <next>
                                                     <block type="variables_set" id="pE;t15K()B2=@=,RY5D_">
                                                       <field name="VAR" id="gfKrG=#Z6a{snybK/_$t">GrenzWertInWatt</field>
                                                       <value name="VALUE">
                                                         <block type="math_number" id="OB=)nO2pXH:1HNwm(JpG">
                                                           <field name="NUM">4</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="comment" id="|2tm%?,yK/o3_AA)J{ah">
                                                           <field name="COMMENT">Steckdose überwachen</field>
                                                           <next>
                                                             <block type="on_ext" id="n)UklDS{=z!-#^HfL@Ly">
                                                               <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="@Uda~stBc8L/=2DFzrvo">
                                                                   <field name="oid">hm-rpc.0.LEQ0661170.2.POWER</field>
                                                                 </shadow>
                                                               </value>
                                                               <statement name="STATEMENT">
                                                                 <block type="controls_if" id="=n/Jfc]x(Ib[NRPJZ%7X">
                                                                   <value name="IF0">
                                                                     <block type="logic_compare" id="?m1STicTe5=N-/f:Ji2s">
                                                                       <field name="OP">EQ</field>
                                                                       <value name="A">
                                                                         <block type="on_source" id="QjKQBx`PdHENcy)eGM,5">
                                                                           <field name="ATTR">oldState.val</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="B">
                                                                         <block type="math_number" id=":(p2PWPzD2(~R-q9upeS">
                                                                           <field name="NUM">0</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                   <statement name="DO0">
                                                                     <block type="comment" id=";%e=m5A.5_U8[v[Odt7.">
                                                                       <field name="COMMENT">Dieser Teil wird NUR ausgeführt wenn</field>
                                                                       <next>
                                                                         <block type="comment" id="Bv,r2iN_4zSfF_^X35gM">
                                                                           <field name="COMMENT">Funkstecker oder Waschm. komplett aus war.</field>
                                                                           <next>
                                                                             <block type="variables_set" id="xuK#29.xYf)m6FX5LA78">
                                                                               <field name="VAR" id=";kvik/O*A+8f;_EzI7$.">VerzoegerungAktiv</field>
                                                                               <value name="VALUE">
                                                                                 <block type="logic_boolean" id=")}Jh9zUdflaLNnL+;^h=">
                                                                                   <field name="BOOL">TRUE</field>
                                                                                 </block>
                                                                               </value>
                                                                               <next>
                                                                                 <block type="debug" id="Wv*jiP9Bn3#//0KE[4e[">
                                                                                   <field name="Severity">log</field>
                                                                                   <value name="TEXT">
                                                                                     <shadow type="text" id="!hyL_SIc#q!nV1G.NU,/">
                                                                                       <field name="TEXT">***Starte Verzögerung</field>
                                                                                     </shadow>
                                                                                   </value>
                                                                                   <next>
                                                                                     <block type="timeouts_settimeout" id="v[ws-ZxN:-nNl,kERlT8">
                                                                                       <field name="NAME">Einschaltverzoegerung</field>
                                                                                       <field name="DELAY">20</field>
                                                                                       <field name="UNIT">sec</field>
                                                                                       <statement name="STATEMENT">
                                                                                         <block type="comment" id="UyUTD{W;Ef;u2!)%y5h|">
                                                                                           <field name="COMMENT">Eventuell hohe Einschaltspannung abfangen.</field>
                                                                                           <next>
                                                                                             <block type="comment" id="^wiM;VZ*5RLS-+SMsG7?">
                                                                                               <field name="COMMENT">Diese kann größer als der Grenzwert sein</field>
                                                                                               <next>
                                                                                                 <block type="variables_set" id="@d2;tEWydly|fW:ng;eg">
                                                                                                   <field name="VAR" id=";kvik/O*A+8f;_EzI7$.">VerzoegerungAktiv</field>
                                                                                                   <value name="VALUE">
                                                                                                     <block type="logic_boolean" id="S5R1RMtIKx(=N;}|dM%Z">
                                                                                                       <field name="BOOL">FALSE</field>
                                                                                                     </block>
                                                                                                   </value>
                                                                                                   <next>
                                                                                                     <block type="debug" id="1^,/eLLAT{#66hqVIel8">
                                                                                                       <field name="Severity">log</field>
                                                                                                       <value name="TEXT">
                                                                                                         <shadow type="text" id="[koH26;mOP0UeXV~CJRb">
                                                                                                           <field name="TEXT">***Beende Verzögerung</field>
                                                                                                         </shadow>
                                                                                                       </value>
                                                                                                     </block>
                                                                                                   </next>
                                                                                                 </block>
                                                                                               </next>
                                                                                             </block>
                                                                                           </next>
                                                                                         </block>
                                                                                       </statement>
                                                                                     </block>
                                                                                   </next>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </next>
                                                                         </block>
                                                                       </next>
                                                                     </block>
                                                                   </statement>
                                                                   <next>
                                                                     <block type="comment" id="EZK4(UY%`}HZl{2F)m6p">
                                                                       <field name="COMMENT">Ab hier wird gewaschen</field>
                                                                       <next>
                                                                         <block type="controls_if" id="S(-Xvr1uja6/vNdH|?j:">
                                                                           <mutation elseif="2"></mutation>
                                                                           <value name="IF0">
                                                                             <block type="logic_operation" id="s(;r=_ekdU*dF=_Tsrbb" inline="false">
                                                                               <field name="OP">AND</field>
                                                                               <value name="A">
                                                                                 <block type="logic_compare" id="d_lZY_VlNaa40/Pob=Um">
                                                                                   <field name="OP">GT</field>
                                                                                   <value name="A">
                                                                                     <block type="on_source" id="`c4GU.`+o2_G+Vdxq;n/">
                                                                                       <field name="ATTR">state.val</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="B">
                                                                                     <block type="variables_get" id="FD[JnQcwajuYLgGmTX`.">
                                                                                       <field name="VAR" id="gfKrG=#Z6a{snybK/_$t">GrenzWertInWatt</field>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="B">
                                                                                 <block type="logic_operation" id="*Y`H0qa!`fsBeI/2Cv+c" inline="false">
                                                                                   <field name="OP">AND</field>
                                                                                   <value name="A">
                                                                                     <block type="logic_compare" id="zC,(}TPXAvX2yd^k`W._">
                                                                                       <field name="OP">EQ</field>
                                                                                       <value name="A">
                                                                                         <block type="get_value" id=";a;[[bw/v2oQnG9DHZIn">
                                                                                           <field name="ATTR">val</field>
                                                                                           <field name="OID">javascript.0.WaschmaschineAN</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="B">
                                                                                         <block type="logic_boolean" id=";a5=vVD`86hstjR{4y~+">
                                                                                           <field name="BOOL">FALSE</field>
                                                                                         </block>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="B">
                                                                                     <block type="logic_compare" id="K.3M9Le`+STB!.M_eD7O">
                                                                                       <field name="OP">EQ</field>
                                                                                       <value name="A">
                                                                                         <block type="variables_get" id="[!KuvI83Wzp*sDDNM{S!">
                                                                                           <field name="VAR" id=";kvik/O*A+8f;_EzI7$.">VerzoegerungAktiv</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="B">
                                                                                         <block type="logic_boolean" id="9_[X?aI?X1w]lj.RY`K^">
                                                                                           <field name="BOOL">FALSE</field>
                                                                                         </block>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </value>
                                                                           <statement name="DO0">
                                                                             <block type="control" id="S6URE:3#}}.v#e!X.A4D">
                                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                               <field name="OID">javascript.0.WaschmaschineAN</field>
                                                                               <field name="WITH_DELAY">FALSE</field>
                                                                               <value name="VALUE">
                                                                                 <block type="logic_boolean" id="QqpwRU?xP?P=bvS9HS[1">
                                                                                   <field name="BOOL">TRUE</field>
                                                                                 </block>
                                                                               </value>
                                                                               <next>
                                                                                 <block type="procedures_callnoreturn" id="=!*WIp};Ta`)XeMMk,iR">
                                                                                   <mutation name="Melden">
                                                                                     <arg name="Meldetext"></arg>
                                                                                   </mutation>
                                                                                   <value name="ARG0">
                                                                                     <block type="text" id="{QcAY3oi:,FGG.929?TS">
                                                                                       <field name="TEXT">Waschmaschine LÄUFT</field>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </statement>
                                                                           <value name="IF1">
                                                                             <block type="logic_compare" id="Yuagp|w@)mC+asceXLLu">
                                                                               <field name="OP">GT</field>
                                                                               <value name="A">
                                                                                 <block type="on_source" id="P(tu4AS{);E?w-p?]{1q">
                                                                                   <field name="ATTR">state.val</field>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="B">
                                                                                 <block type="variables_get" id="ou6,Zi?vbs[;{]@93U`!">
                                                                                   <field name="VAR" id="gfKrG=#Z6a{snybK/_$t">GrenzWertInWatt</field>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </value>
                                                                           <statement name="DO1">
                                                                             <block type="comment" id="H90l#sdGb5I}Wqsbz=9s">
                                                                               <field name="COMMENT">Timer stoppen</field>
                                                                               <next>
                                                                                 <block type="procedures_callnoreturn" id="zo=cPu~=j#pus6bWVaJl">
                                                                                   <mutation name="checkFertig">
                                                                                     <arg name="parameter"></arg>
                                                                                   </mutation>
                                                                                   <value name="ARG0">
                                                                                     <block type="logic_boolean" id="1SYbGS^3xkqD/Uj?{bvJ">
                                                                                       <field name="BOOL">FALSE</field>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </statement>
                                                                           <value name="IF2">
                                                                             <block type="logic_operation" id="_@|YxZPYI(z3![Q=ZbX4" inline="false">
                                                                               <field name="OP">AND</field>
                                                                               <value name="A">
                                                                                 <block type="logic_compare" id="Ge6FX#6b5WYoc;wF%%iH">
                                                                                   <field name="OP">LT</field>
                                                                                   <value name="A">
                                                                                     <block type="on_source" id="0Vw33+AwVD~={g{aHa~d">
                                                                                       <field name="ATTR">state.val</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="B">
                                                                                     <block type="variables_get" id="NufLwbvZR1.fEmqJNOTZ">
                                                                                       <field name="VAR" id="gfKrG=#Z6a{snybK/_$t">GrenzWertInWatt</field>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="B">
                                                                                 <block type="logic_compare" id="X[1t=zl25bQ]aHT[:`,8">
                                                                                   <field name="OP">EQ</field>
                                                                                   <value name="A">
                                                                                     <block type="get_value" id="4WFkiPOYU?#zQhOL)0u(">
                                                                                       <field name="ATTR">val</field>
                                                                                       <field name="OID">javascript.0.WaschmaschineAN</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="B">
                                                                                     <block type="logic_boolean" id="?jrLY7K)k;1?sa!Ef{VO">
                                                                                       <field name="BOOL">TRUE</field>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </value>
                                                                           <statement name="DO2">
                                                                             <block type="comment" id="}Q59!:8+Dc~b~LwZhq-(">
                                                                               <field name="COMMENT">Timer starten</field>
                                                                               <next>
                                                                                 <block type="procedures_callnoreturn" id=";MD%1IF[[H29g_f=vvYH">
                                                                                   <mutation name="checkFertig">
                                                                                     <arg name="parameter"></arg>
                                                                                   </mutation>
                                                                                   <value name="ARG0">
                                                                                     <block type="logic_boolean" id="/yX*,4aU!HHUO#/2U-NR">
                                                                                       <field name="BOOL">TRUE</field>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </statement>
                                                                         </block>
                                                                       </next>
                                                                     </block>
                                                                   </next>
                                                                 </block>
                                                               </statement>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                                 <block type="procedures_defnoreturn" id="l1.gm`YNTt2#Ww;_Stf+" x="838" y="88">
                                   <mutation>
                                     <arg name="Meldetext" varid="?tDUg:7`_O(*sCa3%?}E"></arg>
                                   </mutation>
                                   <field name="NAME">Melden</field>
                                   <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                   <statement name="STACK">
                                     <block type="comment" id="CgkHkrp5c26e`w3uU(i`">
                                       <field name="COMMENT">Hier wird die Meldung ausgegeben</field>
                                       <next>
                                         <block type="debug" id="SYQu;@N0JgE!W~[JZcZ_">
                                           <field name="Severity">log</field>
                                           <value name="TEXT">
                                             <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="4+J8c.^+FrkDV^]dAda-">
                                               <field name="TEXT">test</field>
                                             </shadow>
                                             <block type="variables_get" id="KuX^Hf4/i6gnp|rmq9WR">
                                               <field name="VAR" id="?tDUg:7`_O(*sCa3%?}E">Meldetext</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="telegram" id="-wt^J?x#Wh;oZek3Z;oN">
                                               <field name="INSTANCE">.0</field>
                                               <field name="LOG"></field>
                                               <field name="SILENT">FALSE</field>
                                               <field name="PARSEMODE">HTML</field>
                                               <value name="MESSAGE">
                                                 <shadow type="text" id="!r8Hiy}PPLn,%`4ZmCj$">
                                                   <field name="TEXT">text</field>
                                                 </shadow>
                                                 <block type="variables_get" id="S_|GoOuGqbzjoN`}a8#?">
                                                   <field name="VAR" id="?tDUg:7`_O(*sCa3%?}E">Meldetext</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                 </block>
                                 <block type="procedures_defnoreturn" id="sDP?w~)oJD}Z95[_?EY0" x="13" y="1338">
                                   <mutation>
                                     <arg name="parameter" varid="_p/OES*!F4M-zV)UzC_f"></arg>
                                   </mutation>
                                   <field name="NAME">checkFertig</field>
                                   <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                   <statement name="STACK">
                                     <block type="comment" id="V2@7jqv5RTl+}q}xfEsZ">
                                       <field name="COMMENT">Timer stoppen</field>
                                       <next>
                                         <block type="timeouts_cleartimeout" id="y7iPL;/^^,*);q|%Pk6;">
                                           <field name="NAME">timeout</field>
                                           <next>
                                             <block type="controls_if" id="*DX-*|5t*M5.|5Qw0p76">
                                               <value name="IF0">
                                                 <block type="logic_compare" id="[-Hs2uzeFf6L7XO4:d6g">
                                                   <field name="OP">EQ</field>
                                                   <value name="A">
                                                     <block type="variables_get" id="uT*6f!Y:?Sivq1F-y;7_">
                                                       <field name="VAR" id="_p/OES*!F4M-zV)UzC_f">parameter</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="logic_boolean" id="w?1)4.uK{/ey3NJ)NjH:">
                                                       <field name="BOOL">TRUE</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO0">
                                                 <block type="comment" id="fU`TRz:h*y1K[t@GmyY:">
                                                   <field name="COMMENT">Timer starten</field>
                                                   <next>
                                                     <block type="timeouts_settimeout" id="k%sy5:QdTn+3f@{OZshs">
                                                       <field name="NAME">timeout</field>
                                                       <field name="DELAY">40</field>
                                                       <field name="UNIT">sec</field>
                                                       <statement name="STATEMENT">
                                                         <block type="control" id="UOquZ.)w|Dv~5_@iC*HO">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                           <field name="OID">javascript.0.WaschmaschineAN</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="logic_boolean" id="ttQizIf!/AB*HLfb9Kw1">
                                                               <field name="BOOL">FALSE</field>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="procedures_callnoreturn" id="HHrpaU=vtt6v1JInTG~l">
                                                               <mutation name="Melden">
                                                                 <arg name="Meldetext"></arg>
                                                               </mutation>
                                                               <value name="ARG0">
                                                                 <block type="text" id="leE4:W;JI@,LD;n0Gs6r">
                                                                   <field name="TEXT">Waschmaschine FERTIG</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </statement>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </statement>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                 </block>
                                </xml>
                                

                                Edit:
                                Es geht nun. Lag am Datenpunkt. Habe manuell einen erstellt mit dem Wert Logik. Vielen Dank!

                                T 1 Antwort Letzte Antwort
                                0
                                • T Offline
                                  T Offline
                                  TorstenR1962
                                  schrieb am zuletzt editiert von
                                  #173

                                  Hi,

                                  ich glaube, es wäre eine große Hilfe, wenn im Eingangsbeitrag stehen würde, für welches Aktualisierungs-Intervall das Skript geschrieben ist. Ich stehe gerade vor dem Problem, dass meine Tasmota ursprünglich 300 Sekunden als Intervall drin hatte, es dann auf 10 Sekunden geändert wurde (nach nem Youtube Video zum Thema Waschmaschine). Aktuell steht es jetzt bei 30.

                                  Ich möchte gerne das Skript mit den 40 Sekunden verwenden. Sehe ich das nun richtig, dass der Timer dann kleiner als das Aktualisierungsintervall sein muss? Wenn ich es auf 60 Sekunden stelle, ist alles tutti? 30 Sekunden wären zu wenig, weil das Skript ja dann wieder komplett neu anlaufen würde, korrekt?

                                  Ich teste das natürlich direkt mit ner Zahl größer als 40 Sekunden, logo, aber ich glaube das Einstellen/Feintuning der Intervalle/Timeouts könnte ich noch gut als keine "Lehrstunde" vertragen. Und sei es nur ein kleiner Absatz von jmd der Ahnung davon hat.

                                  Gruß und Danke im Voraus.

                                  rantanplanR 1 Antwort Letzte Antwort
                                  0
                                  • T TorstenR1962

                                    Hi,

                                    ich glaube, es wäre eine große Hilfe, wenn im Eingangsbeitrag stehen würde, für welches Aktualisierungs-Intervall das Skript geschrieben ist. Ich stehe gerade vor dem Problem, dass meine Tasmota ursprünglich 300 Sekunden als Intervall drin hatte, es dann auf 10 Sekunden geändert wurde (nach nem Youtube Video zum Thema Waschmaschine). Aktuell steht es jetzt bei 30.

                                    Ich möchte gerne das Skript mit den 40 Sekunden verwenden. Sehe ich das nun richtig, dass der Timer dann kleiner als das Aktualisierungsintervall sein muss? Wenn ich es auf 60 Sekunden stelle, ist alles tutti? 30 Sekunden wären zu wenig, weil das Skript ja dann wieder komplett neu anlaufen würde, korrekt?

                                    Ich teste das natürlich direkt mit ner Zahl größer als 40 Sekunden, logo, aber ich glaube das Einstellen/Feintuning der Intervalle/Timeouts könnte ich noch gut als keine "Lehrstunde" vertragen. Und sei es nur ein kleiner Absatz von jmd der Ahnung davon hat.

                                    Gruß und Danke im Voraus.

                                    rantanplanR Offline
                                    rantanplanR Offline
                                    rantanplan
                                    schrieb am zuletzt editiert von
                                    #174

                                    @TorstenR1962
                                    Hi,

                                    Ich benutze einen Funkstecker von HomeMatic.
                                    Dort habe ich die Standardeinstellungen belassen.
                                    Ehrlich gesagt, bin ich gar nicht auf die Idee gekommen dort etwas zu ändern.
                                    Bei den vielen unterschiedlichen Aktoren, ist dies aber wirklich eine mögliche Fehlerquelle. Danke für den Tip!
                                    Wird dem Einen oder Anderen vielleicht helfen.
                                    Hier mal die Werkseinstellungen meines Funksteckers-Waschmaschine, mit denen mein Script einwandfrei läuft.
                                    Parameter.png

                                    Grüße

                                    Rantanplan

                                    CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                                    T 1 Antwort Letzte Antwort
                                    1
                                    • rantanplanR rantanplan

                                      @TorstenR1962
                                      Hi,

                                      Ich benutze einen Funkstecker von HomeMatic.
                                      Dort habe ich die Standardeinstellungen belassen.
                                      Ehrlich gesagt, bin ich gar nicht auf die Idee gekommen dort etwas zu ändern.
                                      Bei den vielen unterschiedlichen Aktoren, ist dies aber wirklich eine mögliche Fehlerquelle. Danke für den Tip!
                                      Wird dem Einen oder Anderen vielleicht helfen.
                                      Hier mal die Werkseinstellungen meines Funksteckers-Waschmaschine, mit denen mein Script einwandfrei läuft.
                                      Parameter.png

                                      Grüße

                                      T Offline
                                      T Offline
                                      TorstenR1962
                                      schrieb am zuletzt editiert von
                                      #175

                                      @rantanplan

                                      Hi und danke für die schnelle Antwort. Das ist ja interessant, was du alles einstellen kannst. Ich kann beim tasmota nur die "Telemetry period (300)" als Intervall einstellen. Die stand bei 300 und nun bei 60.
                                      Bei deiner homematic wird der Wert zb erst dann geschickt, wenn er sich geändert hat, das kann meiner nicht. Er schickt einfach alles.
                                      Und bei dir sieht es so aus, als wäre das Sendeintervall variabel. Hmmm.

                                      Ich teste dann mal mit verschiedenen Zeiten und Timern. Und, ich guck mir mal Preise für Homematics an, habe bislang nur gosunds und davon eine zum tasmota geflashed.
                                      Grüße

                                      rantanplanR 1 Antwort Letzte Antwort
                                      0
                                      • T TorstenR1962

                                        @rantanplan

                                        Hi und danke für die schnelle Antwort. Das ist ja interessant, was du alles einstellen kannst. Ich kann beim tasmota nur die "Telemetry period (300)" als Intervall einstellen. Die stand bei 300 und nun bei 60.
                                        Bei deiner homematic wird der Wert zb erst dann geschickt, wenn er sich geändert hat, das kann meiner nicht. Er schickt einfach alles.
                                        Und bei dir sieht es so aus, als wäre das Sendeintervall variabel. Hmmm.

                                        Ich teste dann mal mit verschiedenen Zeiten und Timern. Und, ich guck mir mal Preise für Homematics an, habe bislang nur gosunds und davon eine zum tasmota geflashed.
                                        Grüße

                                        rantanplanR Offline
                                        rantanplanR Offline
                                        rantanplan
                                        schrieb am zuletzt editiert von
                                        #176

                                        @TorstenR1962
                                        Versuch doch mal den Start vom Trigger von "geändert" auf "aktualisiert" zu ändern.
                                        Dann rennt das Script auch los wenn dein Aktor mit dem gleichen Wert aktualisiert.

                                        Rantanplan

                                        CCU3 / MS Server 2019(VM) / Scripten mit Blockly

                                        T 1 Antwort Letzte Antwort
                                        1
                                        • rantanplanR rantanplan

                                          @TorstenR1962
                                          Versuch doch mal den Start vom Trigger von "geändert" auf "aktualisiert" zu ändern.
                                          Dann rennt das Script auch los wenn dein Aktor mit dem gleichen Wert aktualisiert.

                                          T Offline
                                          T Offline
                                          TorstenR1962
                                          schrieb am zuletzt editiert von
                                          #177

                                          @rantanplan

                                          Danke dir, kommt auch auf die Liste zum testen. Ich denke, morgen ist wieder Waschtag. Könnte auch nen Ventilator dran hängen, aber dann müsste ich wieder einiges umstöpseln und laufen..... :-)

                                          Auf alle Fälle sehr spannend, das Thema iobroker. Wurde anfangs nicht so warm damit, aber mittlerweile sehr begeistert.

                                          Gruß

                                          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

                                          524

                                          Online

                                          32.4k

                                          Benutzer

                                          81.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