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

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

Community Forum

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

NEWS

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

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

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

[VORLAGE] Blockly Meldung wenn Waschmaschine fertig

Geplant Angeheftet Gesperrt Verschoben Blockly
blocklytemplate
242 Beiträge 59 Kommentatoren 82.8k 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.
  • dslraserD dslraser

    @rantanplan
    das habe ich da drinn

    { "role" : "switch" , "type" : "boolean" , "name" : "Waschmaschine Schalter" }
    
    rantanplanR Offline
    rantanplanR Offline
    rantanplan
    schrieb am zuletzt editiert von
    #219

    @dslraser
    Warum ein anderer Name als im Block angezeigt? Finde ich verwirrend.

    Grüße

    Rantanplan

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

    dslraserD 1 Antwort Letzte Antwort
    0
    • rantanplanR rantanplan

      @dslraser
      Warum ein anderer Name als im Block angezeigt? Finde ich verwirrend.

      Grüße

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

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

      @dslraser
      Warum ein anderer Name als im Block angezeigt? Finde ich verwirrend.

      Grüße

      Das sollte auch nur ein Beispiel sein was da rein kann. Den Namen kann man doch selbst bestimmen. Das ist ja nur der Name und nicht die ID.

      Edit: Hier sind Beispiele

      https://forum.iobroker.net/post/240149

      https://forum.iobroker.net/post/240223

      1 Antwort Letzte Antwort
      0
      • XenonX Offline
        XenonX Offline
        Xenon
        Forum Testing Developer
        schrieb am zuletzt editiert von
        #221

        warum wird sich das Leben immer so schwer gemacht und nicht einfach der Adapter "device-reminder" genommen? Der kann doch wesentlich mehr als dieses blockly und ist auch viel Anwenderfreundlicher ;)

        wenn euch mein Beitrag geholfen hat, bewertet ihn bitte unten rechts :)

        ? 1 Antwort Letzte Antwort
        0
        • dslraserD dslraser

          @rantanplan
          das habe ich da drinn

          { "role" : "switch" , "type" : "boolean" , "name" : "Waschmaschine Schalter" }
          
          K Offline
          K Offline
          kakacs
          schrieb am zuletzt editiert von kakacs
          #222

          @rantanplan @dslraser
          hallo hab es versucht aber irgendwie klappt das nicht er startet die verzögerung aber dann geht es nicht weiter
          0406d2c5-415e-4bc2-a143-736ef69da0a2-grafik.png
          wenn watt zahl länger auf 0w steht kommt keine meldung auf telegram das wa fertig ist .
          hier auch wie ich den script drin habe vielleicht kannst du mal drüber schauen .
          danke script.txt

          dslraserD rantanplanR 2 Antworten Letzte Antwort
          0
          • K kakacs

            @rantanplan @dslraser
            hallo hab es versucht aber irgendwie klappt das nicht er startet die verzögerung aber dann geht es nicht weiter
            0406d2c5-415e-4bc2-a143-736ef69da0a2-grafik.png
            wenn watt zahl länger auf 0w steht kommt keine meldung auf telegram das wa fertig ist .
            hier auch wie ich den script drin habe vielleicht kannst du mal drüber schauen .
            danke script.txt

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

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

            @dslraser
            hallo hab es versucht aber irgendwie klappt das nicht er startet die verzögerung aber dann geht es nicht weiter
            0406d2c5-415e-4bc2-a143-736ef69da0a2-grafik.png
            wenn watt zahl länger auf 0w steht kommt keine meldung auf telegram das wa fertig ist .
            hier auch wie ich den script drin habe vielleicht kannst du mal drüber schauen .
            danke script.txt

            Zum Blockly selbst sollte Dir @rantanplan weiterhelfen können, das ist sein Werk.

            1 Antwort Letzte Antwort
            0
            • K kakacs

              @rantanplan @dslraser
              hallo hab es versucht aber irgendwie klappt das nicht er startet die verzögerung aber dann geht es nicht weiter
              0406d2c5-415e-4bc2-a143-736ef69da0a2-grafik.png
              wenn watt zahl länger auf 0w steht kommt keine meldung auf telegram das wa fertig ist .
              hier auch wie ich den script drin habe vielleicht kannst du mal drüber schauen .
              danke script.txt

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

              @kakacs
              Dein bereitgestelltes Script läßt sich leider nicht importieren.

              Rantanplan

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

              1 Antwort Letzte Antwort
              0
              • XenonX Xenon

                warum wird sich das Leben immer so schwer gemacht und nicht einfach der Adapter "device-reminder" genommen? Der kann doch wesentlich mehr als dieses blockly und ist auch viel Anwenderfreundlicher ;)

                ? Offline
                ? Offline
                Ein ehemaliger Benutzer
                schrieb am zuletzt editiert von
                #225

                @xenon das frage ich mich auch schon die ganze Zeit beim lesen ;-) Habe den Adapter auch schon einige Zeit im Einsatz. Einmal angepasst und es läuft sogar für verschiedene Geräte.

                XenonX 1 Antwort Letzte Antwort
                0
                • ? Ein ehemaliger Benutzer

                  @xenon das frage ich mich auch schon die ganze Zeit beim lesen ;-) Habe den Adapter auch schon einige Zeit im Einsatz. Einmal angepasst und es läuft sogar für verschiedene Geräte.

                  XenonX Offline
                  XenonX Offline
                  Xenon
                  Forum Testing Developer
                  schrieb am zuletzt editiert von Xenon
                  #226

                  @noah3112 wenn Leute lernen wollen ist das ja alles gut und macht Sinn. Aber solche blockly vorlagen zu nehmen und dann Probleme zu haben sehe ich als sinnlos an. Man muss aber ja nicht meiner Meinung sein 🙂

                  Das ist ja auch grade der Sinn des Adapters, dass man alle Geräte erfassen kann und nicht für jedes ein Script bauen muss. Spart im übrigen massig Nerven und Systemressourcen

                  wenn euch mein Beitrag geholfen hat, bewertet ihn bitte unten rechts :)

                  ? 1 Antwort Letzte Antwort
                  0
                  • XenonX Xenon

                    @noah3112 wenn Leute lernen wollen ist das ja alles gut und macht Sinn. Aber solche blockly vorlagen zu nehmen und dann Probleme zu haben sehe ich als sinnlos an. Man muss aber ja nicht meiner Meinung sein 🙂

                    Das ist ja auch grade der Sinn des Adapters, dass man alle Geräte erfassen kann und nicht für jedes ein Script bauen muss. Spart im übrigen massig Nerven und Systemressourcen

                    ? Offline
                    ? Offline
                    Ein ehemaliger Benutzer
                    schrieb am zuletzt editiert von
                    #227

                    @xenon sehe ich auch so. Weil ich Probleme mit "selbst gebastelten" Vorlagen hatte bin ich froh das es Leute gibt die es einfach besser können und in Form eines universell anzupassenden Adapters ihr Wissen weitergeben. An dieser Stelle nochmals vielen Dank :-)

                    XenonX rantanplanR 2 Antworten Letzte Antwort
                    0
                    • ? Ein ehemaliger Benutzer

                      @xenon sehe ich auch so. Weil ich Probleme mit "selbst gebastelten" Vorlagen hatte bin ich froh das es Leute gibt die es einfach besser können und in Form eines universell anzupassenden Adapters ihr Wissen weitergeben. An dieser Stelle nochmals vielen Dank :-)

                      XenonX Offline
                      XenonX Offline
                      Xenon
                      Forum Testing Developer
                      schrieb am zuletzt editiert von
                      #228

                      @noah3112 vorallem finde ich es absolut Blödsinnig vorlagen mit timeout zu veröffentlichen und dann zu verlangen das der User den timeout und sämtliche schwellwerte zuerst ermitteln und dann noch irgebdwo eintragen soll. Wer eine Vorlage braucht, weiß meistens auch nicht wo was einzutragen ist.

                      Egal, danke dir für dein Feedback, ich bin raus 🙂

                      wenn euch mein Beitrag geholfen hat, bewertet ihn bitte unten rechts :)

                      1 Antwort Letzte Antwort
                      0
                      • ? Ein ehemaliger Benutzer

                        @xenon sehe ich auch so. Weil ich Probleme mit "selbst gebastelten" Vorlagen hatte bin ich froh das es Leute gibt die es einfach besser können und in Form eines universell anzupassenden Adapters ihr Wissen weitergeben. An dieser Stelle nochmals vielen Dank :-)

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

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

                        @xenon sehe ich auch so. Weil ich Probleme mit "selbst gebastelten" Vorlagen hatte bin ich froh das es Leute gibt die es einfach besser können und in Form eines universell anzupassenden Adapters ihr Wissen weitergeben. An dieser Stelle nochmals vielen Dank :-)

                        Das Script ist von Dezember 2017. Da gab es noch lange keinen device-reminder.
                        Für Leute die etwas lernen wollen und auch mal gerne selbst ein Problem lösen möchten, sind solche "selbst gebastelten" Vorlagen hilfreich. Man kann sich aber auch zurücklehnen und warten bis jemand anderer die Arbeit macht.
                        Beides hat seine Berechtigung und ist weder gut noch schlecht.
                        ioBroker und dieses Forum, mit seinen vielen Helfern macht da keinen Unterschied.

                        Grüße

                        Rantanplan

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

                        XenonX 1 Antwort Letzte Antwort
                        1
                        • rantanplanR rantanplan

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

                          @xenon sehe ich auch so. Weil ich Probleme mit "selbst gebastelten" Vorlagen hatte bin ich froh das es Leute gibt die es einfach besser können und in Form eines universell anzupassenden Adapters ihr Wissen weitergeben. An dieser Stelle nochmals vielen Dank :-)

                          Das Script ist von Dezember 2017. Da gab es noch lange keinen device-reminder.
                          Für Leute die etwas lernen wollen und auch mal gerne selbst ein Problem lösen möchten, sind solche "selbst gebastelten" Vorlagen hilfreich. Man kann sich aber auch zurücklehnen und warten bis jemand anderer die Arbeit macht.
                          Beides hat seine Berechtigung und ist weder gut noch schlecht.
                          ioBroker und dieses Forum, mit seinen vielen Helfern macht da keinen Unterschied.

                          Grüße

                          XenonX Offline
                          XenonX Offline
                          Xenon
                          Forum Testing Developer
                          schrieb am zuletzt editiert von
                          #230

                          @rantanplan bin ich größtenteils bei dir. Aber nichtsdestotrotz bin ich der Meinung das man die Leute auch mal auf Neuerungen, bzw Alternativen hinweisen darf und nicht immer nur an alten Sachen festhalten sollte 🙂

                          wenn euch mein Beitrag geholfen hat, bewertet ihn bitte unten rechts :)

                          rantanplanR 1 Antwort Letzte Antwort
                          0
                          • XenonX Xenon

                            @rantanplan bin ich größtenteils bei dir. Aber nichtsdestotrotz bin ich der Meinung das man die Leute auch mal auf Neuerungen, bzw Alternativen hinweisen darf und nicht immer nur an alten Sachen festhalten sollte 🙂

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

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

                            @rantanplan bin ich größtenteils bei dir. Aber nichtsdestotrotz bin ich der Meinung das man die Leute auch mal auf Neuerungen, bzw Alternativen hinweisen darf und nicht immer nur an alten Sachen festhalten sollte 🙂

                            Na klar. Da bin ich nicht nur größtenteils, sondern voll Deiner Meinnung!
                            Man sollte nur die Art und Weise beachten wie man etwas kritisiert oder "belächelt".
                            Von meiner Seite ist also alles gut.:blush:

                            Grüße

                            Rantanplan

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

                            XenonX 1 Antwort Letzte Antwort
                            0
                            • rantanplanR rantanplan

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

                              @rantanplan bin ich größtenteils bei dir. Aber nichtsdestotrotz bin ich der Meinung das man die Leute auch mal auf Neuerungen, bzw Alternativen hinweisen darf und nicht immer nur an alten Sachen festhalten sollte 🙂

                              Na klar. Da bin ich nicht nur größtenteils, sondern voll Deiner Meinnung!
                              Man sollte nur die Art und Weise beachten wie man etwas kritisiert oder "belächelt".
                              Von meiner Seite ist also alles gut.:blush:

                              Grüße

                              XenonX Offline
                              XenonX Offline
                              Xenon
                              Forum Testing Developer
                              schrieb am zuletzt editiert von
                              #232

                              @rantanplan oh, dass sollte kein "belächeln" sein, entschuldige bitte, falls es so rüberkam. Das war nicht meine Absicht!

                              wenn euch mein Beitrag geholfen hat, bewertet ihn bitte unten rechts :)

                              rantanplanR 1 Antwort Letzte Antwort
                              1
                              • XenonX Xenon

                                @rantanplan oh, dass sollte kein "belächeln" sein, entschuldige bitte, falls es so rüberkam. Das war nicht meine Absicht!

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

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

                                @rantanplan oh, dass sollte kein "belächeln" sein, entschuldige bitte, falls es so rüberkam. Das war nicht meine Absicht!

                                Das liebe ich so an diesem Forum! Alles ist gut.

                                Viele Grüße

                                Rantanplan

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

                                1 Antwort Letzte Antwort
                                0
                                • paky99P Offline
                                  paky99P Offline
                                  paky99
                                  schrieb am zuletzt editiert von paky99
                                  #234

                                  @rantanplan

                                  HI ich habe das gleiche Problem wie kakacs. Bei mir startet auch nur die Verzögerung. Was mache ich falsch? Vielen Dank für das Skript.

                                  Meine Waschmaschine fällt auch ständig unter 3 Watt.

                                  Waschmaschine.jpg

                                  <xml xmlns="https://developers.google.com/blockly/xml">
                                    <variables>
                                      <variable id="$sFa0+./`4Eb^P{v5u1_">Meldetext</variable>
                                      <variable id="eGB47WP2{Oi4ndO58_(/">parameter</variable>
                                      <variable id="reVoRkepd0lnJ^eTg$!c">VerzoegerungAktiv</variable>
                                      <variable id="%!oP%9,:?JLnEL9@~aVy">GrenzWertInWatt</variable>
                                      <variable type="timeout" id="timeout">timeout</variable>
                                      <variable type="timeout" id="Verzoegerung">Verzoegerung</variable>
                                    </variables>
                                    <block type="create" id=":XvakORUFJ^_I1/^;0qD" x="13" y="13">
                                      <field name="NAME">WaschmaschineAN</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="M#!,8QxBc{rFlD1MHaez">
                                          <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="reVoRkepd0lnJ^eTg$!c">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="%!oP%9,:?JLnEL9@~aVy">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">shelly.0.SHPLG-S#B4C5E3#1.Relay0.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="reVoRkepd0lnJ^eTg$!c">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="PC?.OtgQ~dI~66Pl$ha_">
                                                                                          <field name="NAME">Verzoegerung</field>
                                                                                          <field name="DELAY">21</field>
                                                                                          <field name="UNIT">sec</field>
                                                                                          <statement name="STATEMENT">
                                                                                            <block type="variables_set" id="@d2;tEWydly|fW:ng;eg">
                                                                                              <field name="VAR" id="reVoRkepd0lnJ^eTg$!c">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>
                                                                                          </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="%!oP%9,:?JLnEL9@~aVy">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="reVoRkepd0lnJ^eTg$!c">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="%!oP%9,:?JLnEL9@~aVy">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="%!oP%9,:?JLnEL9@~aVy">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="$sFa0+./`4Eb^P{v5u1_"></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="$sFa0+./`4Eb^P{v5u1_">Meldetext</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="telegram" id="+M$HEYWLd9SaE^_-Gf6#">
                                                  <field name="INSTANCE"></field>
                                                  <field name="LOG"></field>
                                                  <field name="SILENT">FALSE</field>
                                                  <field name="PARSEMODE">default</field>
                                                  <value name="MESSAGE">
                                                    <shadow type="text" id="ftXU8}O||J$mnq#m1_a$">
                                                      <field name="TEXT">text</field>
                                                    </shadow>
                                                    <block type="variables_get" id="a++t9_efx*m:[o::J%)N">
                                                      <field name="VAR" id="$sFa0+./`4Eb^P{v5u1_">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>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </statement>
                                    </block>
                                    <block type="procedures_defnoreturn" id="sDP?w~)oJD}Z95[_?EY0" x="63" y="1313">
                                      <mutation>
                                        <arg name="parameter" varid="eGB47WP2{Oi4ndO58_(/"></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">Verzoegerung</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="eGB47WP2{Oi4ndO58_(/">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">10</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>
                                  

                                  Raspberry 4 8GB / ioBroker

                                  paky99P 1 Antwort Letzte Antwort
                                  0
                                  • paky99P paky99

                                    @rantanplan

                                    HI ich habe das gleiche Problem wie kakacs. Bei mir startet auch nur die Verzögerung. Was mache ich falsch? Vielen Dank für das Skript.

                                    Meine Waschmaschine fällt auch ständig unter 3 Watt.

                                    Waschmaschine.jpg

                                    <xml xmlns="https://developers.google.com/blockly/xml">
                                      <variables>
                                        <variable id="$sFa0+./`4Eb^P{v5u1_">Meldetext</variable>
                                        <variable id="eGB47WP2{Oi4ndO58_(/">parameter</variable>
                                        <variable id="reVoRkepd0lnJ^eTg$!c">VerzoegerungAktiv</variable>
                                        <variable id="%!oP%9,:?JLnEL9@~aVy">GrenzWertInWatt</variable>
                                        <variable type="timeout" id="timeout">timeout</variable>
                                        <variable type="timeout" id="Verzoegerung">Verzoegerung</variable>
                                      </variables>
                                      <block type="create" id=":XvakORUFJ^_I1/^;0qD" x="13" y="13">
                                        <field name="NAME">WaschmaschineAN</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="M#!,8QxBc{rFlD1MHaez">
                                            <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="reVoRkepd0lnJ^eTg$!c">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="%!oP%9,:?JLnEL9@~aVy">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">shelly.0.SHPLG-S#B4C5E3#1.Relay0.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="reVoRkepd0lnJ^eTg$!c">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="PC?.OtgQ~dI~66Pl$ha_">
                                                                                            <field name="NAME">Verzoegerung</field>
                                                                                            <field name="DELAY">21</field>
                                                                                            <field name="UNIT">sec</field>
                                                                                            <statement name="STATEMENT">
                                                                                              <block type="variables_set" id="@d2;tEWydly|fW:ng;eg">
                                                                                                <field name="VAR" id="reVoRkepd0lnJ^eTg$!c">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>
                                                                                            </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="%!oP%9,:?JLnEL9@~aVy">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="reVoRkepd0lnJ^eTg$!c">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="%!oP%9,:?JLnEL9@~aVy">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="%!oP%9,:?JLnEL9@~aVy">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="$sFa0+./`4Eb^P{v5u1_"></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="$sFa0+./`4Eb^P{v5u1_">Meldetext</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="telegram" id="+M$HEYWLd9SaE^_-Gf6#">
                                                    <field name="INSTANCE"></field>
                                                    <field name="LOG"></field>
                                                    <field name="SILENT">FALSE</field>
                                                    <field name="PARSEMODE">default</field>
                                                    <value name="MESSAGE">
                                                      <shadow type="text" id="ftXU8}O||J$mnq#m1_a$">
                                                        <field name="TEXT">text</field>
                                                      </shadow>
                                                      <block type="variables_get" id="a++t9_efx*m:[o::J%)N">
                                                        <field name="VAR" id="$sFa0+./`4Eb^P{v5u1_">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>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                      <block type="procedures_defnoreturn" id="sDP?w~)oJD}Z95[_?EY0" x="63" y="1313">
                                        <mutation>
                                          <arg name="parameter" varid="eGB47WP2{Oi4ndO58_(/"></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">Verzoegerung</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="eGB47WP2{Oi4ndO58_(/">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">10</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>
                                    

                                    paky99P Offline
                                    paky99P Offline
                                    paky99
                                    schrieb am zuletzt editiert von
                                    #235

                                    @paky99 Ich habe es selbst gelöst.

                                    1. Datenpunkt selbst erzeugt
                                    2. Das Kommando "set object" in den Adapter Einstellungen aktiviert (Javascript)
                                    3. Timeout stop auf timeout verändert statt Einschaltverzögerung bei checkfertig

                                    Danke

                                    <xml xmlns="https://developers.google.com/blockly/xml">
                                     <variables>
                                       <variable id="$sFa0+./`4Eb^P{v5u1_">Meldetext</variable>
                                       <variable id="eGB47WP2{Oi4ndO58_(/">parameter</variable>
                                       <variable id="reVoRkepd0lnJ^eTg$!c">VerzoegerungAktiv</variable>
                                       <variable id="%!oP%9,:?JLnEL9@~aVy">GrenzWertInWatt</variable>
                                       <variable type="timeout" id="timeout">timeout</variable>
                                       <variable type="timeout" id="Verzoegerung">Verzoegerung</variable>
                                     </variables>
                                     <block type="procedures_defnoreturn" id="l1.gm`YNTt2#Ww;_Stf+" x="838" y="88">
                                       <mutation>
                                         <arg name="Meldetext" varid="$sFa0+./`4Eb^P{v5u1_"></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="$sFa0+./`4Eb^P{v5u1_">Meldetext</field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="telegram" id="+M$HEYWLd9SaE^_-Gf6#">
                                                   <field name="INSTANCE"></field>
                                                   <field name="LOG"></field>
                                                   <field name="SILENT">FALSE</field>
                                                   <field name="PARSEMODE">default</field>
                                                   <value name="MESSAGE">
                                                     <shadow type="text" id="ftXU8}O||J$mnq#m1_a$">
                                                       <field name="TEXT">text</field>
                                                     </shadow>
                                                     <block type="variables_get" id="a++t9_efx*m:[o::J%)N">
                                                       <field name="VAR" id="$sFa0+./`4Eb^P{v5u1_">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>
                                                                 </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="151">
                                       <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="reVoRkepd0lnJ^eTg$!c">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="%!oP%9,:?JLnEL9@~aVy">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">shelly.0.SHPLG-S#B4C5E3#1.Relay0.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="reVoRkepd0lnJ^eTg$!c">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="PC?.OtgQ~dI~66Pl$ha_">
                                                                                       <field name="NAME">Verzoegerung</field>
                                                                                       <field name="DELAY">20</field>
                                                                                       <field name="UNIT">sec</field>
                                                                                       <statement name="STATEMENT">
                                                                                         <block type="variables_set" id="@d2;tEWydly|fW:ng;eg">
                                                                                           <field name="VAR" id="reVoRkepd0lnJ^eTg$!c">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>
                                                                                       </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="%!oP%9,:?JLnEL9@~aVy">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.variables.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="reVoRkepd0lnJ^eTg$!c">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.variables.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="%!oP%9,:?JLnEL9@~aVy">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="%!oP%9,:?JLnEL9@~aVy">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.variables.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>
                                     <block type="procedures_defnoreturn" id="sDP?w~)oJD}Z95[_?EY0" x="63" y="1313">
                                       <mutation>
                                         <arg name="parameter" varid="eGB47WP2{Oi4ndO58_(/"></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="eGB47WP2{Oi4ndO58_(/">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.variables.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>
                                    

                                    Raspberry 4 8GB / ioBroker

                                    1 Antwort Letzte Antwort
                                    0
                                    • O Offline
                                      O Offline
                                      oG85
                                      schrieb am zuletzt editiert von
                                      #236

                                      Hallo Zusammen,

                                      wie bekomme ich den Meldetext als Datenpunkt angezeigt, sodass ich diesen auf meiner Vis anzeigen kann.

                                      Lieben Gruß und Danke für Eure Hilfe.

                                      GlasfaserG rantanplanR 2 Antworten Letzte Antwort
                                      0
                                      • O oG85

                                        Hallo Zusammen,

                                        wie bekomme ich den Meldetext als Datenpunkt angezeigt, sodass ich diesen auf meiner Vis anzeigen kann.

                                        Lieben Gruß und Danke für Eure Hilfe.

                                        GlasfaserG Offline
                                        GlasfaserG Offline
                                        Glasfaser
                                        schrieb am zuletzt editiert von
                                        #237

                                        @og85
                                        https://forum.iobroker.net/topic/9569/vorlage-blockly-meldung-wenn-waschmaschine-fertig/129

                                        Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                        1 Antwort Letzte Antwort
                                        0
                                        • O oG85

                                          Hallo Zusammen,

                                          wie bekomme ich den Meldetext als Datenpunkt angezeigt, sodass ich diesen auf meiner Vis anzeigen kann.

                                          Lieben Gruß und Danke für Eure Hilfe.

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

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

                                          wie bekomme ich den Meldetext als Datenpunkt angezeigt, sodass ich diesen auf meiner Vis anzeigen kann.

                                          In der Funktion "Melden" keinen SendTo Baustein einsetzen sondern dort den Meldetext in einen Datenpunkt schreiben.
                                          Beispiel.png

                                          Grüße

                                          Rantanplan

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

                                          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

                                          872

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

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

                                          • Du hast noch kein Konto? Registrieren

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