[vz-users] New user, can't even get the basics working....
fiets fietsenwiel
fietsenwiel at gmail.com
Wed Sep 14 20:53:52 CEST 2016
Sorry to bather again....
Now I made 4 sensors (uuid's). @ are for messuring electricity (usage en
sun), one for gas usage and one for water usage.
The electicity sun (Energie opbrengst) dosn't work, It does work when I
delete the "Energie opbrengst" in the config file (so I know the hardware
is working fine).
It seems they can not exists together.
[image: Inline afbeelding 1]
My config file is the following where every s0 meter is a copy of the first
where I changed the UUID and the GPIO:
/**
* vzlogger configuration
*
* use proper encoded JSON with javascript comments
*
* take a look at the wiki for detailed information:
* http://wiki.volkszaehler.org/software/controller/vzlogger#configuration
*/
{
"retry" : 30, /* how long to sleep between failed
requests, in seconds */
"daemon": true, /* run periodically */
"verbosity" : 15, /* 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" : 8080, /* the TCP port for the local HTTPd */
"index" : true, /* should we provide a index listing of
available channels? */
"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 */
},
"meters" : [{
"enabled" : true, /* disabled meters will be ignored */
"allowskip": false,
"interval": 1,
"aggtime": -1,
"channels": [
{
"uuid": "dd995220-7a47-11e6-86ce-6bf65a52ce09",
"identifier": "Impulse",
"api": "volkszaehler",
"middleware": "http://localhost/middleware.php",
"aggmode": "none",
"duplicates": 0
}
],
"aggfixedinterval": false,
"protocol": "s0",
"device": "",
"gpio": 4,
"gpio_dir": -1,
"configureGPIO": true,
"resolution": 1,
"send_zero": false,
"debounce_delay": 30,
"nonblocking_delay": 100000
},
{
"enabled" : true, /* disabled meters will be ignored */
"allowskip": false,
"interval": 1,
"aggtime": -1,
"channels": [
{
"uuid": "dfc58710-7a47-11e6-9278-45f4e725fa39",
"identifier": "Impulse",
"api": "volkszaehler",
"middleware": "http://localhost/middleware.php",
"aggmode": "none",
"duplicates": 0
}
],
"aggfixedinterval": false,
"protocol": "s0",
"device": "",
"gpio": 22,
"gpio_dir": -1,
"configureGPIO": true,
"resolution": 1,
"send_zero": false,
"debounce_delay": 30,
"nonblocking_delay": 100000
},
{
"enabled" : true, /* disabled meters will be ignored */
"allowskip": false,
"interval": 1,
"aggtime": -1,
"channels": [
{
"uuid": "6823ec50-7a48-11e6-ba8f-eb092025f059",
"identifier": "Impulse",
"api": "volkszaehler",
"middleware": "http://localhost/middleware.php",
"aggmode": "none",
"duplicates": 0
}
],
"aggfixedinterval": false,
"protocol": "s0",
"device": "",
"gpio": 24,
"gpio_dir": -1,
"configureGPIO": true,
"resolution": 1,
"send_zero": false,
"debounce_delay": 30,
"nonblocking_delay": 100000
},{
"enabled" : true, /* disabled meters will be ignored */
"allowskip": false,
"interval": 1,
"aggtime": -1,
"channels": [
{
"uuid": "7265eee0-7a48-11e6-9eb5-fd85707de1a1",
"identifier": "Impulse",
"api": "volkszaehler",
"middleware": "http://localhost/middleware.php",
"aggmode": "none",
"duplicates": 0
}
],
"aggfixedinterval": false,
"protocol": "s0",
"device": "",
"gpio": 25,
"gpio_dir": -1,
"configureGPIO": true,
"resolution": 1,
"send_zero": false,
"debounce_delay": 30,
"nonblocking_delay": 100000
}
]
}
​Does anyone know what is wrong?
Thanks in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20160914/99278f09/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 93236 bytes
Desc: not available
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20160914/99278f09/attachment-0001.png>
More information about the volkszaehler-users
mailing list