Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Wetterstation-Regenmenge-Einstellung im Flot Diagramm ?

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Wetterstation-Regenmenge-Einstellung im Flot Diagramm ?

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

      @paul53 sagte in Wetterstation-Regenmenge-Einstellung im Flot Diagramm ?:

      SV? Dann benötigt man natürlich kein Skript.

      ja, Geräte SV unter Rega

      1 Reply Last reply Reply Quote 0
      • S
        Speedy-Turbo last edited by Speedy-Turbo

        Hallo

        vielen Dank für die Antworten,

        erst einmal gut zu Wissen das Flot das nicht kann.
        Hätte je sein können, dann brauche ich da ja schon einmal nicht weiter zu suchen.

        @mickym sagte "Mit einem Skript und zwei eigenen Datenpunkten: Merker für Stand zum Tageswechsel und Wert für heute."

        Script: Ich dachte da gibt es was out of the Box aber ich versuche es mal oder hast du da zufällig ein Beispiel 😊
        Man kann in Flot auch eigene Datenpunkte einbinden ?

        @Homoran sagte: Variablen "Regen gestern" und "Regen heute"
        @paul53 sagte Geräte SV unter Rega

        Diese werden von der CCU3 geliefert an den IOBroker und stehen unter Rega ?
        Finde da leider nichts.
        hm-rega.png

        Was heißt denn Geräte SV ?

        Sorry bin Anfänger

        Homoran Dr. Bakterius 2 Replies Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @Speedy-Turbo last edited by

          @speedy-turbo sagte in Wetterstation-Regenmenge-Einstellung im Flot Diagramm ?:

          Diese werden von der CCU3 geliefert an den IOBroker und stehen unter Rega ?
          Finde da leider nichts.

          Hast du in der Konfiguration von Rega "versteckte Variablen" o.ä. angehakt?

          S 1 Reply Last reply Reply Quote 0
          • Dr. Bakterius
            Dr. Bakterius Most Active @Speedy-Turbo last edited by

            @speedy-turbo sagte in Wetterstation-Regenmenge-Einstellung im Flot Diagramm ?:

            hast du da zufällig ein Beispiel

            Ich habe eines wo man die Regenmenge der letzten Stunde und des Tages in einen Datenpunkt schreibt. Zusätzlich gibt es noch Datenpunkte für Werte die man zur Berechnung braucht:
            blockly.png

            <xml xmlns="https://developers.google.com/blockly/xml">
             <variables>
               <variable id="Hq`q`lA3d~Lw@G~{Xo39">werte</variable>
               <variable id="0sOV5F@_[PVZC~T=kyom">letzte_stunde</variable>
               <variable id=":37$^nfU^EO9Y]8ZL_jx">zähler</variable>
               <variable id="PHpD8SG6Q6?^_?8idGfG">menge</variable>
               <variable id="Ox5-4:j4~Q;{rpSHZ?q!">ausgabe</variable>
               <variable id="cp%b6FEb!vIffELaUx0G">i</variable>
               <variable id="WV(Hf=3)2%]ww[9-JGY}">x</variable>
               <variable id="}np,iccSV=7V!jfv|,4V">y</variable>
             </variables>
             <block type="comment" id="qD0(D%dHbAXnjm{s{Zut" x="87" y="88">
               <field name="COMMENT">Niederschlag der letzten 60 Minuten feststellen (=aktuell)</field>
               <next>
                 <block type="on_ext" id="A!EU8Qt{,)E:kDE-igsc">
                   <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                   <field name="CONDITION">any</field>
                   <field name="ACK_CONDITION"></field>
                   <value name="OID0">
                     <shadow type="field_oid" id="9,2D$a0HO/1UQ^Ij-i,b">
                       <field name="oid">alias.0.Garten.Wetterstation.RAIN_COUNTER</field>
                     </shadow>
                   </value>
                   <statement name="STATEMENT">
                     <block type="comment" id="!75j=D$!W_Q5r|[*Mz,(">
                       <field name="COMMENT">zu den bisherigen Werten den neuen hinzufügen</field>
                       <next>
                         <block type="variables_set" id="?jSete,DzaJ*q:fUc06)">
                           <field name="VAR" id="Hq`q`lA3d~Lw@G~{Xo39">werte</field>
                           <value name="VALUE">
                             <block type="text_join" id=",kDK4cjQh#u1MHChnsr-">
                               <mutation items="5"></mutation>
                               <value name="ADD0">
                                 <block type="get_value" id="h+wpBt7^q`8!V5~}eqFr">
                                   <field name="ATTR">val</field>
                                   <field name="OID">javascript.0.Regenmenge.zwischenspeicher</field>
                                 </block>
                               </value>
                               <value name="ADD1">
                                 <block type="text" id=",iJG.!XQIR8Rn~P}L_r.">
                                   <field name="TEXT">,</field>
                                 </block>
                               </value>
                               <value name="ADD2">
                                 <block type="time_get" id=")j{SLE0Xc+DLsm{*k:rj">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                   <field name="OPTION">object</field>
                                 </block>
                               </value>
                               <value name="ADD3">
                                 <block type="text" id="c_d{bW8v0y1B@YJwZ#XW">
                                   <field name="TEXT">,</field>
                                 </block>
                               </value>
                               <value name="ADD4">
                                 <block type="math_arithmetic" id="Qjt^ulu~)yUov/RkbF=W">
                                   <field name="OP">MINUS</field>
                                   <value name="A">
                                     <shadow type="math_number" id="[SYp6Y}u2GfBp1BQPzD@">
                                       <field name="NUM">1</field>
                                     </shadow>
                                     <block type="on_source" id="|z4)Y?}LE)cc9(DN6NTe">
                                       <field name="ATTR">state.val</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <shadow type="math_number" id="!Iu88UnM*sX_fvqrL9z7">
                                       <field name="NUM">1</field>
                                     </shadow>
                                     <block type="on_source" id="n%3?v1koteMp.F,fs=W6">
                                       <field name="ATTR">oldState.val</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <next>
                             <block type="comment" id="eEcJJO~C2`5PoQvqc7:k">
                               <field name="COMMENT">Aus den Werten eine Liste erstellen</field>
                               <next>
                                 <block type="variables_set" id="by{DY%h{4)TC257`F{4@">
                                   <field name="VAR" id="Hq`q`lA3d~Lw@G~{Xo39">werte</field>
                                   <value name="VALUE">
                                     <block type="lists_split" id="-B0/P:/BtQi09,|t-SxY">
                                       <mutation mode="SPLIT"></mutation>
                                       <field name="MODE">SPLIT</field>
                                       <value name="INPUT">
                                         <block type="variables_get" id="dP)5To{_??l?gdVTjF(H">
                                           <field name="VAR" id="Hq`q`lA3d~Lw@G~{Xo39">werte</field>
                                         </block>
                                       </value>
                                       <value name="DELIM">
                                         <shadow type="text" id="D{nR[Kg;6#?6xmXg;%:X">
                                           <field name="TEXT">,</field>
                                         </shadow>
                                       </value>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="variables_set" id="B?k[9-ukdKz92nJ1P09!">
                                       <field name="VAR" id=":37$^nfU^EO9Y]8ZL_jx">zähler</field>
                                       <value name="VALUE">
                                         <block type="math_number" id="fwoUIL:Ia-H.o%tar5c?">
                                           <field name="NUM">0</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="variables_set" id="rYPyqO~5:S!cq)Ig?N}d">
                                           <field name="VAR" id="PHpD8SG6Q6?^_?8idGfG">menge</field>
                                           <value name="VALUE">
                                             <block type="math_number" id="e51hW-YosdW}n|S4:)+w">
                                               <field name="NUM">0</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="variables_set" id="u0I[:DiTO0Fb=Bo)oiu}">
                                               <field name="VAR" id="Ox5-4:j4~Q;{rpSHZ?q!">ausgabe</field>
                                               <value name="VALUE">
                                                 <block type="text" id="~w%{x]sJ()/IUM|RVjr5">
                                                   <field name="TEXT"></field>
                                                 </block>
                                               </value>
                                               <next>
                                                 <block type="controls_forEach" id="g)gZNf8G=h2/zC)YxmaH">
                                                   <field name="VAR" id="cp%b6FEb!vIffELaUx0G">i</field>
                                                   <value name="LIST">
                                                     <block type="variables_get" id="x%3B%OyoL*HxM(0PgaO:">
                                                       <field name="VAR" id="Hq`q`lA3d~Lw@G~{Xo39">werte</field>
                                                     </block>
                                                   </value>
                                                   <statement name="DO">
                                                     <block type="math_change" id="tYTi~XdT2!wKMSI-Vk$B">
                                                       <field name="VAR" id=":37$^nfU^EO9Y]8ZL_jx">zähler</field>
                                                       <value name="DELTA">
                                                         <shadow type="math_number" id="I1cL5fVx*,S$6%zx9+48">
                                                           <field name="NUM">1</field>
                                                         </shadow>
                                                       </value>
                                                       <next>
                                                         <block type="variables_set" id="tDMbOgzE@6BS)(;]86Lq">
                                                           <field name="VAR" id="WV(Hf=3)2%]ww[9-JGY}">x</field>
                                                           <value name="VALUE">
                                                             <block type="convert_tonumber" id="J.jJL0Y~z6UnKT^p^C{B">
                                                               <value name="VALUE">
                                                                 <block type="lists_getIndex" id="T81E/,:o:=RTzLq4lA@o">
                                                                   <mutation statement="false" at="true"></mutation>
                                                                   <field name="MODE">GET</field>
                                                                   <field name="WHERE">FROM_START</field>
                                                                   <value name="VALUE">
                                                                     <block type="variables_get" id="}G6XaP^gr?jYJ6*Dc~{$">
                                                                       <field name="VAR" id="Hq`q`lA3d~Lw@G~{Xo39">werte</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="AT">
                                                                     <block type="variables_get" id="73{zlZ[-)E(qut^$O8!+">
                                                                       <field name="VAR" id=":37$^nfU^EO9Y]8ZL_jx">zähler</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="comment" id="xyZrqL$se|oIae$|mBVH">
                                                               <field name="COMMENT">Nur wenn der erste Wert ein Zeitstempel ist</field>
                                                               <next>
                                                                 <block type="controls_if" id="GU%{(fxEV5Y5dv$+}pS|">
                                                                   <value name="IF0">
                                                                     <block type="logic_compare" id="/,6O{;/45S/PNyu:@Ww_">
                                                                       <field name="OP">GT</field>
                                                                       <value name="A">
                                                                         <block type="variables_get" id="hk05)46jHiU}/U-U.g;x">
                                                                           <field name="VAR" id="WV(Hf=3)2%]ww[9-JGY}">x</field>
                                                                         </block>
                                                                       </value>
                                                                       <value name="B">
                                                                         <block type="math_number" id="y6juv76-c}?r8J}=n3B%">
                                                                           <field name="NUM">999</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                   <statement name="DO0">
                                                                     <block type="comment" id="A{a9fe:),bbFb}-ZcVfl">
                                                                       <field name="COMMENT">Wert nur übernehmen, wenn noch keine Stunde alt</field>
                                                                       <next>
                                                                         <block type="controls_if" id="Wu?aA{pxVfCs~6C.4)jG">
                                                                           <value name="IF0">
                                                                             <block type="logic_compare" id="Ydim[P5_C9G?`iuaQbnS">
                                                                               <field name="OP">GT</field>
                                                                               <value name="A">
                                                                                 <block type="math_arithmetic" id="Jby@*X!Zo`~cgDA5z.}N">
                                                                                   <field name="OP">ADD</field>
                                                                                   <value name="A">
                                                                                     <shadow type="math_number" id=")}aH//=./#a6VgWU|b{u">
                                                                                       <field name="NUM">1</field>
                                                                                     </shadow>
                                                                                     <block type="variables_get" id="TOp0NzfO!A?A(-db@-vf">
                                                                                       <field name="VAR" id="WV(Hf=3)2%]ww[9-JGY}">x</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="B">
                                                                                     <shadow type="math_number" id="sa%-VfDk4uE3FDb*L~)!">
                                                                                       <field name="NUM">3600000</field>
                                                                                     </shadow>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                               <value name="B">
                                                                                 <block type="time_get" id="+3GJxb*H|gPm`]#0.;fE">
                                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                                                   <field name="OPTION">object</field>
                                                                                 </block>
                                                                               </value>
                                                                             </block>
                                                                           </value>
                                                                           <statement name="DO0">
                                                                             <block type="variables_set" id="(`[$50.taVbJ{Y$IUI)~">
                                                                               <field name="VAR" id="}np,iccSV=7V!jfv|,4V">y</field>
                                                                               <value name="VALUE">
                                                                                 <block type="convert_tonumber" id="7fI2=GnyUDQoo*mp7p%s">
                                                                                   <value name="VALUE">
                                                                                     <block type="math_rndfixed" id="jLy?8*F`f0bO6FfdWV)}">
                                                                                       <field name="n">1</field>
                                                                                       <value name="x">
                                                                                         <shadow type="math_number" id="y-om%h{6bmtcs:aG+a0T">
                                                                                           <field name="NUM">3.1234</field>
                                                                                         </shadow>
                                                                                         <block type="lists_getIndex" id="vAFR;[X*{6F9uBO)JV-5">
                                                                                           <mutation statement="false" at="true"></mutation>
                                                                                           <field name="MODE">GET</field>
                                                                                           <field name="WHERE">FROM_START</field>
                                                                                           <value name="VALUE">
                                                                                             <block type="variables_get" id="aOgiU0L$1X1j*J/LN+:$">
                                                                                               <field name="VAR" id="Hq`q`lA3d~Lw@G~{Xo39">werte</field>
                                                                                             </block>
                                                                                           </value>
                                                                                           <value name="AT">
                                                                                             <block type="math_arithmetic" id="vIJ%(NMSm+2^;mY,K?RI">
                                                                                               <field name="OP">ADD</field>
                                                                                               <value name="A">
                                                                                                 <shadow type="math_number" id="OE_]YoS(?IlPe_z-D._0">
                                                                                                   <field name="NUM">1</field>
                                                                                                 </shadow>
                                                                                                 <block type="variables_get" id="L*r~#sN4|a2t+WZ:}$Od">
                                                                                                   <field name="VAR" id=":37$^nfU^EO9Y]8ZL_jx">zähler</field>
                                                                                                 </block>
                                                                                               </value>
                                                                                               <value name="B">
                                                                                                 <shadow type="math_number" id="(cJ4zhQn~p@i-=0EzqO5">
                                                                                                   <field name="NUM">1</field>
                                                                                                 </shadow>
                                                                                               </value>
                                                                                             </block>
                                                                                           </value>
                                                                                         </block>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                 </block>
                                                                               </value>
                                                                               <next>
                                                                                 <block type="comment" id="$=!t1*fKPt}GdfD8sI*/">
                                                                                   <field name="COMMENT">aktuelle Liste erstellen</field>
                                                                                   <next>
                                                                                     <block type="variables_set" id="NP:mqZcy0)x}nlWpL[(w">
                                                                                       <field name="VAR" id="Ox5-4:j4~Q;{rpSHZ?q!">ausgabe</field>
                                                                                       <value name="VALUE">
                                                                                         <block type="text_join" id="N{kfDkTd?UBU1iYdMtnC">
                                                                                           <mutation items="5"></mutation>
                                                                                           <value name="ADD0">
                                                                                             <block type="variables_get" id="TDm9mK]]P/o-wB`6(/-?">
                                                                                               <field name="VAR" id="Ox5-4:j4~Q;{rpSHZ?q!">ausgabe</field>
                                                                                             </block>
                                                                                           </value>
                                                                                           <value name="ADD1">
                                                                                             <block type="text" id="ox[}Hg$u5H7@Sl~bPNk+">
                                                                                               <field name="TEXT">,</field>
                                                                                             </block>
                                                                                           </value>
                                                                                           <value name="ADD2">
                                                                                             <block type="variables_get" id="Gg~bQuN+9%uq0:=@s2Bq">
                                                                                               <field name="VAR" id="WV(Hf=3)2%]ww[9-JGY}">x</field>
                                                                                             </block>
                                                                                           </value>
                                                                                           <value name="ADD3">
                                                                                             <block type="text" id="]gk{`5adZUKd@fBV}-5/">
                                                                                               <field name="TEXT">,</field>
                                                                                             </block>
                                                                                           </value>
                                                                                           <value name="ADD4">
                                                                                             <block type="variables_get" id=".{c*Y[(B_z8*zY$qoIJa">
                                                                                               <field name="VAR" id="}np,iccSV=7V!jfv|,4V">y</field>
                                                                                             </block>
                                                                                           </value>
                                                                                         </block>
                                                                                       </value>
                                                                                       <next>
                                                                                         <block type="comment" id="/N8br)BWnB3eiAo^*w*C">
                                                                                           <field name="COMMENT">Regenmenge der letzten Stunde ermitteln</field>
                                                                                           <next>
                                                                                             <block type="variables_set" id="byuNYfAok7`3n%,ddf`$">
                                                                                               <field name="VAR" id="PHpD8SG6Q6?^_?8idGfG">menge</field>
                                                                                               <value name="VALUE">
                                                                                                 <block type="convert_tonumber" id="$+DQt(4Sz}*otHSVehI)">
                                                                                                   <value name="VALUE">
                                                                                                     <block type="math_arithmetic" id="kr7OiH3c[jsNMi(a(40b">
                                                                                                       <field name="OP">ADD</field>
                                                                                                       <value name="A">
                                                                                                         <shadow type="math_number" id="Lwf|d2p;BXh{q%5rZ_hL">
                                                                                                           <field name="NUM">1</field>
                                                                                                         </shadow>
                                                                                                         <block type="variables_get" id="?hRw=%}XZ3#hjrU@#6V_">
                                                                                                           <field name="VAR" id="PHpD8SG6Q6?^_?8idGfG">menge</field>
                                                                                                         </block>
                                                                                                       </value>
                                                                                                       <value name="B">
                                                                                                         <shadow type="math_number" id="i?C]}.S?g~Y9!LqY5oBo">
                                                                                                           <field name="NUM">1</field>
                                                                                                         </shadow>
                                                                                                         <block type="variables_get" id="gYqkWv3qCg9r~lQxq9ul">
                                                                                                           <field name="VAR" id="}np,iccSV=7V!jfv|,4V">y</field>
                                                                                                         </block>
                                                                                                       </value>
                                                                                                     </block>
                                                                                                   </value>
                                                                                                 </block>
                                                                                               </value>
                                                                                             </block>
                                                                                           </next>
                                                                                         </block>
                                                                                       </next>
                                                                                     </block>
                                                                                   </next>
                                                                                 </block>
                                                                               </next>
                                                                             </block>
                                                                           </statement>
                                                                         </block>
                                                                       </next>
                                                                     </block>
                                                                   </statement>
                                                                 </block>
                                                               </next>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </statement>
                                                   <next>
                                                     <block type="comment" id="ppVTHzjQ,l6w??ikxUAQ">
                                                       <field name="COMMENT">erstes Komma entfernen</field>
                                                       <next>
                                                         <block type="variables_set" id="_k%wES0D0^qK60OKQ/tT">
                                                           <field name="VAR" id="Ox5-4:j4~Q;{rpSHZ?q!">ausgabe</field>
                                                           <value name="VALUE">
                                                             <block type="text_getSubstring" id="1p,1xX(/xD^qa6.$n#iv">
                                                               <mutation at1="true" at2="false"></mutation>
                                                               <field name="WHERE1">FROM_START</field>
                                                               <field name="WHERE2">LAST</field>
                                                               <value name="STRING">
                                                                 <block type="variables_get" id="C-}~hrQ3C)|[NLS:-gg#">
                                                                   <field name="VAR" id="Ox5-4:j4~Q;{rpSHZ?q!">ausgabe</field>
                                                                 </block>
                                                               </value>
                                                               <value name="AT1">
                                                                 <block type="math_number" id="Hg^ZJ.:`4{wF_4$qKz3X">
                                                                   <field name="NUM">2</field>
                                                                 </block>
                                                               </value>
                                                             </block>
                                                           </value>
                                                           <next>
                                                             <block type="control" id="d.Z,Q?1u09ffBrB!{7k`">
                                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                               <field name="OID">javascript.0.Regenmenge.zwischenspeicher</field>
                                                               <field name="WITH_DELAY">FALSE</field>
                                                               <value name="VALUE">
                                                                 <block type="variables_get" id="BPl$Rd`WiSn4yC`hM)~#">
                                                                   <field name="VAR" id="Ox5-4:j4~Q;{rpSHZ?q!">ausgabe</field>
                                                                 </block>
                                                               </value>
                                                               <next>
                                                                 <block type="control" id="vL%riZmJP`Cx6k`{c7YY">
                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                   <field name="OID">javascript.0.Regenmenge.aktuell</field>
                                                                   <field name="WITH_DELAY">FALSE</field>
                                                                   <value name="VALUE">
                                                                     <block type="math_rndfixed" id="B,,3fT)K},-fHo;#WU4i">
                                                                       <field name="n">1</field>
                                                                       <value name="x">
                                                                         <shadow type="math_number" id="Z#ME.dvutLM*a}fQS$Cw">
                                                                           <field name="NUM">3.1234</field>
                                                                         </shadow>
                                                                         <block type="variables_get" id="o2/nxQ,aaR(.{;EpFCVz">
                                                                           <field name="VAR" id="PHpD8SG6Q6?^_?8idGfG">menge</field>
                                                                         </block>
                                                                       </value>
                                                                     </block>
                                                                   </value>
                                                                   <next>
                                                                     <block type="comment" id="N~iX@c|VzqJNX6:2OOt*">
                                                                       <field name="COMMENT">Heutiger Niederschlag (0-24 Uhr)</field>
                                                                       <next>
                                                                         <block type="control" id="Y2]EFezzGx,(6aHTvw[Y">
                                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                           <field name="OID">javascript.0.Regenmenge.heute</field>
                                                                           <field name="WITH_DELAY">FALSE</field>
                                                                           <value name="VALUE">
                                                                             <block type="math_rndfixed" id="2L`5*;t,bcK09DfuhV|)">
                                                                               <field name="n">1</field>
                                                                               <value name="x">
                                                                                 <shadow type="math_number" id="bC,i|A-fizcmc6:OVo/U">
                                                                                   <field name="NUM">3.1234</field>
                                                                                 </shadow>
                                                                                 <block type="math_arithmetic" id="O1Q5Jws]7,+o+yLnnVfK">
                                                                                   <field name="OP">ADD</field>
                                                                                   <value name="A">
                                                                                     <shadow type="math_number">
                                                                                       <field name="NUM">1</field>
                                                                                     </shadow>
                                                                                     <block type="get_value" id="Q-;bMmNqJ_9:e+CJ9XO2">
                                                                                       <field name="ATTR">val</field>
                                                                                       <field name="OID">javascript.0.Regenmenge.heute</field>
                                                                                     </block>
                                                                                   </value>
                                                                                   <value name="B">
                                                                                     <shadow type="math_number" id="DPg5|VbXQW-*_8gejkKi">
                                                                                       <field name="NUM">1</field>
                                                                                     </shadow>
                                                                                     <block type="math_arithmetic" id="~R;B)y`Z42]vmF(NOLuj">
                                                                                       <field name="OP">MINUS</field>
                                                                                       <value name="A">
                                                                                         <shadow type="math_number">
                                                                                           <field name="NUM">1</field>
                                                                                         </shadow>
                                                                                         <block type="on_source" id="C.2FH}piL{dx.8syvx;E">
                                                                                           <field name="ATTR">state.val</field>
                                                                                         </block>
                                                                                       </value>
                                                                                       <value name="B">
                                                                                         <shadow type="math_number">
                                                                                           <field name="NUM">1</field>
                                                                                         </shadow>
                                                                                         <block type="on_source" id="R6,U,Y5#hf~;;0ngA`CE">
                                                                                           <field name="ATTR">oldState.val</field>
                                                                                         </block>
                                                                                       </value>
                                                                                     </block>
                                                                                   </value>
                                                                                 </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>
                   </statement>
                 </block>
               </next>
             </block>
             <block type="comment" id="d]tuushuToN9m|){8SGP" x="1287" y="87">
               <field name="COMMENT">Niederschlag der letzten Stunde</field>
               <next>
                 <block type="schedule" id="KD~Y)I3a:@){i[G^CmRc">
                   <field name="SCHEDULE">58 59 * * * *</field>
                   <statement name="STATEMENT">
                     <block type="controls_if" id="^z55jj[*0!F(g8XoY*$z">
                       <value name="IF0">
                         <block type="logic_compare" id="yms^*}|[t%2#;AX?nO6p">
                           <field name="OP">GTE</field>
                           <value name="A">
                             <block type="math_arithmetic" id="$-yrDGW,H(O-O39/Rd-n">
                               <field name="OP">MINUS</field>
                               <value name="A">
                                 <shadow type="math_number" id="IA}x4S$bIGgX;wDemKzs">
                                   <field name="NUM">1</field>
                                 </shadow>
                                 <block type="get_value" id="-vB7:-qp2144^6Q_8uCk">
                                   <field name="ATTR">val</field>
                                   <field name="OID">alias.0.Garten.Wetterstation.RAIN_COUNTER</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <shadow type="math_number" id="rmTy!KLDMhHG`T2Udw/V">
                                   <field name="NUM">1</field>
                                 </shadow>
                                 <block type="get_value" id="uD,Agf%VjyN?IlmlcyRG">
                                   <field name="ATTR">val</field>
                                   <field name="OID">javascript.0.Regenmenge.letzte_stunde_zähler</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="u9}c8Ico@=dXr9;FA!$H">
                               <field name="NUM">0</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO0">
                         <block type="variables_set" id="?_SXB05(HPJFc)z}tecI">
                           <field name="VAR" id="0sOV5F@_[PVZC~T=kyom">letzte_stunde</field>
                           <value name="VALUE">
                             <block type="math_rndfixed" id=".{G.Z{uc-*8=y(R_~?in">
                               <field name="n">1</field>
                               <value name="x">
                                 <shadow type="math_number" id="1GY[X!2H-DU3`K0(-vU,">
                                   <field name="NUM">3.1234</field>
                                 </shadow>
                                 <block type="math_arithmetic" id="i6}9;Cdz*^AY]fKvC-N}">
                                   <field name="OP">MINUS</field>
                                   <value name="A">
                                     <shadow type="math_number">
                                       <field name="NUM">1</field>
                                     </shadow>
                                     <block type="get_value" id="W)?BX9=9qCTJrI^`{/k!">
                                       <field name="ATTR">val</field>
                                       <field name="OID">alias.0.Garten.Wetterstation.RAIN_COUNTER</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <shadow type="math_number">
                                       <field name="NUM">1</field>
                                     </shadow>
                                     <block type="get_value" id="wRUUsrp7P@fe0B%u:UUu">
                                       <field name="ATTR">val</field>
                                       <field name="OID">javascript.0.Regenmenge.letzte_stunde_zähler</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <next>
                             <block type="control" id="/UjDlIURwI?Lzh:#Bne6">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                               <field name="OID">javascript.0.Regenmenge.letzte_stunde</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="variables_get" id="cK~s!N4eE`IWuI(EuvW*">
                                   <field name="VAR" id="0sOV5F@_[PVZC~T=kyom">letzte_stunde</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="control" id="hRUoaG]G*J;Fk0e{cSS^">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                   <field name="OID">javascript.0.Regenmenge.letzte_stunde_zähler</field>
                                   <field name="WITH_DELAY">TRUE</field>
                                   <field name="DELAY_MS">100</field>
                                   <field name="UNIT">ms</field>
                                   <field name="CLEAR_RUNNING">FALSE</field>
                                   <value name="VALUE">
                                     <block type="get_value" id="O^$xIoJsNHb|kKM*_D`i">
                                       <field name="ATTR">val</field>
                                       <field name="OID">alias.0.Garten.Wetterstation.RAIN_COUNTER</field>
                                     </block>
                                   </value>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </statement>
                     </block>
                   </statement>
                   <next>
                     <block type="comment" id="s.^nN+v0egVy/.Sb}s4M">
                       <field name="COMMENT">Niederschlag vom letzten Tag</field>
                       <next>
                         <block type="schedule" id="b{K{sk;+j{)ZWL{w.SFI">
                           <field name="SCHEDULE">59 59 23 * * *</field>
                           <statement name="STATEMENT">
                             <block type="control" id="!8[-l2K`vD3jfjn#F+*C">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                               <field name="OID">javascript.0.Regenmenge.gestern</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="get_value" id="bAc?h2yWj|Di16^/Uq*)">
                                   <field name="ATTR">val</field>
                                   <field name="OID">javascript.0.Regenmenge.heute</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="control" id="gtWwg^$F}lr5)}Qx~i0H">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                   <field name="OID">javascript.0.Regenmenge.heute</field>
                                   <field name="WITH_DELAY">TRUE</field>
                                   <field name="DELAY_MS">100</field>
                                   <field name="UNIT">ms</field>
                                   <field name="CLEAR_RUNNING">FALSE</field>
                                   <value name="VALUE">
                                     <block type="math_number" id="7uC6qva%lrIv*|`JX=Td">
                                       <field name="NUM">0</field>
                                     </block>
                                   </value>
                                 </block>
                               </next>
                             </block>
                           </statement>
                         </block>
                       </next>
                     </block>
                   </next>
                 </block>
               </next>
             </block>
            </xml>
            

            Geht sicher auch anders und vielleicht auch einfacher, aber funktioniert. 😊

            S 1 Reply Last reply Reply Quote 0
            • S
              Speedy-Turbo @Homoran last edited by

              @homoran

              Natürlich nicht 🙂
              Gerade gemacht und siehe da sie erscheinen
              REGA-Verstecke_Variablen.png

              REGA-Rain.png

              Super - Vielen Dank

              Homoran 1 Reply Last reply Reply Quote 0
              • Homoran
                Homoran Global Moderator Administrators @Speedy-Turbo last edited by

                @speedy-turbo sagte in Wetterstation-Regenmenge-Einstellung im Flot Diagramm ?:

                Gerade gemacht und siehe da sie erscheinen

                das ist notwendig, weil sie in der CCU als

                @speedy-turbo sagte in Wetterstation-Regenmenge-Einstellung im Flot Diagramm ?:

                Was heißt denn Geräte SV ?

                laufen.
                Also keine "freien" Systemvariablen sind, sondern bei dem Gerät erscheinen

                S 1 Reply Last reply Reply Quote 0
                • S
                  Speedy-Turbo @Dr. Bakterius last edited by

                  @dr-bakterius

                  super.
                  Das Blockly werde ich auf jeden fall umsetzen.
                  Das rechts mit dem Zeitplan muß ich mir noch genauer am Wochenende ansehen da ist noch ein ? 🙂

                  Vielen Dank

                  1 Reply Last reply Reply Quote 0
                  • S
                    Speedy-Turbo @Homoran last edited by

                    @homoran

                    Ja jetzt weiß ich auch was mit SV Geräte gemeint ist :=

                    Habe jetzt auch noch ein Video gefunden, welches zeigt dass dieser Wert dann im Programm der CCU3 wohl immer um 07:00 Uhr morgens zurück gesetzt wird.
                    Was für mich irgendwie kein Sinn macht. Habe es auf 00:00 Uhr geändert.

                    Falls einer auch noch das Problem mit dieser Wetterstation hat, hier eine paar Bilder aus der CCU3

                    Programm: prgDailySunshineRainCounter_11259

                    CCU3_Daily-Rain Counter.png

                    CCU3_Programm_Zeitpunkt.png

                    Gruß Speedy

                    Homoran 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @Speedy-Turbo last edited by

                      @speedy-turbo sagte in Wetterstation-Regenmenge-Einstellung im Flot Diagramm ?:

                      Habe jetzt auch noch ein Video gefunden

                      igitt!

                      @speedy-turbo sagte in Wetterstation-Regenmenge-Einstellung im Flot Diagramm ?:

                      welches zeigt dass dieser Wert dann im Programm der CCU3 wohl immer um 07:00 Uhr morgens zurück gesetzt wird.
                      Was für mich irgendwie kein Sinn macht. Habe es auf 00:00 Uhr geändert.

                      Das ist meteorologisch so festgelegt.
                      Der "Regentag" geht von 07:00 - 07:00

                      Dr. Bakterius 1 Reply Last reply Reply Quote 0
                      • Dr. Bakterius
                        Dr. Bakterius Most Active @Homoran last edited by Dr. Bakterius

                        @homoran sagte in Wetterstation-Regenmenge-Einstellung im Flot Diagramm ?:

                        Das ist meteorologisch so festgelegt.

                        Was jedem anderen aber völlig egal sein kann. Mich interessiert auch eher der Kalendertag. So wie ich auch daran interessiert bin wie viel es in der letzten Stunde geregnet hat. Mit ioBroker alles kein Problem wenn man ein Skript erstellt und in der CCU muss man nichts umstellen.

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          Speedy-Turbo @Dr. Bakterius last edited by

                          @dr-bakterius
                          Ja das habe ich auch gerade gemerkt.

                          Trotzt dieser Variablen komme ich doch wohl nicht um ein Script herum, zumindest wenn man nicht nur wissen will wieviel Regen täglich fällt, sondern auch eine Auswertung über Stunden oder Monate haben möchte.

                          Das wäre ja auch zu schön gewesen wenn man Flot sagen könnte nehme die Daten von bis und bereite Sie auf z.B. Stundenbasis auf.

                          2 Fragen noch:
                          1.
                          @Homoran: Du hast da ja super Diagramme. Wie bekomme ich denn diese Hintergrundbilder dort rein ?
                          Habe in der Konfiguration nur eine Hintergrundfarbe gesehen. Oder legst du dein Diagramm über ein Bild ?

                          Das der Benutzer selber ein Wert (also z.B. ein Zeitraum ) in VIS eintragen kann und das Diagramm wird dann entsprechend angezeigt geht wohl nicht oder ?
                          Also selber diese Werte beeinflussen kann:
                          Flot - Parameter - Zeitraum.png

                          Homoran Dr. Bakterius 2 Replies Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @Speedy-Turbo last edited by

                            @speedy-turbo sagte in Wetterstation-Regenmenge-Einstellung im Flot Diagramm ?:

                            legst du dein Diagramm über ein Bild ?

                            Ja!

                            und Hintergrund auf transparent

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              Speedy-Turbo @Homoran last edited by

                              @homoran
                              Danke

                              1 Reply Last reply Reply Quote 0
                              • Dr. Bakterius
                                Dr. Bakterius Most Active @Speedy-Turbo last edited by

                                @speedy-turbo sagte in Wetterstation-Regenmenge-Einstellung im Flot Diagramm ?:

                                Das der Benutzer selber ein Wert (also z.B. ein Zeitraum ) in VIS eintragen kann und das Diagramm wird dann entsprechend angezeigt geht wohl nicht oder ?

                                Das nicht, aber du kannst in der Grafik zoomen.

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                815
                                Online

                                32.0k
                                Users

                                80.4k
                                Topics

                                1.3m
                                Posts

                                5
                                19
                                1550
                                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