Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Online Wetterdaten inkl. Winddaten für Österreich

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] Online Wetterdaten inkl. Winddaten für Österreich

    This topic has been deleted. Only users with topic management privileges can see it.
    • FredF
      FredF Most Active Forum Testing @liv-in-sky last edited by

      @liv-in-sky mit dem netatmo crawler Adapter

      liv-in-sky 2 Replies Last reply Reply Quote 1
      • liv-in-sky
        liv-in-sky @FredF last edited by

        @fredf ddanke dir - dachte schon man muss einen request senden und dann auswerten 🙂

        1 Reply Last reply Reply Quote 0
        • M
          Manuel001 @FredF last edited by

          @fredf
          Ich hatte den falschen Adapter installiert (netatmo statt netatmo crawler).
          Jetzt funktioniert es. Vielen Dank!

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

            @fredf

            das ist ja simple - bei mir hier im dorf sind auch drei - hätte ich nicht gedacht - einer hat sogar einen regenmesser - mal schauen, ob da auch was richtiges rüber kommt - dann hätte ich endlich einen regenalarm - ohne eigenes esp-project zu starten 🙂

            nochmal danke für den tipp

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

              @liv-in-sky

              Ja, tolle Funktion, zwar mit gewissen Risiken, dass die ausgewählte Station offline geht, aber >200€ gespart. 🙂

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

                @florianshj

                da hast du recht - aber manweiß ja, das die daten alle 5 min ausgelesen werden und kann anhand netatmo-crawler.0.stationData.2.info.lastInfoRetrieved eine message oder warnung generieren, wenn da die verbindung länger als ... nicht da ist

                F 1 Reply Last reply Reply Quote 1
                • F
                  FlorianSHJ @liv-in-sky last edited by

                  @liv-in-sky

                  Ja genau, kleines Blockly auf das Änderungsdatum eines der netatmo-Objekte und wenn notwendig Pushover/Telegram/Mail.

                  M 1 Reply Last reply Reply Quote 1
                  • M
                    Manuel001 @FlorianSHJ last edited by

                    @florianshj
                    Wenn jemand dieses "kleine Blockly" hier rein stellen könnte, wäre ich auch daran interessiert.

                    liv-in-sky 2 Replies Last reply Reply Quote 0
                    • liv-in-sky
                      liv-in-sky @Manuel001 last edited by

                      @manuel001

                      habe nur schnell zusammengeklickt:
                      teste mal das

                      du musst deine dp angleichen, evtl die telegramm messages, evtl die zeit 600000 sind 5 minuten, das debug kannst du disablen

                      Image 2.png

                      <xml xmlns="https://developers.google.com/blockly/xml">
                       <variables>
                         <variable id="D`yK,4@iS52~}is0l/=a">is_schon</variable>
                       </variables>
                       <block type="variables_set" id="=u]ItPGIdXIIc(@AYmjB" x="12" y="-162">
                         <field name="VAR" id="D`yK,4@iS52~}is0l/=a">is_schon</field>
                         <value name="VALUE">
                           <block type="logic_boolean" id="d68uj~m{Wl!(Gxf$}0N^">
                             <field name="BOOL">FALSE</field>
                           </block>
                         </value>
                         <next>
                           <block type="schedule" id="Mqadi]9[^O,LEZ?7hPzY">
                             <field name="SCHEDULE">* * * * *</field>
                             <statement name="STATEMENT">
                               <block type="debug" id="e!!TmHc+.e5z:nrRK2@m">
                                 <field name="Severity">log</field>
                                 <value name="TEXT">
                                   <shadow type="text" id="ktJ7LR4^Ha)iNMEa]a!6">
                                     <field name="TEXT">test</field>
                                   </shadow>
                                   <block type="math_arithmetic" id="WT*mdDx3vg*)H,S5Wag3">
                                     <field name="OP">MINUS</field>
                                     <value name="A">
                                       <shadow type="math_number">
                                         <field name="NUM">1</field>
                                       </shadow>
                                       <block type="time_get" id="{~|X_`{s%d-iANR@vz7{">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                         <field name="OPTION">object</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <shadow type="math_number">
                                         <field name="NUM">1</field>
                                       </shadow>
                                       <block type="get_value" id="ZC?.i]:A@c]:p}v@k:+{">
                                         <field name="ATTR">val</field>
                                         <field name="OID">netatmo-crawler.0.stationData.2.lastUpdated.rain_today</field>
                                       </block>
                                     </value>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="controls_if" id="6Ssk|-(pZ_7sh(aL0e55">
                                     <mutation elseif="1"></mutation>
                                     <value name="IF0">
                                       <block type="logic_operation" id=":HXR9wl(f*bm|9QJa[Fe" inline="false">
                                         <field name="OP">AND</field>
                                         <value name="A">
                                           <block type="logic_compare" id="`X^6zN%9JH:;_3[rkEjZ">
                                             <field name="OP">GT</field>
                                             <value name="A">
                                               <block type="math_arithmetic" id="CoX/vHiE,^YNzHZmxY@[">
                                                 <field name="OP">MINUS</field>
                                                 <value name="A">
                                                   <shadow type="math_number" id="MPlLX:sH|m_[*}~o%2vj">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                   <block type="time_get" id="ohN9Mzsxj6aTR9@Yoo@P">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                     <field name="OPTION">object</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <shadow type="math_number" id="+:^#|PmkI=!_5K5+r!`H">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                   <block type="get_value" id="ie]#O(F|5z4N20CR{s)`">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">netatmo-crawler.0.stationData.2.lastUpdated.rain_today</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="math_number" id="`kt@dVEi6JO+1{zp2hTg">
                                                 <field name="NUM">600000</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="logic_negate" id=":bMZwk7PG%^*x0Dwy?Gn">
                                             <value name="BOOL">
                                               <block type="variables_get" id="(@N!H7Np%S2u8Sn,(`-A">
                                                 <field name="VAR" id="D`yK,4@iS52~}is0l/=a">is_schon</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="variables_set" id="YMqx$_BZ%C?ge9Y=Z*_C">
                                         <field name="VAR" id="D`yK,4@iS52~}is0l/=a">is_schon</field>
                                         <value name="VALUE">
                                           <block type="logic_boolean" id="%Se=64Ca.Zf$JdI7`HCT">
                                             <field name="BOOL">TRUE</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="telegram" id="+bq:V}AquJH0CdjyK(B#">
                                             <field name="INSTANCE"></field>
                                             <field name="LOG"></field>
                                             <field name="SILENT">FALSE</field>
                                             <field name="PARSEMODE">default</field>
                                             <value name="MESSAGE">
                                               <shadow type="text" id="W)*L}MuLo,C6n[zNV0Ik">
                                                 <field name="TEXT">regensensor nicht verbunden  </field>
                                               </shadow>
                                             </value>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                     <value name="IF1">
                                       <block type="logic_operation" id="?V.3r_.1X?vJjP2YSc9Y" inline="false">
                                         <field name="OP">AND</field>
                                         <value name="A">
                                           <block type="logic_compare" id="PDTQpPi5OuTDonRvzPwO">
                                             <field name="OP">LTE</field>
                                             <value name="A">
                                               <block type="math_arithmetic" id="``c-/uFz;iBDO[MPQ31g">
                                                 <field name="OP">MINUS</field>
                                                 <value name="A">
                                                   <shadow type="math_number">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                   <block type="time_get" id="__rRFoCT_#5HrYDFC!2j">
                                                     <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                     <field name="OPTION">object</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <shadow type="math_number">
                                                     <field name="NUM">1</field>
                                                   </shadow>
                                                   <block type="get_value" id="VAziJ^?QTgE{fP]OlQXF">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">netatmo-crawler.0.stationData.2.lastUpdated.rain_today</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <value name="B">
                                               <block type="math_number" id="~h`=J?a}I,@J;3}4H/ND">
                                                 <field name="NUM">600000</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="variables_get" id="DXnC5$b#s=23emP-.SL`">
                                             <field name="VAR" id="D`yK,4@iS52~}is0l/=a">is_schon</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO1">
                                       <block type="variables_set" id="j69VMS.JZfQ~Tjk~OAEq">
                                         <field name="VAR" id="D`yK,4@iS52~}is0l/=a">is_schon</field>
                                         <value name="VALUE">
                                           <block type="logic_boolean" id="*Q5m0fu|,.R%_B=!.||A">
                                             <field name="BOOL">FALSE</field>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="telegram" id="o|ZU.r(Z[T},o?rw1G%8">
                                             <field name="INSTANCE"></field>
                                             <field name="LOG"></field>
                                             <field name="SILENT">FALSE</field>
                                             <field name="PARSEMODE">default</field>
                                             <value name="MESSAGE">
                                               <shadow type="text" id="1wR:P1+y.s5bk-VuRW3U">
                                                 <field name="TEXT">regensensor  wieder verbunden  </field>
                                               </shadow>
                                             </value>
                                           </block>
                                         </next>
                                       </block>
                                     </statement>
                                   </block>
                                 </next>
                               </block>
                             </statement>
                           </block>
                         </next>
                       </block>
                      </xml>
                      

                      M 2 Replies Last reply Reply Quote 1
                      • liv-in-sky
                        liv-in-sky @Manuel001 last edited by

                        @manuel001 ach ja - testen kannst du, indem du den adapter einfach stoppst

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

                          @liv-in-sky
                          Ich habe das jetzt leicht modifiziert (Datenpunkt setzen statt Telegram), aber ich bekomme es nicht zum laufen.
                          2f3111d8-48b7-4239-97fd-0173134a0c87-image.png

                          <xml xmlns="https://developers.google.com/blockly/xml">
                            <variables>
                              <variable id="D`yK,4@iS52~}is0l/=a">is_schon</variable>
                            </variables>
                            <block type="variables_set" id="=u]ItPGIdXIIc(@AYmjB" x="12" y="-162">
                              <field name="VAR" id="D`yK,4@iS52~}is0l/=a">is_schon</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="d68uj~m{Wl!(Gxf$}0N^">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                              <next>
                                <block type="schedule" id="Mqadi]9[^O,LEZ?7hPzY">
                                  <field name="SCHEDULE">* * * * *</field>
                                  <statement name="STATEMENT">
                                    <block type="debug" id="e!!TmHc+.e5z:nrRK2@m">
                                      <field name="Severity">log</field>
                                      <value name="TEXT">
                                        <shadow type="text" id="ktJ7LR4^Ha)iNMEa]a!6">
                                          <field name="TEXT">test</field>
                                        </shadow>
                                        <block type="math_arithmetic" id="WT*mdDx3vg*)H,S5Wag3">
                                          <field name="OP">MINUS</field>
                                          <value name="A">
                                            <shadow type="math_number">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="time_get" id="{~|X_`{s%d-iANR@vz7{">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                              <field name="OPTION">object</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <shadow type="math_number">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="get_value" id="ZC?.i]:A@c]:p}v@k:+{">
                                              <field name="ATTR">val</field>
                                              <field name="OID">netatmo-crawler.0.stationData.1.info.lastInfoRetrieved</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="controls_if" id="6Ssk|-(pZ_7sh(aL0e55">
                                          <mutation elseif="1"></mutation>
                                          <value name="IF0">
                                            <block type="logic_operation" id=":HXR9wl(f*bm|9QJa[Fe" inline="false">
                                              <field name="OP">AND</field>
                                              <value name="A">
                                                <block type="logic_compare" id="`X^6zN%9JH:;_3[rkEjZ">
                                                  <field name="OP">GT</field>
                                                  <value name="A">
                                                    <block type="math_arithmetic" id="CoX/vHiE,^YNzHZmxY@[">
                                                      <field name="OP">MINUS</field>
                                                      <value name="A">
                                                        <shadow type="math_number" id="MPlLX:sH|m_[*}~o%2vj">
                                                          <field name="NUM">1</field>
                                                        </shadow>
                                                        <block type="time_get" id="ohN9Mzsxj6aTR9@Yoo@P">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                          <field name="OPTION">object</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <shadow type="math_number" id="+:^#|PmkI=!_5K5+r!`H">
                                                          <field name="NUM">1</field>
                                                        </shadow>
                                                        <block type="get_value" id="ie]#O(F|5z4N20CR{s)`">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">netatmo-crawler.0.stationData.1.info.lastInfoRetrieved</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="math_number" id="`kt@dVEi6JO+1{zp2hTg">
                                                      <field name="NUM">12000000</field>
                                                      <comment pinned="false" h="80" w="160">600000 sind 5 Minuten</comment>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="logic_negate" id=":bMZwk7PG%^*x0Dwy?Gn">
                                                  <value name="BOOL">
                                                    <block type="variables_get" id="(@N!H7Np%S2u8Sn,(`-A">
                                                      <field name="VAR" id="D`yK,4@iS52~}is0l/=a">is_schon</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="variables_set" id="YMqx$_BZ%C?ge9Y=Z*_C">
                                              <field name="VAR" id="D`yK,4@iS52~}is0l/=a">is_schon</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="%Se=64Ca.Zf$JdI7`HCT">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="E]kQ0(nhOs9n=m518q|Y">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">0_userdata.0.Wetterstation_verfügbar</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="15paQjRNbp6yUiJakDcO">
                                                      <field name="BOOL">FALSE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                          <value name="IF1">
                                            <block type="logic_operation" id="?V.3r_.1X?vJjP2YSc9Y" inline="false">
                                              <field name="OP">AND</field>
                                              <value name="A">
                                                <block type="logic_compare" id="PDTQpPi5OuTDonRvzPwO">
                                                  <field name="OP">LTE</field>
                                                  <value name="A">
                                                    <block type="math_arithmetic" id="``c-/uFz;iBDO[MPQ31g">
                                                      <field name="OP">MINUS</field>
                                                      <value name="A">
                                                        <shadow type="math_number">
                                                          <field name="NUM">1</field>
                                                        </shadow>
                                                        <block type="time_get" id="__rRFoCT_#5HrYDFC!2j">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                          <field name="OPTION">object</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <shadow type="math_number">
                                                          <field name="NUM">1</field>
                                                        </shadow>
                                                        <block type="get_value" id="VAziJ^?QTgE{fP]OlQXF">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">netatmo-crawler.0.stationData.1.info.lastInfoRetrieved</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="math_number" id="~h`=J?a}I,@J;3}4H/ND">
                                                      <field name="NUM">12000000</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="variables_get" id="DXnC5$b#s=23emP-.SL`">
                                                  <field name="VAR" id="D`yK,4@iS52~}is0l/=a">is_schon</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO1">
                                            <block type="variables_set" id="j69VMS.JZfQ~Tjk~OAEq">
                                              <field name="VAR" id="D`yK,4@iS52~}is0l/=a">is_schon</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="*Q5m0fu|,.R%_B=!.||A">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="control" id="4=hyU2J%a5{HZ#l=OO41">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">0_userdata.0.Wetterstation_verfügbar</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="logic_boolean" id="=%Rx*QkDWM[3-/,Y/Faj">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </next>
                            </block>
                          </xml>
                          

                          Im Protokoll steht dann:
                          javascript.0 2021-10-10 20:45:00.024 info script.js.common.Wetterstation_verfügbar: 286888
                          Und zählt rauf. Das würde so weit passen, aber der Datenpunkt wird nicht geschrieben.

                          liv-in-sky 2 Replies Last reply Reply Quote 0
                          • liv-in-sky
                            liv-in-sky @Manuel001 last edited by

                            @manuel001

                            müßte schon passen - wenn der adapter pausiert ist, wird nach 10 min der dp gesetzt - wenn der adapter wieder an ist, wird eine minute später der dp wieder gesetzt

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

                              @manuel001

                              das hochsetzen der zahl ist die zeit , in msek. wenn die zahl über 1200 000 (ist 10 min) - wird dp gesetzt

                              die zahl n kommt jede minute das ins log zu schreiben kann man später disabeln

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

                                @liv-in-sky
                                Ah, ich habe mir die Logik zu wenig genau angeschaut.
                                Mein Datenpunkt hat default false. Und ich hätte mit laufendem Adapter gewartet, dass es auf true (Wetterstation verfügbar) geändert wird.
                                Das macht die Logik natürlich nicht. Ich werde das morgen dann noch anpassen. Aber jetzt weiß ich, woran es gescheitert ist.
                                Vielen Dank!

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

                                  @manuel001

                                  du musst ja nur ganz oben, vor dem trigger den dp setzen-block nehmen - das war es auch schon

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

                                    @liv-in-sky
                                    Läuft schon. Danke!

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

                                      @liv-in-sky sagte in [gelöst] Online Wetterdaten inkl. Winddaten für Österreich:

                                      600000 sind 5 minuten

                                      600000 sind 10 Minuten (nur falls sich jemand wundert).

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

                                        @manuel001

                                        oh mann - 1000*60 * 5 sind 300 000 = 5min

                                        du hast natürlich recht

                                        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

                                        487
                                        Online

                                        31.8k
                                        Users

                                        80.0k
                                        Topics

                                        1.3m
                                        Posts

                                        7
                                        28
                                        1286
                                        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