Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Spülmaschine ein bei PV Überschuss

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Spülmaschine ein bei PV Überschuss

    This topic has been deleted. Only users with topic management privileges can see it.
    • paul53
      paul53 @slkschlumpf last edited by paul53

      @slkschlumpf sagte:

      Script erweitern das auf jeden Fall die SP um 15.00 Uhr gestartet wird ?

      Nur, wenn sie an dem Tag noch nicht vor 15:00 Uhr gestartet wurde ?

      Blockly_temp.JPG

      <xml xmlns="http://www.w3.org/1999/xhtml">
       <variables>
         <variable type="" id="MB%wn_M/2@YPp62o5xC(">gestartet</variable>
         <variable type="undefined" id="timeout">timeout</variable>
       </variables>
       <block type="on" id="xSv?o0Quj3QxMdQ#nSfK" x="113" y="88">
         <field name="OID">sma-em.0.3006125285.psurplus</field>
         <field name="CONDITION">ne</field>
         <field name="ACK_CONDITION"></field>
         <statement name="STATEMENT">
           <block type="controls_if" id="?LbPE0MW.lb?!i@Kh=lJ">
             <value name="IF0">
               <block type="logic_compare" id="n@=!+6dI=IvKcz6nc3`{">
                 <field name="OP">GT</field>
                 <value name="A">
                   <block type="on_source" id="Vh#8E~BZ7_X;Loi9WM7R">
                     <field name="ATTR">state.val</field>
                   </block>
                 </value>
                 <value name="B">
                   <block type="math_number" id="egfwYZk@?pjWMXjNJzO}">
                     <field name="NUM">600</field>
                   </block>
                 </value>
               </block>
             </value>
             <statement name="DO0">
               <block type="procedures_callnoreturn" id="U^Ey:?OgMHa;Ty9LY|vd">
                 <mutation name="spuelen"></mutation>
               </block>
             </statement>
           </block>
         </statement>
         <next>
           <block type="schedule" id="`eg6g;UW`e`t_-T{0Yj#">
             <field name="SCHEDULE">0 3 * * *</field>
             <statement name="STATEMENT">
               <block type="variables_set" id="gu?wqlPk/Y(v5T%?Im#R">
                 <field name="VAR" id="MB%wn_M/2@YPp62o5xC(" variabletype="">gestartet</field>
                 <value name="VALUE">
                   <block type="logic_boolean" id="X/dhUF+wZEB[tnSm6qOS">
                     <field name="BOOL">FALSE</field>
                   </block>
                 </value>
               </block>
             </statement>
             <next>
               <block type="schedule" id="TuG%LvG=W8tnYC/DMDrP">
                 <field name="SCHEDULE">0 15 * * *</field>
                 <statement name="STATEMENT">
                   <block type="procedures_callnoreturn" id="N)8^!K5zg(YA(eKuT?4z">
                     <mutation name="spuelen"></mutation>
                   </block>
                 </statement>
               </block>
             </next>
           </block>
         </next>
       </block>
       <block type="procedures_defnoreturn" id="R}re.?hqOfq+4TY~t+/9" x="438" y="88">
         <field name="NAME">spuelen</field>
         <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
         <statement name="STACK">
           <block type="controls_if" id="HTGs0-W@}rdg-Fj37;Rv">
             <value name="IF0">
               <block type="logic_negate" id="H9pRkM!jOhLTCM}j|bdo">
                 <value name="BOOL">
                   <block type="variables_get" id="~GkFY-FuF=:gi$[Lctu2">
                     <field name="VAR" id="MB%wn_M/2@YPp62o5xC(" variabletype="">gestartet</field>
                   </block>
                 </value>
               </block>
             </value>
             <statement name="DO0">
               <block type="variables_set" id="Kf`1W5F`=LAVxAY[;U.@">
                 <field name="VAR" id="MB%wn_M/2@YPp62o5xC(" variabletype="">gestartet</field>
                 <value name="VALUE">
                   <block type="logic_boolean" id="L2%AAK_s%9t#k@?1Fq(%">
                     <field name="BOOL">TRUE</field>
                   </block>
                 </value>
                 <next>
                   <block type="control_ex" id=",0a7aG|tD!]H{-l%~bCB">
                     <field name="TYPE">false</field>
                     <field name="CLEAR_RUNNING">FALSE</field>
                     <value name="OID">
                       <shadow type="field_oid" id="X*WGguJj6Ih+o6m2UPKI">
                         <field name="oid">hs100.0.192_168_2_46.state</field>
                       </shadow>
                     </value>
                     <value name="VALUE">
                       <shadow type="logic_boolean" id="(?t!|x;P4jT=Xj=j~v)]">
                         <field name="BOOL">TRUE</field>
                       </shadow>
                     </value>
                     <value name="DELAY_MS">
                       <shadow type="math_number" id="hP2a#cf6Om,!Qfjz8[;X">
                         <field name="NUM">0</field>
                       </shadow>
                     </value>
                     <next>
                       <block type="timeouts_settimeout" id="CzAy,}Nntz[s7Q~-e@kX">
                         <field name="NAME">timeout</field>
                         <field name="DELAY">80</field>
                         <field name="UNIT">min</field>
                         <statement name="STATEMENT">
                           <block type="control_ex" id="v-}z2p+q3$vR5BMAF}/|">
                             <field name="TYPE">false</field>
                             <field name="CLEAR_RUNNING">FALSE</field>
                             <value name="OID">
                               <shadow type="field_oid" id=";|5Nb$w52$[gHqO_X9^{">
                                 <field name="oid">hs100.0.192_168_2_46.state</field>
                               </shadow>
                             </value>
                             <value name="VALUE">
                               <shadow type="logic_boolean" id="IReXZ${[hzZP_xtwwLiX">
                                 <field name="BOOL">FALSE</field>
                               </shadow>
                             </value>
                             <value name="DELAY_MS">
                               <shadow type="math_number" id="|dA-5QHcWkP@~JE[0g$X">
                                 <field name="NUM">0</field>
                               </shadow>
                             </value>
                           </block>
                         </statement>
                       </block>
                     </next>
                   </block>
                 </next>
               </block>
             </statement>
           </block>
         </statement>
       </block>
      </xml>
      

      1 Reply Last reply Reply Quote 0
      • S
        slkschlumpf last edited by

        ja genau

        1 Reply Last reply Reply Quote 0
        • S
          slkschlumpf last edited by

          Wie kann ich hier noch einfügen das es die Spülmaschine nur einschaltet wenn die HS100 Wlan Steckdose der Waschmaschine auf aus steht ?
          Gruß Tom

          Homoran 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @slkschlumpf last edited by

            @slkschlumpf
            Bei FALLS WERT>... musst du ein UND einfügen und WERT VON Steckdose = false

            S 1 Reply Last reply Reply Quote 0
            • S
              slkschlumpf last edited by

              Hallo,

              ich habe jetzt noch eine Telegram Funktion eingebaut.
              Aber wieso kommt ständig die Telegram Nachricht und nicht nur einmal ?
              Bildschirmfoto 2020-03-14 um 12.12.49.png

              Habe ich im Bild dann erstmal deaktiviert.

              Gruß Tom

              1 Reply Last reply Reply Quote 0
              • X
                xbow42 last edited by

                @slkschlumpf sagte in Spülmaschine ein bei PV Überschuss:

                das es die Spülma

                der TelegramBlock muss in das FallsMache in der waschen-Funktion.
                Deine PV-Anlage wird ja mehrfach den Wert 600 überschreiten 😉

                1 Reply Last reply Reply Quote 0
                • S
                  slkschlumpf @Homoran last edited by

                  @Homoran Hi, wie mache ich diesen Bauysein mit und und einer anderen Object ID ?

                  Homoran 1 Reply Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @slkschlumpf last edited by

                    @slkschlumpf sagte in Spülmaschine ein bei PV Überschuss:

                    @Homoran Hi, wie mache ich diesen Bauysein mit und und einer anderen Object ID ?

                    kannst du mir sagen was du meinst?

                    am besten direkt einen Screenshot dazu

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      slkschlumpf @Homoran last edited by

                      @Homoran Ich möchte beim linken Block die Abfrage psurplus größer 1000
                      und die Steckdose HS 100 ist aus mit als Logic haben.

                      Dazu muss ich aber ja eine andere Object ID abfragen.

                      Bildschirmfoto 2020-03-20 um 16.51.17.png

                      Homoran 1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @slkschlumpf last edited by Homoran

                        @slkschlumpf

                        meinst du das so?
                        spuelmaschine_UND.png

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          slkschlumpf @Homoran last edited by

                          @Homoran Denke so passt es. Dankeschön

                          Bildschirmfoto 2020-03-20 um 17.00.30.png

                          Homoran 1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @slkschlumpf last edited by

                            @slkschlumpf sorry - war eben nicht ganz bei der Sache.

                            Du musst den anderen "Wert von"-Block nehmen.
                            Den mit "Wert von Object-ID (ID auswählen)" und dort den Datenpunkt des on/off Zustandes der Steckdose auswählen

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              slkschlumpf @Homoran last edited by

                              @Homoran
                              also so ?

                              Bildschirmfoto 2020-03-20 um 17.15.52.png

                              Homoran 1 Reply Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators @slkschlumpf last edited by

                                @slkschlumpf wenn "Spülmaschine" der Datenpunkt ist der auf true/false gesetzt wird um die SpüMa mit Strom zu versorgen, ja!

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                745
                                Online

                                32.0k
                                Users

                                80.4k
                                Topics

                                1.3m
                                Posts

                                5
                                19
                                2053
                                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