Examples¶
Example |
Description |
---|---|
Using the binary sensor as a door contact sensor. |
|
Adding simple buttons to the Home Assistant panel. |
|
Publishing the preview from the ESP32-CAM module. |
|
Controlling a window cover (open / close / stop). |
|
Implementation of a simple wall switch that reports press and hold states. |
|
Controlling a simple fan (state + speed). |
|
HVAC controller with multiple modes, power control and target temperature. |
|
A simple door lock that’s controlled by the Home Assistant. |
|
A simple light that allows changing brightness, color temperature and RGB color. |
|
Adding an interactive numeric slider in the Home Assistant panel. |
|
Adding a custom scene in the Home Assistant panel. |
|
A dropdown selector that’s displayed in the Home Assistant panel. |
|
A simple sensor that reports a state in a string representation (open / opening / close). |
|
Reporting the analog pin’s voltage to the Home Assistant. |
|
Reporting the device’s uptime to the Home Assistant. |
|
The LED that’s controlled by the Home Assistant. |
|
Multiple switches controlled by the Home Assistant. |
|
Scanning RFID tags using the MFRC522 module. |
|
Reporting entities’ availability (online / offline) to the Home Assistant. |
|
Advanced availability reporting with MQTT LWT (Last Will and Testament). |
|
Subscribing to custom topics and publishing custom messages. |
|
Establishing connection with a MQTT broker using the credentials. |
|
Basic example for ESP8266 devices. |
|
Basic example for Arduino Nano 33 IoT (SAMD family). |
|
Make your ESP8266 discoverable via the mDNS. |