Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Handsteuerung der Solaranlage Pool - Problem

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    3.6k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.2k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.5k

Handsteuerung der Solaranlage Pool - Problem

Scheduled Pinned Locked Moved Blockly
7 Posts 4 Posters 680 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • blue231181B Offline
    blue231181B Offline
    blue231181
    wrote on last edited by blue231181
    #1

    Hallo zusammen,

    ich würde gerne die Solarpumpe(n) einmal automatisiert abhängig von der Temperatur der Solarpaneele steuern, aber auch von Hand per VIS über einen Schalter aktivieren bzw. deaktivieren.

    Nun mein Problem:
    So wie ich das Blockly geschrieben hab, wird die Pumpe aktiviert falls die Temperatur der Solarpaneele größer als 50 Grad, und der Zeitraum ist zwischen 06:00 - 19:00 Uhr

    Das funktioniert.

    Was nicht funktioniert ist die Hand An und Ausschaltung.
    Ich habe mir hier einen boolean Datenpunkt angelegt unter 0.userdata.

    Wenn ich diesen ändere von True auf False (weil eben besagte Temperatur erreicht wurde, und es z.B. 11 Uhr ist) fängt der Datenpunkt an zu eskalieren. Einerseits ist der Handschalter aus, setzt aber aufgrund der Temperatur den Datenpunkt auf True, gleich wieder auf False weil eben Handschaltung aktiviert.

    Ich hoffe Ihr könnt meine Problematik erkennen, und mir helfen

    <xml xmlns="https://developers.google.com/blockly/xml">
      <block type="comment" id="[~N|62=^vQi%6kVV`I]S" x="1214" y="-1338">
        <field name="COMMENT">Temperatursteuerung Pumpen</field>
        <next>
          <block type="on_ext" id="o]Jp)z(8/4)YN2qxo6lJ">
            <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=")7C9Z8i/i/I_g:@BHbB`">
                <field name="oid">sonoff.0.Poolthermostate_2.SENSOR.DS18B20-2.Temperature</field>
              </shadow>
            </value>
            <statement name="STATEMENT">
              <block type="controls_if" id="RD)7tV.zT!cal6N4f$C*">
                <mutation else="1"></mutation>
                <value name="IF0">
                  <block type="logic_operation" id="~Q;CzJLT!KbU%Lzsio}j" inline="false">
                    <field name="OP">OR</field>
                    <value name="A">
                      <block type="logic_operation" id="M9^BScr]@sCAV}]EimPS">
                        <field name="OP">AND</field>
                        <value name="A">
                          <block type="time_compare" id="Uui#?8%-JZ#nJQRBs#Ro">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
                            <field name="OPTION">between</field>
                            <field name="START_TIME">06:00</field>
                            <field name="END_TIME">19:00</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_compare" id="IS2yz/Ql8SOtU?=[.M9a">
                            <field name="OP">GTE</field>
                            <value name="A">
                              <block type="get_value" id="H,?9G~#C)z$.c81!{!]q">
                                <field name="ATTR">val</field>
                                <field name="OID">sonoff.0.Poolthermostate_2.SENSOR.DS18B20-2.Temperature</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="math_number" id="62zn^0rnpn,l.Q2yzu)3">
                                <field name="NUM">50</field>
                              </block>
                            </value>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="O@9+f4I|,*|S.g:[@j~3">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="get_value" id="s%iayzNeI(!7Ew-{S(qS">
                            <field name="ATTR">val</field>
                            <field name="OID">0_userdata.0.Pool.Solarpumpe_Hand_An_Aus</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id="T7:1V]V$!e64tym=kqL{">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="control" id="U(T80~My16w4)Q`2?@ur">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">sonoff.0.Poolthermostate.POWER1</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="L18KHDr%UpPr044M4Kv;">
                        <field name="BOOL">TRUE</field>
                      </block>
                    </value>
                    <next>
                      <block type="control" id="Kk[Xq0BZf[iz^Jfsm[.V">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">sonoff.0.Poolthermostate.POWER2</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="pI+1^F,BHK|eMj`uo+f,">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                        <next>
                          <block type="control" id="dS,eW0:oF/h`xsG5b*c5">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">sonoff.0.Poolthermostate.POWER4</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="[b|]7~^)g[yNN4v;g#P$">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="Y!!_gxrY0OXhgK/i]JAy">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">0_userdata.0.Pool.Solarpumpe_Hand_An_Aus</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="~:KWfy.v(7?Ny.n%-0Wu">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="debug" id="ay/zTjW?u-~=[oF%?x1D">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="5TL|6y`d+^Ha)BAzv3*-">
                                        <field name="TEXT">!!! Solarpumpen AN !!!</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="control" id="C}2y2Axh]*g6QYU}a7}w">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">sonoff.0.Poolthermostate.POWER1</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="logic_boolean" id="2/6$zG;Qgs01qGnh8xGB">
                        <field name="BOOL">FALSE</field>
                      </block>
                    </value>
                    <next>
                      <block type="control" id="90-MCv9[m!1$O)JMsehP">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">sonoff.0.Poolthermostate.POWER2</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="logic_boolean" id="}Ih^r5l={0M1`@@|t{4g">
                            <field name="BOOL">FALSE</field>
                          </block>
                        </value>
                        <next>
                          <block type="control" id="cJ0#kg0lx@V/j%o0B.eu">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">sonoff.0.Poolthermostate.POWER4</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="ErXQz_*TePm(cI/VY]Qd">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="AdePnj]rzY`HT4j{BhXZ">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">0_userdata.0.Pool.Solarpumpe_Hand_An_Aus</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="DO0cmF]Va?^)//Aj0kLS">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="debug" id="fa?ttO2|!5~Pmppn`1Cy">
                                    <field name="Severity">log</field>
                                    <value name="TEXT">
                                      <shadow type="text" id="vMXOH-QSYAOvcq3N}iP:">
                                        <field name="TEXT">!!! Solarpumpen AUS !!!</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </xml>
    

    Screenshot Blockly.jpg

    In dem Bild habe ich den Trigger von Hand AN/AUS bewusst weg gelassen, damit mir keiner meiner Familienangehörigen den Button auf der Vis drückt, und mir somit den ESP schiesst durch das permanente an und aus

    Danke im voraus und VG

    HomoranH paul53P geschildG 3 Replies Last reply
    0
    • blue231181B blue231181

      Hallo zusammen,

      ich würde gerne die Solarpumpe(n) einmal automatisiert abhängig von der Temperatur der Solarpaneele steuern, aber auch von Hand per VIS über einen Schalter aktivieren bzw. deaktivieren.

      Nun mein Problem:
      So wie ich das Blockly geschrieben hab, wird die Pumpe aktiviert falls die Temperatur der Solarpaneele größer als 50 Grad, und der Zeitraum ist zwischen 06:00 - 19:00 Uhr

      Das funktioniert.

      Was nicht funktioniert ist die Hand An und Ausschaltung.
      Ich habe mir hier einen boolean Datenpunkt angelegt unter 0.userdata.

      Wenn ich diesen ändere von True auf False (weil eben besagte Temperatur erreicht wurde, und es z.B. 11 Uhr ist) fängt der Datenpunkt an zu eskalieren. Einerseits ist der Handschalter aus, setzt aber aufgrund der Temperatur den Datenpunkt auf True, gleich wieder auf False weil eben Handschaltung aktiviert.

      Ich hoffe Ihr könnt meine Problematik erkennen, und mir helfen

      <xml xmlns="https://developers.google.com/blockly/xml">
        <block type="comment" id="[~N|62=^vQi%6kVV`I]S" x="1214" y="-1338">
          <field name="COMMENT">Temperatursteuerung Pumpen</field>
          <next>
            <block type="on_ext" id="o]Jp)z(8/4)YN2qxo6lJ">
              <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=")7C9Z8i/i/I_g:@BHbB`">
                  <field name="oid">sonoff.0.Poolthermostate_2.SENSOR.DS18B20-2.Temperature</field>
                </shadow>
              </value>
              <statement name="STATEMENT">
                <block type="controls_if" id="RD)7tV.zT!cal6N4f$C*">
                  <mutation else="1"></mutation>
                  <value name="IF0">
                    <block type="logic_operation" id="~Q;CzJLT!KbU%Lzsio}j" inline="false">
                      <field name="OP">OR</field>
                      <value name="A">
                        <block type="logic_operation" id="M9^BScr]@sCAV}]EimPS">
                          <field name="OP">AND</field>
                          <value name="A">
                            <block type="time_compare" id="Uui#?8%-JZ#nJQRBs#Ro">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
                              <field name="OPTION">between</field>
                              <field name="START_TIME">06:00</field>
                              <field name="END_TIME">19:00</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_compare" id="IS2yz/Ql8SOtU?=[.M9a">
                              <field name="OP">GTE</field>
                              <value name="A">
                                <block type="get_value" id="H,?9G~#C)z$.c81!{!]q">
                                  <field name="ATTR">val</field>
                                  <field name="OID">sonoff.0.Poolthermostate_2.SENSOR.DS18B20-2.Temperature</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="math_number" id="62zn^0rnpn,l.Q2yzu)3">
                                  <field name="NUM">50</field>
                                </block>
                              </value>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_compare" id="O@9+f4I|,*|S.g:[@j~3">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="get_value" id="s%iayzNeI(!7Ew-{S(qS">
                              <field name="ATTR">val</field>
                              <field name="OID">0_userdata.0.Pool.Solarpumpe_Hand_An_Aus</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="logic_boolean" id="T7:1V]V$!e64tym=kqL{">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="control" id="U(T80~My16w4)Q`2?@ur">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">sonoff.0.Poolthermostate.POWER1</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="L18KHDr%UpPr044M4Kv;">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                      <next>
                        <block type="control" id="Kk[Xq0BZf[iz^Jfsm[.V">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">sonoff.0.Poolthermostate.POWER2</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="pI+1^F,BHK|eMj`uo+f,">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                          <next>
                            <block type="control" id="dS,eW0:oF/h`xsG5b*c5">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">sonoff.0.Poolthermostate.POWER4</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="[b|]7~^)g[yNN4v;g#P$">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                              <next>
                                <block type="control" id="Y!!_gxrY0OXhgK/i]JAy">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">0_userdata.0.Pool.Solarpumpe_Hand_An_Aus</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="~:KWfy.v(7?Ny.n%-0Wu">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="debug" id="ay/zTjW?u-~=[oF%?x1D">
                                      <field name="Severity">log</field>
                                      <value name="TEXT">
                                        <shadow type="text" id="5TL|6y`d+^Ha)BAzv3*-">
                                          <field name="TEXT">!!! Solarpumpen AN !!!</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                  <statement name="ELSE">
                    <block type="control" id="C}2y2Axh]*g6QYU}a7}w">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">sonoff.0.Poolthermostate.POWER1</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="2/6$zG;Qgs01qGnh8xGB">
                          <field name="BOOL">FALSE</field>
                        </block>
                      </value>
                      <next>
                        <block type="control" id="90-MCv9[m!1$O)JMsehP">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">sonoff.0.Poolthermostate.POWER2</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="}Ih^r5l={0M1`@@|t{4g">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                          <next>
                            <block type="control" id="cJ0#kg0lx@V/j%o0B.eu">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">sonoff.0.Poolthermostate.POWER4</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="ErXQz_*TePm(cI/VY]Qd">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                              <next>
                                <block type="control" id="AdePnj]rzY`HT4j{BhXZ">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">0_userdata.0.Pool.Solarpumpe_Hand_An_Aus</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="DO0cmF]Va?^)//Aj0kLS">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="debug" id="fa?ttO2|!5~Pmppn`1Cy">
                                      <field name="Severity">log</field>
                                      <value name="TEXT">
                                        <shadow type="text" id="vMXOH-QSYAOvcq3N}iP:">
                                          <field name="TEXT">!!! Solarpumpen AUS !!!</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </statement>
            </block>
          </next>
        </block>
      </xml>
      

      Screenshot Blockly.jpg

      In dem Bild habe ich den Trigger von Hand AN/AUS bewusst weg gelassen, damit mir keiner meiner Familienangehörigen den Button auf der Vis drückt, und mir somit den ESP schiesst durch das permanente an und aus

      Danke im voraus und VG

      HomoranH Do not disturb
      HomoranH Do not disturb
      Homoran
      Global Moderator Administrators
      wrote on last edited by Homoran
      #2

      @blue231181 sagte in Handsteuerung der Solaranlage Pool - Problem:

      fängt der Datenpunkt an zu eskalieren.

      so ganz verstehe ich nicht was du da machst.
      du Triggerst auf die Pooltemperatur was immer das ist.

      dann (nach Bedingungen) stellt das Skript den Handbetrieb selber an, was wiederum in den Bedingungen abgefragt wird.

      gleich wieder auf False weil eben Handschaltung aktiviert.

      das sehe ich nicht.
      auf false wenn entweder die Zeit nicht stimmt oder hand nicht true

      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      blue231181B 1 Reply Last reply
      0
      • HomoranH Homoran

        @blue231181 sagte in Handsteuerung der Solaranlage Pool - Problem:

        fängt der Datenpunkt an zu eskalieren.

        so ganz verstehe ich nicht was du da machst.
        du Triggerst auf die Pooltemperatur was immer das ist.

        dann (nach Bedingungen) stellt das Skript den Handbetrieb selber an, was wiederum in den Bedingungen abgefragt wird.

        gleich wieder auf False weil eben Handschaltung aktiviert.

        das sehe ich nicht.
        auf false wenn entweder die Zeit nicht stimmt oder hand nicht true

        blue231181B Offline
        blue231181B Offline
        blue231181
        wrote on last edited by
        #3

        @homoran Danke für die Antwort.

        Der Datenpunkt "Pooltemperatur" der getriggert wird ist einfach ein Temperaturfühler in den Solarplatten an einem ESP8266 mit Tasmota. Quasi die Temperatur auf die getriggert wird.

        Nun hätte ich gerne noch das ich von Hand egal zu welcher Uhrzeit oder Temperatur die Pumpen an oder aus machen kann. Unabhängig davon ob sie Laufen oder nicht

        HomoranH 1 Reply Last reply
        0
        • blue231181B blue231181

          @homoran Danke für die Antwort.

          Der Datenpunkt "Pooltemperatur" der getriggert wird ist einfach ein Temperaturfühler in den Solarplatten an einem ESP8266 mit Tasmota. Quasi die Temperatur auf die getriggert wird.

          Nun hätte ich gerne noch das ich von Hand egal zu welcher Uhrzeit oder Temperatur die Pumpen an oder aus machen kann. Unabhängig davon ob sie Laufen oder nicht

          HomoranH Do not disturb
          HomoranH Do not disturb
          Homoran
          Global Moderator Administrators
          wrote on last edited by
          #4

          @blue231181 sagte in Handsteuerung der Solaranlage Pool - Problem:

          Nun hätte ich gerne noch das ich von Hand egal zu welcher Uhrzeit oder Temperatur die Pumpen an oder aus machen kann.

          dann musst du die gesamte Logik abschalten wenn du manuell eingreifst

          Screenshot_20230622-104654_Firefox.jpg

          und dann die Pumpe anschalten

          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

          1 Reply Last reply
          1
          • blue231181B blue231181

            Hallo zusammen,

            ich würde gerne die Solarpumpe(n) einmal automatisiert abhängig von der Temperatur der Solarpaneele steuern, aber auch von Hand per VIS über einen Schalter aktivieren bzw. deaktivieren.

            Nun mein Problem:
            So wie ich das Blockly geschrieben hab, wird die Pumpe aktiviert falls die Temperatur der Solarpaneele größer als 50 Grad, und der Zeitraum ist zwischen 06:00 - 19:00 Uhr

            Das funktioniert.

            Was nicht funktioniert ist die Hand An und Ausschaltung.
            Ich habe mir hier einen boolean Datenpunkt angelegt unter 0.userdata.

            Wenn ich diesen ändere von True auf False (weil eben besagte Temperatur erreicht wurde, und es z.B. 11 Uhr ist) fängt der Datenpunkt an zu eskalieren. Einerseits ist der Handschalter aus, setzt aber aufgrund der Temperatur den Datenpunkt auf True, gleich wieder auf False weil eben Handschaltung aktiviert.

            Ich hoffe Ihr könnt meine Problematik erkennen, und mir helfen

            <xml xmlns="https://developers.google.com/blockly/xml">
              <block type="comment" id="[~N|62=^vQi%6kVV`I]S" x="1214" y="-1338">
                <field name="COMMENT">Temperatursteuerung Pumpen</field>
                <next>
                  <block type="on_ext" id="o]Jp)z(8/4)YN2qxo6lJ">
                    <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=")7C9Z8i/i/I_g:@BHbB`">
                        <field name="oid">sonoff.0.Poolthermostate_2.SENSOR.DS18B20-2.Temperature</field>
                      </shadow>
                    </value>
                    <statement name="STATEMENT">
                      <block type="controls_if" id="RD)7tV.zT!cal6N4f$C*">
                        <mutation else="1"></mutation>
                        <value name="IF0">
                          <block type="logic_operation" id="~Q;CzJLT!KbU%Lzsio}j" inline="false">
                            <field name="OP">OR</field>
                            <value name="A">
                              <block type="logic_operation" id="M9^BScr]@sCAV}]EimPS">
                                <field name="OP">AND</field>
                                <value name="A">
                                  <block type="time_compare" id="Uui#?8%-JZ#nJQRBs#Ro">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
                                    <field name="OPTION">between</field>
                                    <field name="START_TIME">06:00</field>
                                    <field name="END_TIME">19:00</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_compare" id="IS2yz/Ql8SOtU?=[.M9a">
                                    <field name="OP">GTE</field>
                                    <value name="A">
                                      <block type="get_value" id="H,?9G~#C)z$.c81!{!]q">
                                        <field name="ATTR">val</field>
                                        <field name="OID">sonoff.0.Poolthermostate_2.SENSOR.DS18B20-2.Temperature</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="62zn^0rnpn,l.Q2yzu)3">
                                        <field name="NUM">50</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <value name="B">
                              <block type="logic_compare" id="O@9+f4I|,*|S.g:[@j~3">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="s%iayzNeI(!7Ew-{S(qS">
                                    <field name="ATTR">val</field>
                                    <field name="OID">0_userdata.0.Pool.Solarpumpe_Hand_An_Aus</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="logic_boolean" id="T7:1V]V$!e64tym=kqL{">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="control" id="U(T80~My16w4)Q`2?@ur">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">sonoff.0.Poolthermostate.POWER1</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="L18KHDr%UpPr044M4Kv;">
                                <field name="BOOL">TRUE</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="Kk[Xq0BZf[iz^Jfsm[.V">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">sonoff.0.Poolthermostate.POWER2</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="pI+1^F,BHK|eMj`uo+f,">
                                    <field name="BOOL">TRUE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="control" id="dS,eW0:oF/h`xsG5b*c5">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">sonoff.0.Poolthermostate.POWER4</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="[b|]7~^)g[yNN4v;g#P$">
                                        <field name="BOOL">TRUE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="control" id="Y!!_gxrY0OXhgK/i]JAy">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">0_userdata.0.Pool.Solarpumpe_Hand_An_Aus</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="~:KWfy.v(7?Ny.n%-0Wu">
                                            <field name="BOOL">TRUE</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="debug" id="ay/zTjW?u-~=[oF%?x1D">
                                            <field name="Severity">log</field>
                                            <value name="TEXT">
                                              <shadow type="text" id="5TL|6y`d+^Ha)BAzv3*-">
                                                <field name="TEXT">!!! Solarpumpen AN !!!</field>
                                              </shadow>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                        <statement name="ELSE">
                          <block type="control" id="C}2y2Axh]*g6QYU}a7}w">
                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                            <field name="OID">sonoff.0.Poolthermostate.POWER1</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="2/6$zG;Qgs01qGnh8xGB">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="90-MCv9[m!1$O)JMsehP">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">sonoff.0.Poolthermostate.POWER2</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="logic_boolean" id="}Ih^r5l={0M1`@@|t{4g">
                                    <field name="BOOL">FALSE</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="control" id="cJ0#kg0lx@V/j%o0B.eu">
                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                    <field name="OID">sonoff.0.Poolthermostate.POWER4</field>
                                    <field name="WITH_DELAY">FALSE</field>
                                    <value name="VALUE">
                                      <block type="logic_boolean" id="ErXQz_*TePm(cI/VY]Qd">
                                        <field name="BOOL">FALSE</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="control" id="AdePnj]rzY`HT4j{BhXZ">
                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                        <field name="OID">0_userdata.0.Pool.Solarpumpe_Hand_An_Aus</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="logic_boolean" id="DO0cmF]Va?^)//Aj0kLS">
                                            <field name="BOOL">FALSE</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="debug" id="fa?ttO2|!5~Pmppn`1Cy">
                                            <field name="Severity">log</field>
                                            <value name="TEXT">
                                              <shadow type="text" id="vMXOH-QSYAOvcq3N}iP:">
                                                <field name="TEXT">!!! Solarpumpen AUS !!!</field>
                                              </shadow>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </xml>
            

            Screenshot Blockly.jpg

            In dem Bild habe ich den Trigger von Hand AN/AUS bewusst weg gelassen, damit mir keiner meiner Familienangehörigen den Button auf der Vis drückt, und mir somit den ESP schiesst durch das permanente an und aus

            Danke im voraus und VG

            paul53P Offline
            paul53P Offline
            paul53
            wrote on last edited by paul53
            #5

            @blue231181 sagte: von Hand per VIS über einen Schalter aktivieren bzw. deaktivieren.

            Aktivieren oder deaktivieren? Wenn beides mit nur einem Datenpunkt möglich sein soll, benötigt er 3 Werte (Werteliste): Aus/Auto/Ein

            Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
            Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

            1 Reply Last reply
            1
            • blue231181B blue231181

              Hallo zusammen,

              ich würde gerne die Solarpumpe(n) einmal automatisiert abhängig von der Temperatur der Solarpaneele steuern, aber auch von Hand per VIS über einen Schalter aktivieren bzw. deaktivieren.

              Nun mein Problem:
              So wie ich das Blockly geschrieben hab, wird die Pumpe aktiviert falls die Temperatur der Solarpaneele größer als 50 Grad, und der Zeitraum ist zwischen 06:00 - 19:00 Uhr

              Das funktioniert.

              Was nicht funktioniert ist die Hand An und Ausschaltung.
              Ich habe mir hier einen boolean Datenpunkt angelegt unter 0.userdata.

              Wenn ich diesen ändere von True auf False (weil eben besagte Temperatur erreicht wurde, und es z.B. 11 Uhr ist) fängt der Datenpunkt an zu eskalieren. Einerseits ist der Handschalter aus, setzt aber aufgrund der Temperatur den Datenpunkt auf True, gleich wieder auf False weil eben Handschaltung aktiviert.

              Ich hoffe Ihr könnt meine Problematik erkennen, und mir helfen

              <xml xmlns="https://developers.google.com/blockly/xml">
                <block type="comment" id="[~N|62=^vQi%6kVV`I]S" x="1214" y="-1338">
                  <field name="COMMENT">Temperatursteuerung Pumpen</field>
                  <next>
                    <block type="on_ext" id="o]Jp)z(8/4)YN2qxo6lJ">
                      <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=")7C9Z8i/i/I_g:@BHbB`">
                          <field name="oid">sonoff.0.Poolthermostate_2.SENSOR.DS18B20-2.Temperature</field>
                        </shadow>
                      </value>
                      <statement name="STATEMENT">
                        <block type="controls_if" id="RD)7tV.zT!cal6N4f$C*">
                          <mutation else="1"></mutation>
                          <value name="IF0">
                            <block type="logic_operation" id="~Q;CzJLT!KbU%Lzsio}j" inline="false">
                              <field name="OP">OR</field>
                              <value name="A">
                                <block type="logic_operation" id="M9^BScr]@sCAV}]EimPS">
                                  <field name="OP">AND</field>
                                  <value name="A">
                                    <block type="time_compare" id="Uui#?8%-JZ#nJQRBs#Ro">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
                                      <field name="OPTION">between</field>
                                      <field name="START_TIME">06:00</field>
                                      <field name="END_TIME">19:00</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_compare" id="IS2yz/Ql8SOtU?=[.M9a">
                                      <field name="OP">GTE</field>
                                      <value name="A">
                                        <block type="get_value" id="H,?9G~#C)z$.c81!{!]q">
                                          <field name="ATTR">val</field>
                                          <field name="OID">sonoff.0.Poolthermostate_2.SENSOR.DS18B20-2.Temperature</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="62zn^0rnpn,l.Q2yzu)3">
                                          <field name="NUM">50</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_compare" id="O@9+f4I|,*|S.g:[@j~3">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="s%iayzNeI(!7Ew-{S(qS">
                                      <field name="ATTR">val</field>
                                      <field name="OID">0_userdata.0.Pool.Solarpumpe_Hand_An_Aus</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="T7:1V]V$!e64tym=kqL{">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="control" id="U(T80~My16w4)Q`2?@ur">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">sonoff.0.Poolthermostate.POWER1</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="L18KHDr%UpPr044M4Kv;">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                              <next>
                                <block type="control" id="Kk[Xq0BZf[iz^Jfsm[.V">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">sonoff.0.Poolthermostate.POWER2</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="pI+1^F,BHK|eMj`uo+f,">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="dS,eW0:oF/h`xsG5b*c5">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">sonoff.0.Poolthermostate.POWER4</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="[b|]7~^)g[yNN4v;g#P$">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="Y!!_gxrY0OXhgK/i]JAy">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.Pool.Solarpumpe_Hand_An_Aus</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="~:KWfy.v(7?Ny.n%-0Wu">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="debug" id="ay/zTjW?u-~=[oF%?x1D">
                                              <field name="Severity">log</field>
                                              <value name="TEXT">
                                                <shadow type="text" id="5TL|6y`d+^Ha)BAzv3*-">
                                                  <field name="TEXT">!!! Solarpumpen AN !!!</field>
                                                </shadow>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                          <statement name="ELSE">
                            <block type="control" id="C}2y2Axh]*g6QYU}a7}w">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">sonoff.0.Poolthermostate.POWER1</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="2/6$zG;Qgs01qGnh8xGB">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                              <next>
                                <block type="control" id="90-MCv9[m!1$O)JMsehP">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">sonoff.0.Poolthermostate.POWER2</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="}Ih^r5l={0M1`@@|t{4g">
                                      <field name="BOOL">FALSE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="cJ0#kg0lx@V/j%o0B.eu">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">sonoff.0.Poolthermostate.POWER4</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="ErXQz_*TePm(cI/VY]Qd">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="AdePnj]rzY`HT4j{BhXZ">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.Pool.Solarpumpe_Hand_An_Aus</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="DO0cmF]Va?^)//Aj0kLS">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="debug" id="fa?ttO2|!5~Pmppn`1Cy">
                                              <field name="Severity">log</field>
                                              <value name="TEXT">
                                                <shadow type="text" id="vMXOH-QSYAOvcq3N}iP:">
                                                  <field name="TEXT">!!! Solarpumpen AUS !!!</field>
                                                </shadow>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </statement>
                    </block>
                  </next>
                </block>
              </xml>
              

              Screenshot Blockly.jpg

              In dem Bild habe ich den Trigger von Hand AN/AUS bewusst weg gelassen, damit mir keiner meiner Familienangehörigen den Button auf der Vis drückt, und mir somit den ESP schiesst durch das permanente an und aus

              Danke im voraus und VG

              geschildG Offline
              geschildG Offline
              geschild
              wrote on last edited by
              #6

              @blue231181 forumPool.jpg

              Versuchs mal so. Ich hoffe du mein Gemälde nachvollziehen.

              blue231181B 1 Reply Last reply
              1
              • geschildG geschild

                @blue231181 forumPool.jpg

                Versuchs mal so. Ich hoffe du mein Gemälde nachvollziehen.

                blue231181B Offline
                blue231181B Offline
                blue231181
                wrote on last edited by
                #7

                @geschild @paul53 @Homoran
                Danke für eure Tipps

                Ich werd mich am Wochenende damit mal austesten und hier Rückmeldung geben

                Vielen Dank nochmal

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                Support us

                ioBroker
                Community Adapters
                Donate

                655

                Online

                32.7k

                Users

                82.4k

                Topics

                1.3m

                Posts
                Community
                Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                ioBroker Community 2014-2025
                logo
                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Home
                • Recent
                • Tags
                • Unread 0
                • Categories
                • Unreplied
                • Popular
                • GitHub
                • Docu
                • Hilfe