Example ESP32 project to showcase how you can pull temperature, humidity and pressure data from the ENV III sensor paired with the M5 StickC Plus.
In this project, you have a configuration file config.h
where you can configure your WiFi credentials, as well as your Grafana Cloud credentials. Data is written to Grafana Cloud using the Influx proxy, where the metrics will then be converted to Prometheus format for querying and visualisation.
- Download the latest Arduino IDE:
https://www.arduino.cc/en/software
- Board Manager links:
https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/arduino/package_m5stack_index.json
https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json
git clone https://github.com/willie-engelbrecht/M5StickCPlus
There is an example dashboard that you can use inside Grafana for this project, by importing:
17782
for Dashboard using Celsius, or
17925
for Dashboard using Fahrenheit.
Alternatively you can also grab the example dashboard from Grafana itself: