Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Steuerung Heizunterlage für kleines Gewächshäuschen

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Steuerung Heizunterlage für kleines Gewächshäuschen

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

      @erich-1
      Um gegenseitige Störungen zu vermeiden, sollte nur dann gesendet werden, wenn auch geschaltet werden soll. Das macht man z.B. so:

      Blockly_temp.JPG

      <xml xmlns="https://developers.google.com/blockly/xml">
       <variables>
         <variable id="Xm`dCY]``HjtYwiUgEk3">ein</variable>
         <variable id="7:|ZjBn.jN{oiKNb~1l)">sollwert</variable>
       </variables>
       <block type="variables_set" id="N$tWG}cN]t)k@egf.sSk" x="312" y="-162">
         <field name="VAR" id="Xm`dCY]``HjtYwiUgEk3">ein</field>
         <value name="VALUE">
           <block type="get_value_var" id=",T@B~aD9]MLGXQ^~kRd+">
             <field name="ATTR">val</field>
             <value name="OID">
               <shadow type="field_oid" id="!JYw:=Ws2~s/#6p0f-]D">
                 <field name="oid">Object ID</field>
               </shadow>
               <block type="text" id="@1EM^0|uwA*9ay:Y7K-n">
                 <field name="TEXT">shelly.0.SHPLG2-1#483FDA283761#1.Relay0.Switch</field>
               </block>
             </value>
           </block>
         </value>
         <next>
           <block type="on_ext" id="3HEWboU8m3$UP;]X_zGn">
             <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="K6H9?*`@i3ql$=V)!G%H">
                 <field name="oid">mqtt.0.ESP_Easy-01.Temperatur1.temperature</field>
               </shadow>
             </value>
             <statement name="STATEMENT">
               <block type="variables_set" id="Wtf!33w.,~Tz0HvKW-L-">
                 <field name="VAR" id="7:|ZjBn.jN{oiKNb~1l)">sollwert</field>
                 <value name="VALUE">
                   <block type="get_value" id="mH~HTbQw+q=Wu8j/mlc9">
                     <field name="ATTR">val</field>
                     <field name="OID">0_userdata.0.Datenpunkte.Dateneingabe.Temperatur_Gewächshaus</field>
                   </block>
                 </value>
                 <next>
                   <block type="controls_if" id="4ZyQCW+pi!,]/+,9MvtX">
                     <mutation elseif="1"></mutation>
                     <value name="IF0">
                       <block type="logic_compare" id="*9mX9-t:#wn%lTrI8et5">
                         <field name="OP">GT</field>
                         <value name="A">
                           <block type="on_source" id="2`yw5iu5JX:o;v5QFIX_">
                             <field name="ATTR">state.val</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="math_arithmetic" id="Q8,nI_P)cqZ4N7{}(3X7">
                             <field name="OP">ADD</field>
                             <value name="A">
                               <shadow type="math_number" id="nSk4T}C5o)/=AWeiB8W%">
                                 <field name="NUM">1</field>
                               </shadow>
                               <block type="variables_get" id="oN~=_$oyZ|6/[@damF_L">
                                 <field name="VAR" id="7:|ZjBn.jN{oiKNb~1l)">sollwert</field>
                               </block>
                             </value>
                             <value name="B">
                               <shadow type="math_number" id="x/`(3y}S__PN:su1Fv{K">
                                 <field name="NUM">1</field>
                               </shadow>
                             </value>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO0">
                       <block type="variables_set" id="HOi=T!VR3k;Mj?5/ex(v">
                         <field name="VAR" id="Xm`dCY]``HjtYwiUgEk3">ein</field>
                         <value name="VALUE">
                           <block type="logic_boolean" id="bQ#wKm~-wb2ycF:j*pB8">
                             <field name="BOOL">FALSE</field>
                           </block>
                         </value>
                       </block>
                     </statement>
                     <value name="IF1">
                       <block type="logic_compare" id="#9qE|7c9T`Af,5xYD4=!">
                         <field name="OP">LT</field>
                         <value name="A">
                           <block type="on_source" id="-l_XOV+wX#@jH)V9!HC~">
                             <field name="ATTR">state.val</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="math_arithmetic" id="lFdh$hSn6RW1?nZ_*7oF">
                             <field name="OP">MINUS</field>
                             <value name="A">
                               <shadow type="math_number" id="i..X9|]Ii,%+(Eel(NI|">
                                 <field name="NUM">1</field>
                               </shadow>
                               <block type="variables_get" id="3F@g)(/z%@)4~iZ{(bO{">
                                 <field name="VAR" id="7:|ZjBn.jN{oiKNb~1l)">sollwert</field>
                               </block>
                             </value>
                             <value name="B">
                               <shadow type="math_number" id="r|E8K}NTb7fZwOj!G:sK">
                                 <field name="NUM">1</field>
                               </shadow>
                             </value>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO1">
                       <block type="variables_set" id="[2u|hoyb`I7kevM5p#Ix">
                         <field name="VAR" id="Xm`dCY]``HjtYwiUgEk3">ein</field>
                         <value name="VALUE">
                           <block type="logic_boolean" id="z{|F~1B3781f1.*zK-@m">
                             <field name="BOOL">TRUE</field>
                           </block>
                         </value>
                       </block>
                     </statement>
                     <next>
                       <block type="controls_if" id=":A8[z@C0..hhM~sXuj_H">
                         <value name="IF0">
                           <block type="logic_compare" id="~4s$Y05E@SbSzmE{xy0)">
                             <field name="OP">NEQ</field>
                             <value name="A">
                               <block type="variables_get" id="b:k#|fx7({5M[:e`*I%S">
                                 <field name="VAR" id="Xm`dCY]``HjtYwiUgEk3">ein</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="get_value_var" id="sL^Ik6MusW_jZSAy%1,$">
                                 <field name="ATTR">val</field>
                                 <value name="OID">
                                   <shadow type="field_oid" id="!JYw:=Ws2~s/#6p0f-]D">
                                     <field name="oid">Object ID</field>
                                   </shadow>
                                   <block type="text" id="6I.q=w$*MKk5{Y)2K_s!">
                                     <field name="TEXT">shelly.0.SHPLG2-1#483FDA283761#1.Relay0.Switch</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="control" id="XzQF1Q|7zT:ToT001Gx@">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">shelly.0.SHPLG2-1#483FDA283761#1.Relay0.Switch</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="variables_get" id="-})q2j:FJCI`bnLHC.|Z">
                                 <field name="VAR" id="Xm`dCY]``HjtYwiUgEk3">ein</field>
                               </block>
                             </value>
                           </block>
                         </statement>
                       </block>
                     </next>
                   </block>
                 </next>
               </block>
             </statement>
           </block>
         </next>
       </block>
      </xml>
      

      E 1 Reply Last reply Reply Quote 0
      • da_Woody
        da_Woody @Erich 1 last edited by

        @erich-1 sagte in Steuerung Heizunterlage für kleines Gewächshäuschen:

        Die Steuerung mache ich aber trotzdem über den ioBroker und über das Tablet mit der VIS habe ich die entsprechenden Anzeigen ...

        meinte ich ja bei der badezimmer lüftung. da gehts halt nicht über die temp, sondern die feuchtigkeit. (dht22)
        ich sehs ja auch in iQontrol.
        b2afc8dd-40de-4e39-aab4-cc3b339eb8e7-grafik.png

        1 Reply Last reply Reply Quote 0
        • E
          Erich 1 @paul53 last edited by

          @paul53 Ich habe keine Ahnung, was du hier meinst. Kannst du mir das als absoluter Anfänger mal etwa erklären?

          paul53 1 Reply Last reply Reply Quote 0
          • paul53
            paul53 @Erich 1 last edited by

            @erich-1 sagte: was du hier meinst. Kannst du mir das als absoluter Anfänger mal etwa erklären?

            Bei jeder Ausführung von "steuere" wird gesendet. Wenn also "ein" gesendet wird obwohl der Aktor schon eingeschaltet ist, ist das unnötig und kann zur Störung der Kommunikation anderer Teilnehmer führen.

            E 2 Replies Last reply Reply Quote 0
            • E
              Erich 1 @paul53 last edited by

              @paul53 Ah ok, Danke für die Nachhilfe.

              1 Reply Last reply Reply Quote 0
              • E
                Erich 1 @paul53 last edited by

                @paul53 Ich hab mir mein Blockly nochmal angschaut. Der Befehl zum Einschalten wird ja erst gesendet, wenn die Temperatur unterhalb dem Sollwert ist und da ist der Shelly ja sicher vorher ausgeschaltet worden. Beim Ausschalten ist es identisch, denn da ist der Shelly vorher eingeschaltet.

                Jetztr verstehe ich deinen Hinweis doch nicht.

                paul53 1 Reply Last reply Reply Quote 0
                • paul53
                  paul53 @Erich 1 last edited by

                  @erich-1 sagte: Jetztr verstehe ich deinen Hinweis doch nicht.

                  In deinem Skript wird bei allen Temperaturwerten außerhalb der Hysterese gesendet - nicht nur dann, wenn der jeweilige Grenzwert erstmalig unter- bzw. überschritten wird.

                  E 1 Reply Last reply Reply Quote 0
                  • E
                    Erich 1 @paul53 last edited by

                    @paul53 Das ist im Moment mein Script ...

                    <xml xmlns="https://developers.google.com/blockly/xml">
                      <block type="on_ext" id="3HEWboU8m3$UP;]X_zGn" x="163" y="-287">
                        <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="K6H9?*`@i3ql$=V)!G%H">
                            <field name="oid">mqtt.0.ESP_Easy-01.Temperatur1.temperature</field>
                          </shadow>
                        </value>
                        <statement name="STATEMENT">
                          <block type="controls_if" id="4ZyQCW+pi!,]/+,9MvtX">
                            <mutation elseif="1"></mutation>
                            <value name="IF0">
                              <block type="logic_compare" id="#9qE|7c9T`Af,5xYD4=!">
                                <field name="OP">LT</field>
                                <value name="A">
                                  <block type="get_value" id="x[al78sRb_c^2bZ,i]9a">
                                    <field name="ATTR">val</field>
                                    <field name="OID">mqtt.0.ESP_Easy-01.Temperatur1.temperature</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="Si?#8v9wLqjLIGDeU!Uz">
                                    <field name="NUM">24</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="control_ex" id="u}/{v~cIR#H4(sjO3]AD">
                                <field name="TYPE">false</field>
                                <field name="CLEAR_RUNNING">FALSE</field>
                                <value name="OID">
                                  <shadow type="field_oid" id="yM_aljg)3q7?h$K~#^ar">
                                    <field name="oid">shelly.0.SHPLG2-1#483FDA283761#1.Relay0.Switch</field>
                                  </shadow>
                                </value>
                                <value name="VALUE">
                                  <shadow type="logic_boolean" id="l)[4v8bhSTv*o2pEG4r-">
                                    <field name="BOOL">TRUE</field>
                                  </shadow>
                                </value>
                                <value name="DELAY_MS">
                                  <shadow type="math_number" id="v8O;R7EMs[pO@:k#6fQd">
                                    <field name="NUM">0</field>
                                  </shadow>
                                </value>
                              </block>
                            </statement>
                            <value name="IF1">
                              <block type="logic_compare" id="j7r-qQnpKk_${_{r?Ezv">
                                <field name="OP">GT</field>
                                <value name="A">
                                  <block type="get_value" id="F#)(RfA3hE{Uf/7aHso3">
                                    <field name="ATTR">val</field>
                                    <field name="OID">mqtt.0.ESP_Easy-01.Temperatur1.temperature</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="P]+YwSO:bfBkQ0[*.It%">
                                    <field name="NUM">24</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO1">
                              <block type="control_ex" id="L=}btf{QszvS?z)-4Jtt">
                                <field name="TYPE">false</field>
                                <field name="CLEAR_RUNNING">FALSE</field>
                                <value name="OID">
                                  <shadow type="field_oid" id="v2=K`/Z_8~);V|gZtANI">
                                    <field name="oid">shelly.0.SHPLG2-1#483FDA283761#1.Relay0.Switch</field>
                                  </shadow>
                                </value>
                                <value name="VALUE">
                                  <shadow type="logic_boolean" id="v9JT+.q],ZBOD40HWykp">
                                    <field name="BOOL">FALSE</field>
                                  </shadow>
                                </value>
                                <value name="DELAY_MS">
                                  <shadow type="math_number" id="c,E|3:)l%aJ1!(vFHpEd">
                                    <field name="NUM">0</field>
                                  </shadow>
                                </value>
                              </block>
                            </statement>
                          </block>
                        </statement>
                      </block>
                    </xml>
                    
                    paul53 1 Reply Last reply Reply Quote 0
                    • paul53
                      paul53 @Erich 1 last edited by paul53

                      @erich-1 sagte: Das ist im Moment mein Script

                      <xml xmlns="https://developers.google.com/blockly/xml">
                        <variables>
                          <variable id="ixP.7IIcD}y~U1_Se{[)">shelly</variable>
                        </variables>
                        <block type="variables_set" id="N]GcR7:i:G*q#3ljbolD" x="163" y="-313">
                          <field name="VAR" id="ixP.7IIcD}y~U1_Se{[)">shelly</field>
                          <value name="VALUE">
                            <block type="get_value_var" id="+KnZ/ApUHnUL:;9wMJYU">
                              <field name="ATTR">val</field>
                              <value name="OID">
                                <shadow type="field_oid" id="Qju*HOy}pY^/xp`..Ro[">
                                  <field name="oid">Object ID</field>
                                </shadow>
                                <block type="text" id="!/=fB4wE+g4p1+iS*VMp">
                                  <field name="TEXT">shelly.0.SHPLG2-1#483FDA283761#1.Relay0.Switch</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <next>
                            <block type="on_ext" id="3HEWboU8m3$UP;]X_zGn">
                              <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="K6H9?*`@i3ql$=V)!G%H">
                                  <field name="oid">mqtt.0.ESP_Easy-01.Temperatur1.temperature</field>
                                </shadow>
                              </value>
                              <statement name="STATEMENT">
                                <block type="controls_if" id="4ZyQCW+pi!,]/+,9MvtX">
                                  <mutation elseif="1"></mutation>
                                  <value name="IF0">
                                    <block type="logic_compare" id="#9qE|7c9T`Af,5xYD4=!">
                                      <field name="OP">LTE</field>
                                      <value name="A">
                                        <block type="on_source" id=")^5y/;DOwa+|Krtk3)@6">
                                          <field name="ATTR">state.val</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="Si?#8v9wLqjLIGDeU!Uz">
                                          <field name="NUM">23.5</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="variables_set" id="kqVut0P{T~Y$PfHArYNV">
                                      <field name="VAR" id="ixP.7IIcD}y~U1_Se{[)">shelly</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="Dn6/lacf)6m7gn/;G3Ov">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </statement>
                                  <value name="IF1">
                                    <block type="logic_compare" id="j7r-qQnpKk_${_{r?Ezv">
                                      <field name="OP">GTE</field>
                                      <value name="A">
                                        <block type="on_source" id="%|/@4}1J9T*pjo-)Hc@H">
                                          <field name="ATTR">state.val</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="P]+YwSO:bfBkQ0[*.It%">
                                          <field name="NUM">24.5</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO1">
                                    <block type="variables_set" id="x3LhJya:Pc:92uQP6*+c">
                                      <field name="VAR" id="ixP.7IIcD}y~U1_Se{[)">shelly</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="j_9M1,tugeE7lZwU.*`t">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="comment" id="+?W,)[a1?b+H1]+Iq3O;">
                                      <field name="COMMENT">Vergleich Soll/Ist verhindert unnötiges Senden</field>
                                      <next>
                                        <block type="controls_if" id="$trT6M{CV#j}2Y%gS4DH">
                                          <value name="IF0">
                                            <block type="logic_compare" id="Wz!i+78lugbzqaeA/F],">
                                              <field name="OP">NEQ</field>
                                              <value name="A">
                                                <block type="variables_get" id="sjO=Vi!R0n-Q;$2^zh#Y">
                                                  <field name="VAR" id="ixP.7IIcD}y~U1_Se{[)">shelly</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="get_value_var" id="SZUH.q6fL%^,;zb4g5YB">
                                                  <field name="ATTR">val</field>
                                                  <value name="OID">
                                                    <shadow type="field_oid" id="Qju*HOy}pY^/xp`..Ro[">
                                                      <field name="oid">Object ID</field>
                                                    </shadow>
                                                    <block type="text" id="=PjGg3M-t:919p)ENv/k">
                                                      <field name="TEXT">shelly.0.SHPLG2-1#483FDA283761#1.Relay0.Switch</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="control_ex" id="L=}btf{QszvS?z)-4Jtt">
                                              <field name="TYPE">false</field>
                                              <field name="CLEAR_RUNNING">FALSE</field>
                                              <value name="OID">
                                                <shadow type="field_oid" id="v2=K`/Z_8~);V|gZtANI">
                                                  <field name="oid">shelly.0.SHPLG2-1#483FDA283761#1.Relay0.Switch</field>
                                                </shadow>
                                              </value>
                                              <value name="VALUE">
                                                <shadow type="logic_boolean" id="v9JT+.q],ZBOD40HWykp">
                                                  <field name="BOOL">FALSE</field>
                                                </shadow>
                                                <block type="variables_get" id="@YVQ]!t6b|uoA)cAk~IY">
                                                  <field name="VAR" id="ixP.7IIcD}y~U1_Se{[)">shelly</field>
                                                </block>
                                              </value>
                                              <value name="DELAY_MS">
                                                <shadow type="math_number" id="c,E|3:)l%aJ1!(vFHpEd">
                                                  <field name="NUM">0</field>
                                                </shadow>
                                              </value>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </next>
                        </block>
                        <block type="comment" id="grSaX|lx4Vnd9hGN~Kpu" x="488" y="-138">
                          <field name="COMMENT">Hysterese: 1 K</field>
                        </block>
                      </xml>
                      

                      E 2 Replies Last reply Reply Quote 0
                      • E
                        Erich 1 @paul53 last edited by

                        @paul53 said in Steuerung Heizunterlage für kleines Gewächshäuschen:

                        <variables>

                        Super, das baue ich mir gleich mal ein ... (hoffentlich verstehe ich das alles)

                        1 Reply Last reply Reply Quote 0
                        • E
                          Erich 1 @paul53 last edited by

                          @paul53 Klappt alles wunderbar. Und ich verstehe das sogar einigermaßen 😉

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate
                          FAQ Cloud / IOT
                          HowTo: Node.js-Update
                          HowTo: Backup/Restore
                          Downloads
                          BLOG

                          786
                          Online

                          32.0k
                          Users

                          80.4k
                          Topics

                          1.3m
                          Posts

                          5
                          18
                          560
                          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