Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. (Gelöst) Waschmaschiene Bild (gif) wechseln wenn Wattwert

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    (Gelöst) Waschmaschiene Bild (gif) wechseln wenn Wattwert

    This topic has been deleted. Only users with topic management privileges can see it.
    • Walter.O.
      Walter.O. last edited by Walter.O.

      Hallo, mal eine Frage, die ich auch über die Suche nicht lösen konnte.
      Ich habe 2 gif Bilder (eins animiert) für die Waschmaschiene diese sollen wechseln wenn "Wattwert" sich vo 0 auf 5 watt ändert.0 = Wama fertig, ab 5 watt Wama läuft.
      Versuche mit image8 führt irgentwie nicht zum erfolg.
      Muss ich da evtl. noch ein Blockly erstellen das den Wattwert in 0 oder 1 ändert?
      Ich bekomme das einfach nicht gebacken, kann mir da jemand weiterhelfen oder hat das schonmal Umgesetzt?

      sigi234 1 Reply Last reply Reply Quote 0
      • sigi234
        sigi234 Forum Testing Most Active @Walter.O. last edited by sigi234

        @walter-o

        Welche Vis Version?
        Stell die 2 Bilder mal hier rein

        Wie ist der DP?

        Walter.O. 1 Reply Last reply Reply Quote 0
        • Walter.O.
          Walter.O. @sigi234 last edited by Walter.O.

          @sigi234
          Hallo Sigi234, ich komme noch mal später darauf zurück.
          Mein Mini Pc Stolper gerade ein wenig mehr als er sollte.
          Trotzdem kurz die Informationen.
          Vis 1

          Waschen-leer.gif waschmaschinenbaer_klein.gif

          
          <xml xmlns="https://developers.google.com/blockly/xml">
            <variables>
              <variable id="kb9Yqxkfeh}0kL4{1C#t">Waschen_Ein/Aus</variable>
              <variable type="timeout" id="timeout2">timeout2</variable>
            </variables>
            <block type="comment" id="qaEB|@3k,XOs[QR:;Kl?" x="12" y="-37">
              <field name="COMMENT">https://www.xn--netztfteln-eeb.de/waschmaschine-smart-machen-mit-blockly/</field>
              <next>
                <block type="variables_set" id="i@;~wXOo)(5+=$*9v:QF">
                  <field name="VAR" id="kb9Yqxkfeh}0kL4{1C#t">Waschen_Ein/Aus</field>
                  <value name="VALUE">
                    <block type="logic_boolean" id="stD7DD67D[4(YSQ3dCvR">
                      <field name="BOOL">FALSE</field>
                    </block>
                  </value>
                  <next>
                    <block type="on_ext" id="%l??Ns0%ZOhlZQJn)RIY">
                      <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="8p+iN2CjzC1M$2o|Xq=m">
                          <field name="oid">shelly.0.SHPLG-S#E09806B52CE7#1.Relay0.Power</field>
                        </shadow>
                      </value>
                      <statement name="STATEMENT">
                        <block type="controls_if" id="-4y,4m5H6`8[U,UjJH(0">
                          <mutation elseif="1"></mutation>
                          <value name="IF0">
                            <block type="logic_operation" id="-^U__L=#GGG_LD~6o~hg" inline="false">
                              <field name="OP">AND</field>
                              <comment pinned="false" h="90" w="276">Falls Maschinengang erkannt (Wattzahl &gt;10) UND Modus ist auf falsch dann starte und schreibe den aktuellen verbrauch in DP</comment>
                              <value name="A">
                                <block type="logic_compare" id="-%Kg)H+S;{}Yyd@cqe=l">
                                  <field name="OP">GTE</field>
                                  <value name="A">
                                    <block type="on_source" id="QS5)==Ahwtfe.nNTl`R@">
                                      <field name="ATTR">state.val</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="OT1x**T)z3hCtGxhqDDI">
                                      <field name="NUM">1</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_compare" id=",LW+*+gUB/lbO[yiNJdv">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="variables_get" id="[$/1md}o9xogfLp*!}WA">
                                      <field name="VAR" id="kb9Yqxkfeh}0kL4{1C#t">Waschen_Ein/Aus</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="V}KP*,b;J,.3q802Q0l^">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="variables_set" id="HHIFm}6:*U#VVrIRv7e|">
                              <field name="VAR" id="kb9Yqxkfeh}0kL4{1C#t">Waschen_Ein/Aus</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="%.`!o$LmcZOm0##5WWoJ">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                          <value name="IF1">
                            <block type="logic_operation" id="[:7QWv4Op8S6o@lG45(y" inline="false">
                              <field name="OP">AND</field>
                              <comment pinned="false" h="94" w="164">Falls Verbrauch unter 3 Watt fällt und der Modus ist Wahr dann beende den Waschmodus.</comment>
                              <value name="A">
                                <block type="logic_compare" id="igy_8vlVI|k$sL-O!_Ya">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="on_source" id="oKi^o%$Qa%i0^MVE?s)Y">
                                      <field name="ATTR">state.val</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="*bx}yjZ_C7J2#/$NzLoS">
                                      <field name="NUM">0</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_compare" id="}A,!m2TVXL.^LQWg%!e|">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="variables_get" id="r/rnzWL?1!/.2!+pr@5(">
                                      <field name="VAR" id="kb9Yqxkfeh}0kL4{1C#t">Waschen_Ein/Aus</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="S,c^%F*KOd(.(Q(BL!=g">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO1">
                            <block type="variables_set" id="vj!Vu=sDr5yt.:ZU#OfU">
                              <field name="VAR" id="kb9Yqxkfeh}0kL4{1C#t">Waschen_Ein/Aus</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="5xCJ(QRB3mIo5.*f1Fsg">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                              <next>
                                <block type="debug" id="~(eEE8/,iS{wG@j0X)TU">
                                  <field name="Severity">debug</field>
                                  <value name="TEXT">
                                    <shadow type="text" id="3K0c5WSS9VmMq/XFB(e9">
                                      <field name="TEXT">test</field>
                                    </shadow>
                                    <block type="text_join" id="2xby$^zDuX^$?-Yp2~k,">
                                      <mutation items="2"></mutation>
                                      <value name="ADD0">
                                        <block type="text" id="L6trfC]%tV;Q1#[_3UQJ">
                                          <field name="TEXT">Waschen Ein/Aus ist: </field>
                                        </block>
                                      </value>
                                      <value name="ADD1">
                                        <block type="variables_get" id="mN7^USWq(%,us)OL?!1#">
                                          <field name="VAR" id="kb9Yqxkfeh}0kL4{1C#t">Waschen_Ein/Aus</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="timeouts_settimeout" id=",NjGW@Wtt+n7RKNkcxK!">
                                      <field name="NAME">timeout2</field>
                                      <field name="DELAY">5</field>
                                      <field name="UNIT">sec</field>
                                      <statement name="STATEMENT">
                                        <block type="telegram" id=":)Sqh|eio_J%+h7Q@6nJ">
                                          <field name="INSTANCE"></field>
                                          <field name="LOG"></field>
                                          <field name="SILENT">FALSE</field>
                                          <field name="PARSEMODE">default</field>
                                          <field name="ESCAPING">FALSE</field>
                                          <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                                          <value name="MESSAGE">
                                            <shadow type="text" id="zaE.r=+WylppU_4Nmdx~">
                                              <field name="TEXT">Waschmaschine ist fertig</field>
                                            </shadow>
                                            <block type="text_join" id="3,~.TJZeugM.!B%S1^X}">
                                              <mutation items="2"></mutation>
                                              <value name="ADD0">
                                                <block type="text" id="|9?4%ic*sy2}Q088ry:q">
                                                  <field name="TEXT">Die Waschmaschiene ist Fertig.</field>
                                                </block>
                                              </value>
                                              <value name="ADD1">
                                                <block type="time_get" id="a?D^RPe+s+Si=*kkfgj[">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
                                                  <field name="OPTION">custom</field>
                                                  <field name="FORMAT">\n</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </statement>
                    </block>
                  </next>
                </block>
              </next>
            </block>
            <block type="create" id="P!F?ck.4JYuXozE(ar%n" disabled="true" x="788" y="112">
              <field name="NAME">0_userdata.0.Haus._Waschen.statezaehlerWaschen</field>
            </block>
          </xml>
          

          Damit wird der der Datenpunkt erstellt, den ich dann in einem image8 benutze.
          1 watt wurde eingestellt (zum Testen) weil meine Wama im standby nur ca 1,4 watt braucht.

          Walter.O. 1 Reply Last reply Reply Quote 0
          • Walter.O.
            Walter.O. @Walter.O. last edited by

            @walter-o Okay könnte weiter gehen

            G 1 Reply Last reply Reply Quote 0
            • G
              guergen @Walter.O. last edited by

              @walter-o Versuch das doch mal unter Signalbilder einzustellen in Vis1

              Walter.O. 1 Reply Last reply Reply Quote 1
              • Walter.O.
                Walter.O. @guergen last edited by

                @guergen Ja, klappt nach ein wenig ausprobieren jetzt super, Danke dir.

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post

                Support us

                ioBroker
                Community Adapters
                Donate

                744
                Online

                31.9k
                Users

                80.1k
                Topics

                1.3m
                Posts

                3
                6
                528
                Loading More Posts
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes
                Reply
                • Reply as topic
                Log in to reply
                Community
                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                The ioBroker Community 2014-2023
                logo