[vz-users] Elster AS1440 - vzlogger.conf
    Jörg Hildering 
    joerghildering at gmail.com
       
    Mon Jan 16 11:13:14 CET 2017
    
    
  
Hallo,
ich beschäftige mich gerade mit dem gleichen Projekt (Zähler). Wie müsste
die vzlogger.conf aussehen wenn ich 2 Zähler (ttyUSB0 & ttyUSB1) auslesen
möchte? Mir ist nicht ganz klar wie die Verschachtelung (Klammern etc.)
dann aussehen muss.
Bisher sieht sie vzlogger.conf so aus:
{
  "retry": 0,
  "daemon": true,
  "verbosity": 15,
  "log": "/var/log/vzlogger.log",
  "local": {
    "enabled": false,
    "port": 8080,
    "index": true,
    "timeout": 0,
    "buffer": 0
  },
  "meters": [
    {
      "enabled": true,
      "allowskip": false,
      "interval": -1,
      "aggtime": -1,
      "aggfixedinterval": false,
      "channels": [
        {
          "uuid": "die UUID von dem ersten Kanal",
          "identifier": "1-1:1.8.0",
          "api": "volkszaehler",
          "middleware": "http://localhost/middleware.php";,
          "aggmode": "none",
          "duplicates": 0
        },
       {
          "uuid": "die UUID von dem zweiten Kanal",
          "identifier": "1-1:2.8.0",
          "api": "volkszaehler",
          "middleware": "http://localhost/middleware.php";,
          "aggmode": "none",
          "duplicates": 0
        },
      "protocol": "d0",
      "device": "/dev/ttyUSB0",
      "dump_file": "/home/pi/logger-dump",
      "pullseq": "2F3F210D0A",
      "ackseq": "063035300d0a",
      "baudrate": 300,
      "baudrate_read": 9600,
      "baudrate_change_delay": 100,
      "parity": "7e1",
      "read_timeout": 100
      },
    {
      "enabled": true,
      "allowskip": false,
      "interval": -1,
      "aggtime": -1,
      "aggfixedinterval": false,
      "channels": [
        {
          "uuid": "die UUID von dem ersten Kanal0",
          "identifier": "1-1:1.8.0",
          "api": "volkszaehler",
          "middleware": "http://localhost/middleware.php";,
          "aggmode": "none",
          "duplicates": 0
        },
       {
          "uuid": "die UUID von dem zweiten Kanal",
          "identifier": "1-1:2.8.0",
          "api": "volkszaehler",
          "middleware": "http://localhost/middleware.php";,
          "aggmode": "none",
          "duplicates": 0
        },
      "protocol": "d0",
      "device": "/dev/ttyUSB1",
      "dump_file": "/home/pi/logger-dump",
      "pullseq": "2F3F210D0A",
      "ackseq": "063035300d0a",
      "baudrate": 300,
      "baudrate_read": 9600,
      "baudrate_change_delay": 100,
      "parity": "7e1",
      "read_timeout": 100
      }
  ]
}
Gruß,
Jörg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20170116/fbcab7f3/attachment.html>
    
    
More information about the volkszaehler-users
mailing list