[vz-users] Neueinrichtung Easymeter Q3D-Zähler
Thomas Hümmerich
thomas.huemmerich at arcor.de
Sat Jan 2 20:26:40 CET 2016
Gut, ich habe die Config geändert - 1 Meter, 6 Kanäle.Leider bleiben die Fehler in der Log-Datei die gleichen und irgendwie werden auch mehr als 1 Meter erwartet, außerdem lese ich auch ein paar Mal S0 statt D0:
[Jan 02 20:17:41] Opened logfile /var/log/vzlogger.log[Jan 02 20:17:41][push] pushdata_thread created.[Jan 02 20:17:41][push] Start push_data_thread[Jan 02 20:17:41][] ===> Start meters[Jan 02 20:17:41][s0] counter_thread created[Jan 02 20:17:41][mtr0] Meter connection established[Jan 02 20:17:41][mtr0] Meter thread started[Jan 02 20:17:41][mtr0] Meter is opened. Starting channels.[Jan 02 20:17:41][s0] Counter thread started with blocking hwif[Jan 02 20:17:41][S0] MeterS0:HWIF_GPIO:first poll returned 1[Jan 02 20:17:41][chn0] Start logging thread for volkszaehler-api. Running as daemon: yes[Jan 02 20:17:41][chn0] Logging thread started[Jan 02 20:17:41][chn0] Using default volkszaehler api.[Jan 02 20:17:41][s0] counter_thread created[Jan 02 20:17:41][s0] Counter thread started with blocking hwif[Jan 02 20:17:41][mtr1] Meter connection established[Jan 02 20:17:41][S0] MeterS0:HWIF_GPIO:first poll returned 1[Jan 02 20:17:41][mtr0] Number of readers: 4[Jan 02 20:17:41][mtr0] Config.daemon: 1[Jan 02 20:17:41][mtr0] Config.local: 0[Jan 02 20:17:41][mtr1] Meter thread started[Jan 02 20:17:41][mtr1] Meter is opened. Starting channels.[Jan 02 20:17:41][chn1] Logging thread started[Jan 02 20:17:41][mtr1] Number of readers: 4[Jan 02 20:17:41][mtr1] Config.daemon: 1[Jan 02 20:17:41][mtr1] Config.local: 0[Jan 02 20:17:41][s0] counter_thread created[Jan 02 20:17:41][s0] Counter thread started with blocking hwif[Jan 02 20:17:41][mtr2] Meter connection established[Jan 02 20:17:41][S0] MeterS0:HWIF_GPIO:first poll returned 1[Jan 02 20:17:41][mtr2] Meter thread started[Jan 02 20:17:41][mtr2] [Jan 02 20:17:41][mtr2] Number of readers: 4Meter is opened. Starting channels.[Jan 02 20:17:41][mtr2] Config.daemon: 1[Jan 02 20:17:41][mtr2] Config.local: 0[Jan 02 20:17:41][chn2] Logging thread started[Jan 02 20:17:41][s0] counter_thread created[Jan 02 20:17:41][s0] Counter thread started with blocking hwif[Jan 02 20:17:41][mtr3] Meter connection established[Jan 02 20:17:41][chn2] Start logging thread for volkszaehler-api. Running as daemon: yes[Jan 02 20:17:41][S0] MeterS0:HWIF_GPIO:first poll returned 1[Jan 02 20:17:41][mtr3] Meter thread started[Jan 02 20:17:41][mtr3] Meter is opened. Starting channels.[Jan 02 20:17:41][chn3] Logging thread started[Jan 02 20:17:41][chn1] Start logging thread for volkszaehler-api. Running as daemon: yes[Jan 02 20:17:41][chn1] Using default volkszaehler api.[Jan 02 20:17:41][mtr3] Number of readers: 4[Jan 02 20:17:41][mtr3] Config.daemon: 1[Jan 02 20:17:41][mtr3] Config.local: 0[Jan 02 20:17:41][chn3] Start logging thread for volkszaehler-api. Running as daemon: yes[Jan 02 20:17:41][s0] counter_thread created[Jan 02 20:17:41][chn3] Using default volkszaehler api.[Jan 02 20:17:41][s0] Counter thread started with blocking hwif[Jan 02 20:17:41][mtr4] Meter connection established[Jan 02 20:17:41][S0] MeterS0:HWIF_GPIO:first poll returned 1[Jan 02 20:17:41][chn2] Using default volkszaehler api.[Jan 02 20:17:41][mtr4] Meter thread started[Jan 02 20:17:41][mtr4] Meter is opened. Starting channels.[Jan 02 20:17:41][chn4] Logging thread started[Jan 02 20:17:41][mtr4] Number of readers: 4[Jan 02 20:17:41][mtr4] Config.daemon: 1[Jan 02 20:17:41][mtr4] Config.local: 0[Jan 02 20:17:41][s0] counter_thread created[Jan 02 20:17:41][mtr5] Meter connection established[Jan 02 20:17:41][mtr5] Meter thread started[Jan 02 20:17:41][mtr5] Meter is opened. Starting channels.[Jan 02 20:17:41][chn5] Logging thread started[Jan 02 20:17:41][w1t] scanW1devices failed![Jan 02 20:17:41][mtr6] Cannot open meter[Jan 02 20:17:41][] Startup failed: Meter open failed.[Jan 02 20:17:41][chn5] Start logging thread for volkszaehler-api. Running as daemon: yes[Jan 02 20:17:41][chn5] Using default volkszaehler api.[Jan 02 20:17:41][chn5] Using default volkszaehler api.[Jan 02 20:17:41][mtr5] Number of readers: 4
Weiß jemand bitte Rat?Gruß, Thomas
Date: Sat, 2 Jan 2016 19:49:13 +0100
From: frank.richter83 at gmail.com
To: volkszaehler-users at demo.volkszaehler.org
Subject: Re: [vz-users] Neueinrichtung Easymeter Q3D-Zähler
Deine vzlogger.conf ist falsch, du brauchst 1 meter mit 6 channels, nicht 6 meter.
GrußFrank
2016-01-02 19:43 GMT+01:00 Thomas Hümmerich <thomas.huemmerich at arcor.de>:
Hallo,nothing to plot - hier die Daten dazu:
cat /dev/ttyUSB0 liefert:
1-0:1.8.0*255(0000xxx.xx*kWh)
1-0:2.8.0*255(000xxx.xx*kWh)
1-0:21.7.0*255(000xx.xx*W)
1-0:41.7.0*255(000xxx.xx*W)
1-0:61.7.0*255(000xxx.xx*W)
1-0:1.7.0*255(000xxx.xx*W)
1-0:96.5.5*255(80)
Also lege ich im Frontend an:2 Mal El. Energie (Zählerstände) für die Zählerstände Verbrauch und Lieferung4 Mal El. Energie (Leistungswerte) für die Leistung der 3 Phasen und die Gesamtleistung
Muss man 96.5.5 auch einrichten?
Hier Auszüge aus der daraus entstandenen CONFIG:{ "retry": 30, "daemon": false, "verbosity": 15, "log": "/var/log/vzlogger.log", "push": [], "local": { "enabled": false, "port": 8080, "index": true, "timeout": 30, "buffer": 600 }, "meters": [ { "enabled": true, "allowskip": false, "interval": 10, "aggtime": -1, "aggfixedinterval": false, "channels": [ { "uuid": "608995d0-b139-11e5-a1ec-d95b72cab6b6", "identifier": "1-0: 1.8.0", "api": "volkszaehler", "middleware": "http://localhost/middleware.php", "secretKey": "", "type": "device", "scaler": 1, "aggmode": "max", "duplicates": 0 } ], "protocol": "d0", "device": "/dev/ttyUSB0", "host": "", "dump_file": "", "pullseq": "", "ackseq": "auto", "baudrate": 9600, "baudrate_read": 300, "parity": "7e1", "wait_sync": "off", "read_timeout": 10, "baudrate_change_delay": 0, "gpio": -1, "mmap": "", "gpio_dir": -1, "configureGPIO": true, "resolution": 1000, "send_zero": false, "debounce_delay": 30, "nonblocking_delay": 100000 }, { "enabled": true, "allowskip": false, "interval": 10, "aggtime": -1, "aggfixedinterval": false, "channels": [ { "uuid": "5457c240-b139-11e5-9771-fdb30fb5759c", "identifier": "1-0: 2.8.0", "api": "volkszaehler", "middleware": "http://localhost/middleware.php", "secretKey": "", "type": "device", "scaler": 1, "aggmode": "max", "duplicates": 0 } ], "protocol": "d0", "device": "/dev/ttyUSB0", "host": "", "dump_file": "", "pullseq": "", "ackseq": "auto", "baudrate": 9600, "baudrate_read": 300, "parity": "7e1", "wait_sync": "off", "read_timeout": 10, "baudrate_change_delay": 0, "gpio": -1, "mmap": "", "gpio_dir": -1, "configureGPIO": true, "resolution": 1000, "send_zero": false, "debounce_delay": 30, "nonblocking_delay": 100000 }, { "enabled": true, "allowskip": false, "interval": 10, "aggtime": -1, "aggfixedinterval": false, "channels": [ { "uuid": "731ef1c0-b139-11e5-91c9-17c1aec912ff", "identifier": "1-0: 21.7.0", "api": "volkszaehler", "middleware": "http://localhost/middleware.php", "secretKey": "", "type": "device", "scaler": 1, "aggmode": "avg", "duplicates": 0 } ], "protocol": "d0", "device": "/dev/ttyUSB0", "host": "", "dump_file": "", "pullseq": "", "ackseq": "auto", "baudrate": 9600, "baudrate_read": 300, "parity": "7e1", "wait_sync": "off", "read_timeout": 10, "baudrate_change_delay": 0 },
Auszug aus der LOG-Datei:
[Jan 02 19:26:41] Opened logfile /var/log/vzlogger.log[Jan 02 19:26:41][push] pushdata_thread created.[Jan 02 19:26:41][push] [Jan 02 19:26:41][] Start push_data_thread===> Start meters
[Jan 02 19:26:41][s0] counter_thread created[Jan 02 19:26:41][mtr0] Meter connection established[Jan 02 19:26:41][s0] Counter thread started with blocking hwif[Jan 02 19:26:41][S0] MeterS0:HWIF_GPIO:first poll returned 1[Jan 02 19:26:41][mtr0] Meter thread started[Jan 02 19:26:41][mtr0] Meter is opened. Starting channels.[Jan 02 19:26:41][chn0] Logging thread started[Jan 02 19:26:41][chn0] Start logging thread for volkszaehler-api. Running as daemon: yes[Jan 02 19:26:41][chn0] Using default volkszaehler api.[Jan 02 19:26:41][s0] counter_thread created[Jan 02 19:26:41][mtr1] Meter connection established[Jan 02 19:26:41][mtr1] Meter thread started[Jan 02 19:26:41][mtr1] Meter is opened. Starting channels.[Jan 02 19:26:41][chn1] Logging thread started[Jan 02 19:26:41][s0] Counter thread started with blocking hwif[Jan 02 19:26:41][S0] MeterS0:HWIF_GPIO:first poll returned 1[Jan 02 19:26:41][mtr0] Number of readers: 4[Jan 02 19:26:41][mtr0] Config.daemon: 1[Jan 02 19:26:41][mtr0] Config.local: 0[Jan 02 19:26:41][mtr1] Number of readers: 4[Jan 02 19:26:41][mtr1] Config.daemon: 1[Jan 02 19:26:41][mtr1] Config.local: 0[Jan 02 19:26:41][chn1] Start logging thread for volkszaehler-api. Running as daemon: yes[Jan 02 19:26:41][chn1] Using default volkszaehler api.[Jan 02 19:26:41][s0] counter_thread created[Jan 02 19:26:41][mtr2] Meter connection established[Jan 02 19:26:41][mtr2] Meter thread started[Jan 02 19:26:41][mtr2] Meter is opened. Starting channels.[Jan 02 19:26:41][chn2] Logging thread started[Jan 02 19:26:41][s0] Counter thread started with blocking hwif[Jan 02 19:26:41][S0] MeterS0:HWIF_GPIO:first poll returned 1[Jan 02 19:26:41][chn2] Start logging thread for volkszaehler-api. Running as daemon: yes[Jan 02 19:26:41][chn2] Using default volkszaehler api.[Jan 02 19:26:41][mtr2] Number of readers: 4[Jan 02 19:26:41][mtr2] Config.daemon: 1[Jan 02 19:26:41][mtr2] Config.local: 0[Jan 02 19:26:41][s0] Counter thread started with blocking hwif[Jan 02 19:26:41][S0] MeterS0:HWIF_GPIO:first poll returned 1[Jan 02 19:26:41][s0] counter_thread created[Jan 02 19:26:41][mtr3] Meter connection established[Jan 02 19:26:41][mtr3] Meter thread started[Jan 02 19:26:41][mtr3] Meter is opened. Starting channels.[Jan 02 19:26:41][mtr3] Number of readers: 4[Jan 02 19:26:41][mtr3] Config.daemon: 1[Jan 02 19:26:41][mtr3] Config.local: 0[Jan 02 19:26:41][chn3] Logging thread started[Jan 02 19:26:41][chn3] Start logging thread for volkszaehler-api. Running as daemon: yes[Jan 02 19:26:41][chn3] Using default volkszaehler api.[Jan 02 19:26:41][s0] counter_thread created[Jan 02 19:26:41][mtr4] Meter connection established[Jan 02 19:26:41][mtr4] Meter thread started[Jan 02 19:26:41][mtr4] Meter is opened. Starting channels.[Jan 02 19:26:41][chn4] Logging thread started[Jan 02 19:26:41][s0] counter_thread created[Jan 02 19:26:41][mtr5] Meter connection established[Jan 02 19:26:41][mtr5] Meter thread started[Jan 02 19:26:41][mtr5] Meter is opened. Starting channels.[Jan 02 19:26:41][chn5] Logging thread started[Jan 02 19:26:41][mtr4] Number of readers: 4[Jan 02 19:26:41][mtr4] Config.daemon: 1[Jan 02 19:26:41][mtr4] Config.local: 0[Jan 02 19:26:41][s0] Counter thread started with blocking hwif[Jan 02 19:26:41][S0] MeterS0:HWIF_GPIO:first poll returned 1[Jan 02 19:26:41][w1t] scanW1devices failed![Jan 02 19:26:41][mtr6] Cannot open meter[Jan 02 19:26:41][] Startup failed: Meter open failed.
Im Log steht S0, ich habe aber doch D0 - wie in der Doku zum Q3D beschrieben - eingerichtet?
Weiß jemand bitte Rat?
Danke und Gruß,Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://demo.volkszaehler.org/pipermail/volkszaehler-users/attachments/20160102/d5ecbc4d/attachment-0001.html>
More information about the volkszaehler-users
mailing list