Recipes for the boards in your house

ESPHome Guide

Guides to ESPHome hardware support and YAML configuration.

An ESPHome configuration reads like a recipe: the components are the ingredients, the automations are the method, and the board is where it gets cooked. Every guide here is worked from the published documentation, with its sources listed.

From recipe card to working sensor A recipe card lists the ingredients of an ESPHome configuration and flips to its method. A kitchen timer winds down while a development board on a chopping board is compiled and flashed, then an example temperature reading of 21.5 degrees Celsius rises from the board like a souffle. The timer dial figures and the temperature are examples, not measurements. Ingredients esp32 board dht sensor wifi: api: Method 1write the yaml 2compile 3flash the board 4serve 0 15 30 45 21.5 °C
  1. Write the recipe components are the ingredients, automations the method
  2. Bake and flash compile the firmware, then install it on the board
  3. Serve the device reports its readings

Illustration. The temperature and timer values are examples.

On the counter

Recipe card

Left blank, for now

The first guides are being prepared.

In the recipe box

Space for the next recipe.

More guides are being written.

From the kitchen drawer

YAML snippet maker

Pick an ingredient (a DHT sensor, a GPIO input or output, an I²C bus), type a name and a pin, and copy a starting snippet with two-space indents. It only fills fixed templates with what you type.

Make a snippet
binary_sensor:
  - platform: gpio
    pin: GPIO5
    name: "Back Door"
Illustrative YAML example. Use the pin for your own board.