<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hallo,<div>nothing to plot - hier die Daten dazu:</div><div><br></div><div><div>cat /dev/ttyUSB0 liefert:</div><div><br></div><div><font face="Courier New, sans-serif">1-0:1.8.0*255(0000xxx.xx*kWh)</font></div><div><font face="Courier New, sans-serif"><br></font></div><div><font face="Courier New, sans-serif">1-0:2.8.0*255(000xxx.xx*kWh)</font></div><div><font face="Courier New, sans-serif"><br></font></div><div><font face="Courier New, sans-serif">1-0:21.7.0*255(000xx.xx*W)</font></div><div><font face="Courier New, sans-serif"><br></font></div><div><font face="Courier New, sans-serif">1-0:41.7.0*255(000xxx.xx*W)</font></div><div><font face="Courier New, sans-serif"><br></font></div><div><font face="Courier New, sans-serif">1-0:61.7.0*255(000xxx.xx*W)</font></div><div><font face="Courier New, sans-serif"><br></font></div><div><font face="Courier New, sans-serif">1-0:1.7.0*255(000xxx.xx*W)</font></div><div><font face="Courier New, sans-serif"><br></font></div><div><font face="Courier New, sans-serif">1-0:96.5.5*255(80)</font></div><div><br></div><div>Also lege ich im Frontend an:</div><div>2 Mal El. Energie (Zählerstände) für die Zählerstände Verbrauch und Lieferung</div><div>4 Mal El. Energie (Leistungswerte) für die Leistung der 3 Phasen und die Gesamtleistung</div><div><br></div><div>Muss man 96.5.5 auch einrichten?</div><div><br></div><div>Hier Auszüge aus der daraus entstandenen CONFIG:</div><div><div>{</div><div> "retry": 30,</div><div> "daemon": false,</div><div> "verbosity": 15,</div><div> "log": "/var/log/vzlogger.log",</div><div> "push": [],</div><div> "local": {</div><div> "enabled": false,</div><div> "port": 8080,</div><div> "index": true,</div><div> "timeout": 30,</div><div> "buffer": 600</div><div> },</div><div> "meters": [</div><div> {</div><div> "enabled": true,</div><div> "allowskip": false,</div><div> "interval": 10,</div><div> "aggtime": -1,</div><div> "aggfixedinterval": false,</div><div> "channels": [</div><div> {</div><div> "uuid": "608995d0-b139-11e5-a1ec-d95b72cab6b6",</div><div> "identifier": "1-0: 1.8.0",</div><div> "api": "volkszaehler",</div><div> "middleware": "http://localhost/middleware.php",</div><div> "secretKey": "",</div><div> "type": "device",</div><div> "scaler": 1,</div><div> "aggmode": "max",</div><div> "duplicates": 0</div><div> }</div><div> ],</div><div> "protocol": "d0",</div><div> "device": "/dev/ttyUSB0",</div><div> "host": "",</div><div> "dump_file": "",</div><div> "pullseq": "",</div><div> "ackseq": "auto",</div><div> "baudrate": 9600,</div><div> "baudrate_read": 300,</div><div> "parity": "7e1",</div><div> "wait_sync": "off",</div><div> "read_timeout": 10,</div><div> "baudrate_change_delay": 0,</div><div> "gpio": -1,</div><div> "mmap": "",</div><div> "gpio_dir": -1,</div><div> "configureGPIO": true,</div><div> "resolution": 1000,</div><div> "send_zero": false,</div><div> "debounce_delay": 30,</div><div> "nonblocking_delay": 100000</div><div> },</div><div> {</div><div> "enabled": true,</div><div> "allowskip": false,</div><div> "interval": 10,</div><div> "aggtime": -1,</div><div> "aggfixedinterval": false,</div><div> "channels": [</div><div> {</div><div> "uuid": "5457c240-b139-11e5-9771-fdb30fb5759c",</div><div> "identifier": "1-0: 2.8.0",</div><div> "api": "volkszaehler",</div><div> "middleware": "http://localhost/middleware.php",</div><div> "secretKey": "",</div><div> "type": "device",</div><div> "scaler": 1,</div><div> "aggmode": "max",</div><div> "duplicates": 0</div><div> }</div><div> ],</div><div> "protocol": "d0",</div><div> "device": "/dev/ttyUSB0",</div><div> "host": "",</div><div> "dump_file": "",</div><div> "pullseq": "",</div><div> "ackseq": "auto",</div><div> "baudrate": 9600,</div><div> "baudrate_read": 300,</div><div> "parity": "7e1",</div><div> "wait_sync": "off",</div><div> "read_timeout": 10,</div><div> "baudrate_change_delay": 0,</div><div> "gpio": -1,</div><div> "mmap": "",</div><div> "gpio_dir": -1,</div><div> "configureGPIO": true,</div><div> "resolution": 1000,</div><div> "send_zero": false,</div><div> "debounce_delay": 30,</div><div> "nonblocking_delay": 100000</div><div> },</div><div> {</div><div> "enabled": true,</div><div> "allowskip": false,</div><div> "interval": 10,</div><div> "aggtime": -1,</div><div> "aggfixedinterval": false,</div><div> "channels": [</div><div> {</div><div> "uuid": "731ef1c0-b139-11e5-91c9-17c1aec912ff",</div><div> "identifier": "1-0: 21.7.0",</div><div> "api": "volkszaehler",</div><div> "middleware": "http://localhost/middleware.php",</div><div> "secretKey": "",</div><div> "type": "device",</div><div> "scaler": 1,</div><div> "aggmode": "avg",</div><div> "duplicates": 0</div><div> }</div><div> ],</div><div> "protocol": "d0",</div><div> "device": "/dev/ttyUSB0",</div><div> "host": "",</div><div> "dump_file": "",</div><div> "pullseq": "",</div><div> "ackseq": "auto",</div><div> "baudrate": 9600,</div><div> "baudrate_read": 300,</div><div> "parity": "7e1",</div><div> "wait_sync": "off",</div><div> "read_timeout": 10,</div><div> "baudrate_change_delay": 0</div><div> },</div></div><div><br></div><div>Auszug aus der LOG-Datei:</div><div><br></div><div><div>[Jan 02 19:26:41] Opened logfile /var/log/vzlogger.log</div><div>[Jan 02 19:26:41][push] pushdata_thread created.</div><div>[Jan 02 19:26:41][push] [Jan 02 19:26:41][] Start push_data_thread===> Start meters</div><div><br></div><div>[Jan 02 19:26:41][s0] counter_thread created</div><div>[Jan 02 19:26:41][mtr0] Meter connection established</div><div>[Jan 02 19:26:41][s0] Counter thread started with blocking hwif</div><div>[Jan 02 19:26:41][S0] MeterS0:HWIF_GPIO:first poll returned 1</div><div>[Jan 02 19:26:41][mtr0] Meter thread started</div><div>[Jan 02 19:26:41][mtr0] Meter is opened. Starting channels.</div><div>[Jan 02 19:26:41][chn0] Logging thread started</div><div>[Jan 02 19:26:41][chn0] Start logging thread for volkszaehler-api. Running as daemon: yes</div><div>[Jan 02 19:26:41][chn0] Using default volkszaehler api.</div><div>[Jan 02 19:26:41][s0] counter_thread created</div><div>[Jan 02 19:26:41][mtr1] Meter connection established</div><div>[Jan 02 19:26:41][mtr1] Meter thread started</div><div>[Jan 02 19:26:41][mtr1] Meter is opened. Starting channels.</div><div>[Jan 02 19:26:41][chn1] Logging thread started</div><div>[Jan 02 19:26:41][s0] Counter thread started with blocking hwif</div><div>[Jan 02 19:26:41][S0] MeterS0:HWIF_GPIO:first poll returned 1</div><div>[Jan 02 19:26:41][mtr0] Number of readers: 4</div><div>[Jan 02 19:26:41][mtr0] Config.daemon: 1</div><div>[Jan 02 19:26:41][mtr0] Config.local: 0</div><div>[Jan 02 19:26:41][mtr1] Number of readers: 4</div><div>[Jan 02 19:26:41][mtr1] Config.daemon: 1</div><div>[Jan 02 19:26:41][mtr1] Config.local: 0</div><div>[Jan 02 19:26:41][chn1] Start logging thread for volkszaehler-api. Running as daemon: yes</div><div>[Jan 02 19:26:41][chn1] Using default volkszaehler api.</div><div>[Jan 02 19:26:41][s0] counter_thread created</div><div>[Jan 02 19:26:41][mtr2] Meter connection established</div><div>[Jan 02 19:26:41][mtr2] Meter thread started</div><div>[Jan 02 19:26:41][mtr2] Meter is opened. Starting channels.</div><div>[Jan 02 19:26:41][chn2] Logging thread started</div><div>[Jan 02 19:26:41][s0] Counter thread started with blocking hwif</div><div>[Jan 02 19:26:41][S0] MeterS0:HWIF_GPIO:first poll returned 1</div><div>[Jan 02 19:26:41][chn2] Start logging thread for volkszaehler-api. Running as daemon: yes</div><div>[Jan 02 19:26:41][chn2] Using default volkszaehler api.</div><div>[Jan 02 19:26:41][mtr2] Number of readers: 4</div><div>[Jan 02 19:26:41][mtr2] Config.daemon: 1</div><div>[Jan 02 19:26:41][mtr2] Config.local: 0</div><div>[Jan 02 19:26:41][s0] Counter thread started with blocking hwif</div><div>[Jan 02 19:26:41][S0] MeterS0:HWIF_GPIO:first poll returned 1</div><div>[Jan 02 19:26:41][s0] counter_thread created</div><div>[Jan 02 19:26:41][mtr3] Meter connection established</div><div>[Jan 02 19:26:41][mtr3] Meter thread started</div><div>[Jan 02 19:26:41][mtr3] Meter is opened. Starting channels.</div><div>[Jan 02 19:26:41][mtr3] Number of readers: 4</div><div>[Jan 02 19:26:41][mtr3] Config.daemon: 1</div><div>[Jan 02 19:26:41][mtr3] Config.local: 0</div><div>[Jan 02 19:26:41][chn3] Logging thread started</div><div>[Jan 02 19:26:41][chn3] Start logging thread for volkszaehler-api. Running as daemon: yes</div><div>[Jan 02 19:26:41][chn3] Using default volkszaehler api.</div><div>[Jan 02 19:26:41][s0] counter_thread created</div><div>[Jan 02 19:26:41][mtr4] Meter connection established</div><div>[Jan 02 19:26:41][mtr4] Meter thread started</div><div>[Jan 02 19:26:41][mtr4] Meter is opened. Starting channels.</div><div>[Jan 02 19:26:41][chn4] Logging thread started</div><div>[Jan 02 19:26:41][s0] counter_thread created</div><div>[Jan 02 19:26:41][mtr5] Meter connection established</div><div>[Jan 02 19:26:41][mtr5] Meter thread started</div><div>[Jan 02 19:26:41][mtr5] Meter is opened. Starting channels.</div><div>[Jan 02 19:26:41][chn5] Logging thread started</div><div>[Jan 02 19:26:41][mtr4] Number of readers: 4</div><div>[Jan 02 19:26:41][mtr4] Config.daemon: 1</div><div>[Jan 02 19:26:41][mtr4] Config.local: 0</div><div>[Jan 02 19:26:41][s0] Counter thread started with blocking hwif</div><div>[Jan 02 19:26:41][S0] MeterS0:HWIF_GPIO:first poll returned 1</div><div>[Jan 02 19:26:41][w1t] scanW1devices failed!</div><div>[Jan 02 19:26:41][mtr6] Cannot open meter</div><div>[Jan 02 19:26:41][] Startup failed: Meter open failed.</div></div><div><br></div><div>Im Log steht S0, ich habe aber doch D0 - wie in der Doku zum Q3D beschrieben - eingerichtet?</div><div><br></div><div>Weiß jemand bitte Rat?</div><div><br></div><div>Danke und Gruß,</div><div>Thomas</div><div><br></div></div> </div></body>
</html>