Skip to content

ESP MQTT JSON Multisensor for Home Assistant. Supported sensors include the TEMT6000 light, AM312 PIR, DHT22 temperature/humidity sensors. RGB led supports flash, fade, and transition. Over-The-Air (OTA) uploading, too!

License

Notifications You must be signed in to change notification settings

joshrose54/ESP-MQTT-JSON-Multisensor

 
 

Repository files navigation

ESP MQTT JSON Multisensor

This project is based on the Multisensor project by bruhAutomation https://github.com/bruhautomation/ESP-MQTT-JSON-Multisensor

Supported Features Include

  • 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

Upgrades

  • 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

To Do List

  • TBC

OTA Uploading

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.

Parts List

Wiring Diagram

alt text

About

ESP MQTT JSON Multisensor for Home Assistant. Supported sensors include the TEMT6000 light, AM312 PIR, DHT22 temperature/humidity sensors. RGB led supports flash, fade, and transition. Over-The-Air (OTA) uploading, too!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%