--
StefanHegger - 25 Feb 2024
{
"retry": 0,
"daemon": true,
"verbosity": 5,
"log": "/var/log/vzlogger.log",
"local": {
"enabled": false,
"port": 8080,
"index": false,
"timeout": 0,
"buffer": 0
},
"meters": [
{
"enabled": true,
"allowskip": false,
"interval": -1,
"aggtime": 1,
"aggfixedinterval": false,
"channels": [
{
"api": "null",
"uuid": "327d3a30-8c5c-11ea-bf4d-1fd1d57d1128",
"identifier": "1-0:1.8.0*255",
"middleware": "http://192.168.2.134:80/middleware.php",
"aggmode": "none",
"duplicates": 0
},{
"api": "null",
"uuid": "2d851a00-8df6-11ea-b848-47a515eb2a05",
"identifier": "1-0:21.7.0*255",
"middleware": "http://192.168.2.134:80/middleware.php",
"aggmode": "none",
"duplicates": 0
},{
"api": "null",
"uuid": "1441dde0-8df7-11ea-8dc5-899571a22091",
"identifier": "1-0:41.7.0*255",
"middleware": "http://192.168.2.134:80/middleware.php",
"aggmode": "none",
"duplicates": 0
},{
"api": "null",
"uuid": "4a1eb1a0-8df7-11ea-a403-578a0f25af53",
"identifier": "1-0:61.7.0*255",
"middleware": "http://192.168.2.134:80/middleware.php",
"aggmode": "none",
"duplicates": 0
},{
"api": "null",
"uuid": "80e03a40-8df7-11ea-a5da-65b0cdafdac8",
"identifier": "1-0:1.7.0*255",
"middleware": "http://192.168.2.134:80/middleware.php",
"aggmode": "none",
"duplicates": 0
}
],
"protocol": "d0",
"device": "/dev/ttyUSB0",
"baudrate": 9600,
"parity": "7e1"
}
],
// mqtt client support (if ENABLE_MQTT set at cmake generation)
"mqtt": {
"enabled": true, // enable mqtt client. needs host and port as well
"host": "192.168.2.153", // mqtt server addr
"port": 1883, // 1883 for unencrypted, 8883 enc, 8884 enc cert needed,
"cafile": "", // optional file with server CA
"capath": "", // optional path for server CAs. see mosquitto.conf. Specify only cafile or capath
"certfile": "", // optional file for your client certificate (e.g. client.crt)
"keyfile": "", // optional path for your client certficate private key (e.g. client.key)
"keypass": "", // optional password for your private key
"keepalive": 2, // optional keepalive in seconds.
"topic": "vzlogger/data", // optional topic dont use $ at start and no / at end
"user": "", // optional user name for the mqtt server
"pass": "", // optional password for the mqtt server
"retain": false, // optional use retain message flag
"rawAndAgg": false // optional publish raw values even if agg mode is used
},
}