[vz-users] TD-3511

joisey04 at mac.com joisey04 at mac.com
Mon Apr 28 21:15:48 CEST 2014


keine Ahnung
ich habe gestern auf einer neuen sd karte das image installiert: https://www.energie-und-it.de/raspi/2014-03-22-raspbian-vz-05-3G.img.zip

und dann auf beiden USB Ports einen IR  Kopf angeschlossen. (Ich habe zwei Zähler)

middleware auf raspi - alles möglichst unverändert gelassen - nur den einen meter hinzugefügt

mittlerweile auch schon zwei versch. Raspis ausprobiert.

kann dann ja eigentlich nur an der config liegen oder? 

hier nochmals, vielleicht übersehe ich ja was:

pi at raspberrypi ~ $ cat /etc/vzlogger.conf
/**
* 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 */
//"foreground" : true,		/* dont run in background (prevents forking) */
"verbosity" : 500,		/* 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 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 */
},

"meters" : [
	{
	"protocol" : "random",
	"enabled" : true,
	"interval" : 120,
	"max" : 40.0,		/* has to be double! */
	"min" : -5.0,		/* has to be double! */
	"channel" : {
		"uuid" : "a301d8d0-903b-1234-94bb-d943d061b6a8",
		"middleware" : "http://localhost/middleware.php"
		}
	} // meter
       ,
       //
       {
       "enabled" : true,       /* disabled meters will be ignored */
       "protocol" : "d0",     /* use 'vzlogger -h' for list of available protocols */
       "device" : "/dev/ttyUSB0",
       "parity" : "7E1",
	"baudrate" : 300,
       "pullseq" : "2f3f210d0a", // HEX Darstellung der Pullsequenz
       "interval" :500, // Wartezeit bis zum nächsten Pull
       "channel" : {
          "identifier" : "1-0:1.8.0",
          "uuid" : "fa53df00-ce3e-11e3-bd96-c186fd7f4720",
          "middleware" : "http://localhost/middleware.php"
                    }
       }
	,
	//
	{
       "enabled" : false,
	"protocol" : "file",
	"path" : "/sys/class/thermal/thermal_zone0/temp",
//	"format" : "$v",	/* a format string for parsing complex logfiles */
				/* arbitrary text and whitespaces are allowed, see 'scanf()' */
				/* at least $v has to be used */
				/* $i => identifier, $v => value, $t => timestamp */
	"rewind" : true,	/* reset file pointer each interval to the beginning of the file */
	"interval" : 20,		/* of ommitted, we will try to listen on changes with inotify */
	"identifier" : "",
	"channel" : {
		"uuid" : "f6ff48d0-aeac-11e3-b2ed-3bbb8f66a68d",
		"middleware" : "http://localhost/middleware.php"
		} // channel
	} // meter
	,
	{
       "enabled" : false,
	"protocol" : "file",
	"path" : "/proc/loadavg",
//	"format" : "$i $v $t",	/* a format string for parsing complex logfiles */
				/* arbitrary text and whitespaces are allowed, see 'scanf()' */
				/* at least $v has to be used */
				/* $i => identifier, $v => value, $t => timestamp */
	"rewind" : true,	/* reset file pointer each interval to the beginning of the file */
	"interval" : 10,	/* of ommitted, we will try to listen on changes with inotify */
       "aggtime" : 300, 	/* aggregate all signals and give one update to middleware every 'aggtime' seconds */
       "aggfixedinterval" : true, /* round all timestamps to middleware to nearest aggtime */
	"channel" : {
		"uuid" : "6b935420-af46-11e3-aea7-f7bf03375759",
		"middleware" : "http://localhost/middleware.php",
               "aggmode" : "MAX" /* add all s0 intervals in the aggregation. Possible Modes: SUM, AVG, MAX  and NONE */
		} // channel
	} // meter
]} // end of config
pi at raspberrypi ~ $

On 28.04.2014, at 16:56, Udo1 <udo1 at gmx.net> wrote:

> Am 28.04.2014 09:42, schrieb Rainer Gauweiler:
>> Wenn aus dem vzlogger die Startsequenz nicht raus kommt,
> mmh, das funktioniert doch bei anderen auch, wieso hier nicht?
> 
> Gruß
> Udo



More information about the volkszaehler-users mailing list