<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hallo zusammen,</div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">ich springe gerade ebenfalls auf den influxDB Zug. Zur Zeit fahre ich noch zweigleisig, also ich schreibe 3 Stände mit dem vzlogger in die MySQL DB und die gleichen 3 Stände in die influxDB. Beim letzteren verwende ich fake UUIDs, ich war nicht sicher, ob es Probleme gibt, wenn ich die gleichen UUIDs verwende.</div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">DAs sieht mir zur Zeit noch sehr zusammengeschustert aus. Muss ich wirklich die login Daten der influxDB bei jedem Kanal eintragen oder geht es auch einfacher?</div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Als Frontend nutze ich nun Grafana, da ich es ohnehin schon für diverse Smart Home Geräte im Haushalt nutze.</div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""></div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hier meine Konfiguration:</div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Viele Grüße</div><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Sebastian<br class=""><div class=""><br class=""></div><div class=""><div class="">{</div><div class="">"retry" : 3,</div><div class="">"daemon": true,</div><div class="">"verbosity" : 1,</div><div class="">"log" : "/var/log/vzlogger.log",</div><div class=""> </div><div class="">"local" : {</div><div class=""> "enabled" : false,</div><div class=""> "port" : 8080,</div><div class=""> "index" : false,</div><div class=""> "timeout" : 30,</div><div class=""> "buffer" : 600</div><div class="">},</div><div class=""><br class=""></div><div class="">"push": [</div><div class=""> {</div><div class=""> "url": "<a href="http://127.0.0.1:5582" class="">http://127.0.0.1:5582</a>"</div><div class=""> }</div><div class="">],</div><div class=""> </div><div class="">"meters" : [{</div><div class=""> "protocol" : "sml",</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>"use_local_time" : true,</div><div class=""> "enabled" : true,</div><div class=""> "device" : "/dev/ttyUSB0",</div><div class=""> "parity" : "8N1",</div><div class=""> "baudrate" : 9600,</div><div class=""> "aggtime" : 60,</div><div class=""> "aggfixedinterval" : false,</div><div class=""> "channels": [{</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>"api": "volkszaehler",</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>"aggmode": "max",</div><div class=""> "uuid" : „uuid",</div><div class=""> "middleware" : "<a href="http://localhost/middleware.php" class="">http://localhost/middleware.php</a>",</div><div class=""> "identifier" : "1-0:1.8.0*255" /* Wirkarbeit Lieferung +A */</div><div class=""> },</div><div class=""> {</div><div class=""> <span class="Apple-tab-span" style="white-space: pre;"> </span>"api": "volkszaehler",</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>"aggmode": "avg",</div><div class=""> <span class="Apple-tab-span" style="white-space: pre;"> </span>"uuid": "uuid",</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>"middleware": "<a href="http://localhost/middleware.php" class="">http://localhost/middleware.php</a>",</div><div class=""> <span class="Apple-tab-span" style="white-space: pre;"> </span>"identifier": "1-0:16.7.0*255" /* Leistung */</div><div class=""> },</div><div class=""> {</div><div class=""> <span class="Apple-tab-span" style="white-space: pre;"> </span>"api": "volkszaehler",</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>"duplicates": 3600,</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>"aggmode": "max",</div><div class=""> <span class="Apple-tab-span" style="white-space: pre;"> </span>"uuid": "uuid",</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>"middleware": "<a href="http://localhost/middleware.php" class="">http://localhost/middleware.php</a>",</div><div class=""> <span class="Apple-tab-span" style="white-space: pre;"> </span>"identifier": "1-0:2.8.0*255" /* Wirkarbeit Lieferung -A */</div><div class=""> },</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>{</div><div class=""> "api": "influxdb", // use the InfluxDB api</div><div class=""> "uuid": „fake uuid", // use the uuid command to generate this</div><div class=""> "identifier" : "1-0:16.7.0*255", // OBIS code for "power" </div><div class=""> "host": "192.168.178.63:8086", // This assumes that InfluxDB is running on localhost</div><div class=""> "database": "smartmeter", // Optional: make sure this database exists in InfluxDB</div><div class=""> "measurement_name": "Leistung", // Optional: It is recommended that all your meters have the same InfluxDB measurement name</div><div class=""> "tags": "LeistungAktuell", // Optional: Additional tags to append when inserting data</div><div class=""> "username": "sebastian", // Optional: When InfluxDB Auth is enabled you need to set the correct user and password</div><div class=""> "password": „pass",</div><div class=""> //"max_batch_inserts": 4500, // Optional: Max number of measurements per request. No need to change this</div><div class=""> //"max_buffer_size": 450000, // Optional: Max number of measurements to be cached when InfluxDB is not available</div><div class=""> //"timeout": 30, // Optional: Time in seconds after which requests to InfluxDB time out</div><div class=""> },</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>{</div><div class=""> "api": "influxdb", // use the InfluxDB api</div><div class=""> "uuid": „fake uuid", // use the uuid command to generate this</div><div class=""> "identifier" : "1-0:2.8.0*255", // OBIS code for "power" </div><div class=""> "host": "192.168.178.63:8086", // This assumes that InfluxDB is running on localhost</div><div class=""> "database": "smartmeter", // Optional: make sure this database exists in InfluxDB</div><div class=""> "measurement_name": "Erzeugung", // Optional: It is recommended that all your meters have the same InfluxDB measurement name</div><div class=""> "tags": "Erzeugung", // Optional: Additional tags to append when inserting data</div><div class=""> "username": "sebastian", // Optional: When InfluxDB Auth is enabled you need to set the correct user and password</div><div class=""> "password": „pass",</div><div class=""> //"max_batch_inserts": 4500, // Optional: Max number of measurements per request. No need to change this</div><div class=""> //"max_buffer_size": 450000, // Optional: Max number of measurements to be cached when InfluxDB is not available</div><div class=""> //"timeout": 30, // Optional: Time in seconds after which requests to InfluxDB time out</div><div class=""> },</div><div class=""><span class="Apple-tab-span" style="white-space: pre;"> </span>{</div><div class=""> "api": "influxdb", // use the InfluxDB api</div><div class=""> "uuid": „fake uuid", // use the uuid command to generate this</div><div class=""> "identifier" : "1-0:1.8.0*255", // OBIS code for "power" </div><div class=""> "host": "192.168.178.63:8086", // This assumes that InfluxDB is running on localhost</div><div class=""> "database": "smartmeter", // Optional: make sure this database exists in InfluxDB</div><div class=""> "measurement_name": "Bezug", // Optional: It is recommended that all your meters have the same InfluxDB measurement name</div><div class=""> "tags": "Bezug", // Optional: Additional tags to append when inserting data</div><div class=""> "username": "sebastian", // Optional: When InfluxDB Auth is enabled you need to set the correct user and password</div><div class=""> "password": „pass",</div><div class=""> //"max_batch_inserts": 4500, // Optional: Max number of measurements per request. No need to change this</div><div class=""> //"max_buffer_size": 450000, // Optional: Max number of measurements to be cached when InfluxDB is not available</div><div class=""> //"timeout": 30, // Optional: Time in seconds after which requests to InfluxDB time out</div><div class=""> }</div><div class="">]</div><div class=""> }]</div><div class="">}</div></div></div></body></html>