Pushing smart meter data to InfluxDB database
Posted: Tuesday 22 November 2022 15:40
After succesfully connecting my Smart Meter to Domoticz and retrieving Power and Gas values from the meter, I'm now trying to store these values in an InfluxDB database. I set up the database, created a user, retrieved the InfluxDB authorization token and with these values configured the Data push/InfluxDB General Settings. I then added added links for Gas, Power/Delivery 1 and Power/Usage 1. This results in a connection with the database as a "influx query 'import "influxdata/influxdb/schema" schema.measurements(bucket: "domoticz")' command shows. The schema however only shows "Gas-usage" as result.
The wiki page (https://www.domoticz.com/wiki/Influxdb) gives little help on this topic, so what should be the schema for the database and should I create this by hand or will Domoticz take care of that?
The wiki page (https://www.domoticz.com/wiki/Influxdb) gives little help on this topic, so what should be the schema for the database and should I create this by hand or will Domoticz take care of that?