<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style></head><body lang=DE link=blue vlink="#954F72"><div class=WordSection1><p class=MsoNormal>Beim Versuch den Dienst zu stoppen erhalte ich Fehlermeldung:</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>pi@raspberrypi:~ $ systemctl stop vzlogger</p><p class=MsoNormal>==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===</p><p class=MsoNormal>Authentication is required to stop 'vzlogger.service'.</p><p class=MsoNormal>Authenticating as: root</p><p class=MsoNormal>Password:</p><p class=MsoNormal>polkit-agent-helper-1: pam_authenticate failed: Authentication failure</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Was hat das mit der DB zu tun? </p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>In AbstractMySQLDriver.php line 106: </p><p class=MsoNormal> An exception occurred in driver: SQLSTATE[HY000] [1698] Access denied for user 'root'@</p><p class=MsoNormal>In PDOConnection.php line 31: </p><p class=MsoNormal> SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost' </p><p class=MsoNormal>In PDOConnection.php line 27: </p><p class=MsoNormal> SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost' </p><p class=MsoNormal>run [-l|--level LEVEL] [-m|--mode MODE] [-p|--periods PERIODS] [-v|--verbose] [--] [<uuid>...]</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Hier meine config.yaml</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal># general settings overriding php configuration</p><p class=MsoNormal>php:</p><p class=MsoNormal> timezone: Europe/Berlin</p><p class=MsoNormal> locale: ['de_DE', 'en_US', 'C']</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal># Doctrine database configuration</p><p class=MsoNormal># http://www.doctrine-project.org/projects/doctrine-dbal/en/2.6</p><p class=MsoNormal>db:</p><p class=MsoNormal> driver: pdo_mysql</p><p class=MsoNormal> host: localhost</p><p class=MsoNormal> port: 3307</p><p class=MsoNormal> user: RWeanres0w</p><p class=MsoNormal> password: N67!r7xxxxxx</p><p class=MsoNormal> charset: utf8</p><p class=MsoNormal> dbname: volkszaehler</p><p class=MsoNormal> path: volkszaehler # only used for sqlite</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> # db admin credentials (used by doctrine cli and setup script)</p><p class=MsoNormal> admin:</p><p class=MsoNormal> user: root</p><p class=MsoNormal> password: PsRkLb1xxxxxx</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> # database optimizer - leave empty for automatic</p><p class=MsoNormal> # optimizer: Volkszaehler\Interpreter\SQL\MySQLOptimizer # provides additional group=15m setting for demo purposes</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal># push server for realtime frontend updates</p><p class=MsoNormal>push:</p><p class=MsoNormal> server: 5582</p><p class=MsoNormal> broadcast: 8082</p><p class=MsoNormal> # routes for wamp access</p><p class=MsoNormal> wamp:</p><p class=MsoNormal> - /</p><p class=MsoNormal> - /ws</p><p class=MsoNormal> # routes for plain web socket access</p><p class=MsoNormal> websocket:</p><p class=MsoNormal> - /socket</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>network:</p><p class=MsoNormal> # limit maximum POST body size, e.g. 4096</p><p class=MsoNormal> postlimit: false</p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal># enable debug messages by default if true</p><p class=MsoNormal>debug: false</p><p class=MsoNormal><o:p> </o:p></p><div style='mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='border:none;padding:0cm'><b>Von: </b><a href="mailto:frank.richter83@gmail.com">Frank Richter</a><br><b>Gesendet: </b>Donnerstag, 6. Juni 2019 09:14<br><b>An: </b><a href="mailto:volkszaehler-users@demo.volkszaehler.org">volkszaehler.org - users</a><br><b>Betreff: </b>Re: [vz-users] System auf Raspberry neu aufsetzen undalteDatenbank(Synology) nutzen</p></div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>Moin René,</p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>in der alten Config lief dein zweiter Zähler ohne Baudraten-Umschaltung auf 300 Baud. In der neuen Config ist eine Umschaltung auf 9600 Baud drin. Wahrscheinlich klappt das so nicht.</p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Grüße</p></div><div><p class=MsoNormal>Frank</p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>René W. <<a href="mailto:tylonhh@gmail.com">tylonhh@gmail.com</a>> schrieb am Do., 6. Juni 2019, 07:16:</p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Moin,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>hab die symlinks angelgt. Ich möchte auch erstmal mit der neuen conf weitermachen.</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Unter cat /dev/usb-ir-lesekopf1 werden mir kryptische Zeichen ausgegeben. Ich denke da ist das letzte Puzzleteil versteckt, komme aber mit der Doku nicht wirklich weiter, da diese ja wohl nicht konfiguriert werden müssen. Ich verwende die USB Leseköpfe von Nils.</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Gruß</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>Von: </b><a href="mailto:frank.richter83@gmail.com" target="_blank">Frank Richter</a><br><b>Gesendet: </b>Mittwoch, 5. Juni 2019 23:12<br><b>An: </b><a href="mailto:volkszaehler-users@demo.volkszaehler.org" target="_blank">volkszaehler.org - users</a><br><b>Betreff: </b>Re: [vz-users] System auf Raspberry neu aufsetzen und alteDatenbank(Synology) nutzen</p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hi René,</p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>eigentlich gibt's keinen Grund, warum die alte Config nicht mehr funktionieren sollte, wenn sie bisher lief.</p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Gefährlich sind die beiden Leseköpfe, die lediglich mit ttyUSB0 und ttyUSB1 angesprochen werden. Diese Nummerierung kann sich durchaus mal ändern. Da solltest du sicherheitshalber udev-rules anlegen. Ist im Wiki dokumentiert.</p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Neustart von vzlogger mit systemctl stop vzlogger und systemctl start vzlogger.</p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Grüße</p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Frank</p></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>René W. <<a href="mailto:tylonhh@gmail.com" target="_blank">tylonhh@gmail.com</a>> schrieb am Mi., 5. Juni 2019 22:18:</p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hallo Frank,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>API und Middleware URL habe ich ergänz. Außerdem hatte ich noch USB0 und UBS1 vertauscht.</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hier meine <b>aktuelle</b> conf</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>{</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "retry": 0,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "daemon": true,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "verbosity": 15,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "log": "/var/log/vzlogger.log",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "push": [],</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "local": {</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "enabled": false,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "port": 8080,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "index": false,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "timeout": 0,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "buffer": 0</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> },</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "meters": [</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> {</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "enabled": true,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "allowskip": false,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "interval": -1,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "aggtime": -1,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "aggfixedinterval": false,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "channels": [</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> {</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "api": "volkszaehler",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "uuid": "30dc66e0-87a9-11e9-8ed1-47beeecdf40e",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "middleware": "<a href="http://192.168.178.22/middleware.php" target="_blank">http://192.168.178.22/middleware.php</a>",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "identifier": "1-0:1.8.0"</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> }</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> ],</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "protocol": "d0",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "device": "/dev/ttyUSB1",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "dump_file": "",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "pullseq": "2f3f210d0a",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "ackseq": "auto",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "baudrate": 9600,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> //"baudrate_read": 9600,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "parity": "7e1",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "wait_sync": "off",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "read_timeout": 10,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "baudrate_change_delay": 0</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> },</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> {</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "enabled": true,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "allowskip": false,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "interval": -1,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "aggtime": -1,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "aggfixedinterval": false,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "channels": [</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> {</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "api": "volkszaehler",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "uuid": "fa9a95c0-87a9-11e9-b56a-afb59b7f2035",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "middleware": "<a href="http://192.168.178.22/middleware.php" target="_blank">http://192.168.178.22/middleware.php</a>",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "identifier": "1-1:1.7.0"</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> }</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> ],</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "protocol": "d0",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "device": "/dev/ttyUSB0",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "dump_file": "",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "pullseq": "2F3F210D0A",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "ackseq": "auto",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "baudrate": 300,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "baudrate_read": 9600,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "parity": "7e1",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "wait_sync": "off",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "read_timeout": 100,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "baudrate_change_delay": 500</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> }</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> ]</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>}</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Und hier die alte conf</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>{</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "retry": 0, /* how long to sleep between failed requests, in seconds */</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "daemon": true, /* run periodically */</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "verbosity": 15, /* between 0 and 15 */</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "log": "/tmp/vzlogger.log", /* path to logfile, optional */</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "push": [],</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "local": {</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "enabled": false,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "port": 8080,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "index": true,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "timeout": 30, /* timeout for long polling comet requests, 0 disables comet, in seconds */</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "buffer": 600 /* how long to buffer readings for the local interface, in seconds */</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> },</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "meters": [{</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "enabled" : true , /* disabled meters will be ignored */</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "protocol" : "d0", /* use 'vzlogger -h' for list of available protocols */</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "baudrate" : 9600,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "device" : "/dev/ttyUSB1",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "parity" : "7E1",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "pullseq" : "2f3f210d0a", // nur wenn Aufforderung notwendig, sonst auskommentieren.</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "allowskip": false,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "interval": 30,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "aggtime": 60,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "aggfixedinterval": false,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "channels": [{</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "uuid": "fe916ca0-82e7-11e9-b3a3-a5ae4f544aae", //Hausstrom - Leistung NEU fe916ca0-82e7-11e9-b3a3-a5ae4f544aae ALT 8a9db380-840d-11e6-b822-372ffe327b1e</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "identifier": "1-0:1.7.0",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "api": "volkszaehler",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "middleware": "<a href="http://192.168.178.22:81/middleware.php" target="_blank">http://192.168.178.22:81/middleware.php</a>",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "secretKey": "",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "type": "device",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "scaler": 1,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "aggmode": "AVG", // "AVG" Der Mittelwert für Leistung, "MAX" für Zähler, "SUM" für Counter</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "duplicates": 0</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> }]</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> },</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> {</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "enabled" : true ,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "protocol" : "d0",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "baudrate" : 300,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "device" : "/dev/ttyUSB0",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "parity" : "7E1",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "pullseq" : "2f3f210d0a", // HEX Darstellung der Pullsequenz</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "interval" : 30, // Wartezeit bis zum naechsten Pull</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "channels": [{</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "uuid": "6fe45bb0-841f-11e6-a66a-218a11c4d7ab", //Waermepumpe - Leistung</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "identifier": "1-1:1.7.0",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "api": "volkszaehler",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "middleware": "<a href="http://192.168.178.22:81/middleware.php" target="_blank">http://192.168.178.22:81/middleware.php</a>",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "secretKey": "",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "type": "device",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "scaler": 1,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "aggmode": "AVG", // "AVG" Der Mittelwert für Leistung, "MAX" für Zähler, "SUM" für Counter</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "duplicates": 0</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> }, {</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "uuid" : "640543c0-8db0-11e6-991b-b7de4b5c1936", //Gesamtverbauch</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "middleware" : "<a href="http://192.168.178.22:81/middleware.php" target="_blank">http://192.168.178.22:81/middleware.php</a>",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "identifier" : "1-1:1.8.0", // Gesamtverbrauch</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "type": "device",</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "scaler": 1,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "aggmode": "none", // "AVG" Der Mittelwert für Leistung, "MAX" für Zähler, "SUM" für Counter</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> "duplicates": 0</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> }]</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> }</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> ]</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>}</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Zusatzfrage: wie starte ich den Dienst neu wenn ich Änderungen an der conf mache? Mit „sudo systemctl stop vzlogger“?</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>LG</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>Von: </b><a href="mailto:frank.richter83@gmail.com" target="_blank">Frank Richter</a><br><b>Gesendet: </b>Mittwoch, 5. Juni 2019 22:02<br><b>An: </b><a href="mailto:volkszaehler-users@demo.volkszaehler.org" target="_blank">volkszaehler.org - users</a><br><b>Betreff: </b>Re: [vz-users] System auf Raspberry neu aufsetzen und alte Datenbank(Synology) nutzen</p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hallo René,</p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>"api": null schreibt keine Daten. Du brauchst "volkszaehler". Außerdem fehlt dann die Middleware-URL.</p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Trotzdem ist laut Log noch was anderes faul. Zeig mal die alte Config zum Vergleich.</p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Grüße</p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Frank</p></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>René W. <<a href="mailto:tylonhh@gmail.com" target="_blank">tylonhh@gmail.com</a>> schrieb am Mi., 5. Juni 2019 21:42:</p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0cm;margin-bottom:5.0pt'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hallo,</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>ich habe aufgrund diverser Fehler und zerschossenen php Update nun die Reißleine gezogen und möchte nun ganz sauber von vorne starten. Anschließend soll auch noch PiHole darauf laufen.</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Die Datenbank ist schon auf Maria 10 umgezogen. Ich habe die Image aus der Anleitung <a href="https://wiki.volkszaehler.org/howto/raspberry_pi_image" target="_blank">https://wiki.volkszaehler.org/howto/raspberry_pi_image</a> verwendet (also 2019-04-24-volkszaehler_raspian_buster.img) und auf eine SD geladen.</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Dann habe ich zwei UUID angelegt. Einer soll für Hausstrom (Easymeter Q3DA1004) und der andere für Wärmepumpe (Elster AS1440) sein. Da ich ja noch eine alte vzlogger.conf hatte habe aber diese nicht trotz geänderter UUID funktionierte habe ich das online tool zum Erstellen verwendet.</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Das ist meine derzeitige conf: <a href="https://pastebin.com/jtC6mVWL" target="_blank">https://pastebin.com/jtC6mVWL</a></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hier meine config.yaml <a href="https://pastebin.com/yAYLrWEA" target="_blank">https://pastebin.com/yAYLrWEA</a></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Ich befürchte aber das die vzlogger.conf noch nicht ganz korrekt ist, da keine Daten geschrieben werden.</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hier ein Auszug aus der Log</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>[Jun 05 21:41:05][d0] nothing received for more than 10 seconds</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>[Jun 05 21:41:05][d0] read timed out!, context: 0, bytes read: 0, last byte 0x5a</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>[Jun 05 21:41:05][mtr0] Got 0 new readings from meter:</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>[Jun 05 21:41:05][mtr0] Next reading in 30 seconds</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>[Jun 05 21:41:11][d0] nothing received for more than 10 seconds</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>[Jun 05 21:41:11][d0] read timed out!, context: 0, bytes read: 0, last byte 0x0</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>[Jun 05 21:41:11][mtr1] Got 0 new readings from meter:</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Sieht jemand den Fehler?</p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> </p></div></div></blockquote></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt'>LG René</p></div></div></blockquote></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt'> </p></div></div></blockquote></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:4.8pt'> </p><p class=MsoNormal><o:p> </o:p></p></div></body></html>