Collection of code for ESP8266 devices
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Steven Haigh 623d3a3710 [OutsideMonitor] Export autoupdate to #define WITH_AUTOUPDATE 2 months ago
lib [OutdoorSensor] Switch to using WiFiEventHandlers and update the web page UI 3 months ago
src [OutsideMonitor] Export autoupdate to #define WITH_AUTOUPDATE 2 months ago
platformio.ini Settle back to production espressif8266 SDK 4 months ago Lurn 2 MD format 4 months ago

This project has a DHT22 temp/humidity sensor, and a 4 channel MOSFET switch.

The DHT feeds via MQTT topics to Home Assistant, while the outputs for the MOSFETs control various things like lights etc.


4 Channel MOSFET board

DHT22 Sensor

ESP8266 D1 Mini (Wemos)


Platform IO


  • Hook the DHT22 to pin D3
  • Hook the four channels of the MOSFET to D5, D6, D7, D8
  • Build & install

Trigger by MQTT packet