This script reads values for a defined item from openHAB via the REST interface. The values are written to text files and converted to a specific format to import them in InfluxDB. see: https://docs.influxdata.com/influxdb/v1.2/write_protocols/line_protocol_reference/
config.cfg and define your parameters like server name, user, password etc.
- NOT COMPATIBLE WITH openHAB 2.1, yet!!!!!
- The timestamps cannot be calculated correctly on macOS
- RRD compresses data, so the further you go into the past the bigger gaps you get between two data points.
- I am not sure if the defined timestamps are correct to read as much data as possible.