[vz-users] An Raspi 2 Siemens TD 3511 mit IR-Kopf (von Udo) auslesen

Peter abpst at t-online.de
Fr Dez 27 16:05:55 CET 2019


Hallo VZ-Users,

ob ich nun auf der richtigen Mailliste richtig bin hoffe ich mal. Hier 
mein Versuch mit vzlogger meinen Siemens TD 3511 Zähler per IR-Kopf von 
Udo auszulesen. Das VZ-Image vom 07/2019 ist auf einem Raspi 2 
installiert.  Hier meine "vzlogger.conf" und eine Liste von " cat 
2._pull_do.conf" :

Hallo,

weiß nicht ob mein Problem hier richtig liegt, versuche gerade meinen 
vzlogger zum laufen zu bringen, versuche es trotzdem.

bei Start von vzlogger bekomme ich diese Antwort :

Dec 25 23:39:15][d0]   sending pullsequenz send (len:5 is:5).
[Dec 25 23:39:15][chn1] Using default volkszaehler api.
[Dec 25 23:39:45][d0]   Something unexpected happened: read:822!
[Dec 25 23:39:45][mtr0] Got 0 new readings from meter:
[Dec 25 23:39:45][chn0] ==> number of tuples: 0
[Dec 25 23:39:45][chn0] JSON request body is null. Nothing to send now.
[Dec 25 23:39:45][chn1] ==> number of tuples: 0
[Dec 25 23:39:45][chn1] JSON request body is null. Nothing to send now.
[Dec 25 23:39:45][mtr0] Stopped reading.

was stimmt in der vzlogger.conf nicht ? IR-Kopf von Udo - Zaehler ist 
ein Siemens-TD 3511. die vzlogger.conf :

{
"retry": 0,
"daemon": false,
"verbosity": 15,
"log": "/var/log/vzlogger.log",
"local": {
"enabled": false,
"port": 80,
"index": true,
"timeout": 0,
"buffer": 0
},
"meters": [
{
"enabled": true,
"allowskip": false,
"interval": -1,
"aggtime": -1,
"aggfixedinterval": false,
"channels": [
{
"uuid": "43230ed0-24fe-11ea-8486-87aec210894c",
"identifier": "1-0:1.7.0",
"api": "volkszaehler",
"middleware": "http://localhost/middleware.php",
"aggmode": "none",
"duplicates": 0
},
{
"uuid": "66ae35b0-24fe-11ea-85ea-e10ce3c4bb2f",
"identifier": "1-0:1.8.1",
"api": "volkszaehler",
"middleware": "http://localhost/middleware.php",
"aggmode": "none",
"duplicates": 0
}
],
"protocol": "d0",
"device": "/dev/ttyUSB0",
"pullseq": "2F3F210D0A",
"baudrate": 9600,
"parity" : "8N1",
"mbus_debug": false
}
]
}

Und hier das cat :

cat 2_pull_d0.txt
[Dec 27 15:36:44][main] vzlogger v0.8.0 based on 
heads/master-0-gb00108848b-dirty from Sun, 15 Dec 2019 20:51:32 +0100 
started.
[Dec 27 15:36:44][mtr0] Creating new meter with protocol sml.
[Dec 27 15:36:44][sml]  pullseq len:5 found
[Dec 27 15:36:44][mtr0] Meter configured, enabled.
[Dec 27 15:36:44]       New meter initialized (protocol=sml)
[Dec 27 15:36:44]       Have 1 meters.
[Dec 27 15:36:44][main] log level is 15
[Dec 27 15:36:44][main] daemon=0, local=0
[Dec 27 15:36:44]       Process not  daemonized...
[Dec 27 15:36:44]       Opened logfile /home/pi/2_pull_d0.txt
[Dec 27 15:36:44][push] No pushDataServer defined.
[Dec 27 15:36:44][]     ===> Start meters
[Dec 27 15:36:44][mtr0] Meter connection established
[Dec 27 15:36:44][mtr0] Meter thread started
[Dec 27 15:36:44][mtr0] Meter is opened. Starting channels.
[Dec 27 15:36:44][]     Startup done.
[Dec 27 15:36:44][mtr0] Number of readers: 32
[Dec 27 15:36:44][mtr0] Config.daemon: 0
[Dec 27 15:36:44][mtr0] Config.local: 0
[Dec 27 15:36:44][sml]  sending pullsequenz send (len:5 is:5).
[Dec 27 16:00:11][]     main loop indicating all mappings to quit
[Dec 27 16:00:11][mtr0] MeterMap::cancel entered...
[Dec 27 16:00:11][mtr0] MeterMap::cancel wait for readingthread
[Dec 27 16:00:11][mtr0] MeterMap::cancel wait for meter::close
[Dec 27 16:00:11][mtr0] MeterMap::cancel finished.
[Dec 27 16:00:11][]     Server stopped.
[Dec 27 16:00:11][]     Trying to delete curlSessionProvider...
[Dec 27 16:00:11][]     deleted curlSessionProvider

LG von Peter und hoffe auf Hilfe für einen hellgrauen Kopf



More information about the volkszaehler-users mailing list