<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Segoe UI";
        panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
span.E-MailFormatvorlage18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE link=blue vlink=purple style='word-wrap: break-word;-webkit-nbsp-mode: space;line-break:after-white-space'><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hallo Andreas,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ich wusste, dass es wenig Entwickler gibt, aber nicht, dass es im Wesentlichen eine one man show ist. Respekt. Dafür hast Du ganz schön  was auf die Beine gestellt.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Verstehe ich Dich richtig, dass Du Dich in Zukunft eher auf die Kernkompetenz „Messgeräte auslesen“ konzentrieren möchtest und die Datenbankfunktionalität und Visualisierung eher mit Hilfe externer Lösungen wie Influx oder Grafana anbieten möchtest ?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ich könnte mir schon vorstellen, das Projekt punktuell zu unterstützen, soweit es meine momentan begrenzte Freizeit zulässt. In Anbetracht der geringen Ressourcen, ist Dein Ansatz, sich auf das Kerngeschäft zu konzentrieren, wahrscheinlich schlau. <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Kennst Du kotori (<a href="https://getkotori.org/docs/index.html">https://getkotori.org/docs/index.html</a>) ? Sieht auf den ersten Blick vom Konzept her ähnlich wie VZ aus. Trotz mondänem Web Auftritt anscheinend auch nur ein Entwickler. Vielleicht ließe sich da eine Kooperation etablieren…<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Viele Grüße<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Claas<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> volkszaehler-users [mailto:volkszaehler-users-bounces@demo.volkszaehler.org] <b>On Behalf Of </b>Andreas Goetz<br><b>Sent:</b> Monday, January 6, 2020 1:50 PM<br><b>To:</b> volkszaehler.org - users<br><b>Subject:</b> Re: [vz-users] MQTT -> vzlogger -> volkszaehler<o:p></o:p></span></p></div></div><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><div><div><p class=MsoNormal>Hallo Claas!<o:p></o:p></p><div><p class=MsoNormal><br><br><o:p></o:p></p><div><p class=MsoNormal>On 6. Jan 2020, at 11:28, Claas H. Köhler <<a href="mailto:claashk@web.de">claashk@web.de</a>> wrote:<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>Hallo,<br><br>Ich finde das Thema sehr interessant. Bestünde Interesse hier in der<br>Gemeinde, die Logger Funktionalität von vzlogger (also das Schreiben in<br>die Datenbank über die Middleware API), auszulagern ?<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>Ja. Tatsächlich hatte ich schonmal angefangen, vzlogger in seine Teile zu zerlegen:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>- Datenaquise (aus den Geräten)<o:p></o:p></p></div><div><p class=MsoNormal>- Datenverteilung und -mapping<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Ersteres ist m.E. Kernfunktionalität, Letzteres eine Zusatzfunktion die wir immer mehr ausgebaut haben, die aber eigenständig ist. Auf Entwicklung (ich glaube auch User) ML hatte mich meinen Vorschlag dazu mal vorgestellt: <a href="https://github.com/andig/ingress">https://github.com/andig/ingress</a> <o:p></o:p></p></div><blockquote style='margin-left:30.0pt;margin-right:0cm'><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal><code><span style='font-size:10.0pt;font-family:Consolas;color:#24292E'>ingress</span></code><span style='font-family:"Segoe UI","sans-serif";color:#24292E;background:white'> is a universal data ingestion and mapping daemon aimed at use with, but not limited to, the </span><a href="https://volkszaehler.org/"><span style='font-family:"Segoe UI","sans-serif";color:#0366D6;text-decoration:none'>Volkszähler</span></a><span style='font-family:"Segoe UI","sans-serif";color:#24292E;background:white'> smart meter framework.</span><o:p></o:p></p></div></blockquote><div><p class=MsoNormal><o:p> </o:p></p></div><div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><div><p class=MsoNormal>Ich könnte mir ein Design vorstellen, in dem eine Anwendung Daten von<br>verschiedenen Geräten liest und über [WAMP, MQTT] publiziert. Eine<br>zweite Anwendung könnte die Daten dann empfangen und in geeigneter Form<br>in die Datenbank schreiben. Damit würde vzlogger in zwei Anwendungen<br>aufgespalten:<o:p></o:p></p></div></div></blockquote><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>Du bist zum gleichen Schluss gekommen wie ich.<o:p></o:p></p></div><div><p class=MsoNormal><br><br><o:p></o:p></p><div><div><p class=MsoNormal>Endgeräte [vzlogger, Mosquitto, ...] -> Logger [Datenbankanbindung über<br>VZ Middleware API]<br><br><snip><br><br>Das wäre natürlich ein langfristigerer Ansatz, der vom<br>Kernentwicklerteam unterstützt werden müsste und der einen gewissen<br>Personaleinsatz erfordert.<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>Da sind wir beim Kernproblem. Ich alleine werde das nicht stemmen, weitere Interessenten gibts derzeit nicht.<o:p></o:p></p></div><div><p class=MsoNormal><br><br><o:p></o:p></p><div><div><p class=MsoNormal>Wäre das ein Ansatz, der mit der mittelfristigen Planung für den<br>volkszähler zusammenpasst oder habt Ihr was ganz anderes vor?<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>Offen gesagt (ich habs vor ein paar Wochen schonmal so gesagt) ist VZ in der aktuellen Form ausentwickelt und funktioniert. Ohne mindestens 2 weitere *Entwickler* würde ich ein Projekt wie oben skizziert nicht angehen.<o:p></o:p></p></div><div><p class=MsoNormal><br><br><o:p></o:p></p><div><div><p class=MsoNormal>Viele Grüße<br>Claas<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><p class=MsoNormal>Viele Grüße, <o:p></o:p></p></div><div><p class=MsoNormal>Andreas<o:p></o:p></p></div><div><p class=MsoNormal><br><br><o:p></o:p></p><div><div><p class=MsoNormal><br><br>On Mon, 2020-01-06 at 10:45 +0100, <a href="mailto:thomas@fambesse.de">thomas@fambesse.de</a> wrote:<br><br><o:p></o:p></p><p class=MsoNormal>Hi Joe,<br>ich hab das bei mir umgesetzt mit folgender Config:<br>ESP8266-01(MQTT)--> Mosquitto-->Node-RED<br>Node-Red ist so konfiguriert das er MM2 und Volkszähler und<br>Grafana/Influx befüllt bzw befüttert.<br><br>Ich kann dir wenn du Interesse hast das etwas detaillierter<br>aufdröseln bzw dir meine Node-Red config geben. Die Transferleistung<br>ESP8266 nach Tasamoa müsstest du ggf. selbst lösen.<br>Diese steht bei mir erst noch an da ich nicht tasamoa sondern Shelly<br>nutze aber noch keine Zeit für die MQTT Einbindung hatte.<br><br>Beste Grüße<br>Thomas<br><br>-----Ursprüngliche Nachricht-----<br>Von: volkszaehler-users <<a href="mailto:volkszaehler-users-bounces@demo.volkszaehler">volkszaehler-users-bounces@demo.volkszaehler</a><br>.org> Im Auftrag von Andreas Goetz<br>Gesendet: Sonntag, 5. Januar 2020 21:44<br>An: <a href="http://volkszaehler.org/">volkszaehler.org</a> - users <<a href="mailto:volkszaehler-users@demo.volkszaehler.or">volkszaehler-users@demo.volkszaehler.or</a><br>g><br>Betreff: Re: [vz-users] MQTT -> vzlogger -> volkszaehler<br><br>Naja... wenn Du exec nutzen willst, warum nicht irgendwas in<br>Verbindung mit mosquitto_sub? Sonst mal schnell selbst was coden,<br>mqtt subscriber der in eine Datei schreibt, dann file Protokoll.<br>Irgendsowas, wäre zu probieren...<br><br>Viele Grüße, Andreas<br><br><br><o:p></o:p></p><p class=MsoNormal>Am 05.01.2020 um 21:14 schrieb <a href="mailto:joekokker@epios.eu">joekokker@epios.eu</a>:<br><br><span style='font-family:"Tahoma","sans-serif"'></span>Vielen Dank für die schnelle Antwort! Es war mir klar, dass es<br>keine direkte Anbindung gibt.<br><br>Mich würde interessieren, ob jemand schon irgendwas ähnliches<br>gemacht hat. Mosquitto -> X -> vzlogger -> volkszaehler<br><br>Und welches Programm sich am ehesten dazu eignen würde.<br><br>Ich denke an eine Art REST API, an welcher vzlogger mit exec<br>Protokoll die Daten dann einliest.<br><br>Node-Red erscheint mir bei oberflächlicher Betrachtung eine etwas<br>hohe Einstiegshürde und vielleicht etwas zu umfangreich für die<br>Problemstellung. Aber diese Einschätzung kann auch falsch sein.<br><br>Liebe Grüße,<br>Joe<br><br><br><o:p></o:p></p><p class=MsoNormal>On 1/5/20 8:57 PM, Andreas Goetz wrote:<br>Die Funktion gibts nicht und ist aktuell nicht geplant. Ohne<br>vzlogger wäre node-red Dein Freund.<br>Viele Grüße, Andreas<br><br><o:p></o:p></p><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><p class=MsoNormal>Am 05.01.2020 um 20:54 schrieb <a href="mailto:joekokker@epios.eu">joekokker@epios.eu</a>:<o:p></o:p></p></blockquote><p class=MsoNormal><br><span style='font-family:"Tahoma","sans-serif"'></span>Hallo,<br><br>ich habe einige Sonoff Devices mit der open-source firmware<br>tasmota (<a href="https://github.com/arendst/Tasmota">https://github.com/arendst/Tasmota</a>) geflashed und über<br>Weihnachten ausprobiert. Sie funktionieren bisher zuverlässig.<br><br>Nun möchte ich die Sensordaten in Volkzaehler integrieren. Die<br>beste Art an die Senordaten (zum Beispiel der Last beim Sonoff<br>POW) ist anscheinend MQTT. Deshalb habe ich erstmals mit<br>mosquitto rumprobiert.<br><br>Hat jemand Erfahrung damit Daten aus MQTT topics durch vzlogger<br>in die Volkszaehler Datenbank zu bringen? (Tasmota -> Mosquitto<br>-> X -> vzlogger -> volkszaehler) Ist ein MQTT Client dafür am<br>Besten geeignet? Macht das bereits jemand?<br><br>Für mich ist der "Umweg" über vzlogger wichtig, da ich die<br>Buffer Funktion von vzlogger bei Netzwerkausfällen nutzen<br>möchte.<br><br>Beste Grüße<br>Joe<o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p></div></div></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></body></html>