- Follow Arduino-ESP32 installation instructions here: https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/boards_manager.md.
- Install dependencies
- Compile and upload to microcontroller
- ArduinoJSON by Benoit Blanchon, use Manage Libraries
- LOLIN E-Paper Display Library (Optional - comment out applicable lines in firmware if unused)
- PubSubClient by Nick O'Leary - NOTE: make sure to edit
PubSubClient.hto increase its max packet size from 128 bytes to 512 bytes., use Manage Libraries - RTC by Makuna by Michael C. Miller, use Manage Libraries
- WEMOS SHT3x Arduino Library (Optional - comment out applicable lines in firmware if unused)
- HDC2080 Arduino Library by Lime Labs, use Manage Libraries
- Adafruit GFX use Manage Libraries in the Arduino IDE to install
Currently, the example code sets the time in the RTC module to match the local time of whatever machine you compiled the code in. As a result, rtcUnixTimestamp erroneously treats your local time as UTC. In order to adjust for this, you'll need to add an offset when analyzing the data later on. For example, if you're in Pacific Time, you'll need to add 8 hours to the rtcUnixTimestamp value to adjust for your timeszone.