[vz-users] vzlogger mit IR-Schreib-Lesekopf an Elster 1440

Michael Hinderer michael at rc-nitromonster.de
Fri May 18 06:51:26 CEST 2012


Guten Morgen,
dein Zähler scheint gleich zu sein wie mein Siemens TD-3511.
Das Hauptproblem wird sein, das diese Zählerart zuerst einmal etwas empfangen zu müssen.
Und sowas ist im VZLogger nicht drin.

Gruß Michael

From: Mister O 
Sent: Friday, May 18, 2012 1:12 AM
To: volkszaehler-users at lists.volkszaehler.org 
Subject: [vz-users] vzlogger mit IR-Schreib-Lesekopf an Elster 1440

Hallo, 

ich habe einen IR-Schreib-Lesekopf mit der USB-Erweiterung aufgebaut und kann mit diesem dem Zähler Daten entlocken (sowohl über ein Terminal wie im Wiki beschrieben als auch durch ein "init.pl"-Tool aus dem KNX-User-Forum (http://knx-user-forum.de/225383-post148.html)).

Aber ich bekomme den vzlogger nicht dazu Daten /dev/ttyUSB1 auszulesen. Meine Konfiguration sieht so aus:

{
"retry" : 30,                 /* how long to sleep between failed requests, in seconds */
"daemon": true,               /* run periodically */
//"foreground" : true,          /* dont run in background (prevents forking) */
"verbosity" : 10,              /* between 0 and 15 */
"log" : "/var/log/vzlogger.log",/* path to logfile, optional */

"local" : {
        "enabled" : true,      /* should we start the local HTTPd for serving live readings? */
        "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" : [{
        "enabled" : true,        /* disabled meters will be ignored */
        "protocol" : "sml",     /* see 'vzlogger -h' for list of available protocols */
        "device" : "/dev/ttyUSB1",
        "channels": [{
                "uuid" : "xyz-uuid",
                "middleware" : "http://localhost/middleware.php",
                "identifier" : "power" /* Wirkleistung (Summe) */
                }, {
                "uuid" : "xyz-uuid",
                "middleware" : "http://localhost/middleware.php",
                "identifier" : "esy-counter-t1", /* Tagesstromverbrauch Tarif 1 */
                }, {
                 "uuid" : "xyz-uuid",
                "middleware" : "http://localhost/middleware.php",
                "identifier" : "esy-counter-t2", /* Nachtstromverbrauch Tarif 2 */
                }, {
                "uuid" : "xyz-uuid",
                "middleware" : "http://localhost/middleware.php",
                "identifier" : "counter", /* Wirkleistung Total */
                }]
         }
]}

Wenn ich random als Protokoll einsetze, zeigt meine Middleware im Frontend auch Daten an, mit sml nicht. 
Im Log ist nur zu erkennen, dass der vzlogger wartet (Aufruf: vzlogger -c /etc/vzlogger.conf -f -v 20):

[May 18 01:02:36]       Start parsing configuration from /etc/vzlogger.conf
[May 18 01:02:36][mtr0] New meter initialized (protocol=sml)
[May 18 01:02:36][ch0]  New channel initialized (uuid=...bd7f24 middleware=http://localhost/middleware.php id=counter)
[May 18 01:02:36][ch1]  New channel initialized (uuid=...4ddf90 middleware=http://localhost/middleware.php id=esy-counter-t2)
[May 18 01:02:36][ch2]  New channel initialized (uuid=...d8cc0a middleware=http://localhost/middleware.php id=esy-counter-t1)
[May 18 01:02:36][ch3]  New channel initialized (uuid=...0bdeef middleware=http://localhost/middleware.php id=power)
[May 18 01:02:36]       Opened logfile /var/log/vzlogger.log
[May 18 01:02:36][mtr0] Meter connection established
[May 18 01:02:36][mtr0] Meter thread started
[May 18 01:02:36][ch0]  Logging thread started
[May 18 01:02:36][ch1]  Logging thread started
[May 18 01:02:36][ch2]  Logging thread started
[May 18 01:02:36][ch3]  Logging thread started
[May 18 01:02:36][http] Starting local interface HTTPd on port 8080

Hat jemand eine Idee wie ich vzlogger zum Auslesen der Werte bewegen kann? 
Muss ich eventuell irgendwo den Port ttyUSB1 konfigurieren (300 Baud, 7E1)?

Viele Grüße
Axel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://volkszaehler.org/pipermail/volkszaehler-users/attachments/20120518/97e1c103/attachment.html>


More information about the volkszaehler-users mailing list