<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 15 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
p.m1261577675793223574msoplaintext, li.m1261577675793223574msoplaintext, div.m1261577675793223574msoplaintext
{mso-style-name:m_1261577675793223574msoplaintext;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.E-MailFormatvorlage19
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.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 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'><div class=WordSection1><p class=MsoNormal><span style='mso-fareast-language:EN-US'><img width=486 height=529 style='width:5.0583in;height:5.5083in' id="Grafik_x0020_2" src="cid:image001.png@01D88169.E224EE90"></span><span style='mso-fareast-language:EN-US'><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>pi@raspberrypi:~ $ cat /etc/vzlogger.conf<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>/**<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> * vzlogger configuration<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> *<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> * Use properly encoded JSON with javascript comments<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> *<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> * Take a look at the wiki for detailed information:<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> * http://wiki.volkszaehler.org/software/controller/vzlogger#configuration<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> *<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> * For an online configuration editor refer to:<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> * http://volkszaehler.github.io/vzlogger/<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> */<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>{<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // General settings<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "verbosity": 5, // log verbosity (0=log_alert, 1=log_error, 3=log_warning, 5=log_info, 10=log_debug, 15=log_finest)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "log": "/var/log/vzlogger/vzlogger.log", // log file, optional<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "retry": 30, // http retry delay in seconds<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // Build-in HTTP server<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "local": {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "enabled": false, // enable local HTTPd for serving live readings<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "port": 8080, // TCP port for local HTTPd<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "index": true, // provide index listing of available channels if no UUID was requested<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "timeout": 30, // timeout for long polling comet requests in seconds (0 disables comet)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "buffer": -1 // HTTPd buffer configuration for serving readings, default -1<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // >0: number of seconds of readings to serve<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // <0: number of tuples to server per channel (e.g. -3 will serve 3 tuples)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> },<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // realtime notification settings<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "push": [<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "url": "http://127.0.0.1:5582" // notification destination, e.g. frontend push-server<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> }<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> ],<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // mqtt client support (if ENABLE_MQTT set at cmake generation)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "mqtt": {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "enabled": false, // enable mqtt client. needs host and port as well<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "host": "test.mosquitto.org", // mqtt server addr<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "port": 1883, // 1883 for unencrypted, 8883 enc, 8884 enc cert needed,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "cafile": "", // optional file with server CA<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "capath": "", // optional path for server CAs. see mosquitto.conf. Specify only cafile or capath<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "certfile": "", // optional file for your client certificate (e.g. client.crt)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "keyfile": "", // optional path for your client certficate private key (e.g. client.key)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "keypass": "", // optional password for your private key<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "keepalive": 30, // optional keepalive in seconds.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "topic": "vzlogger/data", // optional topic dont use $ at start and no / at end<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "id": "", // optional static id, if not set "vzlogger_<pid>" will be used<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "user": "", // optional user name for the mqtt server<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "pass": "", // optional password for the mqtt server<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "retain": false, // optional use retain message flag<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "rawAndAgg": false, // optional publish raw values even if agg mode is used<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "qos": 0, // optional quality of service, default is 0<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "timestamp": false // optional whether to include a timestamp in the payload<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> },<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // Meter configuration<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "meters": [<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>{<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "retry": 3,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "verbosity": 1,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "log": "/var/log/vzlogger/vzlogger.log",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "local":{<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "enabled": false,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "port": 8081,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "index": false,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "timeout": 30,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "buffer": 600<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> },<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "meters":[<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "protocol": "sml",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "enabled": true,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "allowskip": true,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "device": "/dev/ttyUSB0",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "parity": "8N1",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "baudrate": 9600,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "aggtime": 5,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "aggfixedinterval":true,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "channels":[<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "uuid": "[Kanal-ID]",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "middleware": "http://localhost/middleware.php",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "identifier": "1-0:1.8.0*255",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "aggmode": "max"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> },<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "uuid": "[Kanal-ID]",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "middleware": "http://localhost/middleware.php",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "identifier": "1-0:2.8.0*255",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "aggmode": "max"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> },<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "uuid": "[Kanal-ID]",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "middleware": "http://localhost/middleware.php",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "identifier": "1-0:16.7.0*255",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "aggmode": "avg"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> }<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> ]<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> }<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> ]<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>}<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // Example SML meter<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "enabled": false, // disabled meters will be ignored (default)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "allowskip": false, // errors when opening meter may be ignored if enabled<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "protocol": "sml", // meter protocol, see 'vzlogger -h' for full list<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "device": "/dev/ttyUSB1", // meter device<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>// "host": "http://my.ddns.net::7331", // uri if meter not locally connected using <device><o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "aggtime": 10, // aggregate meter readings and send middleware update after <aggtime> seconds<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "channels": [{<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "api": "volkszaehler", // middleware api, default volkszaehler<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "uuid": "fde8f1d0-c5d0-11e0-856e-f9e4360ced10",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "middleware": "http://localhost/middleware.php",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "identifier": "power" // OBIS identifier (alias for '1-0:1.7.ff')<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // see 'vzlogger -h' for available aliases<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // see 'vzlogger -v20' for available identifiers for attached meters<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> }, {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "uuid": "a8da012a-9eb4-49ed-b7f3-38c95142a90c",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "middleware": "http://localhost/middleware.php",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "identifier": "counter", // OBIS identifier<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "duplicates": 10 // duplicate handling, default 0 (send duplicate values)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // >0: send duplicate values only each <duplicates> seconds<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // Activate only for abs. counter values (Zaehlerstaende) and not for impulses<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> }, {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "uuid": "d5c6db0f-533e-498d-a85a-be972c104b48",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "middleware": "http://localhost/middleware.php",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "identifier": "1-0:1.8.0" // OBIS identifier<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> }]<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> },<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // Example S0 meter<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "enabled": false, // disabled meters will be ignored (default)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "allowskip": false, // errors when opening meter may be ignored if enabled<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "protocol": "s0", // meter protocol, see 'vzlogger -h' for full list<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "device": "/dev/ttyUSB0", // meter device<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "aggtime": 300, // aggregate meter readings and send middleware update after <aggtime> seconds<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "aggfixedinterval": true, // round timestamps to nearest <aggtime> before sending to middleware<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "channel": {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "identifier": "Impulse", // s0 meter knows "Impulse" and "Power"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "uuid": "d495a390-f747-11e0-b3ca-f7890e45c7b2",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "middleware": "http://localhost/middleware.php",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "aggmode": "SUM" // aggregation mode: aggregate meter readings during <aggtime> interval<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // "SUM": add readings (use for s0 impulses)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // "MAX": maximum value (use for meters sending absolute readings)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // "AVG": average value (use for meters sending current usage)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> }<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> },<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // Example D0 meter<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "enabled": false, // disabled meters will be ignored (default)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "allowskip": false, // errors when opening meter may be ignored if enabled<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "protocol": "d0", // meter protocol, see 'vzlogger -h' for full list<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "device": "/dev/ttyUSB0", // meter device<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "dump_file": "/var/log/d0.txt", // detailed log file for all received/transmitted data (optional)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "parity": "7E1", // Serial parity, 7E1 or 8N1<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "baudrate": 9600, // Serial baud rate, typically 9600 or 300<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // optional D0 interface settings<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>// "pullseq": "2F3F210D0A", // Pull sequence in 'hex'<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>// "ackseq": "063030300d0a", // optional (default: keine Antwortsequenz auf Zaehlerantwort) kann entweder feste hex-Sequenz sein (z.B. 063035300d0a für mode C mit 9600bd oder 063030300d0a = 300bd) oder kann auf "auto" gesetzt werden, damit die Sequenz autom. berechnet wird und autom. auf die max. Baudrate umgeschaltet wird (baudrate_read wird dann ignoriert)<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>// "read_timeout": 10, // optional read timeout, default 10s. Data reading is considered finished if no state change after that timeout<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>// "baudrate_change_delay": 400, // optional, default none. Delay value in ms after ACKSEQ send before baudrate change<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>// "baudrate_read": 300, // Baudratenumschaltung auf gewünschte Baudrate, abhängig von Zählerantwort<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>// "aggtime": 20, // aggregate meter readings and send middleware update after <aggtime> seconds<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "interval": 0, // Wartezeit in Sekunden bis neue Werte in die middleware übertragen werden<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "channel": {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "uuid": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeee",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "middleware": "http://localhost/middleware.php",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "identifier": "1-0:1.8.1" // OBIS identifier<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>// "aggmode": "MAX" // aggregation mode: aggregate meter readings during <aggtime> interval<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> }<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> },<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // examples for non-device protocols<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "enabled": false, // disabled meters will be ignored<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "allowskip": false, // errors when opening meter may be ignored if enabled<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "protocol": "random",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "interval": 2,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "max": 40.0, // has to be double!<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "min": -5.0, // has to be double!<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "channel": {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "uuid": "bac2e840-f72c-11e0-bedf-3f850c1e5a66",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "middleware": "http://localhost/middleware.php"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> }<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> },<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "enabled": false, // disabled meters will be ignored<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "allowskip": false, // errors when opening meter may be ignored if enabled<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "protocol": "file",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "path": "/proc/loadavg",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>// "format": "$i $v $t", // a format string for parsing complex logfiles<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // arbitrary text and whitespaces are allowed, see 'scanf()'<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // at least $v has to be used<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // $i => identifier, $v => value, $t => timestamp<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "rewind": true, // reset file pointer each interval to the beginning of the file<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "interval": 2 // if ommitted, we will try to listen on changes with inotify<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> },<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "enabled": false, // disabled meters will be ignored<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "allowskip": false, // if enabled, errors when opening meter will lead to meter being ignored<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "protocol": "exec",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "command": "python /path/to/yourscript.py", // is the command line as you'll type it in the shell - remember to test your command from the root directory<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // "format": "$i $v $t", // a format string for parsing complex logfiles<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // arbitrary text and whitespaces are allowed, see 'scanf()'<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // at least $v has to be used<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // $i => identifier, $v => value, $t => timestamp<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "interval": 2<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> },<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // examples for Flukso-based sensors<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "enabled": false, // disabled meters will be ignored<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "allowskip": false, // errors when opening meter may be ignored if enabled<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "protocol": "fluksov2",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "fifo": "/var/spid/delta/out",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "channel": {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "uuid": "3b4da450-42a8-11e1-8b8d-c526d853edec",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "middleware": "http://localhost/middleware.php",<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "identifier": "sensor0/power" // or "sensor2/consumption"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> }<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> },<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> // example for 1wire temp sensors<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> {<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "enabled": false,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "allowskip": true,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> "protocol": "w1therm"<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> }<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'> ]<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>}<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b>Von:</b> volkszaehler-users <volkszaehler-users-bounces@demo.volkszaehler.org> <b>Im Auftrag von </b>Frank Richter<br><b>Gesendet:</b> Donnerstag, 16. Juni 2022 10:10<br><b>An:</b> volkszaehler.org - users <volkszaehler-users@demo.volkszaehler.org><br><b>Betreff:</b> Re: [vz-users] Hilfe bei der Einstellung der Vz Sowtware<o:p></o:p></p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Da fehlt der Schrägstrich vor etc<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Also korrekt: cat /etc/vzlogger.conf<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Dann stellt sich natürlich die Frage, ob du überhaupt die richtige Datei editiert hast?<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Vielleicht liegt dir WinSCP mehr als ein Terminal? Kannst dir ja mal anschauen.<o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Grüße<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><div><p class=MsoNormal><<a href="mailto:jochen384@gmail.com">jochen384@gmail.com</a>> schrieb am Do., 16. Juni 2022, 10:04:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><p class=m1261577675793223574msoplaintext>Ja hier ist mein Schach Matt!<o:p></o:p></p><p class=m1261577675793223574msoplaintext> <o:p></o:p></p><p class=m1261577675793223574msoplaintext><img border=0 width=512 height=89 style='width:5.3333in;height:.925in' id="_x0000_i1025" src="cid:image001.png@01D88168.6F1D1B30"><o:p></o:p></p><p class=m1261577675793223574msoplaintext> <o:p></o:p></p><p class=m1261577675793223574msoplaintext>-----Ursprüngliche Nachricht-----<o:p></o:p></p><p class=m1261577675793223574msoplaintext>Von: volkszaehler-users <<a href="mailto:volkszaehler-users-bounces@demo.volkszaehler.org" target="_blank">volkszaehler-users-bounces@demo.volkszaehler.org</a>> Im Auftrag von Christian Weiske<o:p></o:p></p><p class=m1261577675793223574msoplaintext>Gesendet: Donnerstag, 16. Juni 2022 09:27<o:p></o:p></p><p class=m1261577675793223574msoplaintext>An: <a href="mailto:volkszaehler-users@demo.volkszaehler.org" target="_blank">volkszaehler-users@demo.volkszaehler.org</a><o:p></o:p></p><p class=m1261577675793223574msoplaintext>Betreff: Re: [vz-users] Hilfe bei der Einstellung der Vz Sowtware<o:p></o:p></p><p class=m1261577675793223574msoplaintext> <o:p></o:p></p><p class=m1261577675793223574msoplaintext>Hallo Jochen,<o:p></o:p></p><p class=m1261577675793223574msoplaintext> <o:p></o:p></p><p class=m1261577675793223574msoplaintext> <o:p></o:p></p><p class=m1261577675793223574msoplaintext>> ich habe jetzt die Entsprechenden Zählerkonfiguration (<a href="https://wiki.volkszaehler.org/hardware/channels/meters/power/edl-ehz/iskraemeco_mt176" target="_blank">https://wiki.volkszaehler.org/hardware/channels/meters/power/edl-ehz/iskraemeco_mt176</a>)<o:p></o:p></p><p class=m1261577675793223574msoplaintext>> hineinkopiert... kann aber nicht sagen ob das stimmt..<o:p></o:p></p><p class=m1261577675793223574msoplaintext>> Es wird weiterhin keine Kurve angezeigt.<o:p></o:p></p><p class=m1261577675793223574msoplaintext>Zeig uns doch mal deine komplette Konfigurationsdatei.<o:p></o:p></p><p class=m1261577675793223574msoplaintext> <o:p></o:p></p><p class=m1261577675793223574msoplaintext>-- <o:p></o:p></p><p class=m1261577675793223574msoplaintext>Regards/Mit freundlichen Grüßen<o:p></o:p></p><p class=m1261577675793223574msoplaintext>Christian Weiske<o:p></o:p></p><p class=m1261577675793223574msoplaintext> <o:p></o:p></p><p class=m1261577675793223574msoplaintext>-=≡ Geeking around in the name of science since 1982 ≡=-<o:p></o:p></p></div></div></blockquote></div></div></body></html>