[vz-users] vzlogger schickt keine Daten in die Middleware

Matthias Behr mbehr at mcbehr.de
Mon Jan 4 12:47:19 CET 2016


Nimm mal als Identifier die Obis-Codes.

Also z.B. 1-0:1.8.0*255 statt „power“, „power-l1“,…


> Am 04.01.2016 um 12:31 schrieb Thomas Oeding <thomas.oeding at gmail.com>:
> 
> Hallo Liste,
> 
> ich komme aktuell mit der vzlogger.conf (erstellt über http://volkszaehler.github.io/vzlogger/ <http://volkszaehler.github.io/vzlogger/>) nicht klar. Ich habe einen EasyMeter Zähler (Q3DB1024) den ich auslesen möchte. Das klappt im Prinzip auch. Die Werte kommen im vzlogger an, werden von dort aber nicht an die Middleware geschickt.
> Ich verwende den aktuellsten vzlogger....
> Kann mir jemand einen Tipp geben welche Konfig Setting ich vergessen habe?
> 
> 
> vzlogger.conf:
> 
> {
>   "retry": 30,
>   "daemon": true,
>   "verbosity": 10,
>   "log": "/var/log/vzlogger.log",
>   "push": [],
>   "local": {
>     "enabled": false,
>     "port": 8080,
>     "index": true,
>     "timeout": 30,
>     "buffer": 0
>   },
>   "meters": [
>     {
>       "enabled": true,
>       "allowskip": false,
>       "interval": -1,
>       "aggtime": 10,
>       "aggfixedinterval": true,
>       "channels": [
>         {
>           "uuid": "b4f87860-24bf-11e4-9f92-6d91c71acdaa",
>           "identifier": "power",
>           "api": "volkszaehler",
>           "middleware": "http://localhost/middleware.php <http://localhost/middleware.php>",
>           "secretKey": "",
>           "type": "device",
>           "scaler": 1,
>           "aggmode": "max",
>           "duplicates": 0
>         },
>         {
>           "uuid": "a7b53ad0-6921-11e4-9f2b-7f7b76d57a93",
>           "identifier": "power-l1",
>           "api": "volkszaehler",
>           "middleware": "http://localhost/middleware.php <http://localhost/middleware.php>",
>           "secretKey": "",
>           "type": "device",
>           "scaler": 1,
>           "aggmode": "max",
>           "duplicates": 0
>         },
>         {
>           "uuid": "b9e16ca0-6921-11e4-a0b2-6b10f905e496",
>           "identifier": "power-l2",
>           "api": "volkszaehler",
>           "middleware": "http://localhost/middleware.php <http://localhost/middleware.php>",
>           "secretKey": "",
>           "type": "device",
>           "scaler": 1,
>           "aggmode": "max",
>           "duplicates": 0
>         },
>         {
>           "uuid": "bd759b10-6921-11e4-ab8f-3bbfb67694db",
>           "identifier": "power-l3",
>           "api": "volkszaehler",
>           "middleware": "http://localhost/middleware.php <http://localhost/middleware.php>",
>           "secretKey": "",
>           "type": "device",
>           "scaler": 1,
>           "aggmode": "max",
>           "duplicates": 0
>         },
>         {
>           "uuid": "9c35e760-6922-11e4-ae48-af5674adfa0a",
>           "identifier": "counter",
>           "api": "volkszaehler",
>           "middleware": "http://localhost/middleware.php <http://localhost/middleware.php>",
>           "secretKey": "",
>           "type": "device",
>           "scaler": 1,
>           "aggmode": "none",
>           "duplicates": 0
>         },
>         {
>           "uuid": "8c0ce4e0-6922-11e4-b9e7-51623de1e44b",
>           "identifier": "counter-out",
>           "api": "volkszaehler",
>           "middleware": "http://localhost/middleware.php <http://localhost/middleware.php>",
>           "secretKey": "",
>           "type": "device",
>           "scaler": 1,
>           "aggmode": "none",
>           "duplicates": 0
>         }
>       ],
>       "protocol": "d0",
>       "device": "/dev/ttyAMA0",
>       "read_timeout": 10
>     }
>   ]
> }
> 
> 
> LOG:
> 
> [Jan 04 12:23:04]       Opened logfile /var/log/vzlogger.log
> [Jan 04 12:23:04][]     ===> Start meters
> [Jan 04 12:23:04][mtr0] Meter connection established
> [Jan 04 12:23:04][mtr0] Meter thread started
> [Jan 04 12:23:04][mtr0] Meter is opened. Starting channels.
> [Jan 04 12:23:04][chn0] Logging thread started
> [Jan 04 12:23:04][chn1] Logging thread started
> [Jan 04 12:23:04][chn2] Logging thread started
> [Jan 04 12:23:04][chn3] Logging thread started
> [Jan 04 12:23:04][chn4] Logging thread started
> [Jan 04 12:23:04][chn5] Logging thread started
> [Jan 04 12:23:04][chn1] Start logging thread for volkszaehler-api. Running as daemon: yes
> [Jan 04 12:23:04][chn1] Using default volkszaehler api.
> [Jan 04 12:23:04][chn2] Start logging thread for volkszaehler-api. Running as daemon: yes
> [Jan 04 12:23:04][chn2] Using default volkszaehler api.
> [Jan 04 12:23:04][chn0] Start logging thread for volkszaehler-api. Running as daemon: yes
> [Jan 04 12:23:04][chn0] Using default volkszaehler api.
> [Jan 04 12:23:04][chn3] Start logging thread for volkszaehler-api. Running as daemon: yes
> [Jan 04 12:23:04][chn3] Using default volkszaehler api.
> [Jan 04 12:23:04][chn4] Start logging thread for volkszaehler-api. Running as daemon: yes
> [Jan 04 12:23:04][chn4] Using default volkszaehler api.
> [Jan 04 12:23:04][mtr0] Number of readers: 400
> [Jan 04 12:23:04][mtr0] Config.daemon: 1
> [Jan 04 12:23:04][mtr0] Config.local: 0
> [Jan 04 12:23:04][chn5] Start logging thread for volkszaehler-api. Running as daemon: yes
> [Jan 04 12:23:04][chn5] Using default volkszaehler api.
> [Jan 04 12:23:04][]     Startup done.
> [Jan 04 12:23:05][d0]   Pull answer (vendor=ESY, baudrate=5, identification=Q3DB1024 V3.04)
> [Jan 04 12:23:05][d0]   Parsed reading (OBIS code=1-0:0.0.0*255, value=02721600XXXXX, unit=)
> [Jan 04 12:23:05][d0]   Parsed reading (OBIS code=1-0:1.8.0*255, value=00003231.5593856, unit=kWh)
> [Jan 04 12:23:05][d0]   Parsed reading (OBIS code=1-0:2.8.0*255, value=00004249.1404420, unit=kWh)
> [Jan 04 12:23:05][d0]   Parsed reading (OBIS code=1-0:21.7.0*255, value=000081.87, unit=W)
> [Jan 04 12:23:05][d0]   Parsed reading (OBIS code=1-0:41.7.0*255, value=000251.03, unit=W)
> [Jan 04 12:23:05][d0]   Parsed reading (OBIS code=1-0:61.7.0*255, value=-000182.56, unit=W)
> [Jan 04 12:23:05][d0]   Parsed reading (OBIS code=1-0:1.7.0*255, value=000150.34, unit=W)
> [Jan 04 12:23:05][d0]   Parsed reading (OBIS code=1-0:96.5.5*255, value=80, unit=)
> [Jan 04 12:23:05][d0]   Parsed reading (OBIS code=0-0:96.1.255*255, value=1ESY11600XXXXX, unit=)
> [Jan 04 12:23:05][d0]   Read package with 9 tuples (vendor=ESY, baudrate=5, identification=Q3DB1024 V3.04)
> [Jan 04 12:23:07][d0]   Pull answer (vendor=ESY, baudrate=5, identification=Q3DB1024 V3.04)
> [Jan 04 12:23:07][d0]   Parsed reading (OBIS code=1-0:0.0.0*255, value=02721600XXXXX, unit=)
> [Jan 04 12:23:07][d0]   Parsed reading (OBIS code=1-0:1.8.0*255, value=00003231.5594658, unit=kWh)
> [Jan 04 12:23:07][d0]   Parsed reading (OBIS code=1-0:2.8.0*255, value=00004249.1404420, unit=kWh)
> [Jan 04 12:23:07][d0]   Parsed reading (OBIS code=1-0:21.7.0*255, value=000079.19, unit=W)
> [Jan 04 12:23:07][d0]   Parsed reading (OBIS code=1-0:41.7.0*255, value=000260.68, unit=W)
> [Jan 04 12:23:07][d0]   Parsed reading (OBIS code=1-0:61.7.0*255, value=-000193.69, unit=W)
> [Jan 04 12:23:07][d0]   Parsed reading (OBIS code=1-0:1.7.0*255, value=000146.18, unit=W)
> [Jan 04 12:23:07][d0]   Parsed reading (OBIS code=1-0:96.5.5*255, value=80, unit=)
> [Jan 04 12:23:07][d0]   Parsed reading (OBIS code=0-0:96.1.255*255, value=1ESY11600XXXXX, unit=)
> [Jan 04 12:23:07][d0]   Read package with 9 tuples (vendor=ESY, baudrate=5, identification=Q3DB1024 V3.04)
> [Jan 04 12:23:09][d0]   Pull answer (vendor=ESY, baudrate=5, identification=Q3DB1024 V3.04)
> [Jan 04 12:23:09][d0]   Parsed reading (OBIS code=1-0:0.0.0*255, value=02721600XXXXX, unit=)
> [Jan 04 12:23:09][d0]   Parsed reading (OBIS code=1-0:1.8.0*255, value=00003231.5595454, unit=kWh)
> [Jan 04 12:23:09][d0]   Parsed reading (OBIS code=1-0:2.8.0*255, value=00004249.1404420, unit=kWh)
> [Jan 04 12:23:09][d0]   Parsed reading (OBIS code=1-0:21.7.0*255, value=000080.06, unit=W)
> [Jan 04 12:23:09][d0]   Parsed reading (OBIS code=1-0:41.7.0*255, value=000270.70, unit=W)
> [Jan 04 12:23:09][d0]   Parsed reading (OBIS code=1-0:61.7.0*255, value=-000198.43, unit=W)
> [Jan 04 12:23:09][d0]   Parsed reading (OBIS code=1-0:1.7.0*255, value=000152.33, unit=W)
> [Jan 04 12:23:09][d0]   Parsed reading (OBIS code=1-0:96.5.5*255, value=80, unit=)
> [Jan 04 12:23:09][d0]   Parsed reading (OBIS code=0-0:96.1.255*255, value=1ESY11600XXXXX, unit=)
> [Jan 04 12:23:09][d0]   Read package with 9 tuples (vendor=ESY, baudrate=5, identification=Q3DB1024 V3.04)
> [Jan 04 12:23:11][d0]   Pull answer (vendor=ESY, baudrate=5, identification=Q3DB1024 V3.04)
> [Jan 04 12:23:11][d0]   Parsed reading (OBIS code=1-0:0.0.0*255, value=02721600XXXXX, unit=)
> [Jan 04 12:23:11][d0]   Parsed reading (OBIS code=1-0:1.8.0*255, value=00003231.5596179, unit=kWh)
> [Jan 04 12:23:11][d0]   Parsed reading (OBIS code=1-0:2.8.0*255, value=00004249.1404420, unit=kWh)
> [Jan 04 12:23:11][d0]   Parsed reading (OBIS code=1-0:21.7.0*255, value=000075.23, unit=W)
> [Jan 04 12:23:11][d0]   Parsed reading (OBIS code=1-0:41.7.0*255, value=000244.90, unit=W)
> [Jan 04 12:23:11][d0]   Parsed reading (OBIS code=1-0:61.7.0*255, value=-000197.60, unit=W)
> [Jan 04 12:23:11][d0]   Parsed reading (OBIS code=1-0:1.7.0*255, value=000122.53, unit=W)
> [Jan 04 12:23:11][d0]   Parsed reading (OBIS code=1-0:96.5.5*255, value=80, unit=)
> [Jan 04 12:23:11][d0]   Parsed reading (OBIS code=0-0:96.1.255*255, value=1ESY11600XXXXX, unit=)
> [Jan 04 12:23:11][d0]   Read package with 9 tuples (vendor=ESY, baudrate=5, identification=Q3DB1024 V3.04)
> [Jan 04 12:23:13][d0]   Pull answer (vendor=ESY, baudrate=5, identification=Q3DB1024 V3.04)
> [Jan 04 12:23:13][d0]   Parsed reading (OBIS code=1-0:0.0.0*255, value=02721600XXXXX, unit=)
> [Jan 04 12:23:13][d0]   Parsed reading (OBIS code=1-0:1.8.0*255, value=00003231.5596910, unit=kWh)
> [Jan 04 12:23:13][d0]   Parsed reading (OBIS code=1-0:2.8.0*255, value=00004249.1404420, unit=kWh)
> [Jan 04 12:23:13][d0]   Parsed reading (OBIS code=1-0:21.7.0*255, value=000072.62, unit=W)
> [Jan 04 12:23:13][d0]   Parsed reading (OBIS code=1-0:41.7.0*255, value=000247.58, unit=W)
> [Jan 04 12:23:13][d0]   Parsed reading (OBIS code=1-0:61.7.0*255, value=-000197.32, unit=W)
> [Jan 04 12:23:13][d0]   Parsed reading (OBIS code=1-0:1.7.0*255, value=000122.88, unit=W)
> [Jan 04 12:23:13][d0]   Parsed reading (OBIS code=1-0:96.5.5*255, value=80, unit=)
> [Jan 04 12:23:13][d0]   Parsed reading (OBIS code=0-0:96.1.255*255, value=1ESY11600XXXXX, unit=)
> [Jan 04 12:23:13][d0]   Read package with 9 tuples (vendor=ESY, baudrate=5, identification=Q3DB1024 V3.04)
> [Jan 04 12:23:15][d0]   Pull answer (vendor=ESY, baudrate=5, identification=Q3DB1024 V3.04)
> [Jan 04 12:23:15][d0]   Parsed reading (OBIS code=1-0:0.0.0*255, value=02721600XXXXX, unit=)
> [Jan 04 12:23:15][d0]   Parsed reading (OBIS code=1-0:1.8.0*255, value=00003231.5597602, unit=kWh)
> [Jan 04 12:23:15][d0]   Parsed reading (OBIS code=1-0:2.8.0*255, value=00004249.1404420, unit=kWh)
> [Jan 04 12:23:15][d0]   Parsed reading (OBIS code=1-0:21.7.0*255, value=000072.44, unit=W)
> [Jan 04 12:23:15][d0]   Parsed reading (OBIS code=1-0:41.7.0*255, value=000260.27, unit=W)
> [Jan 04 12:23:15][d0]   Parsed reading (OBIS code=1-0:61.7.0*255, value=-000197.69, unit=W)
> [Jan 04 12:23:15][d0]   Parsed reading (OBIS code=1-0:1.7.0*255, value=000135.02, unit=W)
> [Jan 04 12:23:15][d0]   Parsed reading (OBIS code=1-0:96.5.5*255, value=80, unit=)
> [Jan 04 12:23:15][d0]   Parsed reading (OBIS code=0-0:96.1.255*255, value=1ESY11600XXXXX, unit=)
> [Jan 04 12:23:15][d0]   Read package with 9 tuples (vendor=ESY, baudrate=5, identification=Q3DB1024 V3.04)
> [Jan 04 12:23:15][chn0] ==> number of tuples: 0
> [Jan 04 12:23:15][chn0] JSON request body is null. Nothing to send now.
> [Jan 04 12:23:15][chn0] Buffer dump (size=0): {}
> [Jan 04 12:23:15][chn1] ==> number of tuples: 0
> [Jan 04 12:23:15][chn1] JSON request body is null. Nothing to send now.
> [Jan 04 12:23:15][chn1] Buffer dump (size=0): {}
> [Jan 04 12:23:15][chn2] ==> number of tuples: 0
> [Jan 04 12:23:15][chn2] JSON request body is null. Nothing to send now.
> [Jan 04 12:23:15][chn2] Buffer dump (size=0): {}
> [Jan 04 12:23:15][chn3] ==> number of tuples: 0
> [Jan 04 12:23:15][chn3] JSON request body is null. Nothing to send now.
> [Jan 04 12:23:15][chn3] Buffer dump (size=0): {}
> [Jan 04 12:23:15][chn4] ==> number of tuples: 0
> [Jan 04 12:23:15][chn4] JSON request body is null. Nothing to send now.
> [Jan 04 12:23:15][chn4] Buffer dump (size=0): {}
> [Jan 04 12:23:15][chn5] ==> number of tuples: 0
> [Jan 04 12:23:15][chn5] JSON request body is null. Nothing to send now.
> [Jan 04 12:23:15][chn5] Buffer dump (size=0): {}
> [Jan 04 12:23:15][mtr0] Next reading in 30 seconds
> [...]
> 
> Grüße
> Thomas

Gruß

Matthias

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20160104/eeda2c7f/attachment-0001.html>


More information about the volkszaehler-users mailing list