Skip to content

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

Notifications You must be signed in to change notification settings

shadowpanther/tag2influx

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%