English
English
简体中文
日本語

Unit Fader Home Assistant Integration

This tutorial explains how to integrate Unit Fader with Home Assistant.

1. Preparation

Environment Setup

  1. Follow the official Home Assistant documentation to install Home Assistant. (This tutorial uses Home Assistant 2026.2.0 or later.)
  2. Follow the official ESPHome documentation to install the ESPHome Device Builder add-on. (Note: This tutorial is based on ESPHome 2026.2.2. If you encounter compilation errors, switch to this version first for verification.)

Hardware

2. Firmware Compilation & Flashing

This section explains how to recompile the project based on the yaml configuration file, making it easier to perform secondary development, modify features, or add new features.

Compilation Time
Compiling firmware through HA is resource-intensive. The first compilation may take a long time to download resources, depending on the device running the HA service and network quality.

Create Device

  1. Open ESPHome Dashboard. If the initial wizard appears, click CONTINUE.
  1. Click the green + button in the bottom right to create a new device.
  1. Click New Device Setup to enter the device creation wizard.
  1. Enter a device name and click NEXT.
  1. Select the device type and click ESP32S3.
  1. Click SKIP to skip the encryption key setup.

Modify Configuration

  1. Click EDIT to open the YAML editor and customize the device configuration.

Sensor Configuration

Add the Sensor component to read the potentiometer value.

sensor:
  - platform: adc
    pin: GPIO1
    name: "Fader ADC"
    id: fader_adc
    update_interval: 100ms
    attenuation: 12db
    filters:
      - exponential_moving_average:
          alpha: 0.2

Light Configuration

Add the Light component to control the LED strip.

light:
  - platform: esp32_rmt_led_strip
    rgb_order: GRB
    pin: GPIO2
    num_leds: 14
    name: "Fader LED Strip"
    id: led_strip
    chipset: ws2812

Compile Firmware

  1. After editing the YAML configuration, click SAVE in the top right, then click INSTALL.
  1. In the popup dialog, select Manual Download.
  1. Wait for the firmware to compile, then click Download and choose Factory format (Previously Modern) to save the firmware file locally.
Configuration Example
For a complete configuration example, see Unit Fader.

Flash Firmware

  1. Connect AtomS3R to your computer using a USB Type-C cable. Open ESPHome Web and click CONNECT.
  1. In the serial port selection dialog, select the correct port.
  1. Click INSTALL.
  1. Select the previously downloaded firmware file and start flashing.
Flashing Tip
After flashing is complete, you must restart the device; otherwise, the firmware may not start correctly.

3. Getting Started

  1. In Home Assistant, go to Settings > Devices & Services to open the integration management page.
  1. In the Discovered section, find the Unit Fader device, click CONFIGURE, and follow the wizard to complete the setup.
  1. After the device is added, you can view it in the Devices list.
  1. Finally, add the relevant entities to the Dashboard for control and monitoring.
Page Tools
PDF
On This Page