<html><head></head><body><div>Nach dem ersten Block fehlt:</div><div>},<br><br><div class="acompli_signature"><br></div></div><br><br><br>
<div class="gmail_quote">On Thu, Jan 12, 2017 at 1:12 AM +0300, "Frans Oonk" <span dir="ltr"><<a href="mailto:f-oonk@wxs.nl" target="_blank">f-oonk@wxs.nl</a>></span> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="3D"ltr"">
<pre>Ich versuche nun seit stunden ein Projekt am Laufen zu bekommen. Bekommen aber die Meldung;
root@raspberrypiOpenEnergyMonitor:/home/pi# vzlogger -o,
[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.
[Jan 11 23:09:09] Failed to parse configuration due to: configuration file incomplete, missing closing braces/parens?
root@raspberrypiOpenEnergyMonitor:/home/pi#
Kann mir eine Helfen und angeben was hier falsch ist?
{
"retry" : 30, /* how long to sleep between failed requests, in seconds */
"daemon" : false, /* run periodically */
"verbosity" : 10, /* between 0 and 15 */
"log" : "/var/log/vzlogger.log", /* path to logfile, optional */
"local" : {
"enabled" : false, /* should we start the local HTTPd for serving live readings? */
"port" : 80, /* the TCP port for the local HTTPd */
"index" : true, /* should we provide a index listing of available channels if no UUID was requested? */
"timeout" : 30, /* timeout for long polling comet requests, 0 disables comet, in seconds */
"buffer" : 600 /* how long to buffer readings for the local interface, in seconds */
},
"meter" : {
"enabled" : false, /* disabled meters will be ignored */
"skip" : false, // if enabled, errors when opening meter will lead to meter being ignored
"protocol" : "d0", // see 'vzlogger -h' for list of available protocols
"device" : "/dev/ttyUSB0",
"parity" : "7E1", // oder 8N1
"baudrate" : 300, // oder 300
"pullseq" : "2F3F210D0A", // Pullsequenz in 'hex'
// "baudrate_read" : 300, // Baudratenumschaltung auf gewünschte Baudrate, abhängig von Zählerantwort
// "aggtime" : 20, // in Sekunden
// "aggmode" : "MAX", // "AVG" Mittelwert für Leistung, "MAX" für Zähler, "SUM" für Counter
// "interval" : 6, // Wartezeit in Sekunden bis neue Werte in die middleware übertragen werden
"channels": [{
"uuid" : "85c9d810-d77f-11e6-952d-67c8d61dfee8",
"middleware" : "http://localhost/middleware.php",
"identifier" : "1.8.1" /* tarief hoog */
}, {
"uuid" : "8c5c03c0-d77f-11e6-8734-2b9f8e5b69ac",
"middleware" : "http://localhost/middleware.php",
"identifier" : "1.8.2" /* tarief laag */
}, {
"uuid" : "708f75c0-d77f-11e6-bf8b-1934a5879030",
"middleware" : "http://localhost/middleware.php",
"identifier" : "2.8.1" /* terug hoog */
}, {
"uuid" : "79a03670-d77f-11e6-b02e-f793e655dab2",
"middleware" : "http://localhost/middleware.php",
"identifier" : "2.8.2" /* terug laag */
} ]
}
</pre>
</div>
</blockquote>
</div>
</body></html>