Design a gadget
Topics › ESPHome projects

ESPHome projects: sensors with ready-made YAML

Every project here comes with working ESPHome YAML, a routed 2-layer board, a 3D-printable case and a step-by-step guide. Flash it from the browser, and Home Assistant finds it on its own.

152 ready-made designs, each with a routed board, ESPHome firmware, a 3D-printable case and a build guide.

CO2 monitor with screen and alarmShows CO2 in parts per million on a small OLED and beeps when a room gets stuffy. Sends readings to Home Assistant.
SCD41 CO20.96 in OLED displayActive buzzer
Plant watering controllerMeasures soil moisture and switches a small pump through a relay when the pot dries out.
Capacitive soil moisture sensor v1.21-channel 5 V relay
Room presence sensormmWave radar that sees people even when they sit still, plus temperature, humidity and light level.
BME280 temperature, humidity, pressureBH1750 lightLD2410C mmWave presence radar
Garage door sensor with LED stripKnows whether the garage door is open, lights an LED strip, and has a button to trigger a scene.
WS2812 LED strip connectorPush buttonReed switch / door contact
Aquarium heater controllerA waterproof probe in the tank and a relay that keeps the heater on or off around your set point.
DS18B20 waterproof temperature probe1-channel 5 V relay
Smart doorbell buttonA wired doorbell button with a chime, a motion sensor and an LED ring for the porch.
PIR motionWS2812 LED strip connectorActive buzzerPush button
Parking distance sensorMeasures how far the car is from the wall and turns the LED strip from green to red as you pull in.
VL53L0X distanceWS2812 LED strip connectorActive buzzer
Freezer temperature alarmA probe inside the freezer, a screen outside, and a buzzer when it warms up.
0.96 in OLED displayDS18B20 waterproof temperature probeActive buzzer
Bathroom humidity fan controllerA complete board that reads humidity and switches the bath fan through a relay, with no hub needed.
BME280 temperature, humidity, pressure1-channel 5 V relay
Mailbox notifierTells Home Assistant when the mailbox door opens.
Reed switch / door contact
Desk air quality monitorCO2, temperature and humidity on a small screen for your desk.
SCD41 CO20.96 in OLED display
Motion night lightA PIR sensor and an LED strip for a hallway or stairs at night.
PIR motionWS2812 LED strip connector
Water tank level sensorA time-of-flight sensor that measures the water level in a tank and shows it on a screen.
VL53L0X distance0.96 in OLED display
Pool temperature probeA waterproof probe that reports pool or hot-tub temperature to Home Assistant.
DS18B20 waterproof temperature probe
Greenhouse climate monitorWatches temperature, humidity and light in a greenhouse and runs a vent fan when it gets hot.
BME280 temperature, humidity, pressureBH1750 light1-channel 5 V relay
Window open sensor with buzzerBeeps if a window is left open.
Active buzzerReed switch / door contact
Office occupancy lightShows a light outside your office door when you are inside.
LD2410C mmWave presence radarWS2812 LED strip connector
Baby room climate monitorTemperature and humidity at a glance on a small screen, with history in Home Assistant.
BME280 temperature, humidity, pressure0.96 in OLED display
Fridge door alarmBeeps when the fridge door is left open, and watches the temperature inside.
DS18B20 waterproof temperature probeActive buzzerReed switch / door contact
Basement dehumidifier controllerReads humidity and switches a dehumidifier on through a relay.
BME280 temperature, humidity, pressure1-channel 5 V relay
Light level loggerLogs daylight in lux. Useful for blinds and lighting automations.
BH1750 light
Sump pump monitorMeasures water level in a sump pit and sounds a buzzer if it rises.
VL53L0X distanceActive buzzerFloat switch
Hot water tank temperatureA probe strapped to a pipe or tank with the temperature shown on a screen.
0.96 in OLED displayDS18B20 waterproof temperature probe
Garden soil moisture sensorA capacitive moisture probe for a garden bed or a pot.
Capacitive soil moisture sensor v1.2
Meeting room CO2 and presenceCO2 and whether anyone is in the room, for ventilation and booking automations.
SCD41 CO2LD2410C mmWave presence radar
Fridge temperature monitorA probe on the middle shelf and a small screen on the door. Home Assistant can warn you the moment the fridge climbs above 4 °C.
0.96 in OLED displayDS18B20 waterproof temperature probe
Freezer door-left-open alarmA magnetic contact on the freezer lid that beeps if it stays open, and tells Home Assistant how long it was open.
DS18B20 waterproof temperature probeActive buzzerReed switch / door contact
Chest freezer power-cut alarmWatches a chest freezer in the garage or basement, glows green when cold and sounds an alarm when it starts to thaw.
DS18B20 waterproof temperature probeWS2812 LED strip connectorActive buzzer
Kitchen fume fan switchSenses cooking smells and fumes and switches on an extra extractor fan until the air clears.
1-channel 5 V relaySGP40 VOC
Dishwasher done notifierFeels the dishwasher run and sends a notification two minutes after it goes quiet.
SW-420 vibration
Under-cabinet motion lightsCounter lighting that fades on when someone walks into the kitchen at night.
PIR motionWS2812 LED strip connector
Sous vide water bath monitorA second opinion on your sous vide: shows the bath temperature and beeps if it drifts.
0.96 in OLED displayDS18B20 waterproof temperature probeActive buzzer
Under-sink leak alarmA probe on the cabinet floor that screams if a pipe starts to drip and alerts your phone.
Active buzzerWater leak probe
Trash can smell sensorTells you the bin needs taking out before you notice it yourself.
WS2812 LED strip connectorSGP40 VOC
Wine fridge climate monitorTemperature and humidity for a wine fridge or cellar, with a readout on the door.
BME280 temperature, humidity, pressure0.96 in OLED displayDS18B20 waterproof temperature probe
Bathroom presence lightmmWave radar keeps the light on while someone is in the shower, unlike a motion sensor that times out.
LD2410C mmWave presence radar1-channel 5 V relay
Toilet leak alarmSits behind the toilet and beeps at the first drop from a failing supply line.
Active buzzerWater leak probe
Bathroom night glowA dim amber glow for night-time trips that never wakes anyone up.
PIR motionWS2812 LED strip connector
Bathroom smell fan switchRuns the extractor fan when the air needs it, not just when the light is on.
1-channel 5 V relaySGP40 VOC
Mirror demister controllerSwitches on a mirror heater pad when shower steam builds up.
BME280 temperature, humidity, pressure1-channel 5 V relay
Bedroom CO2 sleep monitorGlows when the bedroom CO2 climbs past 1000 ppm so you know to crack a window before sleep.
SCD41 CO2WS2812 LED strip connector
Sunrise wake-up lightLEDs that brighten slowly before your alarm, with a button to snooze.
BH1750 lightWS2812 LED strip connectorPush button
Bed presence sensormmWave radar that knows when someone is in bed, for good-night scenes and heating schedules.
LD2410C mmWave presence radar
Standing desk reminderNotices how long you have been at the desk and nudges you to stand up or take a break.
LD2410C mmWave presence radarWS2812 LED strip connectorActive buzzer
3D printer fume fanRuns a carbon filter fan when your printer's fumes rise and stops when the air is clean.
1-channel 5 V relaySGP40 VOC
Grow light timer by daylightTurns on a grow light only when the room is too dark for your plants.
BH1750 light1-channel 5 V relay
Wood stove temperature alarmFlue or stovetop temperature on a screen, with a beep when it is time to add wood or when it runs too hot.
0.96 in OLED displayActive buzzerMAX31855 thermocouple amplifier
Reading nook auto lampTurns on the reading lamp when the daylight fades.
BH1750 light1-channel 5 V relay
Air purifier auto switchMeasures PM2.5 and runs a box fan or purifier on high only when the air is dirty.
1-channel 5 V relayPMS5003 particulate
Humidifier controllerKeeps winter air at 40-50 % humidity by switching a plain humidifier on and off.
BME280 temperature, humidity, pressure1-channel 5 V relay
Space heater controllerRuns a small heater to hold a set temperature, with a button for a boost hour.
BME280 temperature, humidity, pressure1-channel 5 V relayPush button
Water heater leak alarmA probe in the drain pan under the water heater that alerts the moment it leaks.
Active buzzerWater leak probe
Sump pit high water alarmA second float above the pump's own switch: if the water reaches it, the pump has failed.
Active buzzerFloat switch
Washing machine done alertSends a notification when the washer stops shaking, so wet laundry never sits.
SW-420 vibration
Dryer done lightLights up and notifies when the dryer finishes.
WS2812 LED strip connectorSW-420 vibration
Basement mold risk monitorBeeps when basement humidity stays above 60 %, the level where mold starts.
BME280 temperature, humidity, pressureActive buzzer
Water softener salt levelMeasures the salt from above and tells you when to buy more.
VL53L0X distance
Heating oil tank gaugeA distance sensor in the fill cap that shows how much oil is left.
VL53L0X distance0.96 in OLED display
Pipe freeze alarmA probe taped to the coldest pipe that alarms before it freezes.
DS18B20 waterproof temperature probeActive buzzer
UPS battery voltage monitorWatches the voltage of a 12 V backup battery so you know it will hold.
INA219 current and voltage
Stair lightsLights each step as someone comes down the stairs at night.
PIR motionWS2812 LED strip connector
Dehumidifier bucket full alarmBeeps before the bucket fills, so the dehumidifier never sits idle.
Active buzzerFloat switch
Flood pump triggerSwitches on a utility pump when water reaches the floor.
1-channel 5 V relayWater leak probe
Sawdust air monitorShows fine dust in the workshop air so you know when to run the filter or wear a mask.
0.96 in OLED displayPMS5003 particulate
Paint booth fume fanStarts the exhaust fan when paint or finish fumes build up.
1-channel 5 V relaySGP40 VOC
3D printer enclosure monitorKeeps an enclosure warm for ABS, runs a fan when it overheats, and lights the print.
BME280 temperature, humidity, pressure1-channel 5 V relayWS2812 LED strip connector
Solder fume extractor switchRuns the fume extractor when it senses solder smoke, or on a button press.
1-channel 5 V relayPush buttonSGP40 VOC
Battery charger monitorMeasures charger current so you know when a battery is full.
INA219 current and voltage
Car in the garage sensorKnows whether the car is parked inside, for automations like closing the door at night.
VL53L0X distance
Tool cabinet alarmBeeps when a locked tool cabinet is opened.
Active buzzerReed switch / door contact
Kiln temperature monitorFollow a firing from your phone, with a screen at the kiln and an alarm at peak.
0.96 in OLED displayActive buzzerMAX31855 thermocouple amplifier
Air compressor run monitorLogs how often the compressor runs, which shows a leak before you hear it.
SW-420 vibration
Rain alert lightGlows when it starts raining so you can get the laundry in.
WS2812 LED strip connectorRain
Patio UV index displayShows the UV index on the patio so you know when to reach for sunscreen.
0.96 in OLED displayLTR390 UV index
Hot tub temperatureCheck the hot tub temperature from the house before you walk out in the cold.
DS18B20 waterproof temperature probe
Pond pump controllerRuns the pond pump and logs water temperature for the fish.
DS18B20 waterproof temperature probe1-channel 5 V relay
Barrel water levelMeasures how full a water butt or barrel is.
VL53L0X distance
Compost temperature probeA long probe in the compost pile that shows when it is cooking and when to turn it.
DS18B20 waterproof temperature probe
Sprinkler with rain skipWaters the lawn on schedule but skips when it is raining.
1-channel 5 V relayRain
Gate open alarmBeeps and notifies when the garden gate is left open.
Active buzzerReed switch / door contact
Dusk path lightsTurns path lights on at dusk and off at bedtime.
BH1750 light1-channel 5 V relay
Frost alarm for plantsWarns you to cover tender plants when the temperature heads toward freezing.
BME280 temperature, humidity, pressureActive buzzer
Seedling heat mat controllerHolds a seedling heat mat at the right soil temperature for germination.
DS18B20 waterproof temperature probe1-channel 5 V relay
Hydroponics monitorWatches nutrient temperature and warns before the reservoir runs low.
DS18B20 waterproof temperature probeFloat switch
Pool pump timerRuns the pool pump on a schedule and logs water temperature.
DS18B20 waterproof temperature probe1-channel 5 V relay
BBQ smoker monitorPit temperature on a screen at the smoker and on your phone, with a beep when it drifts.
0.96 in OLED displayActive buzzerMAX31855 thermocouple amplifier
Solar panel output monitorVolts, amps and watts from a small solar panel, shown locally and logged.
0.96 in OLED displayINA219 current and voltage
Litter box monitorCounts litter box visits and tells you when it needs cleaning.
LD2410C mmWave presence radarSGP40 VOC
Dog door monitorLogs every trip through the dog door.
Reed switch / door contact
Hamster wheel counterCounts wheel turns overnight, using a magnet on the wheel.
Reed switch / door contact
Shed intruder alarmA motion sensor and siren for a shed or outbuilding.
PIR motionActive buzzer
Drawer open alertBeeps when a drawer you care about is opened.
Active buzzerReed switch / door contact
Door knock detectorNotices knocks on a door you cannot hear from the back of the house.
SW-420 vibration
Garage presence sensorKnows when someone is in the garage, even standing still at the workbench.
LD2410C mmWave presence radar
Safe humidity monitorWarns you when the inside of a gun safe or document safe gets damp.
BME280 temperature, humidity, pressureActive buzzer
Porch light on motionSwitches the porch light on when someone walks up after dark.
PIR motion1-channel 5 V relay
Panic buttonA big button that sounds an alarm and alerts everyone's phone.
WS2812 LED strip connectorActive buzzerPush button
Fan that follows youRuns a fan only while someone is in the room.
LD2410C mmWave presence radar1-channel 5 V relay
Tiny room thermometerThe smallest useful sensor: temperature and humidity in any room for Home Assistant.
BME280 temperature, humidity, pressure
Sunlight blind openerTilts blinds closed when strong sun hits the window.
BH1750 lightHobby servo connector
Wildfire smoke monitorGlows red when outdoor smoke is getting into the house.
WS2812 LED strip connectorPMS5003 particulate
Classroom CO2 traffic lightGreen, amber, red: a CO2 light anyone can read from across a room.
SCD41 CO2WS2812 LED strip connector
Sauna temperature displayShows the sauna temperature outside the door.
0.96 in OLED displayDS18B20 waterproof temperature probe
Humidor monitorKeeps cigars or instruments at the right humidity.
BME280 temperature, humidity, pressure0.96 in OLED display
Medication fridge loggerLogs a medication fridge's temperature and alarms if it leaves 2-8 °C.
DS18B20 waterproof temperature probeActive buzzer
UV sunburn warningBeeps when the UV index gets high enough to burn.
Active buzzerLTR390 UV index
Wellness check sensorLets family know if there has been no movement by mid-morning.
PIR motion
Bed exit alertChimes when someone gets out of bed at night, for carers.
LD2410C mmWave presence radarActive buzzer
Pill box opened sensorLogs when the pill box was opened, so nobody has to ask.
Reed switch / door contact
Cooktop left-on alarmBeeps when a burner stays hot for too long.
Active buzzerMAX31855 thermocouple amplifier
Plant thirst lightGlows when your houseplant needs water.
Capacitive soil moisture sensor v1.2WS2812 LED strip connector
Weather flagA servo flag that points to sun or rain from the local sensors.
BME280 temperature, humidity, pressureHobby servo connectorRain
Guitar humidity monitorWarns you when the guitar room gets too dry or too damp.
BME280 temperature, humidity, pressureWS2812 LED strip connector
Fermentation controllerHolds homebrew or kombucha at the right temperature with a heat belt.
DS18B20 waterproof temperature probe1-channel 5 V relay
Sourdough rise trackerMeasures how high the starter has risen so you know when it peaks.
VL53L0X distance
Car battery monitorWatches a stored car or motorbike battery so it never goes flat.
INA219 current and voltage
Boat bilge alarmSounds an alarm and runs the pump when bilge water rises.
1-channel 5 V relayActive buzzerFloat switch
Holiday home freeze alarmWarns you if the heating fails at a cabin or second home.
BME280 temperature, humidity, pressureActive buzzer
Mushroom fruiting chamberCO2 and humidity for a fruiting chamber, with a humidifier on a relay.
SCD41 CO21-channel 5 V relay
Aquarium leak alarmA probe under the tank that alerts at the first drip.
DS18B20 waterproof temperature probeWater leak probe
Laundry room watcherWasher done alerts and a leak probe behind the machine.
Water leak probeSW-420 vibration
Chicken coop climate and door alarmTracks coop temperature and humidity and tells you if the coop door is left open at night.
BME280 temperature, humidity, pressureReed switch / door contact
Kombucha brew temperature monitorKeeps a fermenting jar warm by switching a heat mat when the probe reads too cold.
DS18B20 waterproof temperature probe1-channel 5 V relay
Sourdough proofing boxHolds a proofing box at dough-friendly warmth and shows the reading on a small screen.
BME280 temperature, humidity, pressure1-channel 5 V relay
Laundry room leak alarmBeeps and alerts your phone the moment water touches the floor under the washer.
Active buzzerWater leak probe
Dryer done notifierNotices when the dryer stops shaking and sends a notification that the load is done.
SW-420 vibration
Attic heat monitorLogs attic heat and humidity so you can see when ventilation is not keeping up.
BME280 temperature, humidity, pressure
Crawl space humidity alarmWarns when the crawl space gets damp enough to grow mold.
BME280 temperature, humidity, pressureActive buzzer
Window open reminderLights an LED and alerts you when a window is left open while the heating runs.
WS2812 LED strip connectorReed switch / door contact
Bike shed motion lightTurns on an LED strip when someone walks into the bike shed after dark.
PIR motionWS2812 LED strip connector
Hallway night lightSoft LED strip that lights the hallway only when it is dark and someone walks by.
PIR motionWS2812 LED strip connector
Stairwell step lightsLights the stairs as you approach and fades out after you pass.
PIR motionWS2812 LED strip connector
Office air quality monitorShows CO2 and air quality on a small screen so you know when to open a window.
SCD41 CO20.96 in OLED displaySGP40 VOC
Classroom air quality lightGreen, amber or red light that tells a room when it needs fresh air.
SCD41 CO2WS2812 LED strip connector
Wildfire smoke indoor monitorMeasures PM2.5 indoors during smoke season and shows it on a small display.
0.96 in OLED displayPMS5003 particulate
Woodshop dust monitorTurns on the shop air filter when fine dust climbs.
1-channel 5 V relayPMS5003 particulate
Plant light timer with sensorTops up natural light with a grow lamp only when the room is too dim.
1-channel 5 V relay
Herb garden soil monitorShows how wet the herb pot is and reminds you when to water.
0.96 in OLED displayCapacitive soil moisture sensor v1.2
Raised bed irrigation controllerOpens a drip line valve when the bed is dry and closes it when it has had enough.
Capacitive soil moisture sensor v1.21-channel 5 V relay
Rain gauge alertTells you when it starts raining so you can bring the washing in.
Rain
Skylight rain closerTriggers a relay to close a motorised skylight when rain starts.
1-channel 5 V relayRain
Freezer door ajar alarmBeeps if the freezer door is left open and logs the freezer temperature.
DS18B20 waterproof temperature probeActive buzzerReed switch / door contact
Medicine fridge monitorWatches a medicine fridge and alerts you if it leaves a safe range.
DS18B20 waterproof temperature probeActive buzzer
Cat feeder weight monitorLogs how much the cat has eaten by weighing the bowl.
HX711 load cell amplifier
Propane tank gaugeWeighs a grill tank so you know how much gas is left.
HX711 load cell amplifier
Battery bank monitorShows battery voltage and current draw on a small display.
0.96 in OLED displayINA219 current and voltage
E-bike charger monitorCuts the charger off once the current drops, so the battery is not left on charge.
1-channel 5 V relay
Kiln temperature loggerReads high kiln temperatures with a thermocouple and logs the firing curve.
0.96 in OLED displayMAX31855 thermocouple amplifier
Pizza oven thermometerShows pizza oven temperature and beeps when it reaches baking heat.
0.96 in OLED displayActive buzzerMAX31855 thermocouple amplifier
Sun UV index displayShows the UV index so you know when to put on sunscreen.
0.96 in OLED displayLTR390 UV index
Home office presence sensorKnows when you are at your desk, even sitting still, for heating and lighting automations.
BME280 temperature, humidity, pressureBH1750 lightLD2410C mmWave presence radar
Workshop door tamper alarmSounds a buzzer if the workshop door is opened or forced while armed.
Active buzzerReed switch / door contactSW-420 vibration

Questions

What is ESPHome?

ESPHome is free firmware for ESP32 and ESP8266 boards, set up from a YAML file. It connects sensors and switches to Home Assistant over Wi-Fi with no cloud.

Do I need to write code?

No. Each project includes its complete YAML. Paste it into the ESPHome dashboard or the ESPHome web flasher, add your Wi-Fi details and flash.

Which ESP32 does it use?

The boards are laid out for an ESP32-C3 SuperMini, which is small, cheap and runs ESPHome well. The YAML is easy to move to another ESP32.

Want something slightly different?

Describe it in a sentence. Circuit Wish picks the parts, writes the firmware, routes the board and sizes the case.

Design a gadget