/tag2influx

Script to copy data from Wireless Tags (http://wirelesstag.net/) API to InfluxDB

Primary LanguagePython

tag2influx.py

Simple Python script to copy data from Wireless Tags API to your own InfluxDB

Usage

Configuration

Change the mostly self-explanatory settings in the tag2influx.conf file. You can use the influx schema settings to change measurement name and what field names are used for tag stats (stat_map). Stat name is used if no mapping exists.

Running

By default the script will fetch data for the last 30 minutes, this can be changed with the --last N parameter.

Other parameters can be seen with --help.

Running the script multiple times with overlapping time ranges should be fine, influxdb will not add duplicate data points for the same timestamp.

Known issues

  • Supports only temperature data for now
  • Does not support authentication for InfluxDB