D32 Pro Setup Checklist


  1. Follow Arduino-ESP32 installation instructions here: https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/boards_manager.md
  2. Install dependencies
  3. Edit PubSubClient.h to increase its max packet size from 128 bytes to 512 bytes
  4. Compile and upload to microcontroller

Dependencies install on Arduino

Note re: RTC Library

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.