Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. [Vorlage Blockly] Wunderground Upload

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.5k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.1k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    2.7k

[Vorlage Blockly] Wunderground Upload

Geplant Angeheftet Gesperrt Verschoben Skripten / Logik
48 Beiträge 9 Kommentatoren 7.8k Aufrufe 12 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • C Christian.B

    Hallo @MartyBr

    ich habe den Neuen Skript übernommen und die Windgeschwindigkeiten werden jetzt korrekt umgerechnet in km/h angezeigt.
    Allerdings erst nachdem ich ich in der Zeile 39 das Komma gegen einen Punkt getausch habe :-)

    Irgendwas scheint dennoch noch nicht 100% zu funktionieren, da der Doppelbalken, der den aktivierten Skript signalisiert bei mir nicht grün sondern gelb ist

    Screenshot 2020-03-08 13.48.25.png

    in dem Kasten bekomme ich auch eine Warnmeldung, die mich leider nicht weiter bringt. Mit dem ersten Skript hatte ich das nicht.
    Hast du eine Idee, was das sein könnte.

    2.png

    M Offline
    M Offline
    MartyBr
    schrieb am zuletzt editiert von
    #15

    @Christian-B
    Das mit dem Punkt ist richtig, ich habe die Umrechnung ja für dich eingeführt.
    Eine kurze Frage: Hast du den openuv-Adapter installiert? dort kommen ja die UV-Werte her.
    Eine zweite Frage: du hast einen wunderground-API key?

    Bis auf die letzte Umrechnung dürfte es keine Problem sein.

    Ein Hinweis noch: Im Javascript-Adapter muss du das Modul "request" Einfragen.

    Bildschirmfoto 2020-03-08 um 14.33.18.png

    Gruß
    Martin


    Intel NUCs mit Proxmox / Iobroker als VM unter Debian
    Raspeberry mit USB Leseköpfen für Smartmeter
    Homematic und Homematic IP

    1 Antwort Letzte Antwort
    0
    • C Offline
      C Offline
      Christian.B
      schrieb am zuletzt editiert von
      #16

      @MartyBr
      ich kann alle deine Fragen bejahen.
      Die Werte werden auch zu wunderground übertragen und dort korrekt, incl. Windgeschwindigkeiten in km/h angezeigt.
      Request habe ich unter Javascript auch.
      Folgendes verwundert mich jedoch sehr.
      Tausche ich, das Komma in Zeile 39 gegen einen Punkt, wird der "Doppelbalken", wie beschrieben gelb, es funktioniert aber scheinbar alles und wird zu wunderground korrekt übertragen. Mache ich aber ein Komma daraus, wie du es eingestellt hast, wird der Doppelbalken/Statusanzeige grün. Die Übertragung zu wunderground wird jedoch unterbrochen.

      viele Grüße

      Christian

      M 2 Antworten Letzte Antwort
      0
      • C Christian.B

        @MartyBr
        ich kann alle deine Fragen bejahen.
        Die Werte werden auch zu wunderground übertragen und dort korrekt, incl. Windgeschwindigkeiten in km/h angezeigt.
        Request habe ich unter Javascript auch.
        Folgendes verwundert mich jedoch sehr.
        Tausche ich, das Komma in Zeile 39 gegen einen Punkt, wird der "Doppelbalken", wie beschrieben gelb, es funktioniert aber scheinbar alles und wird zu wunderground korrekt übertragen. Mache ich aber ein Komma daraus, wie du es eingestellt hast, wird der Doppelbalken/Statusanzeige grün. Die Übertragung zu wunderground wird jedoch unterbrochen.

        M Offline
        M Offline
        MartyBr
        schrieb am zuletzt editiert von
        #17

        @Christian-B
        In Zeile 39 muss definitiv ein Punkt hin (wie bei Zeile 41).

        Das Script sollte grün werden und die Daten übertragen. Hast du den javascript-Adapter schon mal neu gestartet?

        Das hat bei mir bei anderen Skripten, die Module erfordern, schon geholfen.

        Gruß
        Martin


        Intel NUCs mit Proxmox / Iobroker als VM unter Debian
        Raspeberry mit USB Leseköpfen für Smartmeter
        Homematic und Homematic IP

        1 Antwort Letzte Antwort
        0
        • C Christian.B

          @MartyBr
          ich kann alle deine Fragen bejahen.
          Die Werte werden auch zu wunderground übertragen und dort korrekt, incl. Windgeschwindigkeiten in km/h angezeigt.
          Request habe ich unter Javascript auch.
          Folgendes verwundert mich jedoch sehr.
          Tausche ich, das Komma in Zeile 39 gegen einen Punkt, wird der "Doppelbalken", wie beschrieben gelb, es funktioniert aber scheinbar alles und wird zu wunderground korrekt übertragen. Mache ich aber ein Komma daraus, wie du es eingestellt hast, wird der Doppelbalken/Statusanzeige grün. Die Übertragung zu wunderground wird jedoch unterbrochen.

          M Offline
          M Offline
          MartyBr
          schrieb am zuletzt editiert von
          #18

          @Christian-B
          In deinem Log zeigt der Fehler auf Zeile 53. Hier werden die UV Werte von OpenUV eingelesen. Schau mal bitte nach, ob hier die Konfiguration stimmt.

          Gruß
          Martin


          Intel NUCs mit Proxmox / Iobroker als VM unter Debian
          Raspeberry mit USB Leseköpfen für Smartmeter
          Homematic und Homematic IP

          1 Antwort Letzte Antwort
          0
          • C Offline
            C Offline
            Christian.B
            schrieb am zuletzt editiert von
            #19

            @MartyBr
            da hate ich tatsächlich noch kein OpenUV installiert gehabt. Das habe ich nachgeholt und die UV Werte werden auch zu Wunderground übertragen.
            Was muss ich nochmal machen, damit der Log wieder angezeigt wird?
            Im Moment steht nichts in dem "Protokoll" Kasten.

            viele Grüße

            Christian

            M 1 Antwort Letzte Antwort
            0
            • C Christian.B

              @MartyBr
              da hate ich tatsächlich noch kein OpenUV installiert gehabt. Das habe ich nachgeholt und die UV Werte werden auch zu Wunderground übertragen.
              Was muss ich nochmal machen, damit der Log wieder angezeigt wird?
              Im Moment steht nichts in dem "Protokoll" Kasten.

              M Offline
              M Offline
              MartyBr
              schrieb am zuletzt editiert von
              #20

              @Christian-B Wenn ich rate, dann schalte mal den javascript-Adapter auf Info oder kurz mal auf auf debug. Dann solltest du die Log-Meldungen sehen.

              Gruß
              Martin


              Intel NUCs mit Proxmox / Iobroker als VM unter Debian
              Raspeberry mit USB Leseköpfen für Smartmeter
              Homematic und Homematic IP

              1 Antwort Letzte Antwort
              0
              • C Offline
                C Offline
                Christian.B
                schrieb am zuletzt editiert von Christian.B
                #21

                @MartyBr

                Ahh... danke.
                Jetzt sieht es so aus.

                14.3.2020, 15:30:34.661	[info ]: javascript.0 (5388) Stop script script.js.Eigene_Skripte.Warnungen.Weatherman_an_Wunderground3
                14.3.2020, 15:30:41.260	[info ]: javascript.0 (5388) Start javascript script.js.Eigene_Skripte.Warnungen.Weatherman_an_Wunderground3
                14.3.2020, 15:30:41.273	[error]: javascript.0 (5388) script.js.Eigene_Skripte.Warnungen.Weatherman_an_Wunderground3: script.js.Eigene_Skripte.Warnungen.Weatherman_an_Wunderground3:116
                14.3.2020, 15:30:41.274	[error]: javascript.0 (5388)     at script.js.Eigene_Skripte.Warnungen.Weatherman_an_Wunderground3:116:12
                14.3.2020, 15:32:30.472	[debug]: javascript.0 (5388) script.js.Eigene_Skripte.Warnungen.Weatherman_an_Wunderground3: Wunderground Personal Weather Station successfully updated
                14.3.2020, 15:32:30.475	[debug]: javascript.0 (5388) script.js.Eigene_Skripte.Warnungen.Weatherman_an_Wunderground3: Wunderground Personal Weather Station successfully updated
                

                Es wird ein Fehler in Zeile 116 angegeben.
                Dabei steht in Zeile 116 "nur" das:

                on(idwindspeedkmh, weatherupdate); 	// aktualisieren, wenn neuer Windgeschwindigkeitswert von HM-Kombisensor
                

                Status steht immer noch auf gelb. Daten werden einwandfrei übertragen.

                viele Grüße

                Christian

                M 1 Antwort Letzte Antwort
                0
                • C Christian.B

                  @MartyBr

                  Ahh... danke.
                  Jetzt sieht es so aus.

                  14.3.2020, 15:30:34.661	[info ]: javascript.0 (5388) Stop script script.js.Eigene_Skripte.Warnungen.Weatherman_an_Wunderground3
                  14.3.2020, 15:30:41.260	[info ]: javascript.0 (5388) Start javascript script.js.Eigene_Skripte.Warnungen.Weatherman_an_Wunderground3
                  14.3.2020, 15:30:41.273	[error]: javascript.0 (5388) script.js.Eigene_Skripte.Warnungen.Weatherman_an_Wunderground3: script.js.Eigene_Skripte.Warnungen.Weatherman_an_Wunderground3:116
                  14.3.2020, 15:30:41.274	[error]: javascript.0 (5388)     at script.js.Eigene_Skripte.Warnungen.Weatherman_an_Wunderground3:116:12
                  14.3.2020, 15:32:30.472	[debug]: javascript.0 (5388) script.js.Eigene_Skripte.Warnungen.Weatherman_an_Wunderground3: Wunderground Personal Weather Station successfully updated
                  14.3.2020, 15:32:30.475	[debug]: javascript.0 (5388) script.js.Eigene_Skripte.Warnungen.Weatherman_an_Wunderground3: Wunderground Personal Weather Station successfully updated
                  

                  Es wird ein Fehler in Zeile 116 angegeben.
                  Dabei steht in Zeile 116 "nur" das:

                  on(idwindspeedkmh, weatherupdate); 	// aktualisieren, wenn neuer Windgeschwindigkeitswert von HM-Kombisensor
                  

                  Status steht immer noch auf gelb. Daten werden einwandfrei übertragen.

                  M Offline
                  M Offline
                  MartyBr
                  schrieb am zuletzt editiert von
                  #22

                  @Christian-B
                  Du musst hier deine Werte eintragen. Ich ziehe windspeedkmh von der CCU an. Du hast die Werte windspeedms. Also *kmh durch *ms ersetzen.
                  Das musst du auch für die Windböen machen (windgustms statt windgustkmh)

                  Erklärung:
                  Ich rechne die Werte in der CCU schon auf km/h um. Du erhältst vom Weatherman die Original-Werte in m/s

                  Gruß
                  Martin


                  Intel NUCs mit Proxmox / Iobroker als VM unter Debian
                  Raspeberry mit USB Leseköpfen für Smartmeter
                  Homematic und Homematic IP

                  1 Antwort Letzte Antwort
                  0
                  • C Offline
                    C Offline
                    Christian.B
                    schrieb am zuletzt editiert von
                    #23

                    @MartyBr
                    das hat jetzt endlich funktioniert. Vielen Dank Martin.

                    viele Grüße

                    Christian

                    M 1 Antwort Letzte Antwort
                    0
                    • C Christian.B

                      @MartyBr
                      das hat jetzt endlich funktioniert. Vielen Dank Martin.

                      M Offline
                      M Offline
                      MartyBr
                      schrieb am zuletzt editiert von
                      #24

                      @Christian-B
                      Sehr gerne.

                      Gruß
                      Martin


                      Intel NUCs mit Proxmox / Iobroker als VM unter Debian
                      Raspeberry mit USB Leseköpfen für Smartmeter
                      Homematic und Homematic IP

                      1 Antwort Letzte Antwort
                      1
                      • L Linedancer

                        Hallo Gemeinde,

                        Hier ein kleines Script das Wetterdaten regenmässig zu Wunderground hoch läd.

                        Voraussetzung ist eine PWS (Personal Weather Station) bei Wunderground. Die Registrierung der PWS erfolgt hier:

                        https://www.wunderground.com/personal-w … ion/signup

                        Die Quelle der Wetterdaten ist bei mir der Weatherman. Näheres hierzu ist zu finden unter:

                        https://www.stall.biz/project/weatherma … automation

                        In dem Blockly müssen nur die Zugangsdaten der PWS (ID und Passwort) eingetragen werden.

                        Das Script rechnet die Messwerte in die von Wunderground geforderten Einheiten um und läd die Daten alle 2 Minutem hoch. Sollten die Messwerte aus anderen Quellen kommen, müssen die Umrechnungsfaktoren ggf. angepasst werden.

                        So, hier jetzt das Blockly:
                        1564_2017-12-28__3_.png

                        und hier der Export:

                         <xml xmlns="http://www.w3.org/1999/xhtml"><block type="schedule" id="NVQ4`W#p(8mnMqzc.so@" x="338" y="12"><field name="SCHEDULE">*/2 * * * *</field>
                            <statement name="STATEMENT"><block type="create" id="Ryy@[}Z8I!]_}]:y!y#Z"><field name="NAME">javascript.0.WEATHERMAN.Last_Wunderground_upload</field>
                                <next><block type="variables_set" id="J6pfV3Pv:-PcV-U8o3e("><field name="VAR">ID</field>
                                    <value name="VALUE"><block type="text" id="4o}!@aUA-7n3A_,+!Zf="><field name="TEXT">xxx</field></block></value> 
                                    <next><block type="variables_set" id="lNS})+2:]k7-.RJdgaeC"><field name="VAR">PWD</field>
                                        <value name="VALUE"><block type="text" id="*`IA18YFG:Rqdhs/%lt."><field name="TEXT">yyy</field></block></value> 
                                        <next><block type="variables_set" id="IuV!Ik{*|@RQ?@o@p54s"><field name="VAR">windspeed_mph</field>
                                            <value name="VALUE"><block type="math_arithmetic" id="Hr]VNoyEq)zWSA3Ov.!B"><field name="OP">MULTIPLY</field>
                                                <value name="A"><shadow type="math_number" id="y8`^YX%BoO1CEijv?e;J"><field name="NUM">2.23693629</field></shadow></value> 
                                                <value name="B"><shadow type="math_number" id="Q-V3X%h4_JnJ%4vwTwe("><field name="NUM">1</field></shadow> 
                                                  <block type="get_value" id="PcDIA^0^.^0!CyEyQ%Ih"><field name="ATTR">val</field>
                                                    <field name="OID">javascript.0.WEATHERMAN.w_wind_avg</field></block></value></block></value> 
                                            <next><block type="variables_set" id=")G^m+8#;HudLoG-nk7to"><field name="VAR">rain_in</field>
                                                <value name="VALUE"><block type="math_arithmetic" id="Y^#}5v_/pj:#g-+aM7uG"><field name="OP">MULTIPLY</field>
                                                    <value name="A"><shadow type="math_number" id="L?#oz=DGXpEmA@z/WM6a"><field name="NUM">0.03937</field></shadow></value> 
                                                    <value name="B"><shadow type="math_number" id="Q-V3X%h4_JnJ%4vwTwe("><field name="NUM">1</field></shadow> 
                                                      <block type="get_value" id="Z#jEx-=B=9Ud|,P!%Tn]"><field name="ATTR">val</field>
                                                        <field name="OID">javascript.0.WEATHERMAN.w_rain_intensity</field></block></value></block></value> 
                                                <next><block type="variables_set" id="KavP@R0V/~7;G^;G/*lE"><field name="VAR">rain_daily</field>
                                                    <value name="VALUE"><block type="math_arithmetic" id="xx2y4{FP^qg).tBzcw4i"><field name="OP">MULTIPLY</field>
                                                        <value name="A"><shadow type="math_number" id="q}Qu!!A_q*bMo2]/6npC"><field name="NUM">0.03937</field></shadow></value> 
                                                        <value name="B"><shadow type="math_number" id="Q-V3X%h4_JnJ%4vwTwe("><field name="NUM">1</field></shadow> 
                                                          <block type="get_value" id="{OwS|_!RcuS#gd9I7dYB"><field name="ATTR">val</field>
                                                            <field name="OID">javascript.0.WEATHERMAN.w_rain_volume_24</field></block></value></block></value> 
                                                    <next><block type="variables_set" id="2o.mspN{c2VuYMvet|^e"><field name="VAR">baro_in</field>
                                                        <value name="VALUE"><block type="math_arithmetic" id="IOs;[N;fdtiNHk2GC:3K"><field name="OP">MULTIPLY</field>
                                                            <value name="A"><shadow type="math_number" id="X-R?36spX2@GhM+Bhih["><field name="NUM">0.0295301</field></shadow></value> 
                                                            <value name="B"><shadow type="math_number" id="Q-V3X%h4_JnJ%4vwTwe("><field name="NUM">1</field></shadow> 
                                                              <block type="get_value" id="yuXUY_6Kz%x6D2742NaL"><field name="ATTR">val</field>
                                                                <field name="OID">javascript.0.WEATHERMAN.w_barometer</field></block></value></block></value> 
                                                        <next><block type="variables_set" id="}ZNtE{YDT~uH^(9oC@uJ"><field name="VAR">Aussentemp_F</field>
                                                            <value name="VALUE"><block type="math_arithmetic" id="~)9T~(f~8P[fqQ+zVlzZ"><field name="OP">ADD</field>
                                                                <value name="A"><shadow type="math_number" id="%PDN|YJ@naL)yZi3QAvx"><field name="NUM">1</field></shadow> 
                                                                  <block type="math_arithmetic" id="c,;et0f(JDhiPflCEvQ~"><field name="OP">MULTIPLY</field>
                                                                    <value name="A"><shadow type="math_number" id="#wm=O,l0nAF9wv.iOX11"><field name="NUM">1.8</field></shadow></value> 
                                                                    <value name="B"><shadow type="math_number" id="Q-V3X%h4_JnJ%4vwTwe("><field name="NUM">1</field></shadow> 
                                                                      <block type="get_value" id="qOqzkEcqx~:Aulh^61Hv"><field name="ATTR">val</field>
                                                                        <field name="OID">javascript.0.Wetter.TempAussen_mittel</field></block></value></block></value> 
                                                                <value name="B"><shadow type="math_number" id="j*@d,/*5vtdrrXk|~.Eh"><field name="NUM">32</field></shadow></value></block></value> 
                                                            <next><block type="variables_set" id="Knc[}47D!:t{BiPPIyJ:"><field name="VAR">Taupunkt_F</field>
                                                                <value name="VALUE"><block type="math_arithmetic" id="-I7a(p(*0]An=q_.k`Gw"><field name="OP">ADD</field>
                                                                    <value name="A"><shadow type="math_number" id="%PDN|YJ@naL)yZi3QAvx"><field name="NUM">1</field></shadow> 
                                                                      <block type="math_arithmetic" id="2BH#}7rz%F8T%{).(C3H"><field name="OP">MULTIPLY</field>
                                                                        <value name="A"><shadow type="math_number" id="6,TW%,p,xF`^)_.)n(^k"><field name="NUM">1.8</field></shadow></value> 
                                                                        <value name="B"><shadow type="math_number" id="Q-V3X%h4_JnJ%4vwTwe("><field name="NUM">1</field></shadow> 
                                                                          <block type="get_value" id="*_^,@J,Zq3+#T*m5~;/E"><field name="ATTR">val</field>
                                                                            <field name="OID">javascript.0.WEATHERMAN.w_taupunkt</field></block></value></block></value> 
                                                                    <value name="B"><shadow type="math_number" id=";~WP]L/.ED;fW~Q5HqB7"><field name="NUM">32</field></shadow></value></block></value> 
                                                                <next><block type="variables_set" id="(..4D@D}1bg(~)~wtU]Y"><field name="VAR">url</field>
                                                                    <value name="VALUE"><block type="text_join" id="(`%c8pO+2VPBopp8V2uE"><mutation items="21"></mutation>
                                                                        <value name="ADD0"><block type="text" id="Q!k*6kwCyW4I4Cz|wd@P"><field name="TEXT">https://weatherstation.wunderground.com/weatherstation/updateweatherstation.php?ID=I</field></block></value> 
                                                                        <value name="ADD1"><block type="variables_get" id="xj,x#Q6z02@Ne;(-k1!A"><field name="VAR">ID</field></block></value> 
                                                                        <value name="ADD2"><block type="text" id="C-`~;w6JL`I.:oWwFxVd"><field name="TEXT">&PASSWORD=</field></block></value> 
                                                                        <value name="ADD3"><block type="variables_get" id="fx56Av]MfZot/a{Dmc|{"><field name="VAR">PWD</field></block></value> 
                                                                        <value name="ADD4"><block type="text" id="L0hDbLXU%1u~w5v.!F4f"><field name="TEXT">&dateutc=now&winddir=</field></block></value> 
                                                                        <value name="ADD5"><block type="get_value" id="_:4@dKfy1.kKNK8pTkt|"><field name="ATTR">val</field>
                                                                            <field name="OID">javascript.0.WEATHERMAN.w_wind_dir</field></block></value> 
                                                                        <value name="ADD6"><block type="text" id="jmr1j,+KpmnwS?w_l+Ed"><field name="TEXT">&windspeedmph=</field></block></value> 
                                                                        <value name="ADD7"><block type="variables_get" id="9E;ZOzzC~ZqX=C:x/GjB"><field name="VAR">windspeed_mph</field></block></value> 
                                                                        <value name="ADD8"><block type="text" id="TIXVRGWq=6_mWoM+}cl,"><field name="TEXT">&baromin=</field></block></value> 
                                                                        <value name="ADD9"><block type="variables_get" id="Jy|66pdKM[;Ymn@O]cSc"><field name="VAR">baro_in</field></block></value> 
                                                                        <value name="ADD10"><block type="text" id="MW`,ew(c(~MSxb;kNx0V"><field name="TEXT">&rainin=</field></block></value> 
                                                                        <value name="ADD11"><block type="variables_get" id="/*W]fWFF=nd;?[h@:Y]:"><field name="VAR">rain_in</field></block></value> 
                                                                        <value name="ADD12"><block type="text" id="g2`9cWu%chRz{e~MJCVC"><field name="TEXT">&humidity=</field></block></value> 
                                                                        <value name="ADD13"><block type="get_value" id="c8]Z},O.#(X:^fh8BQDR"><field name="ATTR">val</field>
                                                                            <field name="OID">javascript.0.WEATHERMAN.w_humidity</field></block></value> 
                                                                        <value name="ADD14"><block type="text" id="SIL,)^KA){`f@q!dAA=="><field name="TEXT">&tempf=</field></block></value> 
                                                                        <value name="ADD15"><block type="variables_get" id="EY.SScRsM@YGFg^QlVM-"><field name="VAR">Aussentemp_F</field></block></value> 
                                                                        <value name="ADD16"><block type="text" id="q}qN.05:t3NMIpo,|Q?Y"><field name="TEXT">&dailyrainin=</field></block></value> 
                                                                        <value name="ADD17"><block type="variables_get" id="kIjIuh}xDg+=O7c?Ujk}"><field name="VAR">rain_daily</field></block></value> 
                                                                        <value name="ADD18"><block type="text" id="Oqe8I4ntC{bf(l@VDCIN"><field name="TEXT">&dewptf=</field></block></value> 
                                                                        <value name="ADD19"><block type="variables_get" id="DHDV?62iQQ_nxWXc];[Y"><field name="VAR">Taupunkt_F</field></block></value> 
                                                                        <value name="ADD20"><block type="text" id="PD_5#o=a+5Lv(NZ{+{_;"><field name="TEXT">&action=updateraw</field></block></value></block></value> 
                                                                    <next><block type="request" id="@DtdK@NaHfPFifwX2)9Z"><mutation with_statement="true"></mutation>
                                                                        <field name="WITH_STATEMENT">TRUE</field>
                        
                                                                        <value name="URL"><shadow type="text" id="M(AOk0tWYIWcpx2bEYJ."><field name="TEXT">text</field></shadow> 
                                                                          <block type="variables_get" id="vr9m*ZXavDVMWFaR_iN["><field name="VAR">url</field></block></value> 
                                                                        <statement name="STATEMENT"><block type="controls_if" id="=dHWKib4(|bqIz[deQxp"><mutation else="1"></mutation>
                                                                            <value name="IF0"><block type="logic_compare" id="3^Or==q!t};6PCe3yo3a"><field name="OP">GT</field>
                                                                                <value name="A"><block type="text_indexOf" id="M6}Pr%6[L-p@i:~0v:uR"><field name="END">FIRST</field>
                                                                                    <value name="VALUE"><block type="variables_get" id=";r~4V,}SMS,3}E((4rq:"><field name="VAR">result</field></block></value> 
                                                                                    <value name="FIND"><shadow type="text" id="B[@H~FSpM_!7B}%5XsAX"><field name="TEXT">false</field></shadow></value></block></value> 
                                                                                <value name="B"></value></block></value> 
                                                                            <statement name="DO0"><block type="telegram" id="^383WMpd;gqr;Wqg5TmX"><field name="INSTANCE">.0</field>
                        
                                                                                <value name="MESSAGE"><shadow type="text" id="DJA?*T2{EtJM?Vy#zZN."><field name="TEXT">Der Wunderground Upload ist fehlgeschlagen</field></shadow></value></block></statement> 
                                                                            <statement name="ELSE"><block type="update" id="Dhlt1isqfpkSs@W+g!TB"><mutation delay_input="false"></mutation>
                                                                                <field name="OID">javascript.0.WEATHERMAN.Last_Wunderground_upload</field>
                                                                                <field name="WITH_DELAY">FALSE</field>
                                                                                <value name="VALUE"><block type="time_get" id="G8N-|m^zK#|]1Jy2XHa9"><mutation format="true" language="false"></mutation>
                                                                                    <field name="OPTION">custom</field>
                                                                                    <field name="FORMAT">TT.MM, SS:mm:ss</field></block></value></block></statement></block></statement></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></next></block></statement></block></xml> 
                        

                        Hinweise und eventuelle Verbesserungsvorschläge sind immer willkommen.

                        D Offline
                        D Offline
                        D12A13
                        schrieb am zuletzt editiert von
                        #25

                        @Linedancer danke für die Vorlage.
                        Ich habe es mir einmal angepasst und wieder importierbar gemacht, falls Ihr auch ein Blockly script haben wollt.

                        WetterUpload.png

                        <xml xmlns="https://developers.google.com/blockly/xml">
                          <variables>
                            <variable id="y0*3*6I2Yi,CF`]M~h[2">ID</variable>
                            <variable id="M#rIoys:i17;BN8w{52D">PWD</variable>
                            <variable id="_g}m6=-Y!_;d_q6.nYj%">windspeed_mph</variable>
                            <variable id="t_Uq913Tw~AGFBze$7A[">rain_in</variable>
                            <variable id="Y0[w@0OIDX^XCUp|haUU">rain_daily</variable>
                            <variable id="?SVbcJ?1**tBw$l1~Xh`">baro_in</variable>
                            <variable id="!]N$0-~^=*se;mdt~|GV">Aussentemp_F</variable>
                            <variable id="ac2QCA3id7.c|WGkY8U-">Taupunkt_F</variable>
                            <variable id="L[-9VuA$TtC{}Aw7Z_4t">url</variable>
                            <variable id="qYP~o]}86Ah?{kkywtVa">result</variable>
                          </variables>
                          <block type="schedule" id="NVQ4`W#p(8mnMqzc.so@" x="338" y="12">
                            <field name="SCHEDULE">*/2 * * * *</field>
                            <statement name="STATEMENT">
                              <block type="create" id="Ryy@[}Z8I!]_}]:y!y#Z">
                                <field name="NAME">javascript.0.WEATHERMAN.Last_Wunderground_upload</field>
                                <next>
                                  <block type="variables_set" id="J6pfV3Pv:-PcV-U8o3e(">
                                    <field name="VAR" id="y0*3*6I2Yi,CF`]M~h[2">ID</field>
                                    <value name="VALUE">
                                      <block type="text" id="4o}!@aUA-7n3A_,+!Zf=">
                                        <field name="TEXT">ID</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="lNS})+2:]k7-.RJdgaeC">
                                        <field name="VAR" id="M#rIoys:i17;BN8w{52D">PWD</field>
                                        <value name="VALUE">
                                          <block type="text" id="*`IA18YFG:Rqdhs/%lt.">
                                            <field name="TEXT">PW</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="IuV!Ik{*|@RQ?@o@p54s">
                                            <field name="VAR" id="_g}m6=-Y!_;d_q6.nYj%">windspeed_mph</field>
                                            <value name="VALUE">
                                              <block type="math_rndfixed" id=")Nr+l:1Yegww1EF#^trH">
                                                <field name="n">2</field>
                                                <value name="x">
                                                  <shadow type="math_number" id="vN~A3f_oOWr=sNCfrH;w">
                                                    <field name="NUM">3.1234</field>
                                                  </shadow>
                                                  <block type="math_arithmetic" id="Hr]VNoyEq)zWSA3Ov.!B">
                                                    <field name="OP">DIVIDE</field>
                                                    <value name="A">
                                                      <shadow type="math_number" id="y8`^YX%BoO1CEijv?e;J">
                                                        <field name="NUM">1.60934</field>
                                                      </shadow>
                                                      <block type="get_value" id="PcDIA^0^.^0!CyEyQ%Ih">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">hm-rpc.0.OEQ1864642.1.WIND_SPEED</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <shadow type="math_number" id="Q-V3X%h4_JnJ%4vwTwe(">
                                                        <field name="NUM">1.60934</field>
                                                      </shadow>
                                                    </value>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="comment" id="[|mfN)utM;gIrF5{Q{r2">
                                                <field name="COMMENT">mph instantaneous wind speed</field>
                                                <next>
                                                  <block type="variables_set" id=")G^m+8#;HudLoG-nk7to" disabled="true">
                                                    <field name="VAR" id="t_Uq913Tw~AGFBze$7A[">rain_in</field>
                                                    <value name="VALUE">
                                                      <block type="math_rndfixed" id="Twaj.z}A5()!7aQJ,x;-">
                                                        <field name="n">2</field>
                                                        <value name="x">
                                                          <shadow type="math_number">
                                                            <field name="NUM">3.1234</field>
                                                          </shadow>
                                                          <block type="math_arithmetic" id="EJ:zeKou)@z-Z2-COK:-">
                                                            <field name="OP">DIVIDE</field>
                                                            <value name="A">
                                                              <shadow type="math_number">
                                                                <field name="NUM">3.937</field>
                                                              </shadow>
                                                              <block type="get_value" id="loyLQaYwd;tGF{H~%?S_">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">hm-rpc.0.OEQ1864642.1.RAINING</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <shadow type="math_number" id="P86!-zN:C~XagS8aI*Rh">
                                                                <field name="NUM">25.4</field>
                                                              </shadow>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="comment" id="b4+*^4yIKMi*J_4;%E.Q">
                                                        <field name="COMMENT">rain inches over the past hour</field>
                                                        <next>
                                                          <block type="variables_set" id="KavP@R0V/~7;G^;G/*lE">
                                                            <field name="VAR" id="Y0[w@0OIDX^XCUp|haUU">rain_daily</field>
                                                            <value name="VALUE">
                                                              <block type="math_rndfixed" id="(FWK!~Yi~,OS$aLgb+q$">
                                                                <field name="n">2</field>
                                                                <value name="x">
                                                                  <shadow type="math_number" id="KgBvBA!Ys-8Vr-zwC)Gu">
                                                                    <field name="NUM">3.1234</field>
                                                                  </shadow>
                                                                  <block type="math_arithmetic" id="xx2y4{FP^qg).tBzcw4i">
                                                                    <field name="OP">DIVIDE</field>
                                                                    <value name="A">
                                                                      <shadow type="math_number" id="q}Qu!!A_q*bMo2]/6npC">
                                                                        <field name="NUM">3.937</field>
                                                                      </shadow>
                                                                      <block type="get_value" id="{OwS|_!RcuS#gd9I7dYB">
                                                                        <field name="ATTR">val</field>
                                                                        <field name="OID">hm-rega.0.22943</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <shadow type="math_number" id="mZ)Ma|[J(lS$pA]lv,ZD">
                                                                        <field name="NUM">25.4</field>
                                                                      </shadow>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="comment" id="p9gJJn~3#ucjv)%.FfXj">
                                                                <field name="COMMENT">rain inches so far today in local time</field>
                                                                <next>
                                                                  <block type="variables_set" id="2o.mspN{c2VuYMvet|^e">
                                                                    <field name="VAR" id="?SVbcJ?1**tBw$l1~Xh`">baro_in</field>
                                                                    <value name="VALUE">
                                                                      <block type="math_rndfixed" id="j+z|al.?V$$Se*GaQ7Z*">
                                                                        <field name="n">4</field>
                                                                        <value name="x">
                                                                          <shadow type="math_number" id="EVsQxzS+I0ET:Yeyzo_!">
                                                                            <field name="NUM">3.1234</field>
                                                                          </shadow>
                                                                          <block type="math_arithmetic" id="IOs;[N;fdtiNHk2GC:3K">
                                                                            <field name="OP">DIVIDE</field>
                                                                            <value name="A">
                                                                              <shadow type="math_number" id="X-R?36spX2@GhM+Bhih[">
                                                                                <field name="NUM">0.0295301</field>
                                                                              </shadow>
                                                                              <block type="get_value" id="yuXUY_6Kz%x6D2742NaL">
                                                                                <field name="ATTR">val</field>
                                                                                <field name="OID">hm-rpc.0.NEQ0544128.10.AIR_PRESSURE</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <shadow type="math_number" id="m%SnK7;T58uvrpj1Kq/X">
                                                                                <field name="NUM">33.8639</field>
                                                                              </shadow>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="comment" id="?gZQ[RcS)+@Y[Ah|r|T=">
                                                                        <field name="COMMENT">barometric pressure inches</field>
                                                                        <next>
                                                                          <block type="variables_set" id="}ZNtE{YDT~uH^(9oC@uJ">
                                                                            <field name="VAR" id="!]N$0-~^=*se;mdt~|GV">Aussentemp_F</field>
                                                                            <value name="VALUE">
                                                                              <block type="math_rndfixed" id="@/~BOZH,*T=u;l?1:3Vq">
                                                                                <field name="n">2</field>
                                                                                <value name="x">
                                                                                  <shadow type="math_number" id="Fn`edZw$aNhYzWP(UbBY">
                                                                                    <field name="NUM">3.1234</field>
                                                                                  </shadow>
                                                                                  <block type="math_arithmetic" id="~)9T~(f~8P[fqQ+zVlzZ">
                                                                                    <field name="OP">ADD</field>
                                                                                    <value name="A">
                                                                                      <shadow type="math_number" id="%PDN|YJ@naL)yZi3QAvx">
                                                                                        <field name="NUM">1</field>
                                                                                      </shadow>
                                                                                      <block type="math_arithmetic" id="c,;et0f(JDhiPflCEvQ~">
                                                                                        <field name="OP">MULTIPLY</field>
                                                                                        <value name="A">
                                                                                          <shadow type="math_number" id="#wm=O,l0nAF9wv.iOX11">
                                                                                            <field name="NUM">1.8</field>
                                                                                          </shadow>
                                                                                          <block type="get_value" id="qOqzkEcqx~:Aulh^61Hv">
                                                                                            <field name="ATTR">val</field>
                                                                                            <field name="OID">hm-rpc.0.OEQ1864642.1.TEMPERATURE</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="B">
                                                                                          <shadow type="math_number" id="pYs?t#+euS,=;_ewnVvA">
                                                                                            <field name="NUM">1.8</field>
                                                                                          </shadow>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <shadow type="math_number" id="j*@d,/*5vtdrrXk|~.Eh">
                                                                                        <field name="NUM">32</field>
                                                                                      </shadow>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="comment" id="$wwhg|u6gN%RPi*}b?QL">
                                                                                <field name="COMMENT">F outdoor temperature</field>
                                                                                <next>
                                                                                  <block type="variables_set" id="Knc[}47D!:t{BiPPIyJ:">
                                                                                    <field name="VAR" id="ac2QCA3id7.c|WGkY8U-">Taupunkt_F</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="math_rndfixed" id="!5=YyjNY*^/{6H5Vq!*t">
                                                                                        <field name="n">2</field>
                                                                                        <value name="x">
                                                                                          <shadow type="math_number">
                                                                                            <field name="NUM">3.1234</field>
                                                                                          </shadow>
                                                                                          <block type="math_arithmetic" id="m@.@N{d2^z2,pWl!#Y/Z">
                                                                                            <field name="OP">ADD</field>
                                                                                            <value name="A">
                                                                                              <shadow type="math_number">
                                                                                                <field name="NUM">1</field>
                                                                                              </shadow>
                                                                                              <block type="math_arithmetic" id="T9Zak.4H!|p9Dz%/2Q*7">
                                                                                                <field name="OP">MULTIPLY</field>
                                                                                                <value name="A">
                                                                                                  <shadow type="math_number">
                                                                                                    <field name="NUM">1.8</field>
                                                                                                  </shadow>
                                                                                                  <block type="get_value" id="5RZwE.v6`GbvVn~}pscq">
                                                                                                    <field name="ATTR">val</field>
                                                                                                    <field name="OID">hm-rega.0.39443</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="B">
                                                                                                  <shadow type="math_number" id="5qN=4(xR43jIk`U_eaIz">
                                                                                                    <field name="NUM">1.8</field>
                                                                                                  </shadow>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <shadow type="math_number" id="2l~{%NSZ-_q6yG.n/PMH">
                                                                                                <field name="NUM">32</field>
                                                                                              </shadow>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <next>
                                                                                      <block type="comment" id="/_WCHMB2m5G]4-OEzOFc">
                                                                                        <field name="COMMENT">F outdoor dewpoint F</field>
                                                                                        <next>
                                                                                          <block type="variables_set" id="(..4D@D}1bg(~)~wtU]Y">
                                                                                            <field name="VAR" id="L[-9VuA$TtC{}Aw7Z_4t">url</field>
                                                                                            <value name="VALUE">
                                                                                              <block type="text_join" id="(`%c8pO+2VPBopp8V2uE">
                                                                                                <mutation items="21"></mutation>
                                                                                                <value name="ADD0">
                                                                                                  <block type="text" id="Q!k*6kwCyW4I4Cz|wd@P">
                                                                                                    <field name="TEXT">https://weatherstation.wunderground.com/weatherstation/updateweatherstation.php?ID=</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD1">
                                                                                                  <block type="variables_get" id="xj,x#Q6z02@Ne;(-k1!A">
                                                                                                    <field name="VAR" id="y0*3*6I2Yi,CF`]M~h[2">ID</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD2">
                                                                                                  <block type="text" id=".T_p}5;J!Dc{8-CNah?H">
                                                                                                    <field name="TEXT">&amp;PASSWORD=</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD3">
                                                                                                  <block type="variables_get" id="fx56Av]MfZot/a{Dmc|{">
                                                                                                    <field name="VAR" id="M#rIoys:i17;BN8w{52D">PWD</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD4">
                                                                                                  <block type="text" id="?bO.l@nfrfe/i5II,y7O">
                                                                                                    <field name="TEXT">&amp;dateutc=now&amp;winddir=</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD5">
                                                                                                  <block type="get_value" id="_:4@dKfy1.kKNK8pTkt|">
                                                                                                    <field name="ATTR">val</field>
                                                                                                    <field name="OID">hm-rpc.0.OEQ1864642.1.WIND_DIRECTION</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD6">
                                                                                                  <block type="text" id="RhOt)(e[UY[^%b7r.[.{">
                                                                                                    <field name="TEXT">&amp;windspeedmph=</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD7">
                                                                                                  <block type="variables_get" id="9E;ZOzzC~ZqX=C:x/GjB">
                                                                                                    <field name="VAR" id="_g}m6=-Y!_;d_q6.nYj%">windspeed_mph</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD8">
                                                                                                  <block type="text" id="XCSzJxAajajF*^G=U3QM">
                                                                                                    <field name="TEXT">&amp;baromin=</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD9">
                                                                                                  <block type="variables_get" id="Jy|66pdKM[;Ymn@O]cSc">
                                                                                                    <field name="VAR" id="?SVbcJ?1**tBw$l1~Xh`">baro_in</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD10">
                                                                                                  <block type="text" id="av~BQ)iAy6I1n{#25:+N" disabled="true">
                                                                                                    <field name="TEXT">&amp;rainin=</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD11">
                                                                                                  <block type="variables_get" id="/*W]fWFF=nd;?[h@:Y]:" disabled="true">
                                                                                                    <field name="VAR" id="t_Uq913Tw~AGFBze$7A[">rain_in</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD12">
                                                                                                  <block type="text" id="hQzg`g3NFN@z%M290qg5">
                                                                                                    <field name="TEXT">&amp;humidity=</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD13">
                                                                                                  <block type="get_value" id="c8]Z},O.#(X:^fh8BQDR">
                                                                                                    <field name="ATTR">val</field>
                                                                                                    <field name="OID">hm-rpc.0.OEQ1864642.1.HUMIDITY</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD14">
                                                                                                  <block type="text" id="(b%5Hm@:BUeV)lr3NKjd">
                                                                                                    <field name="TEXT">&amp;tempf=</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD15">
                                                                                                  <block type="variables_get" id="EY.SScRsM@YGFg^QlVM-">
                                                                                                    <field name="VAR" id="!]N$0-~^=*se;mdt~|GV">Aussentemp_F</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD16">
                                                                                                  <block type="text" id="uY~}7_2RK10$YisP5]Bt">
                                                                                                    <field name="TEXT">&amp;dailyrainin=</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD17">
                                                                                                  <block type="variables_get" id="kIjIuh}xDg+=O7c?Ujk}">
                                                                                                    <field name="VAR" id="Y0[w@0OIDX^XCUp|haUU">rain_daily</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD18">
                                                                                                  <block type="text" id="RP}t]iGo4~kAFBDlLtMn">
                                                                                                    <field name="TEXT">&amp;dewptf=</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD19">
                                                                                                  <block type="variables_get" id="DHDV?62iQQ_nxWXc];[Y">
                                                                                                    <field name="VAR" id="ac2QCA3id7.c|WGkY8U-">Taupunkt_F</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <value name="ADD20">
                                                                                                  <block type="text" id="{}f?h+FLZDi[/K#P`3C]">
                                                                                                    <field name="TEXT">&amp;action=updateraw</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <next>
                                                                                              <block type="request" id="@DtdK@NaHfPFifwX2)9Z">
                                                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation>
                                                                                                <field name="WITH_STATEMENT">TRUE</field>
                                                                                                <field name="LOG"></field>
                                                                                                <value name="URL">
                                                                                                  <shadow type="text" id="M(AOk0tWYIWcpx2bEYJ.">
                                                                                                    <field name="TEXT">text</field>
                                                                                                  </shadow>
                                                                                                  <block type="variables_get" id="vr9m*ZXavDVMWFaR_iN[">
                                                                                                    <field name="VAR" id="L[-9VuA$TtC{}Aw7Z_4t">url</field>
                                                                                                  </block>
                                                                                                </value>
                                                                                                <statement name="STATEMENT">
                                                                                                  <block type="controls_if" id="=dHWKib4(|bqIz[deQxp">
                                                                                                    <mutation else="1"></mutation>
                                                                                                    <value name="IF0">
                                                                                                      <block type="logic_compare" id="3^Or==q!t};6PCe3yo3a">
                                                                                                        <field name="OP">GT</field>
                                                                                                        <value name="A">
                                                                                                          <block type="text_indexOf" id="M6}Pr%6[L-p@i:~0v:uR">
                                                                                                            <field name="END">FIRST</field>
                                                                                                            <value name="VALUE">
                                                                                                              <block type="variables_get" id=";r~4V,}SMS,3}E((4rq:">
                                                                                                                <field name="VAR" id="qYP~o]}86Ah?{kkywtVa">result</field>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                            <value name="FIND">
                                                                                                              <shadow type="text" id="B[@H~FSpM_!7B}%5XsAX">
                                                                                                                <field name="TEXT">false</field>
                                                                                                              </shadow>
                                                                                                            </value>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <statement name="DO0">
                                                                                                      <block type="telegram" id="^383WMpd;gqr;Wqg5TmX">
                                                                                                        <field name="INSTANCE">.0</field>
                                                                                                        <field name="LOG"></field>
                                                                                                        <field name="SILENT">FALSE</field>
                                                                                                        <field name="PARSEMODE">default</field>
                                                                                                        <value name="MESSAGE">
                                                                                                          <shadow type="text" id="DJA?*T2{EtJM?Vy#zZN.">
                                                                                                            <field name="TEXT">Der Wunderground Upload ist fehlgeschlagen</field>
                                                                                                          </shadow>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </statement>
                                                                                                    <statement name="ELSE">
                                                                                                      <block type="update" id="Dhlt1isqfpkSs@W+g!TB">
                                                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                        <field name="OID">javascript.0.WEATHERMAN.Last_Wunderground_upload</field>
                                                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                                                        <value name="VALUE">
                                                                                                          <block type="time_get" id="G8N-|m^zK#|]1Jy2XHa9">
                                                                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
                                                                                                            <field name="OPTION">custom</field>
                                                                                                            <field name="FORMAT">TT.MM, SS:mm:ss</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </statement>
                                                                                                  </block>
                                                                                                </statement>
                                                                                              </block>
                                                                                            </next>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </statement>
                          </block>
                        </xml>
                        
                        C 1 Antwort Letzte Antwort
                        1
                        • D D12A13

                          @Linedancer danke für die Vorlage.
                          Ich habe es mir einmal angepasst und wieder importierbar gemacht, falls Ihr auch ein Blockly script haben wollt.

                          WetterUpload.png

                          <xml xmlns="https://developers.google.com/blockly/xml">
                            <variables>
                              <variable id="y0*3*6I2Yi,CF`]M~h[2">ID</variable>
                              <variable id="M#rIoys:i17;BN8w{52D">PWD</variable>
                              <variable id="_g}m6=-Y!_;d_q6.nYj%">windspeed_mph</variable>
                              <variable id="t_Uq913Tw~AGFBze$7A[">rain_in</variable>
                              <variable id="Y0[w@0OIDX^XCUp|haUU">rain_daily</variable>
                              <variable id="?SVbcJ?1**tBw$l1~Xh`">baro_in</variable>
                              <variable id="!]N$0-~^=*se;mdt~|GV">Aussentemp_F</variable>
                              <variable id="ac2QCA3id7.c|WGkY8U-">Taupunkt_F</variable>
                              <variable id="L[-9VuA$TtC{}Aw7Z_4t">url</variable>
                              <variable id="qYP~o]}86Ah?{kkywtVa">result</variable>
                            </variables>
                            <block type="schedule" id="NVQ4`W#p(8mnMqzc.so@" x="338" y="12">
                              <field name="SCHEDULE">*/2 * * * *</field>
                              <statement name="STATEMENT">
                                <block type="create" id="Ryy@[}Z8I!]_}]:y!y#Z">
                                  <field name="NAME">javascript.0.WEATHERMAN.Last_Wunderground_upload</field>
                                  <next>
                                    <block type="variables_set" id="J6pfV3Pv:-PcV-U8o3e(">
                                      <field name="VAR" id="y0*3*6I2Yi,CF`]M~h[2">ID</field>
                                      <value name="VALUE">
                                        <block type="text" id="4o}!@aUA-7n3A_,+!Zf=">
                                          <field name="TEXT">ID</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="variables_set" id="lNS})+2:]k7-.RJdgaeC">
                                          <field name="VAR" id="M#rIoys:i17;BN8w{52D">PWD</field>
                                          <value name="VALUE">
                                            <block type="text" id="*`IA18YFG:Rqdhs/%lt.">
                                              <field name="TEXT">PW</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="variables_set" id="IuV!Ik{*|@RQ?@o@p54s">
                                              <field name="VAR" id="_g}m6=-Y!_;d_q6.nYj%">windspeed_mph</field>
                                              <value name="VALUE">
                                                <block type="math_rndfixed" id=")Nr+l:1Yegww1EF#^trH">
                                                  <field name="n">2</field>
                                                  <value name="x">
                                                    <shadow type="math_number" id="vN~A3f_oOWr=sNCfrH;w">
                                                      <field name="NUM">3.1234</field>
                                                    </shadow>
                                                    <block type="math_arithmetic" id="Hr]VNoyEq)zWSA3Ov.!B">
                                                      <field name="OP">DIVIDE</field>
                                                      <value name="A">
                                                        <shadow type="math_number" id="y8`^YX%BoO1CEijv?e;J">
                                                          <field name="NUM">1.60934</field>
                                                        </shadow>
                                                        <block type="get_value" id="PcDIA^0^.^0!CyEyQ%Ih">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">hm-rpc.0.OEQ1864642.1.WIND_SPEED</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <shadow type="math_number" id="Q-V3X%h4_JnJ%4vwTwe(">
                                                          <field name="NUM">1.60934</field>
                                                        </shadow>
                                                      </value>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="comment" id="[|mfN)utM;gIrF5{Q{r2">
                                                  <field name="COMMENT">mph instantaneous wind speed</field>
                                                  <next>
                                                    <block type="variables_set" id=")G^m+8#;HudLoG-nk7to" disabled="true">
                                                      <field name="VAR" id="t_Uq913Tw~AGFBze$7A[">rain_in</field>
                                                      <value name="VALUE">
                                                        <block type="math_rndfixed" id="Twaj.z}A5()!7aQJ,x;-">
                                                          <field name="n">2</field>
                                                          <value name="x">
                                                            <shadow type="math_number">
                                                              <field name="NUM">3.1234</field>
                                                            </shadow>
                                                            <block type="math_arithmetic" id="EJ:zeKou)@z-Z2-COK:-">
                                                              <field name="OP">DIVIDE</field>
                                                              <value name="A">
                                                                <shadow type="math_number">
                                                                  <field name="NUM">3.937</field>
                                                                </shadow>
                                                                <block type="get_value" id="loyLQaYwd;tGF{H~%?S_">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">hm-rpc.0.OEQ1864642.1.RAINING</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <shadow type="math_number" id="P86!-zN:C~XagS8aI*Rh">
                                                                  <field name="NUM">25.4</field>
                                                                </shadow>
                                                              </value>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="comment" id="b4+*^4yIKMi*J_4;%E.Q">
                                                          <field name="COMMENT">rain inches over the past hour</field>
                                                          <next>
                                                            <block type="variables_set" id="KavP@R0V/~7;G^;G/*lE">
                                                              <field name="VAR" id="Y0[w@0OIDX^XCUp|haUU">rain_daily</field>
                                                              <value name="VALUE">
                                                                <block type="math_rndfixed" id="(FWK!~Yi~,OS$aLgb+q$">
                                                                  <field name="n">2</field>
                                                                  <value name="x">
                                                                    <shadow type="math_number" id="KgBvBA!Ys-8Vr-zwC)Gu">
                                                                      <field name="NUM">3.1234</field>
                                                                    </shadow>
                                                                    <block type="math_arithmetic" id="xx2y4{FP^qg).tBzcw4i">
                                                                      <field name="OP">DIVIDE</field>
                                                                      <value name="A">
                                                                        <shadow type="math_number" id="q}Qu!!A_q*bMo2]/6npC">
                                                                          <field name="NUM">3.937</field>
                                                                        </shadow>
                                                                        <block type="get_value" id="{OwS|_!RcuS#gd9I7dYB">
                                                                          <field name="ATTR">val</field>
                                                                          <field name="OID">hm-rega.0.22943</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <shadow type="math_number" id="mZ)Ma|[J(lS$pA]lv,ZD">
                                                                          <field name="NUM">25.4</field>
                                                                        </shadow>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="comment" id="p9gJJn~3#ucjv)%.FfXj">
                                                                  <field name="COMMENT">rain inches so far today in local time</field>
                                                                  <next>
                                                                    <block type="variables_set" id="2o.mspN{c2VuYMvet|^e">
                                                                      <field name="VAR" id="?SVbcJ?1**tBw$l1~Xh`">baro_in</field>
                                                                      <value name="VALUE">
                                                                        <block type="math_rndfixed" id="j+z|al.?V$$Se*GaQ7Z*">
                                                                          <field name="n">4</field>
                                                                          <value name="x">
                                                                            <shadow type="math_number" id="EVsQxzS+I0ET:Yeyzo_!">
                                                                              <field name="NUM">3.1234</field>
                                                                            </shadow>
                                                                            <block type="math_arithmetic" id="IOs;[N;fdtiNHk2GC:3K">
                                                                              <field name="OP">DIVIDE</field>
                                                                              <value name="A">
                                                                                <shadow type="math_number" id="X-R?36spX2@GhM+Bhih[">
                                                                                  <field name="NUM">0.0295301</field>
                                                                                </shadow>
                                                                                <block type="get_value" id="yuXUY_6Kz%x6D2742NaL">
                                                                                  <field name="ATTR">val</field>
                                                                                  <field name="OID">hm-rpc.0.NEQ0544128.10.AIR_PRESSURE</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <shadow type="math_number" id="m%SnK7;T58uvrpj1Kq/X">
                                                                                  <field name="NUM">33.8639</field>
                                                                                </shadow>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="comment" id="?gZQ[RcS)+@Y[Ah|r|T=">
                                                                          <field name="COMMENT">barometric pressure inches</field>
                                                                          <next>
                                                                            <block type="variables_set" id="}ZNtE{YDT~uH^(9oC@uJ">
                                                                              <field name="VAR" id="!]N$0-~^=*se;mdt~|GV">Aussentemp_F</field>
                                                                              <value name="VALUE">
                                                                                <block type="math_rndfixed" id="@/~BOZH,*T=u;l?1:3Vq">
                                                                                  <field name="n">2</field>
                                                                                  <value name="x">
                                                                                    <shadow type="math_number" id="Fn`edZw$aNhYzWP(UbBY">
                                                                                      <field name="NUM">3.1234</field>
                                                                                    </shadow>
                                                                                    <block type="math_arithmetic" id="~)9T~(f~8P[fqQ+zVlzZ">
                                                                                      <field name="OP">ADD</field>
                                                                                      <value name="A">
                                                                                        <shadow type="math_number" id="%PDN|YJ@naL)yZi3QAvx">
                                                                                          <field name="NUM">1</field>
                                                                                        </shadow>
                                                                                        <block type="math_arithmetic" id="c,;et0f(JDhiPflCEvQ~">
                                                                                          <field name="OP">MULTIPLY</field>
                                                                                          <value name="A">
                                                                                            <shadow type="math_number" id="#wm=O,l0nAF9wv.iOX11">
                                                                                              <field name="NUM">1.8</field>
                                                                                            </shadow>
                                                                                            <block type="get_value" id="qOqzkEcqx~:Aulh^61Hv">
                                                                                              <field name="ATTR">val</field>
                                                                                              <field name="OID">hm-rpc.0.OEQ1864642.1.TEMPERATURE</field>
                                                                                            </block>
                                                                                          </value>
                                                                                          <value name="B">
                                                                                            <shadow type="math_number" id="pYs?t#+euS,=;_ewnVvA">
                                                                                              <field name="NUM">1.8</field>
                                                                                            </shadow>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <shadow type="math_number" id="j*@d,/*5vtdrrXk|~.Eh">
                                                                                          <field name="NUM">32</field>
                                                                                        </shadow>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="comment" id="$wwhg|u6gN%RPi*}b?QL">
                                                                                  <field name="COMMENT">F outdoor temperature</field>
                                                                                  <next>
                                                                                    <block type="variables_set" id="Knc[}47D!:t{BiPPIyJ:">
                                                                                      <field name="VAR" id="ac2QCA3id7.c|WGkY8U-">Taupunkt_F</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="math_rndfixed" id="!5=YyjNY*^/{6H5Vq!*t">
                                                                                          <field name="n">2</field>
                                                                                          <value name="x">
                                                                                            <shadow type="math_number">
                                                                                              <field name="NUM">3.1234</field>
                                                                                            </shadow>
                                                                                            <block type="math_arithmetic" id="m@.@N{d2^z2,pWl!#Y/Z">
                                                                                              <field name="OP">ADD</field>
                                                                                              <value name="A">
                                                                                                <shadow type="math_number">
                                                                                                  <field name="NUM">1</field>
                                                                                                </shadow>
                                                                                                <block type="math_arithmetic" id="T9Zak.4H!|p9Dz%/2Q*7">
                                                                                                  <field name="OP">MULTIPLY</field>
                                                                                                  <value name="A">
                                                                                                    <shadow type="math_number">
                                                                                                      <field name="NUM">1.8</field>
                                                                                                    </shadow>
                                                                                                    <block type="get_value" id="5RZwE.v6`GbvVn~}pscq">
                                                                                                      <field name="ATTR">val</field>
                                                                                                      <field name="OID">hm-rega.0.39443</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="B">
                                                                                                    <shadow type="math_number" id="5qN=4(xR43jIk`U_eaIz">
                                                                                                      <field name="NUM">1.8</field>
                                                                                                    </shadow>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <shadow type="math_number" id="2l~{%NSZ-_q6yG.n/PMH">
                                                                                                  <field name="NUM">32</field>
                                                                                                </shadow>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="comment" id="/_WCHMB2m5G]4-OEzOFc">
                                                                                          <field name="COMMENT">F outdoor dewpoint F</field>
                                                                                          <next>
                                                                                            <block type="variables_set" id="(..4D@D}1bg(~)~wtU]Y">
                                                                                              <field name="VAR" id="L[-9VuA$TtC{}Aw7Z_4t">url</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="text_join" id="(`%c8pO+2VPBopp8V2uE">
                                                                                                  <mutation items="21"></mutation>
                                                                                                  <value name="ADD0">
                                                                                                    <block type="text" id="Q!k*6kwCyW4I4Cz|wd@P">
                                                                                                      <field name="TEXT">https://weatherstation.wunderground.com/weatherstation/updateweatherstation.php?ID=</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD1">
                                                                                                    <block type="variables_get" id="xj,x#Q6z02@Ne;(-k1!A">
                                                                                                      <field name="VAR" id="y0*3*6I2Yi,CF`]M~h[2">ID</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD2">
                                                                                                    <block type="text" id=".T_p}5;J!Dc{8-CNah?H">
                                                                                                      <field name="TEXT">&amp;PASSWORD=</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD3">
                                                                                                    <block type="variables_get" id="fx56Av]MfZot/a{Dmc|{">
                                                                                                      <field name="VAR" id="M#rIoys:i17;BN8w{52D">PWD</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD4">
                                                                                                    <block type="text" id="?bO.l@nfrfe/i5II,y7O">
                                                                                                      <field name="TEXT">&amp;dateutc=now&amp;winddir=</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD5">
                                                                                                    <block type="get_value" id="_:4@dKfy1.kKNK8pTkt|">
                                                                                                      <field name="ATTR">val</field>
                                                                                                      <field name="OID">hm-rpc.0.OEQ1864642.1.WIND_DIRECTION</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD6">
                                                                                                    <block type="text" id="RhOt)(e[UY[^%b7r.[.{">
                                                                                                      <field name="TEXT">&amp;windspeedmph=</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD7">
                                                                                                    <block type="variables_get" id="9E;ZOzzC~ZqX=C:x/GjB">
                                                                                                      <field name="VAR" id="_g}m6=-Y!_;d_q6.nYj%">windspeed_mph</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD8">
                                                                                                    <block type="text" id="XCSzJxAajajF*^G=U3QM">
                                                                                                      <field name="TEXT">&amp;baromin=</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD9">
                                                                                                    <block type="variables_get" id="Jy|66pdKM[;Ymn@O]cSc">
                                                                                                      <field name="VAR" id="?SVbcJ?1**tBw$l1~Xh`">baro_in</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD10">
                                                                                                    <block type="text" id="av~BQ)iAy6I1n{#25:+N" disabled="true">
                                                                                                      <field name="TEXT">&amp;rainin=</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD11">
                                                                                                    <block type="variables_get" id="/*W]fWFF=nd;?[h@:Y]:" disabled="true">
                                                                                                      <field name="VAR" id="t_Uq913Tw~AGFBze$7A[">rain_in</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD12">
                                                                                                    <block type="text" id="hQzg`g3NFN@z%M290qg5">
                                                                                                      <field name="TEXT">&amp;humidity=</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD13">
                                                                                                    <block type="get_value" id="c8]Z},O.#(X:^fh8BQDR">
                                                                                                      <field name="ATTR">val</field>
                                                                                                      <field name="OID">hm-rpc.0.OEQ1864642.1.HUMIDITY</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD14">
                                                                                                    <block type="text" id="(b%5Hm@:BUeV)lr3NKjd">
                                                                                                      <field name="TEXT">&amp;tempf=</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD15">
                                                                                                    <block type="variables_get" id="EY.SScRsM@YGFg^QlVM-">
                                                                                                      <field name="VAR" id="!]N$0-~^=*se;mdt~|GV">Aussentemp_F</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD16">
                                                                                                    <block type="text" id="uY~}7_2RK10$YisP5]Bt">
                                                                                                      <field name="TEXT">&amp;dailyrainin=</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD17">
                                                                                                    <block type="variables_get" id="kIjIuh}xDg+=O7c?Ujk}">
                                                                                                      <field name="VAR" id="Y0[w@0OIDX^XCUp|haUU">rain_daily</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD18">
                                                                                                    <block type="text" id="RP}t]iGo4~kAFBDlLtMn">
                                                                                                      <field name="TEXT">&amp;dewptf=</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD19">
                                                                                                    <block type="variables_get" id="DHDV?62iQQ_nxWXc];[Y">
                                                                                                      <field name="VAR" id="ac2QCA3id7.c|WGkY8U-">Taupunkt_F</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <value name="ADD20">
                                                                                                    <block type="text" id="{}f?h+FLZDi[/K#P`3C]">
                                                                                                      <field name="TEXT">&amp;action=updateraw</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <next>
                                                                                                <block type="request" id="@DtdK@NaHfPFifwX2)9Z">
                                                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" with_statement="true"></mutation>
                                                                                                  <field name="WITH_STATEMENT">TRUE</field>
                                                                                                  <field name="LOG"></field>
                                                                                                  <value name="URL">
                                                                                                    <shadow type="text" id="M(AOk0tWYIWcpx2bEYJ.">
                                                                                                      <field name="TEXT">text</field>
                                                                                                    </shadow>
                                                                                                    <block type="variables_get" id="vr9m*ZXavDVMWFaR_iN[">
                                                                                                      <field name="VAR" id="L[-9VuA$TtC{}Aw7Z_4t">url</field>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                  <statement name="STATEMENT">
                                                                                                    <block type="controls_if" id="=dHWKib4(|bqIz[deQxp">
                                                                                                      <mutation else="1"></mutation>
                                                                                                      <value name="IF0">
                                                                                                        <block type="logic_compare" id="3^Or==q!t};6PCe3yo3a">
                                                                                                          <field name="OP">GT</field>
                                                                                                          <value name="A">
                                                                                                            <block type="text_indexOf" id="M6}Pr%6[L-p@i:~0v:uR">
                                                                                                              <field name="END">FIRST</field>
                                                                                                              <value name="VALUE">
                                                                                                                <block type="variables_get" id=";r~4V,}SMS,3}E((4rq:">
                                                                                                                  <field name="VAR" id="qYP~o]}86Ah?{kkywtVa">result</field>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                              <value name="FIND">
                                                                                                                <shadow type="text" id="B[@H~FSpM_!7B}%5XsAX">
                                                                                                                  <field name="TEXT">false</field>
                                                                                                                </shadow>
                                                                                                              </value>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <statement name="DO0">
                                                                                                        <block type="telegram" id="^383WMpd;gqr;Wqg5TmX">
                                                                                                          <field name="INSTANCE">.0</field>
                                                                                                          <field name="LOG"></field>
                                                                                                          <field name="SILENT">FALSE</field>
                                                                                                          <field name="PARSEMODE">default</field>
                                                                                                          <value name="MESSAGE">
                                                                                                            <shadow type="text" id="DJA?*T2{EtJM?Vy#zZN.">
                                                                                                              <field name="TEXT">Der Wunderground Upload ist fehlgeschlagen</field>
                                                                                                            </shadow>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </statement>
                                                                                                      <statement name="ELSE">
                                                                                                        <block type="update" id="Dhlt1isqfpkSs@W+g!TB">
                                                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                                                          <field name="OID">javascript.0.WEATHERMAN.Last_Wunderground_upload</field>
                                                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                                                          <value name="VALUE">
                                                                                                            <block type="time_get" id="G8N-|m^zK#|]1Jy2XHa9">
                                                                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
                                                                                                              <field name="OPTION">custom</field>
                                                                                                              <field name="FORMAT">TT.MM, SS:mm:ss</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </statement>
                                                                                                    </block>
                                                                                                  </statement>
                                                                                                </block>
                                                                                              </next>
                                                                                            </block>
                                                                                          </next>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </statement>
                            </block>
                          </xml>
                          
                          C Offline
                          C Offline
                          c1olli
                          schrieb am zuletzt editiert von
                          #26

                          Hallo,

                          mir zeigt Javascript den Block "Request" als veraltet an.
                          Hat jemand das evtl. schon umgebaut?

                          Gruß
                          Olli

                          crunchipC 1 Antwort Letzte Antwort
                          0
                          • C c1olli

                            Hallo,

                            mir zeigt Javascript den Block "Request" als veraltet an.
                            Hat jemand das evtl. schon umgebaut?

                            crunchipC Abwesend
                            crunchipC Abwesend
                            crunchip
                            Forum Testing Most Active
                            schrieb am zuletzt editiert von
                            #27

                            @c1olli so wie hier ändern
                            https://forum.iobroker.net/post/1162752

                            umgestiegen von Proxmox auf Unraid

                            C 1 Antwort Letzte Antwort
                            0
                            • crunchipC crunchip

                              @c1olli so wie hier ändern
                              https://forum.iobroker.net/post/1162752

                              C Offline
                              C Offline
                              c1olli
                              schrieb am zuletzt editiert von
                              #28

                              @crunchip
                              Das hatte ich schon vorher ausprobiert, aber leider kamen danach Fehlermeldungen.
                              Liegt auch daran, dass ich die Logik dahinter nicht verstehe.

                              Gruß
                              Olli

                              C 1 Antwort Letzte Antwort
                              0
                              • C c1olli

                                @crunchip
                                Das hatte ich schon vorher ausprobiert, aber leider kamen danach Fehlermeldungen.
                                Liegt auch daran, dass ich die Logik dahinter nicht verstehe.

                                C Offline
                                C Offline
                                c1olli
                                schrieb am zuletzt editiert von
                                #29

                                Das sind die Fehlermeldungen

                                
                                javascript.0
                                2024-05-26 14:38:00.369	error	at processTicksAndRejections (node:internal/process/task_queues:95:5)
                                
                                javascript.0
                                2024-05-26 14:38:00.369	error	at /opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1190:38
                                
                                javascript.0
                                2024-05-26 14:38:00.369	error	at Object.<anonymous> (script.js.common.Wetter_Homeatic:27:16)
                                
                                javascript.0
                                2024-05-26 14:38:00.369	error	script.js.common.Wetter_Homeatic: TypeError: Cannot read properties of undefined (reading 'indexOf')
                                
                                javascript.0
                                2024-05-26 14:36:00.359	error	at processTicksAndRejections (node:internal/process/task_queues:95:5)
                                
                                javascript.0
                                2024-05-26 14:36:00.359	error	at /opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1190:38
                                
                                javascript.0
                                2024-05-26 14:36:00.359	error	at Object.<anonymous> (script.js.common.Wetter_Homeatic:27:16)
                                
                                javascript.0
                                2024-05-26 14:36:00.359	error	script.js.common.Wetter_Homeatic: TypeError: Cannot read properties of undefined (reading 'indexOf')
                                
                                javascript.0
                                2024-05-26 14:34:00.389	error	at processTicksAndRejections (node:internal/process/task_queues:95:5)
                                
                                javascript.0
                                2024-05-26 14:34:00.389	error	at /opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1190:38
                                
                                javascript.0
                                2024-05-26 14:34:00.389	error	at Object.<anonymous> (script.js.common.Wetter_Homeatic:27:16)
                                
                                javascript.0
                                2024-05-26 14:34:00.388	error	script.js.common.Wetter_Homeatic: TypeError: Cannot read properties of undefined (reading 'indexOf')
                                
                                

                                Gruß
                                Olli

                                crunchipC 1 Antwort Letzte Antwort
                                0
                                • C c1olli

                                  Das sind die Fehlermeldungen

                                  
                                  javascript.0
                                  2024-05-26 14:38:00.369	error	at processTicksAndRejections (node:internal/process/task_queues:95:5)
                                  
                                  javascript.0
                                  2024-05-26 14:38:00.369	error	at /opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1190:38
                                  
                                  javascript.0
                                  2024-05-26 14:38:00.369	error	at Object.<anonymous> (script.js.common.Wetter_Homeatic:27:16)
                                  
                                  javascript.0
                                  2024-05-26 14:38:00.369	error	script.js.common.Wetter_Homeatic: TypeError: Cannot read properties of undefined (reading 'indexOf')
                                  
                                  javascript.0
                                  2024-05-26 14:36:00.359	error	at processTicksAndRejections (node:internal/process/task_queues:95:5)
                                  
                                  javascript.0
                                  2024-05-26 14:36:00.359	error	at /opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1190:38
                                  
                                  javascript.0
                                  2024-05-26 14:36:00.359	error	at Object.<anonymous> (script.js.common.Wetter_Homeatic:27:16)
                                  
                                  javascript.0
                                  2024-05-26 14:36:00.359	error	script.js.common.Wetter_Homeatic: TypeError: Cannot read properties of undefined (reading 'indexOf')
                                  
                                  javascript.0
                                  2024-05-26 14:34:00.389	error	at processTicksAndRejections (node:internal/process/task_queues:95:5)
                                  
                                  javascript.0
                                  2024-05-26 14:34:00.389	error	at /opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1190:38
                                  
                                  javascript.0
                                  2024-05-26 14:34:00.389	error	at Object.<anonymous> (script.js.common.Wetter_Homeatic:27:16)
                                  
                                  javascript.0
                                  2024-05-26 14:34:00.388	error	script.js.common.Wetter_Homeatic: TypeError: Cannot read properties of undefined (reading 'indexOf')
                                  
                                  
                                  crunchipC Abwesend
                                  crunchipC Abwesend
                                  crunchip
                                  Forum Testing Most Active
                                  schrieb am zuletzt editiert von
                                  #30

                                  @c1olli zeig doch mal das Blockly

                                  umgestiegen von Proxmox auf Unraid

                                  C 1 Antwort Letzte Antwort
                                  0
                                  • crunchipC crunchip

                                    @c1olli zeig doch mal das Blockly

                                    C Offline
                                    C Offline
                                    c1olli
                                    schrieb am zuletzt editiert von
                                    #31

                                    @crunchip
                                    Es war das obere Script, aber nun funktioniert nichts mehr und das erste Script lässt sich auch nicht mehr importieren.
                                    Es geht nur darum die die Wetterdaten von meiner Homeatic Wetterstation zu Wonderground hochzuladen.

                                    Gruß
                                    Olli

                                    crunchipC 1 Antwort Letzte Antwort
                                    0
                                    • C c1olli

                                      @crunchip
                                      Es war das obere Script, aber nun funktioniert nichts mehr und das erste Script lässt sich auch nicht mehr importieren.
                                      Es geht nur darum die die Wetterdaten von meiner Homeatic Wetterstation zu Wonderground hochzuladen.

                                      crunchipC Abwesend
                                      crunchipC Abwesend
                                      crunchip
                                      Forum Testing Most Active
                                      schrieb am zuletzt editiert von crunchip
                                      #32

                                      @c1olli sagte in [Vorlage Blockly] Wunderground Upload:

                                      Es war das obere Script

                                      mir schon klar, dein geändertes sollst du zeigen

                                      umgestiegen von Proxmox auf Unraid

                                      C 1 Antwort Letzte Antwort
                                      0
                                      • crunchipC crunchip

                                        @c1olli sagte in [Vorlage Blockly] Wunderground Upload:

                                        Es war das obere Script

                                        mir schon klar, dein geändertes sollst du zeigen

                                        C Offline
                                        C Offline
                                        c1olli
                                        schrieb am zuletzt editiert von
                                        #33

                                        @crunchip
                                        Ich weiss nicht was ich gemacht habe, aber es läuft wieder, aber Fehlermeldungen kommen immer noch.
                                        Hier das Script: (blockly export)

                                        <xml xmlns="https://developers.google.com/blockly/xml">
                                          <variables>
                                            <variable id="y0*3*6I2Yi,CF`]M~h[2">ID</variable>
                                            <variable id="M#rIoys:i17;BN8w{52D">PWD</variable>
                                            <variable id="_g}m6=-Y!_;d_q6.nYj%">windspeed_mph</variable>
                                            <variable id="t_Uq913Tw~AGFBze$7A[">rain_in</variable>
                                            <variable id="Y0[w@0OIDX^XCUp|haUU">rain_daily</variable>
                                            <variable id="?SVbcJ?1**tBw$l1~Xh`">baro_in</variable>
                                            <variable id="!]N$0-~^=*se;mdt~|GV">Aussentemp_F</variable>
                                            <variable id="ac2QCA3id7.c|WGkY8U-">Taupunkt_F</variable>
                                            <variable id="L[-9VuA$TtC{}Aw7Z_4t">url</variable>
                                            <variable id="qYP~o]}86Ah?{kkywtVa">result</variable>
                                          </variables>
                                          <block type="schedule" id="NVQ4`W#p(8mnMqzc.so@" x="28" y="56">
                                            <field name="SCHEDULE">*/2 * * * *</field>
                                            <statement name="STATEMENT">
                                              <block type="create" id="Ryy@[}Z8I!]_}]:y!y#Z">
                                                <field name="NAME">javascript.0.WEATHERMAN.Last_Wunderground_upload</field>
                                                <next>
                                                  <block type="variables_set" id="J6pfV3Pv:-PcV-U8o3e(">
                                                    <field name="VAR" id="y0*3*6I2Yi,CF`]M~h[2">ID</field>
                                                    <value name="VALUE">
                                                      <block type="text" id="4o}!@aUA-7n3A_,+!Zf=">
                                                        <field name="TEXT">xxxxxx</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="variables_set" id="lNS})+2:]k7-.RJdgaeC">
                                                        <field name="VAR" id="M#rIoys:i17;BN8w{52D">PWD</field>
                                                        <value name="VALUE">
                                                          <block type="text" id="*`IA18YFG:Rqdhs/%lt.">
                                                            <field name="TEXT">xxxxx</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="variables_set" id="IuV!Ik{*|@RQ?@o@p54s">
                                                            <field name="VAR" id="_g}m6=-Y!_;d_q6.nYj%">windspeed_mph</field>
                                                            <value name="VALUE">
                                                              <block type="math_rndfixed" id=")Nr+l:1Yegww1EF#^trH">
                                                                <field name="n">2</field>
                                                                <value name="x">
                                                                  <shadow type="math_number" id="vN~A3f_oOWr=sNCfrH;w">
                                                                    <field name="NUM">3.1234</field>
                                                                  </shadow>
                                                                  <block type="math_arithmetic" id="Hr]VNoyEq)zWSA3Ov.!B">
                                                                    <field name="OP">DIVIDE</field>
                                                                    <value name="A">
                                                                      <shadow type="math_number" id="y8`^YX%BoO1CEijv?e;J">
                                                                        <field name="NUM">1.60934</field>
                                                                      </shadow>
                                                                      <block type="get_value" id="PcDIA^0^.^0!CyEyQ%Ih">
                                                                        <field name="ATTR">val</field>
                                                                        <field name="OID">alias.0.Wetter.Windgeschwindigkeit</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <shadow type="math_number" id="Q-V3X%h4_JnJ%4vwTwe(">
                                                                        <field name="NUM">1.60934</field>
                                                                      </shadow>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="comment" id="[|mfN)utM;gIrF5{Q{r2">
                                                                <field name="COMMENT">mph instantaneous wind speed</field>
                                                                <next>
                                                                  <block type="variables_set" id=")G^m+8#;HudLoG-nk7to">
                                                                    <field name="VAR" id="t_Uq913Tw~AGFBze$7A[">rain_in</field>
                                                                    <value name="VALUE">
                                                                      <block type="math_rndfixed" id="Twaj.z}A5()!7aQJ,x;-">
                                                                        <field name="n">2</field>
                                                                        <value name="x">
                                                                          <shadow type="math_number" id="{P6Og~1k=Pd=tt)}|/e}">
                                                                            <field name="NUM">3.1234</field>
                                                                          </shadow>
                                                                          <block type="math_arithmetic" id="EJ:zeKou)@z-Z2-COK:-">
                                                                            <field name="OP">DIVIDE</field>
                                                                            <value name="A">
                                                                              <shadow type="math_number" id="(Vv26H}x0lkP`+Ono/*~">
                                                                                <field name="NUM">3.937</field>
                                                                              </shadow>
                                                                              <block type="get_value" id="loyLQaYwd;tGF{H~%?S_">
                                                                                <field name="ATTR">val</field>
                                                                                <field name="OID">alias.0.Wetter.Regenmenge_Heute</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <shadow type="math_number" id="P86!-zN:C~XagS8aI*Rh">
                                                                                <field name="NUM">25.4</field>
                                                                              </shadow>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="comment" id="b4+*^4yIKMi*J_4;%E.Q">
                                                                        <field name="COMMENT">rain inches over the past hour</field>
                                                                        <next>
                                                                          <block type="variables_set" id="KavP@R0V/~7;G^;G/*lE">
                                                                            <field name="VAR" id="Y0[w@0OIDX^XCUp|haUU">rain_daily</field>
                                                                            <value name="VALUE">
                                                                              <block type="math_rndfixed" id="(FWK!~Yi~,OS$aLgb+q$">
                                                                                <field name="n">2</field>
                                                                                <value name="x">
                                                                                  <shadow type="math_number" id="KgBvBA!Ys-8Vr-zwC)Gu">
                                                                                    <field name="NUM">3.1234</field>
                                                                                  </shadow>
                                                                                  <block type="math_arithmetic" id="xx2y4{FP^qg).tBzcw4i">
                                                                                    <field name="OP">DIVIDE</field>
                                                                                    <value name="A">
                                                                                      <shadow type="math_number" id="q}Qu!!A_q*bMo2]/6npC">
                                                                                        <field name="NUM">3.937</field>
                                                                                      </shadow>
                                                                                      <block type="get_value" id="{OwS|_!RcuS#gd9I7dYB">
                                                                                        <field name="ATTR">val</field>
                                                                                        <field name="OID">alias.0.Wetter.Regen_Gestern</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <shadow type="math_number" id="mZ)Ma|[J(lS$pA]lv,ZD">
                                                                                        <field name="NUM">25.4</field>
                                                                                      </shadow>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <next>
                                                                              <block type="comment" id="p9gJJn~3#ucjv)%.FfXj">
                                                                                <field name="COMMENT">rain inches so far today in local time</field>
                                                                                <next>
                                                                                  <block type="variables_set" id="2o.mspN{c2VuYMvet|^e">
                                                                                    <field name="VAR" id="?SVbcJ?1**tBw$l1~Xh`">baro_in</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="math_rndfixed" id="j+z|al.?V$$Se*GaQ7Z*">
                                                                                        <field name="n">4</field>
                                                                                        <value name="x">
                                                                                          <shadow type="math_number" id="EVsQxzS+I0ET:Yeyzo_!">
                                                                                            <field name="NUM">3.1234</field>
                                                                                          </shadow>
                                                                                          <block type="math_arithmetic" id="IOs;[N;fdtiNHk2GC:3K">
                                                                                            <field name="OP">DIVIDE</field>
                                                                                            <value name="A">
                                                                                              <shadow type="math_number" id="X-R?36spX2@GhM+Bhih[">
                                                                                                <field name="NUM">0.0295301</field>
                                                                                              </shadow>
                                                                                              <block type="get_value" id="yuXUY_6Kz%x6D2742NaL">
                                                                                                <field name="ATTR">val</field>
                                                                                                <field name="OID">alias.0.Wetter.Luftdruck</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="B">
                                                                                              <shadow type="math_number" id="m%SnK7;T58uvrpj1Kq/X">
                                                                                                <field name="NUM">33.8639</field>
                                                                                              </shadow>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                    <next>
                                                                                      <block type="comment" id="?gZQ[RcS)+@Y[Ah|r|T=">
                                                                                        <field name="COMMENT">barometric pressure inches</field>
                                                                                        <next>
                                                                                          <block type="variables_set" id="}ZNtE{YDT~uH^(9oC@uJ">
                                                                                            <field name="VAR" id="!]N$0-~^=*se;mdt~|GV">Aussentemp_F</field>
                                                                                            <value name="VALUE">
                                                                                              <block type="math_rndfixed" id="@/~BOZH,*T=u;l?1:3Vq">
                                                                                                <field name="n">2</field>
                                                                                                <value name="x">
                                                                                                  <shadow type="math_number" id="Fn`edZw$aNhYzWP(UbBY">
                                                                                                    <field name="NUM">3.1234</field>
                                                                                                  </shadow>
                                                                                                  <block type="math_arithmetic" id="~)9T~(f~8P[fqQ+zVlzZ">
                                                                                                    <field name="OP">ADD</field>
                                                                                                    <value name="A">
                                                                                                      <shadow type="math_number" id="%PDN|YJ@naL)yZi3QAvx">
                                                                                                        <field name="NUM">1</field>
                                                                                                      </shadow>
                                                                                                      <block type="math_arithmetic" id="c,;et0f(JDhiPflCEvQ~">
                                                                                                        <field name="OP">MULTIPLY</field>
                                                                                                        <value name="A">
                                                                                                          <shadow type="math_number" id="#wm=O,l0nAF9wv.iOX11">
                                                                                                            <field name="NUM">1.8</field>
                                                                                                          </shadow>
                                                                                                          <block type="get_value" id="qOqzkEcqx~:Aulh^61Hv">
                                                                                                            <field name="ATTR">val</field>
                                                                                                            <field name="OID">alias.0.Wetter.Aktuelle_Temperatur</field>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                        <value name="B">
                                                                                                          <shadow type="math_number" id="pYs?t#+euS,=;_ewnVvA">
                                                                                                            <field name="NUM">1.8</field>
                                                                                                          </shadow>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <value name="B">
                                                                                                      <shadow type="math_number" id="j*@d,/*5vtdrrXk|~.Eh">
                                                                                                        <field name="NUM">32</field>
                                                                                                      </shadow>
                                                                                                    </value>
                                                                                                  </block>
                                                                                                </value>
                                                                                              </block>
                                                                                            </value>
                                                                                            <next>
                                                                                              <block type="comment" id="$wwhg|u6gN%RPi*}b?QL">
                                                                                                <field name="COMMENT">F outdoor temperature</field>
                                                                                                <next>
                                                                                                  <block type="variables_set" id="Knc[}47D!:t{BiPPIyJ:">
                                                                                                    <field name="VAR" id="ac2QCA3id7.c|WGkY8U-">Taupunkt_F</field>
                                                                                                    <value name="VALUE">
                                                                                                      <block type="math_rndfixed" id="!5=YyjNY*^/{6H5Vq!*t">
                                                                                                        <field name="n">2</field>
                                                                                                        <value name="x">
                                                                                                          <shadow type="math_number" id="Ylxb+}~1N:%JSN9:F%Wt">
                                                                                                            <field name="NUM">3.1234</field>
                                                                                                          </shadow>
                                                                                                          <block type="math_arithmetic" id="m@.@N{d2^z2,pWl!#Y/Z">
                                                                                                            <field name="OP">ADD</field>
                                                                                                            <value name="A">
                                                                                                              <shadow type="math_number" id="R9pFQUxb@:t@(9z*L/*S">
                                                                                                                <field name="NUM">1</field>
                                                                                                              </shadow>
                                                                                                              <block type="math_arithmetic" id="T9Zak.4H!|p9Dz%/2Q*7">
                                                                                                                <field name="OP">MULTIPLY</field>
                                                                                                                <value name="A">
                                                                                                                  <shadow type="math_number" id="jr=|Q#kfdxO06J8TbJ_C">
                                                                                                                    <field name="NUM">1.8</field>
                                                                                                                  </shadow>
                                                                                                                  <block type="get_value" id="5RZwE.v6`GbvVn~}pscq">
                                                                                                                    <field name="ATTR">val</field>
                                                                                                                    <field name="OID">0_userdata.0.Taupunkt</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="B">
                                                                                                                  <shadow type="math_number" id="5qN=4(xR43jIk`U_eaIz">
                                                                                                                    <field name="NUM">1.8</field>
                                                                                                                  </shadow>
                                                                                                                </value>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                            <value name="B">
                                                                                                              <shadow type="math_number" id="2l~{%NSZ-_q6yG.n/PMH">
                                                                                                                <field name="NUM">32</field>
                                                                                                              </shadow>
                                                                                                            </value>
                                                                                                          </block>
                                                                                                        </value>
                                                                                                      </block>
                                                                                                    </value>
                                                                                                    <next>
                                                                                                      <block type="comment" id="/_WCHMB2m5G]4-OEzOFc">
                                                                                                        <field name="COMMENT">F outdoor dewpoint F</field>
                                                                                                        <next>
                                                                                                          <block type="variables_set" id="(..4D@D}1bg(~)~wtU]Y">
                                                                                                            <field name="VAR" id="L[-9VuA$TtC{}Aw7Z_4t">url</field>
                                                                                                            <value name="VALUE">
                                                                                                              <block type="text_join" id="(`%c8pO+2VPBopp8V2uE">
                                                                                                                <mutation items="21"></mutation>
                                                                                                                <value name="ADD0">
                                                                                                                  <block type="text" id="Q!k*6kwCyW4I4Cz|wd@P">
                                                                                                                    <field name="TEXT">https://weatherstation.wunderground.com/weatherstation/updateweatherstation.php?ID=</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="ADD1">
                                                                                                                  <block type="variables_get" id="xj,x#Q6z02@Ne;(-k1!A">
                                                                                                                    <field name="VAR" id="y0*3*6I2Yi,CF`]M~h[2">ID</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="ADD2">
                                                                                                                  <block type="text" id=".T_p}5;J!Dc{8-CNah?H">
                                                                                                                    <field name="TEXT">&amp;PASSWORD=</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="ADD3">
                                                                                                                  <block type="variables_get" id="fx56Av]MfZot/a{Dmc|{">
                                                                                                                    <field name="VAR" id="M#rIoys:i17;BN8w{52D">PWD</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="ADD4">
                                                                                                                  <block type="text" id="?bO.l@nfrfe/i5II,y7O">
                                                                                                                    <field name="TEXT">&amp;dateutc=now&amp;winddir=</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="ADD5">
                                                                                                                  <block type="get_value" id="_:4@dKfy1.kKNK8pTkt|">
                                                                                                                    <field name="ATTR">val</field>
                                                                                                                    <field name="OID">hmip.0.devices.3014F711A0001860C98C9DF5.channels.1.windDirection</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="ADD6">
                                                                                                                  <block type="text" id="RhOt)(e[UY[^%b7r.[.{">
                                                                                                                    <field name="TEXT">&amp;windspeedmph=</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="ADD7">
                                                                                                                  <block type="variables_get" id="9E;ZOzzC~ZqX=C:x/GjB">
                                                                                                                    <field name="VAR" id="_g}m6=-Y!_;d_q6.nYj%">windspeed_mph</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="ADD8">
                                                                                                                  <block type="text" id="XCSzJxAajajF*^G=U3QM">
                                                                                                                    <field name="TEXT">&amp;baromin=</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="ADD9">
                                                                                                                  <block type="variables_get" id="Jy|66pdKM[;Ymn@O]cSc">
                                                                                                                    <field name="VAR" id="?SVbcJ?1**tBw$l1~Xh`">baro_in</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="ADD10">
                                                                                                                  <block type="text" id="av~BQ)iAy6I1n{#25:+N" disabled="true">
                                                                                                                    <field name="TEXT">&amp;rainin=</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="ADD11">
                                                                                                                  <block type="variables_get" id="/*W]fWFF=nd;?[h@:Y]:" disabled="true">
                                                                                                                    <field name="VAR" id="t_Uq913Tw~AGFBze$7A[">rain_in</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="ADD12">
                                                                                                                  <block type="text" id="hQzg`g3NFN@z%M290qg5">
                                                                                                                    <field name="TEXT">&amp;humidity=</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="ADD13">
                                                                                                                  <block type="get_value" id="c8]Z},O.#(X:^fh8BQDR">
                                                                                                                    <field name="ATTR">val</field>
                                                                                                                    <field name="OID">alias.0.Wetter.Luftfeuchtigkeit</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="ADD14">
                                                                                                                  <block type="text" id="(b%5Hm@:BUeV)lr3NKjd">
                                                                                                                    <field name="TEXT">&amp;tempf=</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="ADD15">
                                                                                                                  <block type="variables_get" id="EY.SScRsM@YGFg^QlVM-">
                                                                                                                    <field name="VAR" id="!]N$0-~^=*se;mdt~|GV">Aussentemp_F</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="ADD16">
                                                                                                                  <block type="text" id="uY~}7_2RK10$YisP5]Bt">
                                                                                                                    <field name="TEXT">&amp;dailyrainin=</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="ADD17">
                                                                                                                  <block type="variables_get" id="kIjIuh}xDg+=O7c?Ujk}">
                                                                                                                    <field name="VAR" id="Y0[w@0OIDX^XCUp|haUU">rain_daily</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="ADD18">
                                                                                                                  <block type="text" id="RP}t]iGo4~kAFBDlLtMn">
                                                                                                                    <field name="TEXT">&amp;dewptf=</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="ADD19">
                                                                                                                  <block type="variables_get" id="DHDV?62iQQ_nxWXc];[Y">
                                                                                                                    <field name="VAR" id="ac2QCA3id7.c|WGkY8U-">Taupunkt_F</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <value name="ADD20">
                                                                                                                  <block type="text" id="{}f?h+FLZDi[/K#P`3C]">
                                                                                                                    <field name="TEXT">&amp;action=updateraw</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                              </block>
                                                                                                            </value>
                                                                                                            <next>
                                                                                                              <block type="http_get" id="r)o6iKOUDP=*(Z5f66A;">
                                                                                                                <field name="TIMEOUT">2000</field>
                                                                                                                <field name="UNIT">ms</field>
                                                                                                                <field name="TYPE">text</field>
                                                                                                                <value name="URL">
                                                                                                                  <shadow type="text" id="rjYmYz$A(1M]GVp-gGdp">
                                                                                                                    <field name="TEXT">http://</field>
                                                                                                                  </shadow>
                                                                                                                  <block type="variables_get" id="vr9m*ZXavDVMWFaR_iN[">
                                                                                                                    <field name="VAR" id="L[-9VuA$TtC{}Aw7Z_4t">url</field>
                                                                                                                  </block>
                                                                                                                </value>
                                                                                                                <statement name="STATEMENT">
                                                                                                                  <block type="controls_if" id="=dHWKib4(|bqIz[deQxp">
                                                                                                                    <mutation else="1"></mutation>
                                                                                                                    <value name="IF0">
                                                                                                                      <block type="logic_compare" id="3^Or==q!t};6PCe3yo3a">
                                                                                                                        <field name="OP">GT</field>
                                                                                                                        <value name="A">
                                                                                                                          <block type="text_indexOf" id="M6}Pr%6[L-p@i:~0v:uR">
                                                                                                                            <field name="END">FIRST</field>
                                                                                                                            <value name="VALUE">
                                                                                                                              <block type="variables_get" id=";r~4V,}SMS,3}E((4rq:">
                                                                                                                                <field name="VAR" id="qYP~o]}86Ah?{kkywtVa">result</field>
                                                                                                                              </block>
                                                                                                                            </value>
                                                                                                                            <value name="FIND">
                                                                                                                              <shadow type="text" id="B[@H~FSpM_!7B}%5XsAX">
                                                                                                                                <field name="TEXT">false</field>
                                                                                                                              </shadow>
                                                                                                                            </value>
                                                                                                                          </block>
                                                                                                                        </value>
                                                                                                                      </block>
                                                                                                                    </value>
                                                                                                                  </block>
                                                                                                                </statement>
                                                                                                              </block>
                                                                                                            </next>
                                                                                                          </block>
                                                                                                        </next>
                                                                                                      </block>
                                                                                                    </next>
                                                                                                  </block>
                                                                                                </next>
                                                                                              </block>
                                                                                            </next>
                                                                                          </block>
                                                                                        </next>
                                                                                      </block>
                                                                                    </next>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                        </xml>
                                        

                                        Fehlermeldung:

                                        
                                        javascript.0
                                        2024-05-26 18:34:00.347	error	at processTicksAndRejections (node:internal/process/task_queues:95:5)
                                        
                                        javascript.0
                                        2024-05-26 18:34:00.347	error	at /opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1190:38
                                        
                                        javascript.0
                                        2024-05-26 18:34:00.347	error	at Object.<anonymous> (script.js.common.Wetter_Homeatic_2:27:16)
                                        
                                        javascript.0
                                        2024-05-26 18:34:00.347	error	script.js.common.Wetter_Homeatic_2: TypeError: Cannot read properties of undefined (reading 'indexOf')
                                        
                                        javascript.0
                                        2024-05-26 18:32:00.452	error	at processTicksAndRejections (node:internal/process/task_queues:95:5)
                                        
                                        javascript.0
                                        2024-05-26 18:32:00.452	error	at /opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1190:38
                                        
                                        javascript.0
                                        2024-05-26 18:32:00.452	error	at Object.<anonymous> (script.js.common.Wetter_Homeatic_2:27:16)
                                        
                                        javascript.0
                                        2024-05-26 18:32:00.452	error	script.js.common.Wetter_Homeatic_2: TypeError: Cannot read properties of undefined (reading 'indexOf')
                                        
                                        javascript.0
                                        2024-05-26 18:30:00.447	error	at processTicksAndRejections (node:internal/process/task_queues:95:5)
                                        
                                        javascript.0
                                        2024-05-26 18:30:00.447	error	at /opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1190:38
                                        
                                        javascript.0
                                        2024-05-26 18:30:00.447	error	at Object.<anonymous> (script.js.common.Wetter_Homeatic_2:27:16)
                                        
                                        javascript.0
                                        2024-05-26 18:30:00.446	error	script.js.common.Wetter_Homeatic_2: TypeError: Cannot read properties of undefined (reading 'indexOf')
                                        
                                        javascript.0
                                        2024-05-26 18:28:00.634	error	at processTicksAndRejections (node:internal/process/task_queues:95:5)
                                        
                                        javascript.0
                                        2024-05-26 18:28:00.634	error	at /opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1190:38
                                        
                                        javascript.0
                                        2024-05-26 18:28:00.634	error	at Object.<anonymous> (script.js.common.Wetter_Homeatic_2:27:16)
                                        
                                        javascript.0
                                        2024-05-26 18:28:00.633	error	script.js.common.Wetter_Homeatic_2: TypeError: Cannot read properties of undefined (reading 'indexOf')
                                        
                                        

                                        Gruß
                                        Olli

                                        crunchipC 1 Antwort Letzte Antwort
                                        0
                                        • C c1olli

                                          @crunchip
                                          Ich weiss nicht was ich gemacht habe, aber es läuft wieder, aber Fehlermeldungen kommen immer noch.
                                          Hier das Script: (blockly export)

                                          <xml xmlns="https://developers.google.com/blockly/xml">
                                            <variables>
                                              <variable id="y0*3*6I2Yi,CF`]M~h[2">ID</variable>
                                              <variable id="M#rIoys:i17;BN8w{52D">PWD</variable>
                                              <variable id="_g}m6=-Y!_;d_q6.nYj%">windspeed_mph</variable>
                                              <variable id="t_Uq913Tw~AGFBze$7A[">rain_in</variable>
                                              <variable id="Y0[w@0OIDX^XCUp|haUU">rain_daily</variable>
                                              <variable id="?SVbcJ?1**tBw$l1~Xh`">baro_in</variable>
                                              <variable id="!]N$0-~^=*se;mdt~|GV">Aussentemp_F</variable>
                                              <variable id="ac2QCA3id7.c|WGkY8U-">Taupunkt_F</variable>
                                              <variable id="L[-9VuA$TtC{}Aw7Z_4t">url</variable>
                                              <variable id="qYP~o]}86Ah?{kkywtVa">result</variable>
                                            </variables>
                                            <block type="schedule" id="NVQ4`W#p(8mnMqzc.so@" x="28" y="56">
                                              <field name="SCHEDULE">*/2 * * * *</field>
                                              <statement name="STATEMENT">
                                                <block type="create" id="Ryy@[}Z8I!]_}]:y!y#Z">
                                                  <field name="NAME">javascript.0.WEATHERMAN.Last_Wunderground_upload</field>
                                                  <next>
                                                    <block type="variables_set" id="J6pfV3Pv:-PcV-U8o3e(">
                                                      <field name="VAR" id="y0*3*6I2Yi,CF`]M~h[2">ID</field>
                                                      <value name="VALUE">
                                                        <block type="text" id="4o}!@aUA-7n3A_,+!Zf=">
                                                          <field name="TEXT">xxxxxx</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="variables_set" id="lNS})+2:]k7-.RJdgaeC">
                                                          <field name="VAR" id="M#rIoys:i17;BN8w{52D">PWD</field>
                                                          <value name="VALUE">
                                                            <block type="text" id="*`IA18YFG:Rqdhs/%lt.">
                                                              <field name="TEXT">xxxxx</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="variables_set" id="IuV!Ik{*|@RQ?@o@p54s">
                                                              <field name="VAR" id="_g}m6=-Y!_;d_q6.nYj%">windspeed_mph</field>
                                                              <value name="VALUE">
                                                                <block type="math_rndfixed" id=")Nr+l:1Yegww1EF#^trH">
                                                                  <field name="n">2</field>
                                                                  <value name="x">
                                                                    <shadow type="math_number" id="vN~A3f_oOWr=sNCfrH;w">
                                                                      <field name="NUM">3.1234</field>
                                                                    </shadow>
                                                                    <block type="math_arithmetic" id="Hr]VNoyEq)zWSA3Ov.!B">
                                                                      <field name="OP">DIVIDE</field>
                                                                      <value name="A">
                                                                        <shadow type="math_number" id="y8`^YX%BoO1CEijv?e;J">
                                                                          <field name="NUM">1.60934</field>
                                                                        </shadow>
                                                                        <block type="get_value" id="PcDIA^0^.^0!CyEyQ%Ih">
                                                                          <field name="ATTR">val</field>
                                                                          <field name="OID">alias.0.Wetter.Windgeschwindigkeit</field>
                                                                        </block>
                                                                      </value>
                                                                      <value name="B">
                                                                        <shadow type="math_number" id="Q-V3X%h4_JnJ%4vwTwe(">
                                                                          <field name="NUM">1.60934</field>
                                                                        </shadow>
                                                                      </value>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="comment" id="[|mfN)utM;gIrF5{Q{r2">
                                                                  <field name="COMMENT">mph instantaneous wind speed</field>
                                                                  <next>
                                                                    <block type="variables_set" id=")G^m+8#;HudLoG-nk7to">
                                                                      <field name="VAR" id="t_Uq913Tw~AGFBze$7A[">rain_in</field>
                                                                      <value name="VALUE">
                                                                        <block type="math_rndfixed" id="Twaj.z}A5()!7aQJ,x;-">
                                                                          <field name="n">2</field>
                                                                          <value name="x">
                                                                            <shadow type="math_number" id="{P6Og~1k=Pd=tt)}|/e}">
                                                                              <field name="NUM">3.1234</field>
                                                                            </shadow>
                                                                            <block type="math_arithmetic" id="EJ:zeKou)@z-Z2-COK:-">
                                                                              <field name="OP">DIVIDE</field>
                                                                              <value name="A">
                                                                                <shadow type="math_number" id="(Vv26H}x0lkP`+Ono/*~">
                                                                                  <field name="NUM">3.937</field>
                                                                                </shadow>
                                                                                <block type="get_value" id="loyLQaYwd;tGF{H~%?S_">
                                                                                  <field name="ATTR">val</field>
                                                                                  <field name="OID">alias.0.Wetter.Regenmenge_Heute</field>
                                                                                </block>
                                                                              </value>
                                                                              <value name="B">
                                                                                <shadow type="math_number" id="P86!-zN:C~XagS8aI*Rh">
                                                                                  <field name="NUM">25.4</field>
                                                                                </shadow>
                                                                              </value>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="comment" id="b4+*^4yIKMi*J_4;%E.Q">
                                                                          <field name="COMMENT">rain inches over the past hour</field>
                                                                          <next>
                                                                            <block type="variables_set" id="KavP@R0V/~7;G^;G/*lE">
                                                                              <field name="VAR" id="Y0[w@0OIDX^XCUp|haUU">rain_daily</field>
                                                                              <value name="VALUE">
                                                                                <block type="math_rndfixed" id="(FWK!~Yi~,OS$aLgb+q$">
                                                                                  <field name="n">2</field>
                                                                                  <value name="x">
                                                                                    <shadow type="math_number" id="KgBvBA!Ys-8Vr-zwC)Gu">
                                                                                      <field name="NUM">3.1234</field>
                                                                                    </shadow>
                                                                                    <block type="math_arithmetic" id="xx2y4{FP^qg).tBzcw4i">
                                                                                      <field name="OP">DIVIDE</field>
                                                                                      <value name="A">
                                                                                        <shadow type="math_number" id="q}Qu!!A_q*bMo2]/6npC">
                                                                                          <field name="NUM">3.937</field>
                                                                                        </shadow>
                                                                                        <block type="get_value" id="{OwS|_!RcuS#gd9I7dYB">
                                                                                          <field name="ATTR">val</field>
                                                                                          <field name="OID">alias.0.Wetter.Regen_Gestern</field>
                                                                                        </block>
                                                                                      </value>
                                                                                      <value name="B">
                                                                                        <shadow type="math_number" id="mZ)Ma|[J(lS$pA]lv,ZD">
                                                                                          <field name="NUM">25.4</field>
                                                                                        </shadow>
                                                                                      </value>
                                                                                    </block>
                                                                                  </value>
                                                                                </block>
                                                                              </value>
                                                                              <next>
                                                                                <block type="comment" id="p9gJJn~3#ucjv)%.FfXj">
                                                                                  <field name="COMMENT">rain inches so far today in local time</field>
                                                                                  <next>
                                                                                    <block type="variables_set" id="2o.mspN{c2VuYMvet|^e">
                                                                                      <field name="VAR" id="?SVbcJ?1**tBw$l1~Xh`">baro_in</field>
                                                                                      <value name="VALUE">
                                                                                        <block type="math_rndfixed" id="j+z|al.?V$$Se*GaQ7Z*">
                                                                                          <field name="n">4</field>
                                                                                          <value name="x">
                                                                                            <shadow type="math_number" id="EVsQxzS+I0ET:Yeyzo_!">
                                                                                              <field name="NUM">3.1234</field>
                                                                                            </shadow>
                                                                                            <block type="math_arithmetic" id="IOs;[N;fdtiNHk2GC:3K">
                                                                                              <field name="OP">DIVIDE</field>
                                                                                              <value name="A">
                                                                                                <shadow type="math_number" id="X-R?36spX2@GhM+Bhih[">
                                                                                                  <field name="NUM">0.0295301</field>
                                                                                                </shadow>
                                                                                                <block type="get_value" id="yuXUY_6Kz%x6D2742NaL">
                                                                                                  <field name="ATTR">val</field>
                                                                                                  <field name="OID">alias.0.Wetter.Luftdruck</field>
                                                                                                </block>
                                                                                              </value>
                                                                                              <value name="B">
                                                                                                <shadow type="math_number" id="m%SnK7;T58uvrpj1Kq/X">
                                                                                                  <field name="NUM">33.8639</field>
                                                                                                </shadow>
                                                                                              </value>
                                                                                            </block>
                                                                                          </value>
                                                                                        </block>
                                                                                      </value>
                                                                                      <next>
                                                                                        <block type="comment" id="?gZQ[RcS)+@Y[Ah|r|T=">
                                                                                          <field name="COMMENT">barometric pressure inches</field>
                                                                                          <next>
                                                                                            <block type="variables_set" id="}ZNtE{YDT~uH^(9oC@uJ">
                                                                                              <field name="VAR" id="!]N$0-~^=*se;mdt~|GV">Aussentemp_F</field>
                                                                                              <value name="VALUE">
                                                                                                <block type="math_rndfixed" id="@/~BOZH,*T=u;l?1:3Vq">
                                                                                                  <field name="n">2</field>
                                                                                                  <value name="x">
                                                                                                    <shadow type="math_number" id="Fn`edZw$aNhYzWP(UbBY">
                                                                                                      <field name="NUM">3.1234</field>
                                                                                                    </shadow>
                                                                                                    <block type="math_arithmetic" id="~)9T~(f~8P[fqQ+zVlzZ">
                                                                                                      <field name="OP">ADD</field>
                                                                                                      <value name="A">
                                                                                                        <shadow type="math_number" id="%PDN|YJ@naL)yZi3QAvx">
                                                                                                          <field name="NUM">1</field>
                                                                                                        </shadow>
                                                                                                        <block type="math_arithmetic" id="c,;et0f(JDhiPflCEvQ~">
                                                                                                          <field name="OP">MULTIPLY</field>
                                                                                                          <value name="A">
                                                                                                            <shadow type="math_number" id="#wm=O,l0nAF9wv.iOX11">
                                                                                                              <field name="NUM">1.8</field>
                                                                                                            </shadow>
                                                                                                            <block type="get_value" id="qOqzkEcqx~:Aulh^61Hv">
                                                                                                              <field name="ATTR">val</field>
                                                                                                              <field name="OID">alias.0.Wetter.Aktuelle_Temperatur</field>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                          <value name="B">
                                                                                                            <shadow type="math_number" id="pYs?t#+euS,=;_ewnVvA">
                                                                                                              <field name="NUM">1.8</field>
                                                                                                            </shadow>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <value name="B">
                                                                                                        <shadow type="math_number" id="j*@d,/*5vtdrrXk|~.Eh">
                                                                                                          <field name="NUM">32</field>
                                                                                                        </shadow>
                                                                                                      </value>
                                                                                                    </block>
                                                                                                  </value>
                                                                                                </block>
                                                                                              </value>
                                                                                              <next>
                                                                                                <block type="comment" id="$wwhg|u6gN%RPi*}b?QL">
                                                                                                  <field name="COMMENT">F outdoor temperature</field>
                                                                                                  <next>
                                                                                                    <block type="variables_set" id="Knc[}47D!:t{BiPPIyJ:">
                                                                                                      <field name="VAR" id="ac2QCA3id7.c|WGkY8U-">Taupunkt_F</field>
                                                                                                      <value name="VALUE">
                                                                                                        <block type="math_rndfixed" id="!5=YyjNY*^/{6H5Vq!*t">
                                                                                                          <field name="n">2</field>
                                                                                                          <value name="x">
                                                                                                            <shadow type="math_number" id="Ylxb+}~1N:%JSN9:F%Wt">
                                                                                                              <field name="NUM">3.1234</field>
                                                                                                            </shadow>
                                                                                                            <block type="math_arithmetic" id="m@.@N{d2^z2,pWl!#Y/Z">
                                                                                                              <field name="OP">ADD</field>
                                                                                                              <value name="A">
                                                                                                                <shadow type="math_number" id="R9pFQUxb@:t@(9z*L/*S">
                                                                                                                  <field name="NUM">1</field>
                                                                                                                </shadow>
                                                                                                                <block type="math_arithmetic" id="T9Zak.4H!|p9Dz%/2Q*7">
                                                                                                                  <field name="OP">MULTIPLY</field>
                                                                                                                  <value name="A">
                                                                                                                    <shadow type="math_number" id="jr=|Q#kfdxO06J8TbJ_C">
                                                                                                                      <field name="NUM">1.8</field>
                                                                                                                    </shadow>
                                                                                                                    <block type="get_value" id="5RZwE.v6`GbvVn~}pscq">
                                                                                                                      <field name="ATTR">val</field>
                                                                                                                      <field name="OID">0_userdata.0.Taupunkt</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="B">
                                                                                                                    <shadow type="math_number" id="5qN=4(xR43jIk`U_eaIz">
                                                                                                                      <field name="NUM">1.8</field>
                                                                                                                    </shadow>
                                                                                                                  </value>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                              <value name="B">
                                                                                                                <shadow type="math_number" id="2l~{%NSZ-_q6yG.n/PMH">
                                                                                                                  <field name="NUM">32</field>
                                                                                                                </shadow>
                                                                                                              </value>
                                                                                                            </block>
                                                                                                          </value>
                                                                                                        </block>
                                                                                                      </value>
                                                                                                      <next>
                                                                                                        <block type="comment" id="/_WCHMB2m5G]4-OEzOFc">
                                                                                                          <field name="COMMENT">F outdoor dewpoint F</field>
                                                                                                          <next>
                                                                                                            <block type="variables_set" id="(..4D@D}1bg(~)~wtU]Y">
                                                                                                              <field name="VAR" id="L[-9VuA$TtC{}Aw7Z_4t">url</field>
                                                                                                              <value name="VALUE">
                                                                                                                <block type="text_join" id="(`%c8pO+2VPBopp8V2uE">
                                                                                                                  <mutation items="21"></mutation>
                                                                                                                  <value name="ADD0">
                                                                                                                    <block type="text" id="Q!k*6kwCyW4I4Cz|wd@P">
                                                                                                                      <field name="TEXT">https://weatherstation.wunderground.com/weatherstation/updateweatherstation.php?ID=</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="ADD1">
                                                                                                                    <block type="variables_get" id="xj,x#Q6z02@Ne;(-k1!A">
                                                                                                                      <field name="VAR" id="y0*3*6I2Yi,CF`]M~h[2">ID</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="ADD2">
                                                                                                                    <block type="text" id=".T_p}5;J!Dc{8-CNah?H">
                                                                                                                      <field name="TEXT">&amp;PASSWORD=</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="ADD3">
                                                                                                                    <block type="variables_get" id="fx56Av]MfZot/a{Dmc|{">
                                                                                                                      <field name="VAR" id="M#rIoys:i17;BN8w{52D">PWD</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="ADD4">
                                                                                                                    <block type="text" id="?bO.l@nfrfe/i5II,y7O">
                                                                                                                      <field name="TEXT">&amp;dateutc=now&amp;winddir=</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="ADD5">
                                                                                                                    <block type="get_value" id="_:4@dKfy1.kKNK8pTkt|">
                                                                                                                      <field name="ATTR">val</field>
                                                                                                                      <field name="OID">hmip.0.devices.3014F711A0001860C98C9DF5.channels.1.windDirection</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="ADD6">
                                                                                                                    <block type="text" id="RhOt)(e[UY[^%b7r.[.{">
                                                                                                                      <field name="TEXT">&amp;windspeedmph=</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="ADD7">
                                                                                                                    <block type="variables_get" id="9E;ZOzzC~ZqX=C:x/GjB">
                                                                                                                      <field name="VAR" id="_g}m6=-Y!_;d_q6.nYj%">windspeed_mph</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="ADD8">
                                                                                                                    <block type="text" id="XCSzJxAajajF*^G=U3QM">
                                                                                                                      <field name="TEXT">&amp;baromin=</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="ADD9">
                                                                                                                    <block type="variables_get" id="Jy|66pdKM[;Ymn@O]cSc">
                                                                                                                      <field name="VAR" id="?SVbcJ?1**tBw$l1~Xh`">baro_in</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="ADD10">
                                                                                                                    <block type="text" id="av~BQ)iAy6I1n{#25:+N" disabled="true">
                                                                                                                      <field name="TEXT">&amp;rainin=</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="ADD11">
                                                                                                                    <block type="variables_get" id="/*W]fWFF=nd;?[h@:Y]:" disabled="true">
                                                                                                                      <field name="VAR" id="t_Uq913Tw~AGFBze$7A[">rain_in</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="ADD12">
                                                                                                                    <block type="text" id="hQzg`g3NFN@z%M290qg5">
                                                                                                                      <field name="TEXT">&amp;humidity=</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="ADD13">
                                                                                                                    <block type="get_value" id="c8]Z},O.#(X:^fh8BQDR">
                                                                                                                      <field name="ATTR">val</field>
                                                                                                                      <field name="OID">alias.0.Wetter.Luftfeuchtigkeit</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="ADD14">
                                                                                                                    <block type="text" id="(b%5Hm@:BUeV)lr3NKjd">
                                                                                                                      <field name="TEXT">&amp;tempf=</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="ADD15">
                                                                                                                    <block type="variables_get" id="EY.SScRsM@YGFg^QlVM-">
                                                                                                                      <field name="VAR" id="!]N$0-~^=*se;mdt~|GV">Aussentemp_F</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="ADD16">
                                                                                                                    <block type="text" id="uY~}7_2RK10$YisP5]Bt">
                                                                                                                      <field name="TEXT">&amp;dailyrainin=</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="ADD17">
                                                                                                                    <block type="variables_get" id="kIjIuh}xDg+=O7c?Ujk}">
                                                                                                                      <field name="VAR" id="Y0[w@0OIDX^XCUp|haUU">rain_daily</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="ADD18">
                                                                                                                    <block type="text" id="RP}t]iGo4~kAFBDlLtMn">
                                                                                                                      <field name="TEXT">&amp;dewptf=</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="ADD19">
                                                                                                                    <block type="variables_get" id="DHDV?62iQQ_nxWXc];[Y">
                                                                                                                      <field name="VAR" id="ac2QCA3id7.c|WGkY8U-">Taupunkt_F</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <value name="ADD20">
                                                                                                                    <block type="text" id="{}f?h+FLZDi[/K#P`3C]">
                                                                                                                      <field name="TEXT">&amp;action=updateraw</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                </block>
                                                                                                              </value>
                                                                                                              <next>
                                                                                                                <block type="http_get" id="r)o6iKOUDP=*(Z5f66A;">
                                                                                                                  <field name="TIMEOUT">2000</field>
                                                                                                                  <field name="UNIT">ms</field>
                                                                                                                  <field name="TYPE">text</field>
                                                                                                                  <value name="URL">
                                                                                                                    <shadow type="text" id="rjYmYz$A(1M]GVp-gGdp">
                                                                                                                      <field name="TEXT">http://</field>
                                                                                                                    </shadow>
                                                                                                                    <block type="variables_get" id="vr9m*ZXavDVMWFaR_iN[">
                                                                                                                      <field name="VAR" id="L[-9VuA$TtC{}Aw7Z_4t">url</field>
                                                                                                                    </block>
                                                                                                                  </value>
                                                                                                                  <statement name="STATEMENT">
                                                                                                                    <block type="controls_if" id="=dHWKib4(|bqIz[deQxp">
                                                                                                                      <mutation else="1"></mutation>
                                                                                                                      <value name="IF0">
                                                                                                                        <block type="logic_compare" id="3^Or==q!t};6PCe3yo3a">
                                                                                                                          <field name="OP">GT</field>
                                                                                                                          <value name="A">
                                                                                                                            <block type="text_indexOf" id="M6}Pr%6[L-p@i:~0v:uR">
                                                                                                                              <field name="END">FIRST</field>
                                                                                                                              <value name="VALUE">
                                                                                                                                <block type="variables_get" id=";r~4V,}SMS,3}E((4rq:">
                                                                                                                                  <field name="VAR" id="qYP~o]}86Ah?{kkywtVa">result</field>
                                                                                                                                </block>
                                                                                                                              </value>
                                                                                                                              <value name="FIND">
                                                                                                                                <shadow type="text" id="B[@H~FSpM_!7B}%5XsAX">
                                                                                                                                  <field name="TEXT">false</field>
                                                                                                                                </shadow>
                                                                                                                              </value>
                                                                                                                            </block>
                                                                                                                          </value>
                                                                                                                        </block>
                                                                                                                      </value>
                                                                                                                    </block>
                                                                                                                  </statement>
                                                                                                                </block>
                                                                                                              </next>
                                                                                                            </block>
                                                                                                          </next>
                                                                                                        </block>
                                                                                                      </next>
                                                                                                    </block>
                                                                                                  </next>
                                                                                                </block>
                                                                                              </next>
                                                                                            </block>
                                                                                          </next>
                                                                                        </block>
                                                                                      </next>
                                                                                    </block>
                                                                                  </next>
                                                                                </block>
                                                                              </next>
                                                                            </block>
                                                                          </next>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </xml>
                                          

                                          Fehlermeldung:

                                          
                                          javascript.0
                                          2024-05-26 18:34:00.347	error	at processTicksAndRejections (node:internal/process/task_queues:95:5)
                                          
                                          javascript.0
                                          2024-05-26 18:34:00.347	error	at /opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1190:38
                                          
                                          javascript.0
                                          2024-05-26 18:34:00.347	error	at Object.<anonymous> (script.js.common.Wetter_Homeatic_2:27:16)
                                          
                                          javascript.0
                                          2024-05-26 18:34:00.347	error	script.js.common.Wetter_Homeatic_2: TypeError: Cannot read properties of undefined (reading 'indexOf')
                                          
                                          javascript.0
                                          2024-05-26 18:32:00.452	error	at processTicksAndRejections (node:internal/process/task_queues:95:5)
                                          
                                          javascript.0
                                          2024-05-26 18:32:00.452	error	at /opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1190:38
                                          
                                          javascript.0
                                          2024-05-26 18:32:00.452	error	at Object.<anonymous> (script.js.common.Wetter_Homeatic_2:27:16)
                                          
                                          javascript.0
                                          2024-05-26 18:32:00.452	error	script.js.common.Wetter_Homeatic_2: TypeError: Cannot read properties of undefined (reading 'indexOf')
                                          
                                          javascript.0
                                          2024-05-26 18:30:00.447	error	at processTicksAndRejections (node:internal/process/task_queues:95:5)
                                          
                                          javascript.0
                                          2024-05-26 18:30:00.447	error	at /opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1190:38
                                          
                                          javascript.0
                                          2024-05-26 18:30:00.447	error	at Object.<anonymous> (script.js.common.Wetter_Homeatic_2:27:16)
                                          
                                          javascript.0
                                          2024-05-26 18:30:00.446	error	script.js.common.Wetter_Homeatic_2: TypeError: Cannot read properties of undefined (reading 'indexOf')
                                          
                                          javascript.0
                                          2024-05-26 18:28:00.634	error	at processTicksAndRejections (node:internal/process/task_queues:95:5)
                                          
                                          javascript.0
                                          2024-05-26 18:28:00.634	error	at /opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1190:38
                                          
                                          javascript.0
                                          2024-05-26 18:28:00.634	error	at Object.<anonymous> (script.js.common.Wetter_Homeatic_2:27:16)
                                          
                                          javascript.0
                                          2024-05-26 18:28:00.633	error	script.js.common.Wetter_Homeatic_2: TypeError: Cannot read properties of undefined (reading 'indexOf')
                                          
                                          
                                          crunchipC Abwesend
                                          crunchipC Abwesend
                                          crunchip
                                          Forum Testing Most Active
                                          schrieb am zuletzt editiert von
                                          #34

                                          @c1olli zeig es mal als screen

                                          umgestiegen von Proxmox auf Unraid

                                          C 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          354

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe