Hi, die Fehler kommen von der fehlenden Push-URL. Wenn du das nicht verwendest, am besten den ganzen Push-Block löschen oder auskommentieren. Und wie schon heute Nachmittag geschrieben: udev-rule anlegen, damit die Zuordnung der Leseköpfe fixiert ist.
Grüße Frank heine.tho...@online.de <heine.tho...@online.de> schrieb am So., 10. Juni 2018, 22:48: > Hallo, > > Hab alles nochmals aufgesetzt. Bekomme jetzt zwar gültige Werte, > Irgendetwas passt jedoch nicht. > > Hier nochmals die neue VZlogger.conf: > > > /** > * vzlogger configuration > * > * Use properly encoded JSON with javascript comments > * > * Take a look at the wiki for detailed information: > * http://wiki.volkszaehler.org/software/controller/vzlogger#configuration > * > * For an online configuration editor refer to: > * http://volkszaehler.github.io/vzlogger/ > */ > { > "retry": 30, > "daemon": false, > "verbosity": 5, > "log": "/var/log/vzlogger.log", > "push": [ > { > "url": "" > } > ], > "local": { > "enabled": true, > "port": 8080, > "index": false, > "timeout": 30, > "buffer": 600 > }, > "meters": [ > { > "enabled": true, > "allowskip": false, > "interval": 0, > "aggtime": 0, > "aggfixedinterval": false, > "channels": [ > { > "api": "volkszaehler", > "uuid": "xxxx", /*Zählerstand Bezug ZRZ-Zähler*/ > "identifier": "1-0:1.8.0*255", > "middleware": "http://localhost/middleware.php" > <http://localhost/middleware.php>, > "aggmode": "none", > "duplicates": 0 > }, > { > "api": "volkszaehler", > "uuid": "xxxx", /*Zählerstand Liefer ZRZ-Zähler*/ > "identifier": "1-0:2.8.0*255", > "middleware": "http://localhost/middleware.php" > <http://localhost/middleware.php>, > "aggmode": "none", > "duplicates": 0 > }, > { > "api": "volkszaehler", > "uuid": "xxxx", /*Wirkleistung ZR-Zähler*/ > "identifier": "1-0:16.7.0*255", > "middleware": "http://localhost/middleware.php" > <http://localhost/middleware.php>, > "aggmode": "none", > "duplicates": 0 > } > ], > "protocol": "sml", > "device": "/dev/ttyUSB1", > "pullseq": "", > "baudrate": 9600, > "parity": "8n1", > "use_local_time": false > }, > { > "enabled": true, > "allowskip": false, > "interval": 0, > "aggtime": 0, > "aggfixedinterval": false, > "channels": [ > { > "api": "volkszaehler", > "uuid": "xxxx", /*Zählerstand PV-Zähler*/ > "identifier": "1-0:2.8.0*255", > "middleware": "http://localhost/middleware.php" > <http://localhost/middleware.php>, > "aggmode": "none", > "duplicates": 0 > }, > { > "api": "volkszaehler", > "uuid": "xxxx", /*Wirkleistung PV-Zähler*/ > "identifier": "1-0:16.7.0*255", > "middleware": "http://localhost/middleware.php" > <http://localhost/middleware.php>, > "aggmode": "none", > "duplicates": 0 > } > ], > "protocol": "sml", > "device": "/dev/ttyUSB0", > "pullseq": "", > "baudrate": 9600, > "parity": "8n1", > "use_local_time": false > } > ] > } > > > > Das Ergebnis aus dem log im Anhang. > > Weiß jemand Hilfe? Hab mich strikt ans How-To gehalten.... > > > Gruß > > Thomas > > > > > > > > > > > Am 10.06.2018 um 15:04 schrieb Frank Richter: > > Hi Thomas, > > bei zwei Leseköpfen solltest du Aliase mittels udev-Regel anlegen, sonst > ist die Zuordnung nicht eindeutig. > > Mit daemon: false läuft vzlogger nicht dauerhaft und sendet nichts zur > Middleware. Aber bevor du das auf true setzt, versuch mal vzlogger manuell > zu starten (ohne systemctl direkt über die Kommandozeile). Dann solltest du > sehen können, wo es in der vzlogger.conf hakt. > > Grüße > Frank > > heine.tho...@online.de <heine.tho...@online.de> schrieb am So., 10. Juni > 2018, 14:50: > >> Hallo, >> >> hab mein Systm nach SD-Card-Crash auf das Aktuelle Image neu aufgesetzt. >> Ich habe 2 USB-Leseköpfe an dem RPI3 angeschlossen. >> (2 SML-Meter) >> Schnittstelleneinstellung und Obis-Code habe ich aus der alten >> VZLogger.conf übernommen. >> >> >> Die Aktuelle sieht so aus: >> >> { >> "retry": 0, >> "daemon": false, >> "verbosity": 15, >> "log": "/var/log/vzlogger.log", >> "push": [], >> "local": { >> "enabled": false, >> "port": 8080, >> "index": false, >> "timeout": 30, >> "buffer": 600 >> }, >> "meters": [ >> { >> "enabled": true, >> "allowskip": false, >> "interval": 1, >> "aggtime": 1, >> "aggfixedinterval": false, >> "channels": [ >> { >> "api": "volkszaehler", >> "uuid": "xxxxx", >> "identifier": "1-0:1.8.0*255", >> "middleware": "http://localhost/middleware.php", >> "aggmode": "none", >> "duplicates": 2 >> }, >> { >> "api": "volkszaehler", >> "uuid": "xxxxx", >> "identifier": "1-0:2.8.0*255", >> "middleware": "http://localhost/middleware.php", >> "aggmode": "none", >> "duplicates": 2 >> }, >> { >> "api": "volkszaehler", >> "uuid": "xxxxx", >> "identifier": "1-0:16.7.0*255", >> "middleware": "http://localhost/middleware.php", >> "aggmode": "none", >> "duplicates": 0 >> } >> ], >> "protocol": "sml", >> "device": "/dev/ttyUSB0", >> "pullseq": "", >> "baudrate": 9600, >> "parity": "8n1", >> "use_local_time": false >> }, >> { >> "enabled": true, >> "allowskip": false, >> "interval": -1, >> "aggtime": -1, >> "aggfixedinterval": false, >> "channels": [ >> { >> "api": "volkszaehler", >> "uuid": "xxxxx", >> "identifier": "1-0:2.8.0*255", >> "middleware": "http://localhost/middleware.php", >> "aggmode": "none", >> "duplicates": 2 >> }, >> { >> "api": "volkszaehler", >> "uuid": "xxxxx", >> "identifier": "1-0:16.7.0*255", >> "middleware": "http://localhost/middleware.php", >> "aggmode": "none", >> "duplicates": 0 >> } >> ], >> "protocol": "sml", >> "device": "/dev/ttyUSB1", >> "pullseq": "", >> "baudrate": 9600, >> "parity": "8n1", >> "use_local_time": false >> } >> ] >> } >> >> >> >> Hab die UUID´s ausgeXXt. >> >> >> Bei Aufruf von >> pi@raspberrypi:~ $ systemctl status vzlogger >> ● vzlogger.service - vzlogger >> Loaded: loaded (/etc/systemd/system/vzlogger.service; enabled; >> vendor preset: enabled) >> Active: inactive (dead) >> >> In der Log-Datei (/var/log/vzlogger.log) steht nichts drin. >> >> Wenn ich den Befehl aufrufe: >> pi@raspberrypi:~ $ sudo systemctl start vzlogger >> >> bleibt der Cursor in der Zeile darunter hängen, bis ich den Aufruf mit >> "Untbr" abbreche. >> Danach steht auch nichts im Log-File. >> >> In der Datenbank werden keine Werte eingetragen. >> >> Was mache ich falsch? >> >> Danke vorab für die Hilfe >> >> Gruß >> >> Thomas >> >> >> >