[vz-users] TD-3511

joisey04 at mac.com joisey04 at mac.com
Sun Apr 27 18:38:12 CEST 2014


bei mir schaut das dann leider so aus.


pi at raspberrypi /etc $ vzlogger -c /etc/vzlogger.test
[Apr 27 16:34:24][mtr0] Creating new meter with protocol d0.
[Apr 27 16:34:24][d0]   pullseq len:5 found
[Apr 27 16:34:24][mtr0] Meter configured. enabled
[Apr 27 16:34:24]       New meter initialized (protocol=d0)
[Apr 27 16:34:24][mtr1] Creating new meter with protocol d0.
[Apr 27 16:34:24][d0]   pullseq len:5 found
[Apr 27 16:34:24][mtr1] Meter configured. enabled
[Apr 27 16:34:24]       New meter initialized (protocol=d0)
[Apr 27 16:34:24]       Have 2 meters.
[Apr 27 16:34:24][main] foreground=1, daemon=0, local=0
[Apr 27 16:34:24]       NOT Daemonize process...
[Apr 27 16:34:24][]     ===> Start meters.
[Apr 27 16:34:24][mtr0] Meter connection established
[Apr 27 16:34:24][mtr0] Meter thread started
[Apr 27 16:34:24][mtr0] meter is opened. Start channels.
[Apr 27 16:34:24][mtr0] Number of readers: 32
[Apr 27 16:34:24][mtr0] Config.daemon: 0
[Apr 27 16:34:24][mtr0] Config.local: 0
[Apr 27 16:34:24][d0]   sending pullsequenz send (len:5 is:5).
[Apr 27 16:34:24][mtr1] Meter connection established
[Apr 27 16:34:24][mtr1] Meter thread started
[Apr 27 16:34:24][mtr1] meter is opened. Start channels.
[Apr 27 16:34:24][]     Startup done.
[Apr 27 16:34:24][mtr1] Number of readers: 32
[Apr 27 16:34:24][mtr1] Config.daemon: 0
[Apr 27 16:34:24][mtr1] Config.local: 0
[Apr 27 16:34:24][d0]   sending pullsequenz send (len:5 is:5).



meine vzlogger.test:
pi at raspberrypi /etc $ cat vzlogger.test
/**
 * 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": false,                /* run periodically */
"foreground" : true,            /* dont run in background (prevents forking) */

"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" : 80,            /* 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 */
        "protocol" : "d0",     /* use 'vzlogger -h' for list of available protocols */
        "device" : "/dev/ttyUSB0",
        "parity" : "7E1",
	"baudrate" : 300,
        "pullseq" : "2f3f210d0a", // HEX Darstellung der Pullsequenz
        "interval" :120, // Wartezeit bis zum nächsten Pull
        },{
        "enabled" : true,       /* disabled meters will be ignored */
        "protocol" : "d0",     /* use 'vzlogger -h' for list of available protocols */
        "device" : "/dev/ttyUSB1",
        "parity" : "7E1",
	"baudrate" : 300,
       "pullseq" : "2f3f210d0a", // HEX Darstellung der Pullsequenz
        "interval" :120, // Wartezeit bis zum nächsten Pull
        }
]}
pi at raspberrypi /etc $





On 27.04.2014, at 17:13, Udo1 <udo1 at gmx.net> wrote:

> Am 27.04.2014 15:27, schrieb joisey04 at mac.com:
>> gibt es hier was neues?
> Hallo Martin,
> 
> die Funktionen von vzlogger wurden um eine pullsequenz erweitert. Am Besten das neue Image für den RPi runter laden.
> https://www.energie-und-it.de/raspi/2014-03-22-raspbian-vz-05-3G.img.zip
> http://volkszaehler.org/pipermail/volkszaehler-dev/2013-April/002671.html
> 
> Gruß
> Udo
> 



More information about the volkszaehler-users mailing list