Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 1.47 KB

README.md

File metadata and controls

29 lines (18 loc) · 1.47 KB

Loxone Stats 2 InfluxDB

This script reads the statistics collected by the Loxone Miniserver and writes them to an InfluxDB instance.

Requirements

  • Python 3 with the following additional modules:
  • Loxone Miniserver
  • InfluxDB

Configuration

As this script can't guess which stats to import into which measurement and which tags to add as well as your shouldn't use default credentials, this script requires a small configuration file.

Just copy config.sample.json to config.json and edit it to match your requirements.

The influxdb and miniserver configuration should be self explaining: It configures the connection to the InfluxDB and your Loxone Miniserver.

In the stats_map you have to map each UUID of the statistics to a measurement and (optional) tags.

Usage

As you might not know the UUIDs of the stats, you can list all available statistics including their UUID and name. To do that just execute python3 import.py --list.

Without any arguments, the script will start to import the statistics configured in the configuration file: Just execute python3 import.py