[vz-users] Elster AS1440 - vzlogger.conf

Frank Richter frank.richter83 at gmail.com
Mon Jan 16 17:38:08 CET 2017


Was sagt dein Logfile?

Gruß
Frank

Ich habe das jetzt in der conf geändert und die Symlinks reingeschrieben.
Trotzdem keine Daten. Wenn ich cat /dev/lesekopf0 eingebe kommt auch
nichts. Wo kann ich als nächstes ansetzen?

Gruß
Jörg

> Am 16.01.2017 um 16:24 schrieb volkszaehler-users-request@
demo.volkszaehler.org:
>
> Send volkszaehler-users mailing list submissions to
>    volkszaehler-users at demo.volkszaehler.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>    https://demo.volkszaehler.org/mailman/listinfo/volkszaehler-users
> or, via email, send a message with subject or body 'help' to
>    volkszaehler-users-request at demo.volkszaehler.org
>
> You can reach the person managing the list at
>    volkszaehler-users-owner at demo.volkszaehler.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of volkszaehler-users digest..."
>
>
> Today's Topics:
>
>   1. Re: Elster AS1440 - vzlogger.conf (Jörg Hildering)
>   2. Re: Elster AS1440 - vzlogger.conf (Christian Schnellrieder)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 16 Jan 2017 16:13:12 +0100
> From: Jörg Hildering <joerghildering at gmail.com>
> To: volkszaehler-users at lists.volkszaehler.org
> Subject: Re: [vz-users] Elster AS1440 - vzlogger.conf
> Message-ID:
>    <CAOnONV0HBK=5YisBNz-w5O-xyuoYiuy-43eZFQq3p-B1_k2Y+w at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Symlink hatte ich bereits angelegt. Die werden aber in der vzlogger.conf
> trotzdem über ttyUSB0 und ttyUSB1 angesprochen, oder über die Symlinks
> lesekopf0 und lesekopf1?
>
> Gruß Jörg
>
> Am 16. Januar 2017 um 11:05 schrieb Jörg Hildering <
joerghildering at gmail.com
>> :
>
>> 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/103e5f32/attachment-0001.html>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 16 Jan 2017 15:23:54 +0000
> From: Christian Schnellrieder <schnellrieder.cs at gmail.com>
> To: "volkszaehler.org - users"
>    <volkszaehler-users at demo.volkszaehler.org>,
>    volkszaehler-users at lists.volkszaehler.org
> Subject: Re: [vz-users] Elster AS1440 - vzlogger.conf
> Message-ID:
>    <CAFse7xRkrmFu+A8eUBvfo2g4obS+QJ=7GiZMFmh6eujHU_voBg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hallo.
>
>
> Über den Symlink. Anders hätte es ja keinen Sinn.
>
>
> Grüße
>
> Jörg Hildering <joerghildering at gmail.com> schrieb am Mo., 16. Jan. 2017 um
> 16:22 Uhr:
>
>> Symlink hatte ich bereits angelegt. Die werden aber in der vzlogger.conf
>> trotzdem über ttyUSB0 und ttyUSB1 angesprochen, oder über die Symlinks
>> lesekopf0 und lesekopf1?
>>
>> Gruß Jörg
>>
>> Am 16. Januar 2017 um 11:05 schrieb Jörg Hildering <
>> joerghildering at gmail.com>:
>>
>> 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
>>
>> --
>
> Von meinem Smartphone versendet
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/
attachments/20170116/595ef222/attachment.html>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> volkszaehler-users mailing list
> volkszaehler-users at demo.volkszaehler.org
> https://demo.volkszaehler.org/mailman/listinfo/volkszaehler-users
>
>
> ------------------------------
>
> End of volkszaehler-users Digest, Vol 66, Issue 63
> **************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20170116/d5979a8f/attachment-0001.html>


More information about the volkszaehler-users mailing list