More structured details to come. Some quick notes:
- Copy the original Arduino .ino file to Platform.io IDE on Atom may cause build issues. Create a new .ino file using PIO IDE and then copy/paste source code from Arduino .ino file to new .ino file.
- The packet size of the MQTT client needed to be increased from 128 to 256. This is in the PubSubClient.h header file located in .pioenvs/nodemcu/PubSubClient_ID89
- The following libraries were added:
- 19 Adafruit-DHT
- 89 PubSubClient