View the air quality readings from a Pimoroni Enviro+ with a PMS5003 particulate matter sensor.
If you have your InfluxDB credentials configured in the CLI, you can install this template with:
influx apply -u https://raw.githubusercontent.com/influxdata/community-templates/master/enviro_plus/enviro_plus.yml
- 3 Labels:
air quality
,raspberry pi
,enviro+
- 1 Dashboard:
Enviro Plus
General instructions on using InfluxDB Templates can be found in the use a template document.
In your InfluxDB Cloud 2 interface, create a bucket named: enviroplus
.
To export data to InfluxDB from the Enviro+, follow the installation instructions: https://github.com/sighmon/balena-enviro-plus
Note: you don't have to deploy the code via Balena Cloud, you can also run the Docker container on Raspbian.
Don't forget to update the Dockerfile
with your own InfluxDB-Cloud environment variables:
ENV INFLUXDB_URL="https://your_server_location.gcp.cloud2.influxdata.com"
ENV INFLUXDB_TOKEN="your_token"
ENV INFLUXDB_ORG_ID="your_organisation_id"
ENV INFLUXDB_BUCKET="your_bucket_name"
ENV INFLUXDB_SENSOR_LOCATION="your_city_name"
ENV INFLUXDB_TIME_BETWEEN_POSTS="5" # In seconds
# To see all debug messages
ENV DEBUG="true"
-
Original Author: Simon Loffler
-
Original Email: [email protected]
-
Original Github: @sighmon
-
Original Influx Slack: @sighmon
-
Maintainer: Russ Savage
-
Email: [email protected]
-
Github: @russorat
-
Influx Slack: @russ