Example ESP32 project to showcase how you can pull temperature, humidity and pressure data from the ENV III sensor paired with the M5 StickC Plus2.
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 Prometheus format and uses Grafana for 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/grafana/M5StickCPlus2
There is an example dashboard that you can use inside Grafana for this project, by importing:
20486
for Dashboard using Celsius, or
20487
for Dashboard using Fahrenheit.
Alternatively you can also grab the example dashboard from Grafana itself: