<div dir="ltr">Guten Morgen Torsten.<div><br></div><div><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif">>Frage: Was muss wo eingefügt werden, damit die Ventil-Funktion so wie in Euren Screen-Shot´s zu sehen ist?</span>  <br></div><div><br></div><div>VZ auf aktuellen stand bringen mit "git pull"</div><div><br></div><div><span style="color:rgb(33,33,33);font-family:"helvetica neue",helvetica,arial,sans-serif"><span class="inbox-inbox-Apple-converted-space">> </span>Und wie habt Ihr das entsprechende Signal am Pi angeschlossen - mit Pullup der Pulldown-Widerstand?</span>  <br></div><div><br></div><div>Bei mir liefert ein Script direkt den Wert weil es per Software auslesbar ist. Kommt halt drauf an was und wie dein WP-Datenlogger liefert.</div><div><br></div><div>Grüße</div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">Torsten <<a href="mailto:t.wisgalla@gmx.de">t.wisgalla@gmx.de</a>> schrieb am Sa., 30. Juli 2016 um 21:34 Uhr:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hallo zusammen,<br>
    <br>
    möcht mich hier mal dranhängen.<br>
    <br>
    Frage: Was muss wo eingefügt werden, damit die Ventil-Funktion so
    wie in Euren Screen-Shot´s zu sehen ist? Und wie habt Ihr das
    entsprechende Signal am Pi angeschlossen - mit Pullup der
    Pulldown-Widerstand?<br>
    <br>
    Möchte für meinen WP-Datenlogger neben den Temperaturen auch die
    entsprechenden Pumpen im Status 0=off und 1=on zeitlich aufzeichnen.<br>
    <br>
    Besten Dank und mfG - Torsten</div><div text="#000000" bgcolor="#FFFFFF"><br>
    <br>
    <div>Am 30.07.2016 um 15:50 schrieb
      Christian Schnellrieder:<br>
    </div>
    <blockquote type="cite">
      <p dir="ltr">Hallo Andi . Ok ich dachte das wird rechts weiter
        gezeichnet weil auch der Cursor einen  Wert anzeigt. Also alles
        ok.</p>
      <p dir="ltr">Grüße und noch ein schönes Wochenende </p>
      <br>
      <div class="gmail_quote">
        <div dir="ltr">Andreas Goetz <<a href="mailto:cpuidle@gmail.com" target="_blank">cpuidle@gmail.com</a>>
          schrieb am Sa., 30. Juli 2016, 13:14:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div style="word-wrap:break-word">Hallo Christian,
            <div><br>
            </div>
            <div>bei mir sieht das mit einem Ventil so aus:</div>
            <div><br>
            </div>
            <div><img height="240" width="313"></div>
            <div><br>
            </div>
            <div>…also völlig ok.</div>
            <div><br>
            </div>
            <div>Die Einzige Einschränkung ist dass der letzte Zustand
              nicht bis zum Chartende durchgezogen wird. Das ist sicher
              Geschmacksache- letztlich weiss man ja auch nicht ob seit
              diesem Zeitpunkt überhaupt noch Messwerte erfasst wurden.</div>
            <div><br>
            </div>
            <div>Was passt bei Dir nicht? Mit welchen Rohwerten?</div>
            <div><br>
            </div>
            <div>Viele Grüße, Andreas</div>
            <div><br>
            </div>
            <div><br>
            </div>
          </div>
          <div style="word-wrap:break-word">
            <div>
              <div>
                <blockquote type="cite">
                  <div>On 29 Jul 2016, at 12:36, Christian Schnellrieder
                    <<a href="mailto:schnellrieder.cs@gmail.com" target="_blank">schnellrieder.cs@gmail.com</a>>
                    wrote:</div>
                  <br>
                </blockquote>
              </div>
            </div>
          </div>
          <div style="word-wrap:break-word">
            <div>
              <div>
                <blockquote type="cite">
                  <div>
                    <div dir="ltr">Nachtrag:
                      <div>Ich hab nun den Fall simuliert den
                        Ursprünglich Matthias hat. Also nur an die VZ zu
                        senden wenn sich der Status ändert.</div>
                      <div>In dem Fall stimmt die Anzeige nicht. Kann
                        aber auch gut sein das ich hier was falsch
                        eingestellt habe.</div>
                      <div><br>
                      </div>
                    </div>
                  </div>
                </blockquote>
              </div>
            </div>
          </div>
          <div style="word-wrap:break-word">
            <div>
              <div>
                <blockquote type="cite">
                  <div>
                    <div dir="ltr"><span><pasted2.png></span>
                      <div><br>
                      </div>
                      <div><br>
                      </div>
                      <div>Grüße</div>
                      <br>
                    </div>
                  </div>
                </blockquote>
              </div>
            </div>
          </div>
          <div style="word-wrap:break-word">
            <div>
              <div>
                <blockquote type="cite">
                  <div>
                    <div dir="ltr">
                      <div class="gmail_quote">
                        <div dir="ltr">Christian Schnellrieder <<a href="mailto:schnellrieder.cs@gmail.com" target="_blank"><a href="mailto:schnellrieder.cs@gmail.com" target="_blank">schnellrieder.cs@gmail.com</a></a>>
                          schrieb am Fr., 29. Juli 2016 um 12:00 Uhr:<br>
                        </div>
                      </div>
                    </div>
                  </div>
                </blockquote>
              </div>
            </div>
          </div>
          <div style="word-wrap:break-word">
            <div>
              <div>
                <blockquote type="cite">
                  <div>
                    <div dir="ltr">
                      <div class="gmail_quote">
                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                          <div dir="ltr">Also bei mir wäre alles ok.</div>
                          <br>
                        </blockquote>
                      </div>
                    </div>
                  </div>
                </blockquote>
              </div>
            </div>
          </div>
          <div style="word-wrap:break-word">
            <div>
              <div>
                <blockquote type="cite">
                  <div>
                    <div dir="ltr">
                      <div class="gmail_quote">
                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                          <div class="gmail_quote">
                            <div dir="ltr">Andreas Goetz <<a href="mailto:cpuidle@gmail.com" target="_blank"><a href="mailto:cpuidle@gmail.com" target="_blank">cpuidle@gmail.com</a></a>>
                              schrieb am Fr., 29. Juli 2016 um
                              11:40 Uhr:<br>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                    </div>
                  </div>
                </blockquote>
              </div>
            </div>
          </div>
          <div style="word-wrap:break-word">
            <div>
              <div>
                <blockquote type="cite">
                  <div>
                    <div dir="ltr">
                      <div class="gmail_quote">
                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                          <div class="gmail_quote">
                            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                              <div dir="ltr">
                                <div>
                                  <div>Noch eine Frage bevor ich's
                                    merge: zeigt auch das Mauszeiger im
                                    Chart "hovern" den richtigen Wert an
                                    und keine Fehlermeldungen an den
                                    Rändern?<br>
                                    <br>
                                  </div>
                                  Viele Grüße,<br>
                                </div>
                                Andreas<br>
                                <br>
                              </div>
                            </blockquote>
                          </div>
                        </blockquote>
                      </div>
                    </div>
                  </div>
                </blockquote>
              </div>
            </div>
          </div>
          <div style="word-wrap:break-word">
            <div>
              <div>
                <blockquote type="cite">
                  <div>
                    <div dir="ltr">
                      <div class="gmail_quote">
                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                          <div class="gmail_quote">
                            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                              <div class="gmail_extra">
                                <div class="gmail_quote">2016-07-29
                                  11:27 GMT+02:00 Christian
                                  Schnellrieder <span dir="ltr"><<a href="mailto:schnellrieder.cs@gmail.com" target="_blank"><a href="mailto:schnellrieder.cs@gmail.com" target="_blank">schnellrieder.cs@gmail.com</a></a>></span>:<br>
                                </div>
                              </div>
                            </blockquote>
                          </div>
                        </blockquote>
                      </div>
                    </div>
                  </div>
                </blockquote>
              </div>
            </div>
          </div>
          <div style="word-wrap:break-word">
            <div>
              <div>
                <blockquote type="cite">
                  <div>
                    <div dir="ltr">
                      <div class="gmail_quote">
                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                          <div class="gmail_quote">
                            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                              <div class="gmail_extra">
                                <div class="gmail_quote">
                                  <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                    <div dir="ltr">Hallo Andreas,
                                      <div><br>
                                      </div>
                                      <div>hab auch getestet und konnte
                                        bei meinen
                                        Betriebsstundensensoren inkl
                                        states keine negativen Effekte
                                        festellen können.</div>
                                    </div>
                                  </blockquote>
                                </div>
                              </div>
                            </blockquote>
                          </div>
                        </blockquote>
                      </div>
                    </div>
                  </div>
                </blockquote>
              </div>
            </div>
          </div>
          <div style="word-wrap:break-word">
            <div>
              <div>
                <blockquote type="cite">
                  <div>
                    <div dir="ltr">
                      <div class="gmail_quote">
                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                          <div class="gmail_quote">
                            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                              <div class="gmail_extra">
                                <div class="gmail_quote">
                                  <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                    <div dir="ltr"><span><pasted1></span>
                                      <div><br>
                                      </div>
                                      <div><br>
                                      </div>
                                      <div>Grüße</div>
                                      <div>
                                        <div><br>
                                          <div class="gmail_quote">
                                            <div dir="ltr">Andreas Goetz
                                              <<a href="mailto:cpuidle@gmail.com" target="_blank"><a href="mailto:cpuidle@gmail.com" target="_blank">cpuidle@gmail.com</a></a>>
                                              schrieb am Do., 28. Juli
                                              2016 um 13:10 Uhr:<br>
                                            </div>
                                            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                              <div style="word-wrap:break-word">Switches
                                                in states geändert (<a href="https://github.com/volkszaehler/volkszaehler.org/pull/450/commits/27ab1e5d27816bbaf722af9cd4450d01dd04ebde" target="_blank"><a href="https://github.com/volkszaehler/volkszaehler.org/pull/450/commits/27ab1e5d27816bbaf722af9cd4450d01dd04ebde" target="_blank">https://github.com/volkszaehler/volkszaehler.org/pull/450/commits/27ab1e5d27816bbaf722af9cd4450d01dd04ebde</a></a>)
                                                <div><br>
                                                </div>
                                                <div>ping @Justin</div>
                                                <div><br>
                                                </div>
                                                <div>Wäre gut wenn noch
                                                  einer der Benutzer der
                                                  Workinghours
                                                  Sensor/Meter Typen
                                                  testen könnte.</div>
                                                <div><br>
                                                </div>
                                                <div>Vielen Dank,</div>
                                                <div>Andreas</div>
                                              </div>
                                              <div style="word-wrap:break-word">
                                                <div><br>
                                                  <div>
                                                    <blockquote type="cite">
                                                      <div>On 27 Jul
                                                        2016, at 23:06,
                                                        Matthias
                                                        Kammerer <<a href="mailto:kammererm@gmail.com" target="_blank"><a href="mailto:kammererm@gmail.com" target="_blank">kammererm@gmail.com</a></a>>
                                                        wrote:</div>
                                                      <br>
                                                      <div>
                                                        <div dir="ltr"><span style="color:rgb(153,153,153)"><span><span style="background-color:rgb(255,255,255)">Sieht
                                                          gut aus!
                                                          Besten Dank!</span></span><br>
                                                          </span>
                                                          <div><span style="color:rgb(153,153,153)"><br>
                                                          <br>
                                                          </span>Am 27.
                                                          Juli 2016 um
                                                          22:56 schrieb
                                                          Andre
                                                          Bernemann <span dir="ltr"><<a href="mailto:andre.bernemann@gmail.com" target="_blank"><a href="mailto:andre.bernemann@gmail.com" target="_blank">andre.bernemann@gmail.com</a></a>></span>:<br>
                                                          <div class="gmail_extra">
                                                          <div class="gmail_quote">
                                                          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                                          <div dir="ltr">Fantastisch,
                                                          ich teste in
                                                          Kürze mit!
                                                          <div><br>
                                                          </div>
                                                          <div>Gruß</div>
                                                          <div>André</div>
                                                          </div>
                                                          <div>
                                                          <div><br>
                                                          <div class="gmail_quote">
                                                          <div dir="ltr">Andreas
                                                          Götz <<a href="mailto:cpuidle@gmail.com" target="_blank"><a href="mailto:cpuidle@gmail.com" target="_blank">cpuidle@gmail.com</a></a>>
                                                          schrieb am
                                                          Mi., 27. Juli
                                                          2016 um
                                                          21:56 Uhr:<br>
                                                          </div>
                                                          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                                          <div dir="auto">
                                                          <div>Klasse!
                                                          Korrigiere
                                                          ich, bräuchte
                                                          aber trotzdem
                                                          noch
                                                          soegfältige
                                                          Tester...<br>
                                                          <br>
                                                          Viele Grüße,
                                                          <div>Andreas</div>
                                                          </div>
                                                          </div>
                                                          <div dir="auto">
                                                          <div><br>
                                                          Am 27.07.2016
                                                          um 20:48
                                                          schrieb Klaus
                                                          Reichenecker
                                                          <<a href="mailto:kr@kr123.de" target="_blank"><a href="mailto:kr@kr123.de" target="_blank">kr@kr123.de</a></a>>:<br>
                                                          <br>
                                                          </div>
                                                          <blockquote type="cite">
                                                          <div>
                                                          <div><font size="2" face="Arial">Hallo
                                                          Andreas,</font></div>
                                                          <div> </div>
                                                          <div> </div>
                                                          <div><font size="2" face="Arial">konhte
                                                          es auf die
                                                          Schnelle noch
                                                          nicht testen,
                                                          aber denke das
                                                          ist genau das
                                                          was viele
                                                          brauchen</font></div>
                                                          <div> </div>
                                                          <div><font size="2" face="Arial">Vorschlag
                                                          zum Namen,
                                                          nachdem Du Dir
                                                          bei "switch"
                                                          nicht ganz
                                                          sicher bist -
                                                          wie wäre es
                                                          mit "State`? 
                                                          - Eigentlich
                                                          zeigt es ja
                                                          genau das an ?</font></div>
                                                          <div> </div>
                                                          <div><font size="2" face="Arial">Viele
                                                          Grüße</font></div>
                                                          <div> </div>
                                                          <div><font size="2" face="Arial">Klaus</font></div>
                                                          <blockquote style="PADDING-LEFT:5px;MARGIN-LEFT:5px;BORDER-LEFT:#000000 2px solid;PADDING-RIGHT:0px;MARGIN-RIGHT:0px" dir="ltr">
                                                          <div style="FONT:10pt arial">-----
                                                          Original
                                                          Message -----
                                                          </div>
                                                          <div style="BACKGROUND:#e4e4e4;FONT:10pt arial"><b>From:</b>
                                                          <a title="cpuidle@gmail.com" href="mailto:cpuidle@gmail.com" target="_blank">Andreas
                                                          Goetz</a> </div>
                                                          <div style="FONT:10pt arial"><b>To:</b>
                                                          <a title="volkszaehler-users@demo.volkszaehler.org" href="mailto:volkszaehler-users@demo.volkszaehler.org" target="_blank">volkszaehler.org - users</a> </div>
                                                          <div style="FONT:10pt arial"><b>Sent:</b>
                                                          Wednesday,
                                                          July 27, 2016
                                                          8:07 PM</div>
                                                          <div style="FONT:10pt arial"><b>Subject:</b>
                                                          Re: [vz-users]
                                                          Frage zur
                                                          Darstellung
                                                          mit Steps</div>
                                                          <div><br>
                                                          </div>
                                                          Siehe <a href="https://github.com/volkszaehler/volkszaehler.org/pull/450" target="_blank"><a href="https://github.com/volkszaehler/volkszaehler.org/pull/450" target="_blank">https://github.com/volkszaehler/volkszaehler.org/pull/450</a></a> 
                                                          <div><br>
                                                          </div>
                                                          <div>Nicht
                                                          getestet!</div>
                                                          <div><br>
                                                          </div>
                                                          <div>Viele
                                                          Grüße, Andreas</div>
                                                          <div><br>
                                                          <div>
                                                          <blockquote type="cite">
                                                          <div>On 27 Jul
                                                          2016, at
                                                          19:57,
                                                          Matthias
                                                          Kammerer <<a href="mailto:kammererm@gmail.com" target="_blank"><a href="mailto:kammererm@gmail.com" target="_blank">kammererm@gmail.com</a></a>>
                                                          wrote:</div>
                                                          <br>
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>Habe
                                                          jetzt ein
                                                          "stepsbefore"
                                                          eingefügt und
                                                          folgendes
                                                          angepasst
                                                          (aber nur ganz
                                                          kurz
                                                          getestet): <br>
                                                          <br>
root@homeserver:/var/www/serverroot/<a href="mailto:root@homeserver:/var/www/serverroot/volkszaehler.org" target="_blank">volkszaehler.org#</a> grep -r stepsbefore<br>
                                                          htdocs/frontend/vendor/flot/jquery.flot.fillbetween.js:                        
                                                          withsteps =
                                                          withlines
                                                          &&
                                                          (s.lines.steps
                                                          ||
                                                          s.lines.stepsbefore),<br>
                                                          htdocs/frontend/vendor/flot/jquery.flot.stack.js:               
                                                          withsteps =
                                                          withlines
                                                          &&
                                                          (s.lines.steps
                                                          ||
                                                          s.lines.stepsbefore),<br>
                                                          htdocs/frontend/javascripts/entity.js:                                 
                                                          case
                                                          'stepsbefore':
                                                          value =
                                                          'Stufen-vorher';
                                                          break;<br>
                                                          htdocs/frontend/javascripts/entity.js:                                                 
                                                          case
                                                          'stepsbefore':
                                                          value =
                                                          'Stufen';
                                                          break;<br>
                                                          htdocs/frontend/javascripts/wui.js:            
                                                          if
                                                          (series.lines.steps
                                                          ||
                                                          series.lines.stepsbefore)
                                                          {<br>
                                                          htdocs/frontend/javascripts/wui.js:                    
                                                          if (style ==
                                                          "stepsbefore")
                                                          {<br>
                                                          htdocs/frontend/javascripts/wui.js:                                    
                                                          show:      
                                                          style ==
                                                          'lines' ||
                                                          style ==
                                                          'steps' ||
                                                          style ==
                                                          'stepsbefore',<br>
                                                          htdocs/frontend/javascripts/wui.js:                                    
                                                          steps:     
                                                          style ==
                                                          'steps' ||
                                                          style ==
                                                          'stepsbefore',<br>
                                                          lib/Definition/PropertyDefinition.json:                
                                                          "stepsbefore",<br>
                                                          lib/Definition/EntityDefinition.php:    
                                                          * @var string
(lines|points|steps|stepsbefore)<br>
                                                          <br>
                                                          </div>
                                                          <div>Gibt aber
                                                          sicher
                                                          elegantere
                                                          Lösungen ;-)<br>
                                                          </div>
                                                          <div><br>
                                                          <div class="gmail_extra"><span style="COLOR:rgb(153,153,153)"></span>Am 27. Juli 2016 um 19:12 schrieb
                                                          Andreas Goetz
                                                          <span dir="ltr"><<a href="mailto:cpuidle@gmail.com" target="_blank"><a href="mailto:cpuidle@gmail.com" target="_blank">cpuidle@gmail.com</a></a>></span>:<br>
                                                          <div class="gmail_quote">
                                                          <blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:#ccc 1px solid">
                                                          <div style="WORD-WRAP:break-word">Ich
                                                          schaue mir-
                                                          endlich- mal
                                                          an. Auch ein
                                                          paar der
                                                          EntityDefinitions
                                                          müssen
                                                          korrigiert
                                                          werden. Update
                                                          folgt hier.
                                                          <div><br>
                                                          </div>
                                                          <div>Viele
                                                          Grüße, Andreas</div>
                                                          <div>
                                                          <div>
                                                          <div><br>
                                                          <div>
                                                          <blockquote type="cite">
                                                          <div>On 27 Jul
                                                          2016, at
                                                          18:49,
                                                          Matthias
                                                          Kammerer <<a href="mailto:kammererm@gmail.com" target="_blank"><a href="mailto:kammererm@gmail.com" target="_blank">kammererm@gmail.com</a></a>>
                                                          wrote:</div>
                                                          <br>
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>Stimmt...
                                                          kann man
                                                          tatsächlich
                                                          weglassen und
                                                          ist vermutlich
                                                          sogar besser
                                                          so. Ansonsten
                                                          müsste ich
                                                          auch nochmal
                                                          korrigieren: <br>
                                                          <br>
                                                                                         
                                                          tuples.unshift([entity.data.from,
                                                          1, 1]); // add
                                                          new first ts<br>
                                                                                         
                                                          tuples[<b>0</b>][1]
                                                          = tuples[<b>1</b>][1];<br>
                                                          <br>
                                                          </div>
                                                          <div>Was ich
                                                          mir noch
                                                          zutrauen
                                                          würde, wäre
                                                          neben "Steps"
                                                          ein
                                                          "Steps-before"
                                                          einzuführen,
                                                          also
                                                          auswählbar
                                                          über "Style".
                                                          Wäre das eine
                                                          akzeptable
                                                          Lösung?<br>
                                                          <br>
                                                          </div>
                                                          <div class="gmail_extra">Gruß<br clear="all">
                                                          <div>
                                                          <div data-smartmail="gmail_signature">
                                                          <div dir="ltr"><span style="COLOR:rgb(153,153,153)"></span><br>
                                                          <div>
                                                          <div><br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          <br>
                                                          <div class="gmail_quote">Am
                                                          27. Juli 2016
                                                          um 17:45
                                                          schrieb
                                                          Andreas Götz <span dir="ltr"><<a href="mailto:cpuidle@gmail.com" target="_blank"><a href="mailto:cpuidle@gmail.com" target="_blank">cpuidle@gmail.com</a></a>></span>:<br>
                                                          <blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid">
                                                          <div><span>
                                                          <div><br>
                                                          </div>
                                                          <div>Am
                                                          27.07.2016 um
                                                          17:23 schrieb
                                                          Matthias
                                                          Kammerer <<a href="mailto:kammererm@gmail.com" target="_blank"><a href="mailto:kammererm@gmail.com" target="_blank">kammererm@gmail.com</a></a>>:<br>
                                                          <br>
                                                          </div>
                                                          <blockquote type="cite">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>OK...
                                                          habs jetzt
                                                          quick and
                                                          dirty so
                                                          gelöst: <br>
                                                          <br>
                                                                                 
                                                          // mangle data
                                                          for "steps"
                                                          curves by
                                                          shifting one
                                                          ts left
                                                          ("step-after")<br>
                                                                                 
                                                          if (style ==
                                                          "steps") {<br>
                                                                                     
                                                          tuples.unshift([entity.data.from,
                                                          1, 1]); // add
                                                          new first ts<br>
                                                                                     
                                                          tuples[1][1] =
                                                          tuples[2][1];<br>
                                                                                 
                                                          }<br>
                                                          <br>
                                                          </div>
                                                          <div>Sieht das
                                                          plausibel aus?<br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          <div><br>
                                                          </div>
                                                          </span>Denke
                                                          es tut- aber
                                                          Du kannst das
                                                          ganze if auch
                                                          wegschmeissen.
                                                          Jetzt fehlt
                                                          nur noch das
                                                          Verhalten via
                                                          display mode
                                                          konfigurierbar
                                                          zu machen und
                                                          den
                                                          Defaultwert im
                                                          Kanaltyp z.B.
                                                          für Ventile zu
                                                          hinterlegen. 
                                                          <div><br>
                                                          </div>
                                                          <div>Viele
                                                          Grüße,
                                                          Andreas </div>
                                                          <div>
                                                          <div>
                                                          <div><br>
                                                          <blockquote type="cite">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div><br>
                                                          </div>
                                                          Jetzt gibt es
                                                          bei mir eben
                                                          kein
                                                          "step-before"
                                                          mehr, was ich
                                                          aber auch
                                                          nicht brauche.
                                                          <span style="COLOR:rgb(153,153,153)"></span>
                                                          <div class="gmail_extra">
                                                          <div>
                                                          <div data-smartmail="gmail_signature">
                                                          <div dir="ltr">
                                                          <div>
                                                          <div><br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          <br>
                                                          <div class="gmail_quote">Am
                                                          27. Juli 2016
                                                          um 16:53
                                                          schrieb
                                                          Matthias
                                                          Kammerer <span dir="ltr"><<a href="mailto:kammererm@gmail.com" target="_blank"><a href="mailto:kammererm@gmail.com" target="_blank">kammererm@gmail.com</a></a>></span>:<br>
                                                          <blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid">
                                                          <div dir="ltr">Bin
                                                          ich hier
                                                          richtig?<br>
                                                          // mangle data
                                                          for "steps"
                                                          curves by
                                                          shifting one
                                                          ts left
                                                          ("step-before")<br>
                                                                                 
                                                          if (style ==
                                                          "steps") {<br>
                                                                                         
                                                          tuples.unshift([entity.data.from,
                                                          1, 1]); // add
                                                          new first ts<br>
                                                                                         
                                                          for (i=0;
                                                          i<tuples.length-1;
                                                          i++) {<br>
                                                                                                 
                                                          tuples[i][1] =
                                                          tuples[i+1][1];

                                                          <div>
                                                          <div><br>
                                                                                         
                                                          }<br>
                                                                                 
                                                          }<br>
                                                          <span style="COLOR:rgb(153,153,153)"></span>
                                                          <div class="gmail_extra">
                                                          <div>
                                                          <div data-smartmail="gmail_signature">
                                                          <div dir="ltr">
                                                          <div>
                                                          <div><br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          <br>
                                                          <div class="gmail_quote">Am
                                                          27. Juli 2016
                                                          um 16:34
                                                          schrieb
                                                          Matthias
                                                          Kammerer <span dir="ltr"><<a href="mailto:kammererm@gmail.com" target="_blank"><a href="mailto:kammererm@gmail.com" target="_blank">kammererm@gmail.com</a></a>></span>:<br>
                                                          <blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid">
                                                          <div dir="ltr">
                                                          <div>Besten
                                                          Dank schonmal
                                                          für die Infos.
                                                          <br>
                                                          <br>
                                                          Kleine
                                                          Anmerkung zur
                                                          Rückfrage bei
                                                          den Points:
                                                          geplottet wird
                                                          tatsächlich
                                                          nur der Point,
                                                          aber in der
                                                          Legende werden
                                                          ja dann die
                                                          Werte zum
                                                          Curser
                                                          angezeigt. Da
                                                          kommen dann
                                                          die linearen
                                                          Übergänge. <br>
                                                          <br>
                                                          Invertieren
                                                          ist für das
                                                          beschriebene
                                                          Beispiel
                                                          tatsächlich
                                                          eine gute
                                                          Idee, aber...
                                                          leider habe
                                                          ich dann doch
                                                          ab und zu sich
                                                          wiederholende
                                                          Werte drin und
                                                          spätestens bei
                                                          der
                                                          Leistungsdeckelung
                                                          meines
                                                          Wechselrichters
                                                          ist es vorbei
                                                          :-|<br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          Ich könnte
                                                          mich mal an
                                                          dem verlinkten
                                                          Issue #338
                                                          versuchen. Da
                                                          ich mich
                                                          komplett
                                                          reindenken
                                                          muss, bin ich
                                                          mir nicht
                                                          sicher, ob ich
                                                          ausreichend
                                                          Einarbeitungszeit
                                                          finde und bin
                                                          natürlich für
                                                          jedes Futter
                                                          dazu dankbar
                                                          ;-).
                                                          <div>
                                                          <div><span style="COLOR:rgb(153,153,153)"></span>
                                                          <div class="gmail_extra">
                                                          <div>
                                                          <div data-smartmail="gmail_signature">
                                                          <div dir="ltr">
                                                          <div>
                                                          <div><br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          <br>
                                                          <div class="gmail_quote">Am
                                                          27. Juli 2016
                                                          um 11:43
                                                          schrieb
                                                          Andreas Götz <span dir="ltr"><<a href="mailto:cpuidle@gmail.com" target="_blank"><a href="mailto:cpuidle@gmail.com" target="_blank">cpuidle@gmail.com</a></a>></span>:<br>
                                                          <blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid">
                                                          <div><span>
                                                          <div><br>
                                                          </div>
                                                          <div>Am
                                                          27.07.2016 um
                                                          11:36 schrieb
                                                          Christian
                                                          Schnellrieder
                                                          <<a href="mailto:schnellrieder.cs@gmail.com" target="_blank"><a href="mailto:schnellrieder.cs@gmail.com" target="_blank">schnellrieder.cs@gmail.com</a></a>>:<br>
                                                          <br>
                                                          </div>
                                                          <blockquote type="cite">
                                                          <div>
                                                          <div dir="ltr">Kleiner
                                                          Nachtrag:
                                                          <div>kann man
                                                          die
                                                          Darstellung
                                                          nicht
                                                          berichtigen in
                                                          dem man die
                                                          Werte
                                                          invertiert?</div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          <div><br>
                                                          </div>
                                                          </span>Coole
                                                          Idee! Für den
                                                          Spezialfall
                                                          des Ventils
                                                          sollte das
                                                          klappen- wenns
                                                          Zwischenwerte
                                                          gibt nicht
                                                          (40% auf?).<span>
                                                          <div><br>
                                                          <blockquote type="cite">
                                                          <div><br>
                                                          <div class="gmail_quote">
                                                          <div dir="ltr">Christian
                                                          Schnellrieder
                                                          <<a href="mailto:schnellrieder.cs@gmail.com" target="_blank"><a href="mailto:schnellrieder.cs@gmail.com" target="_blank">schnellrieder.cs@gmail.com</a></a>>
                                                          schrieb am
                                                          Mi., 27. Juli
                                                          2016 um
                                                          11:32 Uhr:<br>
                                                          </div>
                                                          <blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid">
                                                          <div dir="ltr">Hallo.</div>
                                                          <div dir="ltr">
                                                          <div><br>
                                                          </div>
                                                          <div><span>>Hat
                                                          jemand einen
                                                          Lösungsvorschlag
                                                          oder
                                                          vielleicht
                                                          sogar eine
                                                          Lösung?</span>  <br>
                                                          </div>
                                                          <div><br>
                                                          </div>
                                                          </div>
                                                          <div dir="ltr">
                                                          <div>Unschön
                                                          aber bis das
                                                          im Vz gefixt
                                                          ist.</div>
                                                          <div>Eine
                                                          Schleife
                                                          laufen lassen
                                                          welche immer
                                                          den letzten
                                                          Status pusht.</div>
                                                          <div><br>
                                                          </div>
                                                          <div>Grüße</div>
                                                          </div>
                                                          <br>
                                                          <div class="gmail_quote">
                                                          <div dir="ltr">Andreas
                                                          Götz <<a href="mailto:cpuidle@gmail.com" target="_blank"><a href="mailto:cpuidle@gmail.com" target="_blank">cpuidle@gmail.com</a></a>>
                                                          schrieb am
                                                          Mi., 27. Juli
                                                          2016 um
                                                          10:57 Uhr:<br>
                                                          </div>
                                                          <blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid">
                                                          <div>
                                                          <div>Hallo
                                                          Matthias,</div>
                                                          </div>
                                                          <div>
                                                          <div><br>
                                                          Am 27.07.2016
                                                          um 10:15
                                                          schrieb
                                                          Matthias
                                                          Kammerer <<a href="mailto:kammererm@gmail.com" target="_blank"><a href="mailto:kammererm@gmail.com" target="_blank">kammererm@gmail.com</a></a>>:<br>
                                                          <br>
                                                          </div>
                                                          <blockquote type="cite">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div>
                                                          <div>Hallo
                                                          zusammen, <br>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          Ich habe
                                                          verschiedene
                                                          Kanäle z.B.
                                                          als Ventil
                                                          oder als
                                                          Leistungswerte,
                                                          welche
                                                          diskrete Werte
                                                          annehmen.
                                                          Dabei werden
                                                          die Daten fast
                                                          ausschließlich
                                                          in die
                                                          Datenbank
                                                          geschrieben,
                                                          wenn sich
                                                          etwas ändert.
                                                          Also im
                                                          einfachsten
                                                          Fall ein
                                                          Schaltventil
                                                          mit den Werten
                                                          0... 1: Wenn
                                                          das Ventil auf
                                                          1 geschalten
                                                          wird, dann
                                                          kommt die 1
                                                          mit
                                                          Zeitstempel,
                                                          wenn es auf 0
                                                          gestellt wird,
                                                          dann
                                                          entsprechend
                                                          die 0. <br>
                                                          <br>
                                                          </div>
                                                          <div>Ziel wäre
                                                          nun, dass der
                                                          Zustand über
                                                          der Zeit im
                                                          frontend so
                                                          lange den
                                                          letzten Wert
                                                          anzeigt, bis
                                                          ein neuer Wert
                                                          gesetzt ist.
                                                          Je nach
                                                          Einstellung
                                                          schaffe ich
                                                          aber nur
                                                          folgendes, was
                                                          leider nicht
                                                          ganz korrekt
                                                          ist: <br>
                                                          </div>
                                                          <div>A: Ich
                                                          wähle "points"
                                                          oder "lines"
                                                          --> Dann
                                                          wird zwischen
                                                          den Werten
                                                          gewichtet
                                                          gemittelt.
                                                          D.h. das
                                                          Schaltventil
                                                          läuft zwischen
                                                          den
                                                          Datenpunkten
                                                          stetig und
                                                          linear zum
                                                          jeweils
                                                          folgenden
                                                          Wert.  <br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          <div><br>
                                                          </div>
                                                          </div>
                                                          <div>Das
                                                          stimmt nur für
                                                          lines. Points
                                                          zeit exakt den
                                                          Punkt, sonst
                                                          nichts?</div>
                                                          <div>
                                                          <div>
                                                          <div style="DIRECTION:inherit"><br>
                                                          </div>
                                                          <blockquote type="cite">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>B: Ich
                                                          wähle Steps
                                                          --> Dann
                                                          wird entlang
                                                          der Zeitachse
                                                          immer der Wert
                                                          des nächsten
                                                          Datenpunktes
                                                          angezeigt und
                                                          nicht das
                                                          letzten
                                                          Punktes. D.h.
                                                          wenn ich das
                                                          Ventil am
                                                          Morgen auf "0"
                                                          Stelle und am
                                                          Abend auf "1",
                                                          dann zeigt es
                                                          mir den ganzen
                                                          Tag eine "1"
                                                          anstelle der
                                                          "0" an. <br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          <div style="DIRECTION:inherit"><br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          <div>
                                                          <div>
                                                          <div style="DIRECTION:inherit">Ist
                                                          bekannt. Wir
                                                          bräuchten <a href="https://github.com/volkszaehler/volkszaehler.org/issues/338" target="_blank"><a href="https://github.com/volkszaehler/volkszaehler.org/issues/338" target="_blank">https://github.com/volkszaehler/volkszaehler.org/issues/338</a></a></div>
                                                          <div style="DIRECTION:inherit">Leider
                                                          fehlt mir
                                                          aktuell die
                                                          Zeit und ich
                                                          hab selber
                                                          kein Ventil im
                                                          Einsatz...</div>
                                                          </div>
                                                          </div>
                                                          <div>
                                                          <div>
                                                          <div style="DIRECTION:inherit"><br>
                                                          </div>
                                                          <blockquote type="cite">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div><br>
                                                          </div>
                                                          <div>Ich habe
                                                          schon
                                                          versucht, den
                                                          Sensor-Interpreter
                                                          etwas zu
                                                          verbiegen, um
                                                          zum Erfolg zu
                                                          kommen, bin
                                                          damit aber
                                                          nicht
                                                          weitergekommen.
                                                          <br>
                                                          <br>
                                                          </div>
                                                          <div>Hat
                                                          jemand einen
                                                          Lösungsvorschlag
                                                          oder
                                                          vielleicht
                                                          sogar eine
                                                          Lösung?<br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          <div style="DIRECTION:inherit"><br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          <div>
                                                          <div>
                                                          <div style="DIRECTION:inherit">Das
                                                          wäre in der
                                                          vz.wui.plot
                                                          Funktion zu
                                                          regeln-
                                                          relevante
                                                          Timestamps um
                                                          1 shiften da
                                                          die
                                                          Chartbibliothek
                                                          die Funktion
                                                          nicht her
                                                          gibt.</div>
                                                          </div>
                                                          </div>
                                                          <div>
                                                          <div>
                                                          <div style="DIRECTION:inherit"><br>
                                                          </div>
                                                          <blockquote type="cite">
                                                          <div>
                                                          <div dir="ltr">
                                                          <div>
                                                          <div style="DIRECTION:inherit"><br>
                                                          </div>
                                                          </div>
                                                          <div>Besten
                                                          Dank und Gruß<br>
                                                          </div>
                                                          <div>Matthias<br>
                                                          </div>
                                                          <div>
                                                          <div>
                                                          <div class="gmail_extra">
                                                          <div style="DIRECTION:inherit"><br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          <div style="DIRECTION:inherit"><br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          <div>
                                                          <div style="DIRECTION:inherit">Viele
                                                          Grüße,
                                                          Andreas </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          </span></div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </blockquote>
                                                          </div>
                                                          <br>
                                                          </div>
                                                          </div>
                                                        </div>
                                                      </div>
                                                    </blockquote>
                                                  </div>
                                                  <br>
                                                </div>
                                              </div>
                                            </blockquote>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </blockquote>
                                </div>
                              </div>
                            </blockquote>
                          </div>
                        </blockquote>
                      </div>
                    </div>
                  </div>
                </blockquote>
              </div>
            </div>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </div></blockquote></div>