Example Using InfluxDB: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 13: | Line 13: | ||
===Server side hosting InfluxDB=== | ===Server side hosting InfluxDB=== | ||
Install InfluxDB as recommended. [https://portal.influxdata.com/downloads#influxdb This link] provides compiled executables. | Install InfluxDB and Chronograf as recommended. [https://portal.influxdata.com/downloads#influxdb This link] provides compiled executables. | ||
Github link is [https://github.com/influxdata/influxdb here]. | Github link is [https://github.com/influxdata/influxdb here]. |
Revision as of 13:10, 22 March 2017
UNDER CONSTRUCTION...
This is a basic example to forward data to an InfluxDB database. Note this will only cover a skeleton to start building your own application.
Prerequisites
The RPICT series board must output as CSV for this work.
Installation
Server side hosting InfluxDB
Install InfluxDB and Chronograf as recommended. This link provides compiled executables.
Github link is here.
Raspberrypi side
Install the python biding to influxdb. Available from github here.
Do not be tempted by using apt-get install! Thsi will install an old version that does not work. Use pip or download the package from github and install using
sudo setup.py install
Check version using
python import influxdb print influxdb.__version__