<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Hallo zuzsammen,</p>
    <p>wir hatten hier im Auguste bereits mal´ festgestellt, dass die
      Satust-Darstellung des Zustandes eines GPIO-Einganges am Raspberry
      Pi über das Frondend damals nicht ohne Zuhilfenahme eines
      Hilfsscriptes möglich war >>> "FRAGE ZU DARSTELLUNG IN
      STEPS" . War damals allerdings für direkten GPIO-Anschluss - nicht
      direkt für Udo´s Erweiterung! Ich weiß alledings nicht, ob seit
      dieser Zeit da im Frondend was geändert wurde.</p>
    <p>Ich hatte mir dann  mit Hilfe des RASPBERRY-Forums und des
      PHYTON-Forums ein kleines Phyton-Script erstellt, welches per
      PI.GPIO den Zustand erfasst und dann über die API-Schnittstelle in
      die DB des VZ´´s schreibt. Dazu wurden im Frondend Ventil-Kanäle
      angelegt. Das Pyhton-Script erfasst per <i>pi.call</i><i>back </i>die
      Zustandsänderung(nur die!) und schreibt dann eine 1 oder eine 0 in
      die DB. Das Frondend verbindet dann die Punkte - dazu ist <i>states</i>
      eingestellt. Die Eingänge sind per <i>set_glitch_filter </i>im
      PI.GPIO entprellt.<br>
    </p>
    <p>Schaut dann halt so aus -  es sind hier zwei Heizungspumpen
      dargestellt:<br>
    </p>
    <p><i> </i><img src="cid:part1.79DC286A.D27138E8@gmx.de" alt=""
        height="540" width="1129"></p>
    Vielleicht hilft dass hier weiter.<br>
    <br>
    Wenn Bedarf besteht, kann ich das Script gern bereitstellen!<br>
    <br>
    MfG - torsten w.<br>
    <br>
    <div class="moz-cite-prefix">Am 29.12.2016 um 12:07 schrieb Andreas
      Goetz:<br>
    </div>
    <blockquote
cite="mid:CAD+a8MizLB3P-PGw3gwo=_eBNe5AC4QRomUMFi3uFtd4DhPLNA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Wie hast Du denn den Kanal konfiguriert und hast Du eine
            aktuelle Installation des Frontends?<br>
            <br>
          </div>
          Viele Grüße,<br>
        </div>
        Andreas<br>
        <br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2016-12-29 10:49 GMT+01:00 Michael
          Knapp <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:michael@evo3.net" target="_blank">michael@evo3.net</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="auto">
              <div>Hallo zusammen,</div>
              <div><br>
              </div>
              <div>Ich versuche gerade über den S0/1 (Udo's Raspberry
                Erweiterung) den Betriebszustand eines Gasbrenners
                einzulesen und dann zu Visualisieren.<br>
                <br>
                Ziel wäre es das bei Brenner aus 0 angezeigt wird und
                bei Brenner an den wert 1 um sehen zu können wann der
                Brenner läuft und wann er aus ist.</div>
              <div><br>
              </div>
              <div>Nach ein paar versuchen zusammen mit Udo habe ich es
                leider trotzdem nicht hinbekommen.</div>
              <div><br>
              </div>
              <div>Beim ein und ausschalten des Brenners wird jeweils
                nur ein kurzer Impuls angezeigt. Der Wert 1 (Brenner An)
                sollte aber immer bei 1 bleiben.</div>
              <div><br>
              </div>
              <div>Die Config zu S0/1 sieht so aus:</div>
              <div><br>
              </div>
              <div>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><a
                    moz-do-not-send="true"
                    style="background-color:rgba(255,255,255,0)"><font
                      color="#000000">{</font></a></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">"enabled":
                    true,</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">"allowskip":
                    false,</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">"interval":
                    60,</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">"aggtime":
                    -1,</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">"aggfixedinterval":
                    false,</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">"channels":
                    [</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">{</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">"uuid":
                    "16340d60-84d3-11e6-b24c-<wbr>75867e2891aa",</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">"identifier":
                    "Impulse",</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">"api":
                    "volkszaehler",</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">"middleware":
                    "<a moz-do-not-send="true" dir="ltr"
                      href="http://127.0.0.1/middleware.php"
                      target="_blank">http://127.0.0.1/middleware.<wbr>php</a>",</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">"aggmode":
                    "none",</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">"duplicates":
                    0</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">}</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">],</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">"protocol":
                    "s0",</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">"gpio":
                    18,</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">"configureGPIO":
                    true,</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">"send_zero":
                    true,</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">"debounce_delay":
                    200</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">},</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><br>
                </p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)">Hat
                    noch jemand eine Idee wie ich das hinbekommen
                    könnte?</span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)"><br>
                  </span></p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt">VG
                  Michael</p>
                <p class="MsoNormal" style="margin:0cm 0cm 0.0001pt"><span
                    style="background-color:rgba(255,255,255,0)"><br>
                  </span></p>
              </div>
              <div>
                <div><br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>