InfluxDB is a special kind of database that is designed to store and analyse time-based data.
It's really simple to set up a simple dashboard for viewing your sensor data. InfluxDB offers a generous free tier which is rate limited (5MB of writes/5 mins) and will store your data for up to 30 days. There's also pay as you go plans if you need more.
They also offer a self-hosted option InfluxDB Open Source which you can install on your own hardware.
- Visit InfluxDB
- Create an account by clicking Use It for Free
- Create your account using whichever login mechanism you prefer.
- Go into your user settings (click on your email address at the top of the InfluxDB Cloud interface) and look at Organisation Profile.
- Take note of your Name and Cluster URL (Host Name) you'll need these later.
- Click on 'Load Data' in the sidebar and select 'Buckets'. Create a new bucket called
enviro
. - You'll also need to generate an API token using 'Load Data' > 'API tokens'. Make a custom API token with write access to the
enviro
bucket.
When you provision your device enter the name, cluster URL, API token and bucket name and Enviro will automatically start sending data on the schedule you have requested.
- To post Enviro data into a locally hosted InfluxDB you'll just need to enter the IP/hostname of your database in URL (e.g. http://influxdb.local:8086 or http://192.168.0.1:8086) and the name of your database (chosen during setup) in bucket. Organisation name and API token can be left blank.
View the list of sensor readings provided by each board: Enviro Indoor, Enviro Grow, Enviro Weather, Enviro Urban.