This project is based on the Multisensor project by bruhAutomation https://github.com/bruhautomation/ESP-MQTT-JSON-Multisensor
- DHT22 temperature sensor
- DHT22 humidity sensor
- AM312 PIR motion sensor
- Photoresistor or TEMT600 light sensor
- RGB led with support for color, flash, fade, and transition
- Over-the-Air (OTA) upload from the ArudioIDE
- Wifi configuration using a temporary access point
- Removed LED and associated code (Served limited purpose)
- ArduinoJson6 compatible code
- Implemented WifiManager library to set WiFi and MQTT settings using an access point, removing hardcoded values
- Update code to support latest DHT library
- TBC
This code also supports remote uploading to the ESP8266 using Arduino's OTA library. To utilize this, you'll need to first upload the sketch using the traditional USB method. However, if you need to update your code after that, your WIFI-connected ESP chip should show up as an option under Tools -> Port -> Porch at your.ip.address.xxx. More information on OTA uploading can be found here. Note: You cannot access the serial monitor over WIFI at this point.