<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:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@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;}
/* 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;}
span.E-mailStijl17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 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><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Danke, der Teufel steckt im Detail, wie immer<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><b><span lang=NL style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Van:</span></b><span lang=NL style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> volkszaehler-users [mailto:volkszaehler-users-bounces@demo.volkszaehler.org] <b>Namens </b>Frank Richter<br><b>Verzonden:</b> woensdag 11 januari 2017 23:23<br><b>Aan:</b> volkszaehler.org - users<br><b>Onderwerp:</b> Re: [vz-users] Frage<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Hallo Frans,<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>am Ende deiner config fehlt ein }, und "meters" erwartet ein Array [].<o:p></o:p></p></div><div><p class=MsoNormal>Und "enabled" sollte natürlich true sein, damit was passiert.<o:p></o:p></p></div><div><p class=MsoNormal>Versuchs mal so:<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><p class=MsoNormal>{<o:p></o:p></p></div><div><p class=MsoNormal>"retry" : 30, /* how long to sleep between failed requests, in seconds */<o:p></o:p></p></div><div><p class=MsoNormal>"daemon" : false, /* run periodically */<o:p></o:p></p></div><div><p class=MsoNormal>"verbosity" : 10, /* between 0 and 15 */<o:p></o:p></p></div><div><p class=MsoNormal>"log" : "/var/log/vzlogger.log", /* path to logfile, optional */<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>"local" : {<o:p></o:p></p></div><div><p class=MsoNormal>"enabled" : false, /* should we start the local HTTPd for serving live readings? */<o:p></o:p></p></div><div><p class=MsoNormal>"port" : 80, /* the TCP port for the local HTTPd */<o:p></o:p></p></div><div><p class=MsoNormal>"index" : true, /* should we provide a index listing of available channels if no UUID was requested? */<o:p></o:p></p></div><div><p class=MsoNormal>"timeout" : 30, /* timeout for long polling comet requests, 0 disables comet, in seconds */<o:p></o:p></p></div><div><p class=MsoNormal>"buffer" : 600 /* how long to buffer readings for the local interface, in seconds */<o:p></o:p></p></div><div><p class=MsoNormal>},<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>"meters" : [{<o:p></o:p></p></div><div><p class=MsoNormal> "enabled" : true, /* disabled meters will be ignored */<o:p></o:p></p></div><div><p class=MsoNormal> "skip" : false, // if enabled, errors when opening meter will lead to meter being ignored<o:p></o:p></p></div><div><p class=MsoNormal> "protocol" : "d0", // see 'vzlogger -h' for list of available protocols<o:p></o:p></p></div><div><p class=MsoNormal> "device" : "/dev/ttyUSB0",<o:p></o:p></p></div><div><p class=MsoNormal> "parity" : "7E1", // oder 8N1<o:p></o:p></p></div><div><p class=MsoNormal> "baudrate" : 300, // oder 300<o:p></o:p></p></div><div><p class=MsoNormal> "pullseq" : "2F3F210D0A", // Pullsequenz in 'hex'<o:p></o:p></p></div><div><p class=MsoNormal>// "baudrate_read" : 300, // Baudratenumschaltung auf gewünschte Baudrate, abhängig von Zählerantwort<o:p></o:p></p></div><div><p class=MsoNormal>// "aggtime" : 20, // in Sekunden<o:p></o:p></p></div><div><p class=MsoNormal>// "aggmode" : "MAX", // "AVG" Mittelwert für Leistung, "MAX" für Zähler, "SUM" für Counter<o:p></o:p></p></div><div><p class=MsoNormal>// "interval" : 6, // Wartezeit in Sekunden bis neue Werte in die middleware übertragen werden<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal> "channels": [{<o:p></o:p></p></div><div><p class=MsoNormal>"uuid" : "85c9d810-d77f-11e6-952d-67c8d61dfee8",<o:p></o:p></p></div><div><p class=MsoNormal>"middleware" : "<a href="http://localhost/middleware.php">http://localhost/middleware.php</a>",<o:p></o:p></p></div><div><p class=MsoNormal>"identifier" : "1.8.1" /* tarief hoog */<o:p></o:p></p></div><div><p class=MsoNormal>}, {<o:p></o:p></p></div><div><p class=MsoNormal>"uuid" : "8c5c03c0-d77f-11e6-8734-2b9f8e5b69ac",<o:p></o:p></p></div><div><p class=MsoNormal>"middleware" : "<a href="http://localhost/middleware.php">http://localhost/middleware.php</a>",<o:p></o:p></p></div><div><p class=MsoNormal>"identifier" : "1.8.2" /* tarief laag */<o:p></o:p></p></div><div><p class=MsoNormal>}, {<o:p></o:p></p></div><div><p class=MsoNormal>"uuid" : "708f75c0-d77f-11e6-bf8b-1934a5879030",<o:p></o:p></p></div><div><p class=MsoNormal>"middleware" : "<a href="http://localhost/middleware.php">http://localhost/middleware.php</a>",<o:p></o:p></p></div><div><p class=MsoNormal>"identifier" : "2.8.1" /* terug hoog */<o:p></o:p></p></div><div><p class=MsoNormal>}, {<o:p></o:p></p></div><div><p class=MsoNormal>"uuid" : "79a03670-d77f-11e6-b02e-f793e655dab2",<o:p></o:p></p></div><div><p class=MsoNormal>"middleware" : "<a href="http://localhost/middleware.php">http://localhost/middleware.php</a>",<o:p></o:p></p></div><div><p class=MsoNormal>"identifier" : "2.8.2" /* terug laag */<o:p></o:p></p></div><div><p class=MsoNormal>}]<o:p></o:p></p></div><div><p class=MsoNormal>}]<o:p></o:p></p></div><div><p class=MsoNormal>}<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Gruß<o:p></o:p></p></div><div><p class=MsoNormal>Frank<o:p></o:p></p></div></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>2017-01-11 23:12 GMT+01:00 Frans Oonk <<a href="mailto:f-oonk@wxs.nl" target="_blank">f-oonk@wxs.nl</a>>:<o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Ich versuche nun seit stunden ein Projekt am Laufen zu bekommen. Bekommen aber die Meldung;<br><br>root@raspberrypiOpenEnergyMonitor:/home/pi# vzlogger -o,<br>[Jan 11 23:09:09][main] vzlogger v0.6.0 based on heads/master-0-g1484f9aad1 from Mon, 22 Aug 2016 22:32:51 +0200 started.<br>[Jan 11 23:09:09] Failed to parse configuration due to: configuration file incomplete, missing closing braces/parens?<br>root@raspberrypiOpenEnergyMonitor:/home/pi#<br><br>Kann mir eine Helfen und angeben was hier falsch ist?<br><br>{<br>"retry" : 30, /* how long to sleep between failed requests, in seconds */<br>"daemon" : false, /* run periodically */<br>"verbosity" : 10, /* between 0 and 15 */<br>"log" : "/var/log/vzlogger.log", /* path to logfile, optional */<br><br>"local" : {<br>"enabled" : false, /* should we start the local HTTPd for serving live readings? */<br>"port" : 80, /* the TCP port for the local HTTPd */<br>"index" : true, /* should we provide a index listing of available channels if no UUID was requested? */<br>"timeout" : 30, /* timeout for long polling comet requests, 0 disables comet, in seconds */<br>"buffer" : 600 /* how long to buffer readings for the local interface, in seconds */<br>},<br><br>"meter" : {<br> "enabled" : false, /* disabled meters will be ignored */<br> "skip" : false, // if enabled, errors when opening meter will lead to meter being ignored<br> "protocol" : "d0", // see 'vzlogger -h' for list of available protocols<br> "device" : "/dev/ttyUSB0",<br> "parity" : "7E1", // oder 8N1<br> "baudrate" : 300, // oder 300<br> "pullseq" : "2F3F210D0A", // Pullsequenz in 'hex'<br>// "baudrate_read" : 300, // Baudratenumschaltung auf gewünschte Baudrate, abhängig von Zählerantwort<br>// "aggtime" : 20, // in Sekunden<br>// "aggmode" : "MAX", // "AVG" Mittelwert für Leistung, "MAX" für Zähler, "SUM" für Counter<br>// "interval" : 6, // Wartezeit in Sekunden bis neue Werte in die middleware übertragen werden<br><br> "channels": [{<br>"uuid" : "85c9d810-d77f-11e6-952d-67c8d61dfee8",<br>"middleware" : "<a href="http://localhost/middleware.php" target="_blank">http://localhost/middleware.php</a>",<br>"identifier" : "1.8.1" /* tarief hoog */<br>}, {<br>"uuid" : "8c5c03c0-d77f-11e6-8734-2b9f8e5b69ac",<br>"middleware" : "<a href="http://localhost/middleware.php" target="_blank">http://localhost/middleware.php</a>",<br>"identifier" : "1.8.2" /* tarief laag */<br>}, {<br>"uuid" : "708f75c0-d77f-11e6-bf8b-1934a5879030",<br>"middleware" : "<a href="http://localhost/middleware.php" target="_blank">http://localhost/middleware.php</a>",<br>"identifier" : "2.8.1" /* terug hoog */<br>}, {<br>"uuid" : "79a03670-d77f-11e6-b02e-f793e655dab2",<br>"middleware" : "<a href="http://localhost/middleware.php" target="_blank">http://localhost/middleware.php</a>",<br>"identifier" : "2.8.2" /* terug laag */<br>} ]<br>}<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>