Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Deko Brunnen Wetter abhängig Steuern

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Deko Brunnen Wetter abhängig Steuern

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

      Hallo ich brauche mal eure Hilfe bzw Ideen,

      ich habe ein Garten Dekobrunnen heute aufgebaut. Die Steuerung läuft über Tasmota. Ich würde diesen Brunnen gerne nun Automatisiert steuern.

      Meine Idee dazu wenn Sonne da und Temp über 23 Grad Brunnen an in der Zeit von bis...!

      Als Hardware habe ich ein Aussentemp sensor, als eigentlich kein Problem die Temp abfrage, aber den Sonnen zustand abfrage bekomme ich nicht hin bzw keine Idee wie ich das Lösen könnte vielleicht gibt es ja ein Adapter.

      Also bin für jede Idee/Vorschlag dankbar.

      Gruß

      Ludino

      sigi234 paul53 liv-in-sky Albert K Chaot 5 Replies Last reply Reply Quote 0
      • sigi234
        sigi234 Forum Testing Most Active @ludino last edited by sigi234

        @ludino

        https://forum.iobroker.net/topic/33228/vorlage-flexibles-timerskript-vis

        https://forum.iobroker.net/topic/31479/test-adapter-time-switch-v2-0-x-github-latest

        1 Reply Last reply Reply Quote 0
        • L
          ludino last edited by

          Danke für diese 2 Vorschläge, aber Prinzipiell sind es rudimentäre Zeituhren, ich muss aber das Wetter noch irgendwie mit hineinbringen.

          Gruß

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

            @ludino

            Ok, dann mit Blockly, da kann dir ev. @dslraser helfen.

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

              @sigi234 sagte in Deko Brunnen Wetter abhängig Steuern:

              @ludino

              Ok, dann mit Blockly, da kann dir ev. @dslraser helfen.

              Ich habe nix mit einem Wetter Adapter installiert. Aber wenn es Datenunkte über einen Adapter gibt, dann geht auch was...

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

                @ludino sagte:

                Sonnen zustand abfrage bekomme ich nicht

                Was verstehst Du unter "Sonnenzustand" ? Den Sonnenstand oder die Einstrahlung unter Berücksichtigung der Bewölkung ?

                1 Reply Last reply Reply Quote 0
                • L
                  ludino last edited by

                  Ich versuche es anders zu erklären,

                  Der deko Brunnen soll nur bei mega geilem Wetter angehen wenn keine Wolken oder so am Himmel sind.

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

                    @ludino sagte:

                    wenn keine Wolken oder so am Himmel sind.

                    "weatherunderground.0.forecastHourly.0h.sky" zeigt den Bewölkungsgrad.

                    Blockly_temp.JPG

                    <xml xmlns="https://developers.google.com/blockly/xml">
                     <variables>
                       <variable id=",M31ZIHriy(;VTv#AabD">klar</variable>
                       <variable id="z)bBrT_=Qa}nntTZyK]t">pumpe</variable>
                       <variable id="J6UJa*F5f#(..*aQUelj">warm</variable>
                       <variable id="iDUQK#=PvhD$XCt1$7TB">tag</variable>
                     </variables>
                     <block type="variables_set" id="GqifyOyD:O]k~eJ3y!5%" x="112" y="-63">
                       <field name="VAR" id=",M31ZIHriy(;VTv#AabD">klar</field>
                       <value name="VALUE">
                         <block type="logic_compare" id="hPYymt1#X.H=)4_OTyH*">
                           <field name="OP">LT</field>
                           <value name="A">
                             <block type="get_value" id="=L=H%QR)T9wg@pUGqjAF">
                               <field name="ATTR">val</field>
                               <field name="OID">weatherunderground.0.forecastHourly.0h.sky</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="!z0[S|Iz)wcUOy#+g%+5">
                               <field name="NUM">5</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <next>
                         <block type="variables_set" id="DMB@g$d?{X|WwJ5[(*iN">
                           <field name="VAR" id="J6UJa*F5f#(..*aQUelj">warm</field>
                           <value name="VALUE">
                             <block type="logic_compare" id="JNUNK5Ki=?}_h.rPZ*dC">
                               <field name="OP">GTE</field>
                               <value name="A">
                                 <block type="get_value" id="Yqao*$4xuQ|$DR}`1s3K">
                                   <field name="ATTR">val</field>
                                   <field name="OID">weatherunderground.0.forecastHourly.0h.temp</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="math_number" id=";pX+k0vIBdBg1aVvKY@R">
                                   <field name="NUM">23</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <next>
                             <block type="variables_set" id=",bUQt9cy]3[.!Ks)*tci">
                               <field name="VAR" id="iDUQK#=PvhD$XCt1$7TB">tag</field>
                               <value name="VALUE">
                                 <block type="time_compare" id="_~_gcv8RFP)g|TT^)GfV">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" end_time="true"></mutation>
                                   <field name="OPTION">between</field>
                                   <field name="START_TIME">10:00</field>
                                   <field name="END_TIME">16:00</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="procedures_callnoreturn" id="[,Z.57D?maKZn8;a034C">
                                   <mutation name="brunnen"></mutation>
                                   <next>
                                     <block type="on_ext" id="G,4a0%9h^oM]/]YjMy^?">
                                       <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="V-xsTXHio}fBZffuETLI">
                                           <field name="oid">weatherunderground.0.forecastHourly.0h.sky</field>
                                         </shadow>
                                       </value>
                                       <statement name="STATEMENT">
                                         <block type="variables_set" id="|A/S2w[w,ATG!oU,N,tX">
                                           <field name="VAR" id=",M31ZIHriy(;VTv#AabD">klar</field>
                                           <value name="VALUE">
                                             <block type="logic_compare" id="Dq)AkU/7P?Bs6zXm~Vq[">
                                               <field name="OP">LT</field>
                                               <value name="A">
                                                 <block type="on_source" id="lLtD~VhI0%nGZJ,f4}=t">
                                                   <field name="ATTR">state.val</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="math_number" id=":G!Psg~Oor5Zf11[@x,E">
                                                   <field name="NUM">5</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="procedures_callnoreturn" id="v1W.eS@:RWXTEq?TKVc3">
                                               <mutation name="brunnen"></mutation>
                                             </block>
                                           </next>
                                         </block>
                                       </statement>
                                       <next>
                                         <block type="on_ext" id="Luxc,f2koS4})TMAt+67">
                                           <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="85l=_1{:i}`gQ:qJL}.Z">
                                               <field name="oid">weatherunderground.0.forecastHourly.0h.temp</field>
                                             </shadow>
                                           </value>
                                           <statement name="STATEMENT">
                                             <block type="variables_set" id="jp=*S-M6~u5wu3Yf3NR}">
                                               <field name="VAR" id="J6UJa*F5f#(..*aQUelj">warm</field>
                                               <value name="VALUE">
                                                 <block type="logic_compare" id="R+tcC)P-#%*rd%1cJ;3t">
                                                   <field name="OP">GTE</field>
                                                   <value name="A">
                                                     <block type="on_source" id="]pRi71f/t61Yh9U=prsr">
                                                       <field name="ATTR">state.val</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="math_number" id="H}O23feXzQON`4eDw!De">
                                                       <field name="NUM">23</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="procedures_callnoreturn" id="xejO1ZRhE0q^mB@rC,2c">
                                                   <mutation name="brunnen"></mutation>
                                                 </block>
                                               </next>
                                             </block>
                                           </statement>
                                           <next>
                                             <block type="schedule" id="{_u3e:-{yb|2HNhtxw4z">
                                               <field name="SCHEDULE">0 10 * * *</field>
                                               <statement name="STATEMENT">
                                                 <block type="variables_set" id="3{xDEMIYa6=p{k^4ore-">
                                                   <field name="VAR" id="iDUQK#=PvhD$XCt1$7TB">tag</field>
                                                   <value name="VALUE">
                                                     <block type="logic_boolean" id="-k9eykRfZTx|V!iTWDTH">
                                                       <field name="BOOL">TRUE</field>
                                                     </block>
                                                   </value>
                                                   <next>
                                                     <block type="procedures_callnoreturn" id="IMGyR6.}I),dR805JJbg">
                                                       <mutation name="brunnen"></mutation>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </statement>
                                               <next>
                                                 <block type="schedule" id="R5*C-VR*0|@eaDpd;{1z">
                                                   <field name="SCHEDULE">0 16 * * *</field>
                                                   <statement name="STATEMENT">
                                                     <block type="variables_set" id="3h8ZSPW?Qwm57rr;YEEp">
                                                       <field name="VAR" id="iDUQK#=PvhD$XCt1$7TB">tag</field>
                                                       <value name="VALUE">
                                                         <block type="logic_boolean" id="4_cKvoa2?c5@Wm/)o5p3">
                                                           <field name="BOOL">FALSE</field>
                                                         </block>
                                                       </value>
                                                       <next>
                                                         <block type="procedures_callnoreturn" id="zBMW;!_@@$hxQ^xU[rq7">
                                                           <mutation name="brunnen"></mutation>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </statement>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                     <block type="procedures_defnoreturn" id="vzGMQ,t2DcGWWUAdkFqw" x="362" y="387">
                       <field name="NAME">brunnen</field>
                       <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                       <statement name="STACK">
                         <block type="variables_set" id="zWk*}({DUc7Pd=qhz!II">
                           <field name="VAR" id="z)bBrT_=Qa}nntTZyK]t">pumpe</field>
                           <value name="VALUE">
                             <block type="logic_operation" id="G{W:SE]wzuk,)PBv00ll" inline="false">
                               <field name="OP">AND</field>
                               <value name="A">
                                 <block type="logic_operation" id="qx]wOPscc{gEJuFBz$$B" inline="false">
                                   <field name="OP">AND</field>
                                   <value name="A">
                                     <block type="variables_get" id="_^G%eS:^u+o#W:xByTgP">
                                       <field name="VAR" id="iDUQK#=PvhD$XCt1$7TB">tag</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="variables_get" id="PdZSfAj6TZLOHZuE4g#V">
                                       <field name="VAR" id=",M31ZIHriy(;VTv#AabD">klar</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="variables_get" id="sM{|2T!!TpLvoJXEd(wE">
                                   <field name="VAR" id="J6UJa*F5f#(..*aQUelj">warm</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <next>
                             <block type="controls_if" id="0nrCy5=7SznT.aaV2W,O">
                               <value name="IF0">
                                 <block type="logic_compare" id="Y^q#3@j)YK79`273n*=H">
                                   <field name="OP">NEQ</field>
                                   <value name="A">
                                     <block type="variables_get" id="0MZE@27S-tLv!D]2MmKe">
                                       <field name="VAR" id="z)bBrT_=Qa}nntTZyK]t">pumpe</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="get_value" id="jU,iT51B6xN%Aqd#|-7W">
                                       <field name="ATTR">val</field>
                                       <field name="OID">ID auswählen</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="control" id="o1,Sl?cF:wXh]0BDACtL">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                   <field name="OID">Object ID</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="variables_get" id="![S{0H,(Fvlued*cZ9=^">
                                       <field name="VAR" id="z)bBrT_=Qa}nntTZyK]t">pumpe</field>
                                     </block>
                                   </value>
                                 </block>
                               </statement>
                             </block>
                           </next>
                         </block>
                       </statement>
                     </block>
                    </xml>
                    

                    1 Reply Last reply Reply Quote 0
                    • liv-in-sky
                      liv-in-sky @ludino last edited by liv-in-sky

                      @ludino bei mir stimmen die wetterdaten eigentlich fast nie - liegt wohl an der gegend

                      habe daher einen sonoff (tasmota) mit lichtmesser am fenster verbaut und einen sonoff mit tempfühler (sonoff innen - tempfühler außerhalb)

                      damit kann man das alles sehr einfach steuern und hat die tatsächlichen werte

                      Image 3.png

                      1 Reply Last reply Reply Quote 0
                      • Albert K
                        Albert K @ludino last edited by

                        @ludino

                        "Das Wetter" Adapter bringt Wolkenindex nach Standort.

                        OpenUV bringt den Roh UV Wert.

                        Daraus dann den lokalen UV Wert berechnen (bei OpenUV erklârt)

                        Dann schalten bei lokalem UV Wert > 6

                        1 Reply Last reply Reply Quote 0
                        • Chaot
                          Chaot @ludino last edited by

                          @ludino
                          Warum machst du dir keinen passenden Sensor dran. Ich würde da einen BH1750 nehmen und dann auf den gewünschten Helligkeitswert triggern. Werte kommen über den Sonoff Adapter in den iobroker.

                          Umwelt.jpg

                          Der VEML 6070 macht nur die reine UV Strahlung und zeigt auch teilweise bei leichter Bewölkung an. Beim BH1750 hast du direkt den Helligkeitswert. Dazu noch eine kleine Verzögerung falls gerade mal eine Wolke durchhuscht oder sich einer vor den Sensor stellt und fertig sollte es sein.

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

                          Support us

                          ioBroker
                          Community Adapters
                          Donate

                          871
                          Online

                          32.0k
                          Users

                          80.4k
                          Topics

                          1.3m
                          Posts

                          7
                          11
                          800
                          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