Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. [gelöst > thx] Parser -> Bitte, Starthilfe benötigt!

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst > thx] Parser -> Bitte, Starthilfe benötigt!

    This topic has been deleted. Only users with topic management privileges can see it.
    • metaxa
      metaxa @Homoran last edited by

      @homoran sagte in Parser -> Bitte, Starthilfe benötigt!:

      Das Blockly funktioniert

      Du bist echt der Hammer!

      Konnte aus zeitlichen Gründen damit noch nicht anfngen. Habe nur versucht das csv in einem Excel zu verfizieren. Das dürfte als Grundlage für die History und der auf der Webside angebotenen verschiedenen Grafiken dienen, da der letzte Eintrag 1-2 Tage zurückliegt. Ich konnte keine "heutigen, aktuellen" Zahlen finden.

      LG

      Homoran 1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @metaxa last edited by

        @metaxa sagte in Parser -> Bitte, Starthilfe benötigt!:

        Ich konnte keine "heutigen, aktuellen" Zahlen finden.

        ich auch nicht
        Hatte zuerst begonnen zu versuchen die Tabelle nach dem heutigen Tag zu filtern - niente
        ok, also gestern - njet
        dann nachgesehen: letzter Eintrag 08. um 23:59

        Da aus irgendeinem doofen Grund die Tabelle, so wie ich sie bearbeiten wollte, auch noch mitten im Datum den Umbruch erzeugte, dass nur noch der Tag und die Uhrzeit übrig blieb, hab ich den Teil, der das heutige Datum in das Format JJJJ-MM-TT minus einen (nachher zwei) Tage umwandelte wieder verwerfen können und ganz pragmatisch die letzte Zeile ausgewertet

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

          @homoran

          Hallo, bekomme da bei Zweitimpfung ein ; vorgestellt.

          Screenshot (3456).png

          Homoran 2 Replies Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @sigi234 last edited by

            @sigi234
            Du bist zu schnell 😉

            hab ich schon verbessert
            bitte nochmal den Export nehmen

            1 Reply Last reply Reply Quote 1
            • Homoran
              Homoran Global Moderator Administrators @sigi234 last edited by

              @sigi234

              Du hast anscheinend schon neuere Daten.
              Ich hatte mir die csv einmalig runtergladen um den Server nicht zu sehr auf uns aufmerksam zu machen und ab da mit dem Datenpunkt, in dem der Download liegt gearbeitet.

              kannst du da mal nachsehen von wann die letzte Zeile ist?

              sigi234 2 Replies Last reply Reply Quote 0
              • sigi234
                sigi234 Forum Testing Most Active @Homoran last edited by sigi234

                @homoran sagte in Parser -> Bitte, Starthilfe benötigt!:

                kannst du da mal nachsehen von wann die letzte Zeile ist?

                Wo sehe ich das?

                0e109570-f39f-4ba2-959c-c3cbc7ea9120-image.png 2021-03-09T23:59:59+01:00

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

                  @homoran sagte in Parser -> Bitte, Starthilfe benötigt!:

                  ch hatte mir die csv einmalig runtergladen um den Server nicht zu sehr auf uns aufmerksam zu machen und ab da mit dem Datenpunkt, in dem der Download liegt gearbeitet.

                  Habe einen Cron erstellt: Um 23:59 jeden Tag

                  Homoran 2 Replies Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @sigi234 last edited by Homoran

                    @sigi234 sagte in Parser -> Bitte, Starthilfe benötigt!:

                    Habe einen Cron erstellt: Um 23:59 jeden Tag

                    zu früh 😂

                    2021-03-08T23:59:59+01:00;10;8901064;Österreich;830655

                    @sigi234 sagte in Parser -> Bitte, Starthilfe benötigt!:

                    Wo sehe ich das?

                    im Datenpunkt auf "ins clipboard kopieren" gehen und dann in Notepad ansehen
                    Sieht chaotisch aus

                    1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @sigi234 last edited by Homoran

                      @sigi234
                      ich glaube da muss ich nochmal dran
                      Gut dass ich mir den Datenpunkt nochmal angeshen habe.
                      Die Zahlen scheiinen nicht für die beiden Imfungen zu stehen, sonern evtl. für

                      • Eingetragene Impfungen
                        und
                      • Teilgeimpfte

                      die

                      • Vollimmunisierte

                      kommen erst im nächsten Eintrag

                      EDIT:
                      gerade überprüft:
                      OesiImpfen_Tabelle.png

                      Das gibt es noch zu tun

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

                        @homoran hi

                        ich wurde gefragt, ob ich evtl eine tabelle für ganz österreich erstellen könnte -

                        die daten sind ja etwas seltsam mit den ganzen ;.

                        aber ich gehe davon aus, das man mit schleifen die daten rausbekommt. es sind ja immer x-überschriften, dann kommen x-einträge.

                        man müßte wohl die zeilen auslesen, die durch "neue zeile , carriage return? " entstehen und wenn ich die einzelnen zeilen hätte, könnte ich die daten anhand der strichpunkte zerlegen

                        könntest du ein array einbauen, welches die zeilen enthält ?

                        Homoran 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @liv-in-sky last edited by

                          @liv-in-sky sagte in Parser -> Bitte, Starthilfe benötigt!:

                          aber ich gehe davon aus, das man mit schleifen die daten rausbekommt. es sind ja immer x-überschriften, dann kommen x-einträge.

                          ja! Dachte ich auch

                          @liv-in-sky sagte in Parser -> Bitte, Starthilfe benötigt!:

                          man müßte wohl die zeilen auslesen, die durch "neue zeile , carriage return? " entstehen und wenn ich die einzelnen zeilen hätte, könnte ich die daten anhand der strichpunkte zerlegen

                          und genau daran bin ich gescheitert

                          @liv-in-sky sagte in Parser -> Bitte, Starthilfe benötigt!:

                          könntest du ein array einbauen, welches die zeilen enthält ?

                          leider eben nicht 😢

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

                            @homoran soll ich mal versuchen - in javascript ist das einfacher ?

                            Homoran 1 Reply Last reply Reply Quote 1
                            • Homoran
                              Homoran Global Moderator Administrators last edited by

                              @metaxa
                              @sigi234

                              Hier mein hoffentlich jetzt richtiges Ergebnis:
                              Oesi_impfen_Blockly04.png

                              <xml xmlns="https://developers.google.com/blockly/xml">
                               <variables>
                                 <variable id="=E+T~M83h!;Qa@1%T5]V">counter</variable>
                                 <variable id="#i8`+4mTz`V/Q{ZFJ6}^">Impfdaten</variable>
                                 <variable id=".oZgZ5?e1dk=ET7O7KXj">result</variable>
                                 <variable id="@.m!76$[8INh~|yVWDuZ">Start</variable>
                                 <variable id="?#3=k3K!$DG9x}|GzS{T">Ende</variable>
                                 <variable id="`=s$RTDY)K?p7V,KpNX,">Tagesdaten</variable>
                                 <variable id="X+fC8r`0g9rhY;Z[YX(+">Teilergebnis</variable>
                                 <variable id="-7H9Yz)Y2FoU6iJN*[/T">Pos1</variable>
                                 <variable id="C~Mb5oUlMSvvfp)+)1X0">Pos2</variable>
                                 <variable id="$/[ywb.QkhZ9z%UOIK!5">Erstimpfung</variable>
                                 <variable id="|i,(bTMSZ{7s8EF#]t~5">Pos3</variable>
                                 <variable id="398zAvUbUxJ#LFFMRlz5">Pos4</variable>
                                 <variable id="QCLZY+BsFY+*JHi:(b-b">Zweitimpfung</variable>
                               </variables>
                               <block type="request" id="AIbk+la{/y6KNTpb$m$A" disabled="true" x="-437" y="12">
                                 <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="Yn1;:g1?,_wv=nV*Aagk">
                                     <field name="TEXT">https://pipe.orf.at/corona-dashboard/data/timeline-eimpfpass.csv?origin=orf.at</field>
                                   </shadow>
                                 </value>
                                 <statement name="STATEMENT">
                                   <block type="debug" id="X?M%.P(}(C(RuJG)d#XH">
                                     <field name="Severity">log</field>
                                     <value name="TEXT">
                                       <shadow type="text" id="RUUwjL1`]J5|-/-bZ*AJ">
                                         <field name="TEXT">test</field>
                                       </shadow>
                                       <block type="variables_get" id="EG*~/|l,0d!RWTl916.y">
                                         <field name="VAR" id=".oZgZ5?e1dk=ET7O7KXj">result</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="update" id="B]i-rmX=69,UOWca;x+5">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                         <field name="OID">0_userdata.0.Oesi_Impfen.all</field>
                                         <field name="WITH_DELAY">TRUE</field>
                                         <field name="DELAY_MS">1000</field>
                                         <field name="UNIT">ms</field>
                                         <field name="CLEAR_RUNNING">FALSE</field>
                                         <value name="VALUE">
                                           <block type="variables_get" id=":Y#fi{;uneuI`o+su~mm">
                                             <field name="VAR" id=".oZgZ5?e1dk=ET7O7KXj">result</field>
                                           </block>
                                         </value>
                                       </block>
                                     </next>
                                   </block>
                                 </statement>
                               </block>
                               <block type="variables_set" id="aIY%0e*L_kdj{*2/DhM{" x="-437" y="287">
                                 <field name="VAR" id="=E+T~M83h!;Qa@1%T5]V">counter</field>
                                 <value name="VALUE">
                                   <block type="math_number" id="{AIDi6+[bJOfrTUWUK#/">
                                     <field name="NUM">0</field>
                                   </block>
                                 </value>
                                 <next>
                                   <block type="variables_set" id="at?bJ-16v:@)%y1Z=gQ^">
                                     <field name="VAR" id="#i8`+4mTz`V/Q{ZFJ6}^">Impfdaten</field>
                                     <value name="VALUE">
                                       <block type="get_value" id="(f]kR}6``3Zwm3cPQ=PZ">
                                         <field name="ATTR">val</field>
                                         <field name="OID">0_userdata.0.Oesi_Impfen.all</field>
                                       </block>
                                     </value>
                                     <next>
                                       <block type="variables_set" id="FM9U5-BGK6YFY(#G?Mi*">
                                         <field name="VAR" id="@.m!76$[8INh~|yVWDuZ">Start</field>
                                         <value name="VALUE">
                                           <block type="lists_indexOf" id="=p{f%4O!t8ny|cDxZZi[">
                                             <field name="END">LAST</field>
                                             <value name="VALUE">
                                               <block type="variables_get" id="t_nSadkK?QO4=Lrm.vnP">
                                                 <field name="VAR" id="#i8`+4mTz`V/Q{ZFJ6}^">Impfdaten</field>
                                               </block>
                                             </value>
                                             <value name="FIND">
                                               <block type="text" id="9Cd-X%3+wExtAQjxCVLc">
                                                 <field name="TEXT">Österreich</field>
                                               </block>
                                             </value>
                                           </block>
                                         </value>
                                         <next>
                                           <block type="variables_set" id="PU!?%_9ibNFHf,dpk/V^">
                                             <field name="VAR" id="?#3=k3K!$DG9x}|GzS{T">Ende</field>
                                             <value name="VALUE">
                                               <block type="lists_length" id="nNX^gTFFt~$lT6hK.!Y9">
                                                 <value name="VALUE">
                                                   <block type="variables_get" id=".k50ns`o|vgxBSe/zTq5">
                                                     <field name="VAR" id="#i8`+4mTz`V/Q{ZFJ6}^">Impfdaten</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <next>
                                               <block type="variables_set" id="t:=GP@cNa/x4s]0w|qb2">
                                                 <field name="VAR" id="`=s$RTDY)K?p7V,KpNX,">Tagesdaten</field>
                                                 <value name="VALUE">
                                                   <block type="text_getSubstring" id="T!)bvx,eAHmRszaMODaZ">
                                                     <mutation at1="true" at2="true"></mutation>
                                                     <field name="WHERE1">FROM_START</field>
                                                     <field name="WHERE2">FROM_START</field>
                                                     <value name="STRING">
                                                       <block type="variables_get" id="~($09)5T`EROzX8?ySI-">
                                                         <field name="VAR" id="#i8`+4mTz`V/Q{ZFJ6}^">Impfdaten</field>
                                                       </block>
                                                     </value>
                                                     <value name="AT1">
                                                       <block type="variables_get" id="jo9:]V{4BRN|/ve$YY|K">
                                                         <field name="VAR" id="@.m!76$[8INh~|yVWDuZ">Start</field>
                                                       </block>
                                                     </value>
                                                     <value name="AT2">
                                                       <block type="variables_get" id="c=^;3s:m#={7l?mbK?bb">
                                                         <field name="VAR" id="?#3=k3K!$DG9x}|GzS{T">Ende</field>
                                                       </block>
                                                     </value>
                                                   </block>
                                                 </value>
                                                 <next>
                                                   <block type="variables_set" id="py_f*U{~=Wyn3ot5I|QR">
                                                     <field name="VAR" id="@.m!76$[8INh~|yVWDuZ">Start</field>
                                                     <value name="VALUE">
                                                       <block type="math_arithmetic" id="SDc,9:Mye![|+hdHWm`#">
                                                         <field name="OP">ADD</field>
                                                         <value name="A">
                                                           <shadow type="math_number" id="l{!!%m4!ew|SVh*1K/K4">
                                                             <field name="NUM">1</field>
                                                           </shadow>
                                                           <block type="lists_indexOf" id="+f,/mWhnml8gDZc3Vz$/">
                                                             <field name="END">FIRST</field>
                                                             <value name="VALUE">
                                                               <block type="variables_get" id="{ymsj406HXe,9fBAEV_l">
                                                                 <field name="VAR" id="`=s$RTDY)K?p7V,KpNX,">Tagesdaten</field>
                                                               </block>
                                                             </value>
                                                             <value name="FIND">
                                                               <block type="text" id="[=byRNb(a[wGCc6o^RpS">
                                                                 <field name="TEXT">;</field>
                                                               </block>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <shadow type="math_number" id="KdyoU$cEt+_[2?9a^j^I">
                                                             <field name="NUM">1</field>
                                                           </shadow>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <next>
                                                       <block type="variables_set" id="Lq:9(l.xlqgwv6HPLmJ)">
                                                         <field name="VAR" id="=E+T~M83h!;Qa@1%T5]V">counter</field>
                                                         <value name="VALUE">
                                                           <block type="math_arithmetic" id="nmy7Y#{6I;]KD+f5S]xd">
                                                             <field name="OP">MINUS</field>
                                                             <value name="A">
                                                               <shadow type="math_number" id="6/Scvx*[#r}+5H?+K~ra">
                                                                 <field name="NUM">1</field>
                                                               </shadow>
                                                               <block type="variables_get" id="$1a/4]S_b1A0jO:2{gt=">
                                                                 <field name="VAR" id="@.m!76$[8INh~|yVWDuZ">Start</field>
                                                               </block>
                                                             </value>
                                                             <value name="B">
                                                               <shadow type="math_number" id="@qj_]UZz]a5av8le2|SN">
                                                                 <field name="NUM">2</field>
                                                               </shadow>
                                                             </value>
                                                           </block>
                                                         </value>
                                                         <next>
                                                           <block type="variables_set" id="nj9tIj$~zO*aq4Y8%i|^">
                                                             <field name="VAR" id="?#3=k3K!$DG9x}|GzS{T">Ende</field>
                                                             <value name="VALUE">
                                                               <block type="lists_length" id="6N2j8h@[eW8g!5HwtVbj">
                                                                 <value name="VALUE">
                                                                   <block type="variables_get" id="F~Q4[m/^Xu+cRZExXtz_">
                                                                     <field name="VAR" id="`=s$RTDY)K?p7V,KpNX,">Tagesdaten</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <next>
                                                               <block type="variables_set" id="~7ZoKLA[/ucCaAy^+^?N">
                                                                 <field name="VAR" id="X+fC8r`0g9rhY;Z[YX(+">Teilergebnis</field>
                                                                 <value name="VALUE">
                                                                   <block type="text_getSubstring" id="Ww]R.sc+)~*%76#7k[|D">
                                                                     <mutation at1="true" at2="true"></mutation>
                                                                     <field name="WHERE1">FROM_START</field>
                                                                     <field name="WHERE2">FROM_START</field>
                                                                     <value name="STRING">
                                                                       <block type="variables_get" id="r-L/FkO917r()g/tV2Q=">
                                                                         <field name="VAR" id="`=s$RTDY)K?p7V,KpNX,">Tagesdaten</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="AT1">
                                                                       <block type="variables_get" id="E)}(^*mQ9(GG~$P(lR;L">
                                                                         <field name="VAR" id="@.m!76$[8INh~|yVWDuZ">Start</field>
                                                                       </block>
                                                                     </value>
                                                                     <value name="AT2">
                                                                       <block type="variables_get" id="BCWg8r^}#wY`jo$)lUI9">
                                                                         <field name="VAR" id="?#3=k3K!$DG9x}|GzS{T">Ende</field>
                                                                       </block>
                                                                     </value>
                                                                   </block>
                                                                 </value>
                                                                 <next>
                                                                   <block type="controls_repeat_ext" id="($e.(dE+$k,]U6`[E;bj">
                                                                     <value name="TIMES">
                                                                       <shadow type="math_number" id="t{3W(}(uez%+xLdPl_VH">
                                                                         <field name="NUM">2</field>
                                                                       </shadow>
                                                                     </value>
                                                                     <statement name="DO">
                                                                       <block type="variables_set" id="Tk7JCI=Mb;mBw+q*kfZx">
                                                                         <field name="VAR" id="@.m!76$[8INh~|yVWDuZ">Start</field>
                                                                         <value name="VALUE">
                                                                           <block type="math_arithmetic" id="F{QQ{j2@r.`Kl1wgDPk5">
                                                                             <field name="OP">ADD</field>
                                                                             <value name="A">
                                                                               <shadow type="math_number">
                                                                                 <field name="NUM">1</field>
                                                                               </shadow>
                                                                               <block type="lists_indexOf" id="}|(zy1fFNUG.`wWcJvvU">
                                                                                 <field name="END">FIRST</field>
                                                                                 <value name="VALUE">
                                                                                   <block type="variables_get" id="oyTb@8-bk[gf41+SpnrM">
                                                                                     <field name="VAR" id="X+fC8r`0g9rhY;Z[YX(+">Teilergebnis</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="FIND">
                                                                                   <block type="text" id="eBPm;Ht5srZZ0?oaKJWF">
                                                                                     <field name="TEXT">;</field>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </value>
                                                                             <value name="B">
                                                                               <shadow type="math_number" id=":SJD9?wy7CfMJvAIOvzP">
                                                                                 <field name="NUM">1</field>
                                                                               </shadow>
                                                                             </value>
                                                                           </block>
                                                                         </value>
                                                                         <next>
                                                                           <block type="variables_set" id="SO,W?od/~fd=Vd|K-gzS">
                                                                             <field name="VAR" id="?#3=k3K!$DG9x}|GzS{T">Ende</field>
                                                                             <value name="VALUE">
                                                                               <block type="lists_length" id="{SM:`R5WoTUvg:a,9M}p">
                                                                                 <value name="VALUE">
                                                                                   <block type="variables_get" id="R0[zZLXWBQcv4c%{4D.U">
                                                                                     <field name="VAR" id="X+fC8r`0g9rhY;Z[YX(+">Teilergebnis</field>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </value>
                                                                             <next>
                                                                               <block type="variables_set" id="23{2IYpU$+o%pu2ut@EF">
                                                                                 <field name="VAR" id="=E+T~M83h!;Qa@1%T5]V">counter</field>
                                                                                 <value name="VALUE">
                                                                                   <block type="math_arithmetic" id="SPU];Z}}+gHX75rnN.rY">
                                                                                     <field name="OP">ADD</field>
                                                                                     <value name="A">
                                                                                       <shadow type="math_number" id="))!J]Js,3Mh,T|X2^4B/">
                                                                                         <field name="NUM">1</field>
                                                                                       </shadow>
                                                                                       <block type="variables_get" id="U@nC6_YQ$QpOW*vTXP*!">
                                                                                         <field name="VAR" id="@.m!76$[8INh~|yVWDuZ">Start</field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="B">
                                                                                       <shadow type="math_number" id="G))41V@qC7{U:]fvzTf8">
                                                                                         <field name="NUM">1</field>
                                                                                       </shadow>
                                                                                       <block type="variables_get" id="~}#0VO-jealcBYu0Ei*H">
                                                                                         <field name="VAR" id="=E+T~M83h!;Qa@1%T5]V">counter</field>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </value>
                                                                                 <next>
                                                                                   <block type="variables_set" id="]dZui;IrrOo4MeTDyr:4">
                                                                                     <field name="VAR" id="X+fC8r`0g9rhY;Z[YX(+">Teilergebnis</field>
                                                                                     <value name="VALUE">
                                                                                       <block type="text_getSubstring" id="=$[PEr?a*Fq|e!?$,GoI">
                                                                                         <mutation at1="true" at2="true"></mutation>
                                                                                         <field name="WHERE1">FROM_START</field>
                                                                                         <field name="WHERE2">FROM_START</field>
                                                                                         <value name="STRING">
                                                                                           <block type="variables_get" id="?P/[TZYVMp_Ie!CX;?+p">
                                                                                             <field name="VAR" id="X+fC8r`0g9rhY;Z[YX(+">Teilergebnis</field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="AT1">
                                                                                           <block type="variables_get" id=":0^+9@6,-n,HpakbkCMc">
                                                                                             <field name="VAR" id="@.m!76$[8INh~|yVWDuZ">Start</field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="AT2">
                                                                                           <block type="variables_get" id="ol2P(W:YKHq(a4]!FSw`">
                                                                                             <field name="VAR" id="?#3=k3K!$DG9x}|GzS{T">Ende</field>
                                                                                           </block>
                                                                                         </value>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </next>
                                                                               </block>
                                                                             </next>
                                                                           </block>
                                                                         </next>
                                                                       </block>
                                                                     </statement>
                                                                     <next>
                                                                       <block type="variables_set" id="=EFzl7b1ChLP@VqT~!1$">
                                                                         <field name="VAR" id="-7H9Yz)Y2FoU6iJN*[/T">Pos1</field>
                                                                         <value name="VALUE">
                                                                           <block type="variables_get" id="2?m]ExDCNZ)]B:N_d*j8">
                                                                             <field name="VAR" id="=E+T~M83h!;Qa@1%T5]V">counter</field>
                                                                           </block>
                                                                         </value>
                                                                         <next>
                                                                           <block type="variables_set" id="{C))E{o%!,5j%|.W_8Mx">
                                                                             <field name="VAR" id="C~Mb5oUlMSvvfp)+)1X0">Pos2</field>
                                                                             <value name="VALUE">
                                                                               <block type="math_arithmetic" id="Pds?)JXtU5e(P6Qt*]b7">
                                                                                 <field name="OP">ADD</field>
                                                                                 <value name="A">
                                                                                   <shadow type="math_number" id="Dx#6)lsllsi:Ga/B63T6">
                                                                                     <field name="NUM">1</field>
                                                                                   </shadow>
                                                                                   <block type="variables_get" id="LeAuB265K_r6)(YDW+e}">
                                                                                     <field name="VAR" id="-7H9Yz)Y2FoU6iJN*[/T">Pos1</field>
                                                                                   </block>
                                                                                 </value>
                                                                                 <value name="B">
                                                                                   <shadow type="math_number" id="!*:%ou8x).uFAlG3+s.A">
                                                                                     <field name="NUM">1</field>
                                                                                   </shadow>
                                                                                   <block type="math_arithmetic" id="7zPLP.N$m=_cdX4lfaq9">
                                                                                     <field name="OP">MINUS</field>
                                                                                     <value name="A">
                                                                                       <shadow type="math_number" id=".S@F~lKXa{JgS{v$r]bN">
                                                                                         <field name="NUM">1</field>
                                                                                       </shadow>
                                                                                       <block type="lists_indexOf" id="Zs62[~m|Pq!Z3c~8Qm{R">
                                                                                         <field name="END">FIRST</field>
                                                                                         <value name="VALUE">
                                                                                           <block type="variables_get" id="P2CLO]U#7A^Q5SJ?m)}Y">
                                                                                             <field name="VAR" id="X+fC8r`0g9rhY;Z[YX(+">Teilergebnis</field>
                                                                                           </block>
                                                                                         </value>
                                                                                         <value name="FIND">
                                                                                           <block type="text" id="L4=KEOZ_|O?|xuf(VEU+">
                                                                                             <field name="TEXT">;</field>
                                                                                           </block>
                                                                                         </value>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="B">
                                                                                       <shadow type="math_number" id="N!|oCk6lV.@%LZm_?_z4">
                                                                                         <field name="NUM">2</field>
                                                                                       </shadow>
                                                                                     </value>
                                                                                   </block>
                                                                                 </value>
                                                                               </block>
                                                                             </value>
                                                                             <next>
                                                                               <block type="variables_set" id="UIL{b^#/MHLgBZ4KOZQi">
                                                                                 <field name="VAR" id="$/[ywb.QkhZ9z%UOIK!5">Erstimpfung</field>
                                                                                 <value name="VALUE">
                                                                                   <block type="text_getSubstring" id="kjEB!|@nC,EH}yNg[ml:">
                                                                                     <mutation at1="true" at2="true"></mutation>
                                                                                     <field name="WHERE1">FROM_START</field>
                                                                                     <field name="WHERE2">FROM_START</field>
                                                                                     <value name="STRING">
                                                                                       <block type="variables_get" id="5{=*^zSTKgf=_h(WM5B^">
                                                                                         <field name="VAR" id="`=s$RTDY)K?p7V,KpNX,">Tagesdaten</field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="AT1">
                                                                                       <block type="variables_get" id="u[jOr.3?*_LPlT?n4bN3">
                                                                                         <field name="VAR" id="-7H9Yz)Y2FoU6iJN*[/T">Pos1</field>
                                                                                       </block>
                                                                                     </value>
                                                                                     <value name="AT2">
                                                                                       <block type="variables_get" id="k6:_Wqo/AZ8^6Hk8mHTk">
                                                                                         <field name="VAR" id="C~Mb5oUlMSvvfp)+)1X0">Pos2</field>
                                                                                       </block>
                                                                                     </value>
                                                                                   </block>
                                                                                 </value>
                                                                                 <next>
                                                                                   <block type="controls_repeat_ext" id="x/53-*+~1-!r5lKkeBO6">
                                                                                     <value name="TIMES">
                                                                                       <shadow type="math_number" id="|siu`WDO(9JXhB%AYEAu">
                                                                                         <field name="NUM">2</field>
                                                                                       </shadow>
                                                                                     </value>
                                                                                     <statement name="DO">
                                                                                       <block type="variables_set" id="r|`a]8lhIBor2!|`$qjC">
                                                                                         <field name="VAR" id="@.m!76$[8INh~|yVWDuZ">Start</field>
                                                                                         <value name="VALUE">
                                                                                           <block type="math_arithmetic" id="g;iHhXH$csn%5Ec.kwr,">
                                                                                             <field name="OP">ADD</field>
                                                                                             <value name="A">
                                                                                               <shadow type="math_number">
                                                                                                 <field name="NUM">1</field>
                                                                                               </shadow>
                                                                                               <block type="lists_indexOf" id="IFj2T,ek5D7/Tt_.%zo$">
                                                                                                 <field name="END">FIRST</field>
                                                                                                 <value name="VALUE">
                                                                                                   <block type="variables_get" id="D}_ihYTa)(/x%~^u-]dQ">
                                                                                                     <field name="VAR" id="X+fC8r`0g9rhY;Z[YX(+">Teilergebnis</field>
                                                                                                   </block>
                                                                                                 </value>
                                                                                                 <value name="FIND">
                                                                                                   <block type="text" id="$YZq6(}R2ds7vUyp-,`K">
                                                                                                     <field name="TEXT">;</field>
                                                                                                   </block>
                                                                                                 </value>
                                                                                               </block>
                                                                                             </value>
                                                                                             <value name="B">
                                                                                               <shadow type="math_number" id="rpCIxSjdR@287a8LXEGC">
                                                                                                 <field name="NUM">1</field>
                                                                                               </shadow>
                                                                                             </value>
                                                                                           </block>
                                                                                         </value>
                                                                                         <next>
                                                                                           <block type="variables_set" id="bGo6V#gj7X?u7~`*U:~B">
                                                                                             <field name="VAR" id="?#3=k3K!$DG9x}|GzS{T">Ende</field>
                                                                                             <value name="VALUE">
                                                                                               <block type="lists_length" id=":Lc.W/{#]H4u+/Dw7R1C">
                                                                                                 <value name="VALUE">
                                                                                                   <block type="variables_get" id="=]_rS+D]q}g$*fq9fh?c">
                                                                                                     <field name="VAR" id="X+fC8r`0g9rhY;Z[YX(+">Teilergebnis</field>
                                                                                                   </block>
                                                                                                 </value>
                                                                                               </block>
                                                                                             </value>
                                                                                             <next>
                                                                                               <block type="variables_set" id="2;TxG9acF5AQ-%`eGhin">
                                                                                                 <field name="VAR" id="=E+T~M83h!;Qa@1%T5]V">counter</field>
                                                                                                 <value name="VALUE">
                                                                                                   <block type="math_arithmetic" id="1fA[.%0uCKAUjG+6e=!m">
                                                                                                     <field name="OP">ADD</field>
                                                                                                     <value name="A">
                                                                                                       <shadow type="math_number">
                                                                                                         <field name="NUM">1</field>
                                                                                                       </shadow>
                                                                                                       <block type="variables_get" id="pGQdMIv`wRO_;Bm0UceR">
                                                                                                         <field name="VAR" id="@.m!76$[8INh~|yVWDuZ">Start</field>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                     <value name="B">
                                                                                                       <shadow type="math_number">
                                                                                                         <field name="NUM">1</field>
                                                                                                       </shadow>
                                                                                                       <block type="variables_get" id="2@vS0uVSus*lxz8zUjFw">
                                                                                                         <field name="VAR" id="=E+T~M83h!;Qa@1%T5]V">counter</field>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                   </block>
                                                                                                 </value>
                                                                                                 <next>
                                                                                                   <block type="variables_set" id="etPN6X)cS%A~.{e4JCwM">
                                                                                                     <field name="VAR" id="X+fC8r`0g9rhY;Z[YX(+">Teilergebnis</field>
                                                                                                     <value name="VALUE">
                                                                                                       <block type="text_getSubstring" id="b_5FhF}wpiV0#oE,vmuQ">
                                                                                                         <mutation at1="true" at2="true"></mutation>
                                                                                                         <field name="WHERE1">FROM_START</field>
                                                                                                         <field name="WHERE2">FROM_START</field>
                                                                                                         <value name="STRING">
                                                                                                           <block type="variables_get" id="`y1L?pECLh(,AL2+PrXd">
                                                                                                             <field name="VAR" id="X+fC8r`0g9rhY;Z[YX(+">Teilergebnis</field>
                                                                                                           </block>
                                                                                                         </value>
                                                                                                         <value name="AT1">
                                                                                                           <block type="variables_get" id="Ef4(Fj=^jkfUx^]nGhu+">
                                                                                                             <field name="VAR" id="@.m!76$[8INh~|yVWDuZ">Start</field>
                                                                                                           </block>
                                                                                                         </value>
                                                                                                         <value name="AT2">
                                                                                                           <block type="variables_get" id="g%98c_GZ?X~Mgipt|1Z;">
                                                                                                             <field name="VAR" id="?#3=k3K!$DG9x}|GzS{T">Ende</field>
                                                                                                           </block>
                                                                                                         </value>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                   </block>
                                                                                                 </next>
                                                                                               </block>
                                                                                             </next>
                                                                                           </block>
                                                                                         </next>
                                                                                       </block>
                                                                                     </statement>
                                                                                     <next>
                                                                                       <block type="variables_set" id="Z#qG9{gELx2JQ7w%@T7h">
                                                                                         <field name="VAR" id="|i,(bTMSZ{7s8EF#]t~5">Pos3</field>
                                                                                         <value name="VALUE">
                                                                                           <block type="math_arithmetic" id="?Qx]9FemEOpDqBW3aXOM">
                                                                                             <field name="OP">MINUS</field>
                                                                                             <value name="A">
                                                                                               <shadow type="math_number" id="(%}cL=PDGIu$ic_.0@l]">
                                                                                                 <field name="NUM">1</field>
                                                                                               </shadow>
                                                                                               <block type="variables_get" id="RNpw;.)QeQB^npdI[Rze">
                                                                                                 <field name="VAR" id="=E+T~M83h!;Qa@1%T5]V">counter</field>
                                                                                               </block>
                                                                                             </value>
                                                                                             <value name="B">
                                                                                               <shadow type="math_number" id="/GskCsitr.s)ZlI377x3">
                                                                                                 <field name="NUM">2</field>
                                                                                               </shadow>
                                                                                             </value>
                                                                                           </block>
                                                                                         </value>
                                                                                         <next>
                                                                                           <block type="variables_set" id="i0hUq`GvMvK|g%^bTQS|">
                                                                                             <field name="VAR" id="398zAvUbUxJ#LFFMRlz5">Pos4</field>
                                                                                             <value name="VALUE">
                                                                                               <block type="math_arithmetic" id="`cQs.hTIk5t?0+ri/j[%">
                                                                                                 <field name="OP">ADD</field>
                                                                                                 <value name="A">
                                                                                                   <shadow type="math_number">
                                                                                                     <field name="NUM">1</field>
                                                                                                   </shadow>
                                                                                                   <block type="variables_get" id="uPJ*XiDa~+_e2;r%z+{r">
                                                                                                     <field name="VAR" id="|i,(bTMSZ{7s8EF#]t~5">Pos3</field>
                                                                                                   </block>
                                                                                                 </value>
                                                                                                 <value name="B">
                                                                                                   <shadow type="math_number">
                                                                                                     <field name="NUM">1</field>
                                                                                                   </shadow>
                                                                                                   <block type="math_arithmetic" id=")R{.fbxk7Q6sXdU|kj.q">
                                                                                                     <field name="OP">MINUS</field>
                                                                                                     <value name="A">
                                                                                                       <shadow type="math_number">
                                                                                                         <field name="NUM">1</field>
                                                                                                       </shadow>
                                                                                                       <block type="lists_indexOf" id="IH-%=d5:B-|ozrwp_,2e">
                                                                                                         <field name="END">FIRST</field>
                                                                                                         <value name="VALUE">
                                                                                                           <block type="variables_get" id="@JnB!Y/u]2E0U1d=3Zd/">
                                                                                                             <field name="VAR" id="X+fC8r`0g9rhY;Z[YX(+">Teilergebnis</field>
                                                                                                           </block>
                                                                                                         </value>
                                                                                                         <value name="FIND">
                                                                                                           <block type="text" id="fe2K~0AT]?MUC+,[7:ZC">
                                                                                                             <field name="TEXT">;</field>
                                                                                                           </block>
                                                                                                         </value>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                     <value name="B">
                                                                                                       <shadow type="math_number" id="4YI:e3AJ[sXD2daPpXF}">
                                                                                                         <field name="NUM">1</field>
                                                                                                       </shadow>
                                                                                                     </value>
                                                                                                   </block>
                                                                                                 </value>
                                                                                               </block>
                                                                                             </value>
                                                                                             <next>
                                                                                               <block type="variables_set" id="PgloG#*oh.@4}bY@+eWO">
                                                                                                 <field name="VAR" id="QCLZY+BsFY+*JHi:(b-b">Zweitimpfung</field>
                                                                                                 <value name="VALUE">
                                                                                                   <block type="text_getSubstring" id="[AfOJJ^1KDL!#i_#K)T*">
                                                                                                     <mutation at1="true" at2="true"></mutation>
                                                                                                     <field name="WHERE1">FROM_START</field>
                                                                                                     <field name="WHERE2">FROM_START</field>
                                                                                                     <value name="STRING">
                                                                                                       <block type="variables_get" id="7-/IRvqG|a7Wjm@]??42">
                                                                                                         <field name="VAR" id="`=s$RTDY)K?p7V,KpNX,">Tagesdaten</field>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                     <value name="AT1">
                                                                                                       <block type="variables_get" id="|(yy_=(1paS4?6M_eNyw">
                                                                                                         <field name="VAR" id="|i,(bTMSZ{7s8EF#]t~5">Pos3</field>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                     <value name="AT2">
                                                                                                       <block type="variables_get" id="tfCc63h[64rJac(B/wT#">
                                                                                                         <field name="VAR" id="398zAvUbUxJ#LFFMRlz5">Pos4</field>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                   </block>
                                                                                                 </value>
                                                                                                 <next>
                                                                                                   <block type="debug" id="_^,/P(k@O)MV_@SXBo$c" disabled="true">
                                                                                                     <field name="Severity">log</field>
                                                                                                     <value name="TEXT">
                                                                                                       <shadow type="text" id="L|H6mZ;tnSz98{=J7$o8">
                                                                                                         <field name="TEXT">test</field>
                                                                                                       </shadow>
                                                                                                       <block type="variables_get" id="se[mjppOT_6$PeBcm@)4">
                                                                                                         <field name="VAR" id="QCLZY+BsFY+*JHi:(b-b">Zweitimpfung</field>
                                                                                                       </block>
                                                                                                     </value>
                                                                                                     <next>
                                                                                                       <block type="debug" id=";dzlDD#(wXqaM5K2COlv">
                                                                                                         <field name="Severity">log</field>
                                                                                                         <value name="TEXT">
                                                                                                           <shadow type="text" id="}^67J##hn,9E,@{3G#cv">
                                                                                                             <field name="TEXT">test</field>
                                                                                                           </shadow>
                                                                                                           <block type="text_join" id="MrQG0inZ+,s|2YooEoiq">
                                                                                                             <mutation items="4"></mutation>
                                                                                                             <value name="ADD0">
                                                                                                               <block type="text" id="8E%8RFIcjjE=f*^XlvPk">
                                                                                                                 <field name="TEXT">Anzahl Erstimpfungen: </field>
                                                                                                               </block>
                                                                                                             </value>
                                                                                                             <value name="ADD1">
                                                                                                               <block type="variables_get" id="!_*p1+!gpJor8c%+jV(q">
                                                                                                                 <field name="VAR" id="$/[ywb.QkhZ9z%UOIK!5">Erstimpfung</field>
                                                                                                               </block>
                                                                                                             </value>
                                                                                                             <value name="ADD2">
                                                                                                               <block type="text" id="0zpc$;#}Do)PzfJW-29n">
                                                                                                                 <field name="TEXT">; Anzahl Zweitimpfungen: </field>
                                                                                                               </block>
                                                                                                             </value>
                                                                                                             <value name="ADD3">
                                                                                                               <block type="variables_get" id="BeFHRkL;*go=%9{,k/{6">
                                                                                                                 <field name="VAR" id="QCLZY+BsFY+*JHi:(b-b">Zweitimpfung</field>
                                                                                                               </block>
                                                                                                             </value>
                                                                                                           </block>
                                                                                                         </value>
                                                                                                       </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>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                              </xml>
                              

                              1 Reply Last reply Reply Quote 0
                              • Homoran
                                Homoran Global Moderator Administrators @liv-in-sky last edited by

                                @liv-in-sky sagte in Parser -> Bitte, Starthilfe benötigt!:

                                soll ich mal versuchen - in javascript ist das einfacher ?

                                gerne!

                                Das Ganze ist sowieso nur eine riesige Krücke.
                                Wenn das jemand sieht, der Ahnung davon hat wird der lachend vom Stuhl fallen.

                                Wie bereits früher geschrieben nutze ich solche Aufgaben auch um mich selber weiterzubilden.

                                Das beginnt ja schon damit, dass ich keine zwei Zahlen aus der Website herausbekomme, sondern nur die im Hintergrund liegende Tabelle, die täglich länger wird.
                                Damals hatte mir bei einem ähnlichen fall @OliverIO geholfen (glaube ich zumindest) versteckte Daten zu finden.
                                Hab das Thema jetzt genutzt um es auch auf diese Weise zu versuchen.

                                Der zweite Dilettantismus beginnt dann mit meiner Unfähigkeit diese csv-Datei in sinnvolle Fragmente zu zerlegen, auf die dann einfach zuzugreifen ist.
                                Statt dessen arbeite ich hier mit Stringsuchen, zählvariablen usw. und bekomme selbst das nicht so hin, wie ich es will, so dass ich empirisch an den Zählvariablen schraube damit das Ergebnis reproduzierbar (??) gleich bleibt

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

                                  @homoran solange dich das nicht stört

                                  die zeilen habe ich - mein problem:

                                  @sigi234 - was genau für daten brauchst du - eine zeile enthält 64 einträge - die kann ich nicht alle anzeigen - wir müssen das einschränken - welche spalten interessieren ?

                                  die über 800 zeilen sind nicht das problem - da kann man dann filtern oder suchen nach einer bestimmten region

                                  Homoran metaxa 2 Replies Last reply Reply Quote 0
                                  • Homoran
                                    Homoran Global Moderator Administrators @liv-in-sky last edited by Homoran

                                    @liv-in-sky sagte in Parser -> Bitte, Starthilfe benötigt!:

                                    was genau für daten brauchst du - eine zeile enthält 64 einträge

                                    Sieh dir das mal an:
                                    https://forum.iobroker.net/assets/uploads/files/1615385390117-oesiimpfen_tabelle.png

                                    Interessant sind die Spalten G und I, sowie evtl. die Quoten in H und J

                                    @liv-in-sky sagte in Parser -> Bitte, Starthilfe benötigt!:

                                    die zeilen habe ich

                                    aus "wissenschaftlichem" Interesse: wie?

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

                                      @homoran ja, das kenne ich - wenn du das csv file bis zum ende nach rechts ansiehst, sind das 64 spalten - das paßt auf keinen bildschirm - selbs wenn du dir in der vis eine ganze eite dafür nimmst, werden wohl nur 20 spalten sinn machen - aber die sinnvollen muss man erst finden - bzw evtl müßte man mehrere spalten in eine addieren oder sowas

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

                                        @liv-in-sky sagte in Parser -> Bitte, Starthilfe benötigt!:

                                        welche spalten interessieren

                                        Als Urheber dieser Bitte (Anforderung):

                                        • Datum (Filter)
                                        • BundeslandID (Filter)
                                        • Bevölkerung
                                        • Name
                                        • Teilgeimpfte
                                        • Vollimmunisierte

                                        Ansich hätten mir die paar - aber aktuellen - Zahlen von https://orf.at/corona/daten/impfung interessiert, da wußte ich nch nicht was @Homoran findet. Leider sind in der csv keine aktuellen Zahlen.
                                        423ef2c0-e04d-462b-8c77-58d2dc9f4a75-grafik.png

                                        Lieben Dank Euch Allen!
                                        mxa

                                        Homoran liv-in-sky 2 Replies Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @liv-in-sky last edited by

                                          @liv-in-sky Ja!
                                          die interessanten Daten liegen eigentlich alle vorne.
                                          Mit

                                          • Name [D]
                                          • Einwohnerzahl [C]
                                          • Teilgeimpfte [G]
                                          • Vollimmunisierte [I]

                                          kann man auch die Impfquoten errechnen

                                          1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @metaxa last edited by Homoran

                                            @metaxa sagte in Parser -> Bitte, Starthilfe benötigt!:

                                            Leider sind in der csv keine aktuellen Zahlen.

                                            doch!
                                            die vom Vortag

                                            gaaaaanz unten

                                            682f669b-5f88-4658-a0e3-ed3bad6a462d-image.png

                                            Da kommen genau deine markierten Werte
                                            und @sigi234 hat kurze Zeit später die csv heruntergeladen und schon die Werte von gestern bekommen

                                            16:41:30.142 info javascript.0 (6191) script.js.Oesi_Impfen: Anzahl Erstimpfungen: 608045; Anzahl Zweitimpfungen: 252097;

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            733
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            communication javascript
                                            5
                                            80
                                            3917
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo