[vz-users] Peaks im Frontend

Udo1 udo1 at gmx.net
Thu Sep 4 22:26:16 CEST 2014


Hallo Michael,

Am 04.09.2014 21:38, schrieb Michael Wulz:
> Bei mir sind überhaupt nur Spitzen drin.
irgendwas machst du falsch.

Hier mal ein D0-Beispiel anhand eines Hager-Zählers, gerade aufgenommen:

Aktuelle Version von vzlogger:
pi at raspberrypi ~ $ vzlogger -V
0.3.7

vzlogger.conf:

{
     "retry": 30,            /* how long to sleep between failed 
requests, in seconds */
     "daemon": true,        /* run periodically ; if "false" then 
foreground */
     "verbosity": 9999,         /* 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? Must be "false" for sending data to middleware */
         "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": [
//---------------------------------------------------------------------------------------------------------------------------------
//                              Example for sml-Meters
//---------------------------------------------------------------------------------------------------------------------------------
         {
             "enabled": false,               /* disabled meters will be 
ignored (default) */
             "protocol": "sml",              /* see 'vzlogger -h' for 
list of available protocols */
//          "host": "http://IP:Port",       /* if you send the 
device-data via YPORT etc. */
             "device": "/dev/ttyUSB0",       /* if you get the 
device-data directly from USB-Port */
             "channels": [{
                 "uuid": "11111111-1111-1111-1111-111111111111",
                 "middleware": "http://localhost/middleware.php",
                 "identifier": "power"       /* alias for '1-0:1.7.ff', 
see 'vzlogger -h' for list of available aliases */
             }, {
                 "uuid": "22222222-2222-2222-2222-222222222222",
                 "middleware": "http://localhost/middleware.php",
                 "identifier": "counter"
             }, {
                 "uuid": "33333333-3333-3333-3333-333333333333",
                 "middleware": "http://localhost/middleware.php",
                 "identifier": "1-0:1.8.0"   /* see 'vzlogger -v20' for 
an output with all available identifiers/OBIS ids */
             }]
         },
//---------------------------------------------------------------------------------------------------------------------------------
//                              Example for S0-Impulse-Meters
//---------------------------------------------------------------------------------------------------------------------------------
         {
             "enabled": true,               /* disabled meters will be 
ignored */
             "protocol": "s0",
             "device": "/dev/ttyUSB0",       /* if you get the 
device-data directly from USB-Port; dont use vzlogger for Udo's 
extension, use s0vz */
             "aggtime": 5,                 /* aggregate all signals and 
give one update to middleware every 300 seconds */
             "aggfixedinterval": true,       /* round all timestamps to 
middleware to nearest aggtime */
             "channel": {
                 "identifier": "Impulse",    /* s0 meter knows "Impulse" 
and "Power" */
                 "uuid": "0b752e10-2d51-11e4-9097-7fdb3dff579b",
                 "middleware": "http://127.0.1.1/middleware.php",
                 "aggmode": "SUM"            /* add all s0 intervals in 
the aggregation */
             }
         },
//---------------------------------------------------------------------------------------------------------------------------------
//                              Example for d0-Meters
//---------------------------------------------------------------------------------------------------------------------------------
         {
             "enabled": true,               /* disabled meters will be 
ignored (default) */
             "protocol": "d0",               /* see 'vzlogger -h' for 
list of available protocols */
//          "host": "http://IP:Port",       /* if you send the 
device-data via YPORT etc. */
             "device": "/dev/ttyUSB1",       /* if you get the 
device-data directly from USB-Port */
             "parity": "7E1",                /* oder 8N1  */
             "baudrate": 9600,               /* oder 300  */
//          "pullseq": "2F3F210D0A",        /* Pullsequenz in 'hex' */
//          "ackseq": "063030300d0a",       /* Antwortsequenz auf 
Zaehlerantwort,063030300d0a = 300bd, 063035300d0a = 9600bd */
//          "baudrate_read": 300,           /* Baudratenumschaltung auf 
gewuenschte Baudrate, abhaengig von Zaehlerantwort */
//          "aggtime": 20,                  /* in Sekunden */
//          "aggmode": "AVG",               /* Mittelwert fuer Leistung, 
"MAX" fuer Zaehler, "SUM" fuer Counter */
             "interval": 3,                  /* Wartezeit in Sekunden 
bis neue Werte in die middleware uebertragen werden */
             "channel": {                    /* Beispiel-channel */
                 "uuid": "2eb47540-2d51-11e4-b561-efcb3d829cdb",
                 "middleware": "http://127.0.1.1/middleware.php",
                 "identifier": "1-0:41.7.255*255"        /* alias for 
'1-0:41.7.255*255', see 'vzlogger -h' for list of available aliases */
             }
         },

Aktuelles Frontend:
siehe Bild

Gruß
Udo

-------------- next part --------------
A non-text attachment was scrubbed...
Name: d0-test.PNG
Type: image/png
Size: 207104 bytes
Desc: not available
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20140904/1c9de7ae/attachment-0001.png>


More information about the volkszaehler-users mailing list