<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Danke Klaus,<div class=""><br class=""></div><div class="">ich wusste nicht mehr, dass Du Derjenige welche warst…</div><div class=""><br class=""></div><div class="">In ganz anderem Kontext ist mir gerade <a href="https://github.com/weetmuts/wmbusmeters" class="">https://github.com/weetmuts/wmbusmeters</a> untergekommen, vielleicht lässt sich ja damit etwas anfangen (oder sogar in vzlogger integrieren).</div><div class=""><br class=""></div><div class="">Viele Grüße, Andreas</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 2. Jun 2020, at 18:05, Klaus Reichenecker <<a href="mailto:kr@kr123.de" class="">kr@kr123.de</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Hallo Thorsten,<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">ich habe viel mit WMZ herumgespielt – hatte 4 verschiedene Typen hier<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Letztendlich ist es mir nur bei einem gelungen, ihn über die optische Schnittstelle auszulesen<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Man muss wohl auch bei manchen eine Taste drücken um die Schnittstelle zu aktivieren, dann alle spätestens 59 min auslesen, sonst legt er sich schlafen<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Vieles ist auch nicht wirklich öffentlich dokumentiert<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Bin dann zu Kabel-MBus gewechselt, da funktioniert alles problemlos<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Ich kann Dir folgende Software empfehlen, um das Ganze erst mal zu testen:<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Windows:<o:p class=""></o:p></span></div><ul type="disc" style="margin-bottom: 0cm; margin-top: 0cm;" class=""><li class="MsoListParagraph" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span class="">Lorusfree<o:p class=""></o:p></span></li><li class="MsoListParagraph" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span class="">PiiGAB M-Bus Wizard<o:p class=""></o:p></span></li></ul><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Linux:<o:p class=""></o:p></span></div><ul type="disc" style="margin-bottom: 0cm; margin-top: 0cm;" class=""><li class="MsoListParagraph" style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;"><span class="">Libmbus<o:p class=""></o:p></span></li></ul><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Du solltest es erst mal schaffen, hiermit Daten zu bekommen, oft leider nicht einfach<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Wenn Du damit Erfolg hast, bekommst die Daten irgendwie auch in den Volkszähler<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Ich habe hier z.B. trotz über 50 Kanälen keinen VZLogger, schreibe jeweils direkt über Bash-Skripte<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Grüße<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class="">Klaus<o:p class=""></o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><span class=""><o:p class=""> </o:p></span></div><div class=""><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(225, 225, 225); padding: 3pt 0cm 0cm;" class=""><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><b class="">Von:</b><span class="Apple-converted-space"> </span>volkszaehler-users <<a href="mailto:volkszaehler-users-bounces@demo.volkszaehler.org" class="">volkszaehler-users-bounces@demo.volkszaehler.org</a>><span class="Apple-converted-space"> </span><b class="">Im Auftrag von<span class="Apple-converted-space"> </span></b>Thorsten Jastrow<br class=""><b class="">Gesendet:</b><span class="Apple-converted-space"> </span>Montag, 1. Juni 2020 21:56<br class=""><b class="">An:</b><span class="Apple-converted-space"> </span><a href="mailto:volkszaehler-users@demo.volkszaehler.org" class="">volkszaehler-users@demo.volkszaehler.org</a><br class=""><b class="">Betreff:</b><span class="Apple-converted-space"> </span>[vz-users] WMZ Danfoss SonoSafe 10 mit IR und M-Bus: Wie geht der mit Volkszähler?<o:p class=""></o:p></div></div></div><div style="margin: 0cm 0cm 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class=""><o:p class=""> </o:p></div><div class=""><div class=""><div class=""><div class=""><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">Hallo Volkszähler-Experten,<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">als Anfänger im Thema „VZ“ bin ich an einem Punkt angekommen, an dem ich ein paar Hinweise von Experten brauchen könnte. Danke schon mal vorab!<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">Ich habe einen Wärmemengenzähler von Danfoss Typ SonoSafe 10. Der WMZ hat an der Front eine optische IR-Schnittstelle beschrieben im Datenblatt mit: „Optisch gemäß EN61107. Datenprotokoll gemäß EN13757-3, unterstützt Baudraten von 2400 und 4800.“<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">Die EN61107 wurde abgelöst durch die EN62056-21, die auch bei vielen Zählern verwendet wird. Ich meine, die Schnittstelle müsste grundsätzlich passen, da z.B. der im VZ-Wiki beschriebene WMZ Kamstrup 401 auch die IR-Schnittstelle nach EN61107 nutzt.<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">Frage an die Experten: Seht Ihr das auch so?<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class=""> <o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">Das Datenprotokoll nach EN13757-3 ist das M-Bus-Protokoll. Dieses wird nach der Danfoss-Beschreibung für die kabelgebundene M-Bus-Schittstelle und für die IR-Schnitstelle verwendet.<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">Für die Kommunikation ist angegeben: 11 Bits pro Zeichen, d.h. 1 Start-Bit (‘space’), 8 Daten-Bits, 1 Parity-Bit (even) und 1 Stop-Bit (‚mark‘). Das bedeutet doch für die Parity-Bezeichnung „8E1“, richtig?<br class="">In welchem Protokoll im vzlogger ist diese Parität verwendbar? Bei D0 scheint es nicht zu funktionieren.<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">Für die opt. Schnittstelle ist nach EN13757-2 Protokoll eine „wake up message“ nötig. Die ist beschrieben (Zitat) als „The wake up message consists of zeros and ones alternating at the desired baud rate for a duration of 2,2 s +/- 0,1 s.”<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">In welchem Protokoll im vzlogger wäre so eine Pullsequenz verwendbar?<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class=""> <o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">So, damit - nach den bisherigen Versuchen - zu meinen grundsätzlichen Fragen:<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">Kann ich den WMZ überhaupt über die IR-Schnittstelle mit dem Volkszähler nutzen?<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">Welches Protokoll würde da gehen? D0 wohl nicht, oder? Vielleicht OMS?<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">Wie sollte ich vorgehen?<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class=""> <o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">Ich habe mir auf einem Raspi 4 das VZ-Image installiert. Als IR-Kopf habe ich den von Weidmann. Der Kopf funktioniert. Über Hterm am PC und minicom über SSH und Raspi kann ich Signale von einer IR-Fernbedienung empfangen bzw. Tastatureingaben senden und empfangen.<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">Wenn ich im Vzlogger mit dem Protokoll D0 eine Verbindung zum WMZ versuche, funktioniert das nicht. Leider habe ich keine Erfahrung im Lesen und Interpretieren von Log-Files. Im Anhang die Dateien für vzlogger_conf.txt, vzlogger_log.txt und d0.txt. Würdet Ihr bitte mal drauf schauen und sagen, ob und was man da schon erkennen kann?<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">Beispiel: Im d0.txt gibt es „<<<<“ und „>>>>“-Signale. Was heisst das genau? Antwortet der WMZ?<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">Ich lese „<<<<“ und „2f 3f 21 0d 0a“, aber bei „>>>>“ steht dann „2f 3f 21 0<b class=""><u class="">a</u></b><span class="Apple-converted-space"> </span>0a“. Ist das eine Antwort?<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">Ich wäre ja schon zufrieden, erstmal eine Reaktion vom Zähler zu erhalten.<span class="Apple-converted-space"> </span><img height="23" id="_x0000_i1025" src="https://www.photovoltaikforum.com/core/images/smilies/emojione/1f609.png" alt=";-)" style="height: 0.2395in;" class=""><o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class=""> <o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">Wie könnte es weitergehen?<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">Besteht eine Chance, die IR-Schnittstelle irgendwie zu nutzen?<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">Oder muss ich doch eine kabelgebundene M-Bus-Verbindung herstellen (Pegelwandler?)?<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class=""> <o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">Danke für alle Hinweise!<o:p class=""></o:p></span></div><div class=""><span style="font-size: 9pt; font-family: Verdana, sans-serif;" class="">Gruß Thorsten</span></div></div></div></div></div></div></div></blockquote></div><br class=""></div></body></html>