<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>@Daniel:<br>Habe die zweite UUID durch eine andere ersetzt, es besteht aber immer noch folgender Error:<br>-----<br>root@raspberrypi:/home/pi# vzlogger<br>[Jul 20 21:36:38] Error in /etc/vzlogger.conf:42 quoted object property name expected at offset 19<br>[Jul 20 21:36:38] Failed to parse configuration due to: Parse configuaration failed.<br>-----<br>@all:<br>Hier mein aktueller Code:<br><br>1) /**<br>2) * vzlogger configuration<br>3) *<br>4) * use proper encoded JSON with javascript comments<br>5) *<br>6) * take a look at the wiki for detailed information:<br>7) * http://wiki.volkszaehler.org/software/controller/vzlogger#configuration<br>8) */<br>9) <br>10) {<br>11) "retry" : 30, /* how long to sleep between failed requests, in seconds */<br>12) "daemon": true, /* run periodically */<br>13) "foreground" : false, /* run in background */<br>14) "verbosity" : 9999, /* between 0 and 9999, je höher desto mehr Infos */<br>15) "log" : "/var/log/vzlogger.log", /* path to logfile, optional */<br>16) <br>17) "local" : {<br>18) "enabled" : false, /* local HTTPd for serving live readings, 'false' für Daten an die middleware !!! */<br>19) "port" : 80, /* the TCP port for the local HTTPd */<br>20) "index" : true, /* should we provide a index listing of available channels if no UUID was requested? */<br>21) "timeout" : 30, /* timeout for long polling comet requests, 0 disables comet, in seconds */<br>22) "buffer" : 600 /* how long to buffer readings for the local interface, in seconds */<br>23) },<br>24) <br>25) "meters" : [{ /* Beispiel-Meter */<br>26) "enabled" : true, /* disabled meters will be ignored (default) */<br>27) "protocol" : "d0", /* see 'vzlogger -h' for list of available protocols */<br>28) "device" : "/dev/ttyUSB0",<br>29) "parity" : "7E1", /* oder 8N1 */<br>30) "baudrate" : 300, /* oder 300 */<br>31) "pullseq" : "2F3F210D0A", /* Pullsequenz in 'hex' */<br>32) /* "ackseq": "063030300d0a", */ /* Antwortsequenz auf Zählerantwort,063030300d0a = 300bd, 063035300d0a = 9600bd */<br>33) /* "baudrate_read": 300, */ /* Baudratenumschaltung auf gewünschte Baudrate, abhängig von Zählerantwort */<br>34) "aggtime" : 20, /* in Sekunden */<br>35) "aggmode" : "AVG", /* Mittelwert für Leistung, "MAX" für Zähler, "SUM" für Counter */<br>36) "interval": 6, /* Wartezeit in Sekunden bis neue Werte in die middleware übertragen werden */<br>37) "channel": { /* Beispiel-channel */<br>38) "uuid" : "b6d45920-1037-11e4-9697-4b5bcc96bac0",<br>39) "middleware" : "192.168.178.50/middleware.php",<br>40) "identifier" : "1.8.1" /* alias for '1.8.1', see 'vzlogger -h' for list of available aliases */<br>41) },<br>42) { /* Beispiel-channel */<br>43) "uuid" : "f71e1a20-1043-11e4-be80-4f65c701e51c",<br>44) "middleware" : "192.168.178.50/middleware.php",<br>45) "identifier" : "2.8.1" /* alias for '2.8.1', see 'vzlogger -h' for list of available aliases */4<br>46) }<br>47) <br>48) }]<br>49) }<br> </div></body>
</html>