https://github.com/volkszaehler/vzlogger
Logging utility for various meters & sensors
https://github.com/volkszaehler/vzlogger
c-plus-plus sensor smartmeter volkszaehler
Last synced: about 1 year ago
JSON representation
Logging utility for various meters & sensors
- Host: GitHub
- URL: https://github.com/volkszaehler/vzlogger
- Owner: volkszaehler
- License: gpl-3.0
- Created: 2011-08-30T22:41:50.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2025-01-05T17:59:21.000Z (over 1 year ago)
- Last Synced: 2025-05-16T10:06:06.489Z (about 1 year ago)
- Topics: c-plus-plus, sensor, smartmeter, volkszaehler
- Language: C++
- Homepage: http://wiki.volkszaehler.org/software/controller/vzlogger
- Size: 7.02 MB
- Stars: 155
- Watchers: 24
- Forks: 125
- Open Issues: 87
-
Metadata Files:
- Readme: README.InfluxDB.md
- License: COPYING
- Authors: AUTHORS
Awesome Lists containing this project
README
InfluxDB api
==================
**vzlogger** can send measurements to a InfluxDB server.
Configuration
---------------------------
Set `"api"` to`"influxdb"` to use the InfluxDB API.
`"host"` is the IP address or hostname of the InfluxDB server in the format `127.0.0.1:8086`
`"uuid"` is the unique channel ID. Use the `uuid` or `uuidgen` command to generate one.
For optional parameters such as `username` or `password` have a look at the
example config file is available at [`etc/vzlogger.conf.InfluxDB`](https://github.com/volkszaehler/vzlogger/blob/master/etc/vzlogger.conf.InfluxDB)
Message Format
---------------------------
Messages are sent in the following format:
,uuid=, value=
In the above, measurement_name, tags and uuid are from the configuration
while value and time[ms] are value and time of the measurement.
Details about this can be found in the [InfluxDB line protocol tutorial](https://docs.influxdata.com/influxdb/v1.8/write_protocols/line_protocol_tutorial/)