User Tools

Site Tools


vzlogger HowTo

You can find the source for the vzlogger under:

There are also binary package available at

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

## mysmartgrid
deb lucid mysmartgrid

* Ubuntu 12.0 LTS

## mysmartgrid
deb precise mysmartgrid

then run:

sudo aptitude update
sudo aptitude search vzlogger
sudo aptitude install vzlogger


See also:

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", /* */
  • 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 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.txt · Last modified: 2012/10/30 10:27 (external edit)