User Tools

Site Tools


vzloggerhowto

This is an old revision of the document!


vzlogger HowTo

You can find the source for the vzlogger under: https://github.com/kaikrueger/vzlogger/tree/c++-port

There are also binary package available at http://packages.mysmartgrid.de/

* for Ubuntu 10.4LTS Add to the file /etc/apt/sources.list

## mysmartgrid
deb http://packages.mysmartgrid.de/ubuntu [Open URL] lucid mysmartgrid

* Ubuntu 12.0 LTS

then run:

sudo aptitude update
sudo aptitude search vzlogger
sudo aptitude install vzlogger

Configuration

See also: http://wiki.volkszaehler.org/software/controller/vzlogger

Changes in the new version:

Meter configuration

There is a new parameter:

      "enabled" : true,       /* disabled meters will be ignored */

Channel configuration

There are several new parameters:

  • When using volkszaehler as middleware you need:
      "protocol" : "vz", /* volkszaehler.org */
  • When using mysmartgrid as middleware you need:
     "protocol" : "mysmartgrid",
     "device"    : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
     "uuid" :      "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
     "secretKey" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
     "interval" : 300, /* */
     "identifier" : "1-0:1.8.0",
     //"scaler" : 1,  /* sml counter is in Wh */
     "scaler" : 1000,  /* d0 counter is in kWh */

where the values for device, uuid, and secretKey are created by using the uuidgen command.

The values for device and secretKey will be the same for each channel.

Before starting the vzlogger, the logger must be registrated by running:

   vzlogger -r
   

On mysmartgrid.de you have to connect to the logger of your mysmartgrid account. There for you on the page 'Geräte' and use the first 10 character (without '-') of the configured device-uuid.

vzloggerhowto.1344947457.txt.gz · Last modified: 2012/10/30 10:37 (external edit)