diff --git a/modules/nixos/homeassistant/services/homeassistant/default.nix b/modules/nixos/homeassistant/services/homeassistant/default.nix index 51279b2..42430c2 100644 --- a/modules/nixos/homeassistant/services/homeassistant/default.nix +++ b/modules/nixos/homeassistant/services/homeassistant/default.nix @@ -338,33 +338,262 @@ in openhasp = { plate = { + nodes = [ + "plate" + ]; + pages_jsonl = [ + "pages.jsonl" + "page1.jsonl" + "page2.jsonl" + ]; objects = [ + + # ----------------------------------------------------------------------- + # PAGE 1 LIGHTS + # ----------------------------------------------------------------------- + + # -- Living Room Lights --- { - obj = "p0b1"; # temperature label on all pages + obj = "p1b11"; # Toggle button properties = { - "text" = ''{{ states("sensor.thermostat_current_temperature") }}°F''; - }; - } - { - obj = "p1b2"; # light-switch toggle button - properties = { - "val" = ''{{ 1 if states("light.living_room_lights") == "on" else 0 }}''; - "text" = ''{{ "\uE6E8" if is_state("light.living_room_lights", "on") else "\uE335" | e }}''; + val = '''{{ 1 if is_state("light.living_room_lights", "on") else 0 }}''; + text = '''{{ "\uE6E8" if is_state("light.living_room_lights", "on") else "\uE335" | e }}''; + text_color = '''{{ "#FFD700" if is_state("light.living_room_lights", "on") else "#666666" }}''; }; event = { - "up" = { - service = "homeassistant.toggle"; - entity_id = "light.living_room_lights"; + down = { + action = "homeassistant.toggle"; + target = { + entity_id = "light.living_room_lights"; + }; }; }; } { - obj = "p1b3"; # dropdown + obj = "p1b12"; # Brightness slider + properties = { + val = '' + {{ state_attr('light.living_room_lights', 'brightness') | int(default=0) + if state_attr('light.living_room_lights', 'brightness') != None else 0 }}''; + click = '''{{ 'false' if is_state('light.living_room_lights', 'off') else 'true' }}''; + }; event = { - "changed" = { - service = "persistent_notification.create"; + changed = { + action = "light.turn_on"; data = { - message = "I like {{ text }}"; + brightness = "{{ val }}"; + }; + target = { + entity_id = "light.living_room_lights"; + }; + }; + up = { + action = "light.turn_on"; + data = { + brightness = "{{ val }}"; + }; + target = { + entity_id = "light.living_room_lights"; + }; + }; + }; + } + # -- Bedroom Lights --- + { + obj = "p1b21"; # Toggle button + properties = { + val = ''{{ 1 if is_state("light.bedroom_lights", "on") else 0 }}''; + text = ''{{ "\uE6E8" if is_state("light.bedroom_lights", "on") else "\uE335" | e }}''; + text_color = ''{{ "#FFD700" if is_state("light.bedroom_lights", "on") else "#666666" }}''; + }; + event = { + down = { + action = "homeassistant.toggle"; + target = { + entity_id = "light.bedroom_lights"; + }; + }; + }; + } + { + obj = "p1b22"; # Brightness slider + properties = { + val = '' + {{ state_attr('light.bedroom_lights', 'brightness') | int(default=0) + if state_attr('light.bedroom_lights', 'brightness') != None else 0 }}''; + click = ''{{ 'false' if is_state('light.bedroom_lights', 'off') else 'true' }}''; + }; + event = { + changed = { + action = "light.turn_on"; + data = { + brightness= "{{ val }}"; + }; + target = { + entity_id = "light.bedroom_lights"; + }; + }; + up = { + action = "light.turn_on"; + data = { + brightness = "{{ val }}"; + }; + target = { + entity_id = "light.bedroom_lights"; + }; + }; + }; + } + # -- Front Closet Lights --- + { + obj = "p1b31"; # Toggle button + properties = { + val = ''{{ 1 if is_state("light.front_closet_lights", "on") else 0 }}''; + text = ''{{ "\uE6E8" if is_state("light.front_closet_lights", "on") else "\uE335" | e }}''; + text_color = ''{{ "#FFD700" if is_state("light.front_closet_lights", "on") else "#666666" }}''; + }; + event = { + down = { + action = "homeassistant.toggle"; + target = { + entity_id = "light.front_closet_lights"; + }; + }; + }; + } + + # ----------------------------------------------------------------------- + # PAGE 2 FANS + # ----------------------------------------------------------------------- + + # -- Bedroom Fan (preset mode = auto/low/medium/high) --- + { + obj = "p2b11"; # Toggle button + properties = { + val = ''{{ 1 if is_state("fan.bedroom_fan", "on") else 0 }}''; + text = ''{{ "\uE210" if is_state("fan.bedroom_fan", "on") else "\uE210" | e }}''; + text_color = ''{{ "#4FC3F7" if is_state("fan.bedroom_fan", "on") else "#666666" }}''; + }; + event = { + down = { + action = "fan.toggle"; + target = { + entity_id = "fan.bedroom_fan"; + }; + }; + }; + } + { + obj = "p2b13"; # Preset mode dropdown (auto/low/medium/high) + properties = { + val = '' + {% set modes = ['auto', 'low', 'medium', 'high'] %} + {% set current = state_attr('fan.bedroom_fan', 'preset_mode') %} + {{ modes.index(current) if current in modes else 0 }}''; + click = ''{{ 'false' if is_state('fan.bedroom_fan', 'off') else 'true' }}''; + }; + event = { + changed = { + action = "fan.set_preset_mode"; + data = { + preset_mode= "{{ text }}"; + }; + target = { + entity_id = "fan.bedroom_fan"; + }; + }; + }; + } + + # -- Bedroom Air Purifier --- + { + obj = "p2b21"; # Toggle button + properties = { + val = ''{{ 1 if is_state("fan.bedroom_air_purifier", "on") else 0 }}''; + text = ''{{ "\uE210" | e }}''; + text_color = ''{{ "#4FC3F7" if is_state("fan.bedroom_air_purifier", "on") else "#666666" }}''; + }; + event = { + down = { + action = "fan.toggle"; + target = { + entity_id = "fan.bedroom_air_purifier"; + }; + }; + }; + } + { + obj = "p2b22"; # Speed slider (0-100%) + properties = { + val = '' + {{ state_attr('fan.bedroom_air_purifier', 'percentage') | int(default=0) + if state_attr('fan.bedroom_air_purifier', 'percentage') != None else 0 }}''; + click = ''{{ 'false' if is_state('fan.bedroom_air_purifier', 'off') else 'true' }}''; + }; + event = { + changed = { + action = "fan.set_percentage"; + data = { + percentage = "{{ val }}"; + }; + target = { + entity_id = "fan.bedroom_air_purifier"; + }; + }; + up = { + action = "fan.set_percentage"; + data = { + percentage = "{{ val }}"; + }; + target = { + entity_id = "fan.bedroom_air_purifier"; + }; + }; + }; + } + + # -- Living Room Air Purifier --- + { + obj = "p2b31"; # Toggle button + properties = { + val = ''{{ 1 if is_state("fan.living_room_air_purifier", "on") else 0 }}''; + text = ''{{ "\uE210" | e }}''; + text_color = ''{{ "#4FC3F7" if is_state("fan.living_room_air_purifier", "on") else "#666666" }}''; + }; + event = { + down = { + action = "fan.toggle"; + target = { + entity_id = "fan.living_room_air_purifier"; + }; + }; + }; + } + { + obj = "p2b32"; # Speed slider (0-100%) + properties = { + val = '' + {{ state_attr('fan.living_room_air_purifier', 'percentage') | int(default=0) + if state_attr('fan.living_room_air_purifier', 'percentage') != None else 0 }}''; + click = ''{{ 'false' if is_state('fan.living_room_air_purifier', 'off') else 'true' }}''; + }; + event = { + changed = { + action = "fan.set_percentage"; + data = { + percentage = "{{ val }}"; + }; + target = { + entity_id = "fan.living_room_air_purifier"; + }; + }; + up = { + action = "fan.set_percentage"; + data = { + percentage = "{{ val }}"; + }; + target = { + entity_id = "fan.living_room_air_purifier"; }; }; }; diff --git a/session-ses_3409.md b/session-ses_3409.md new file mode 100644 index 0000000..fd6ca88 --- /dev/null +++ b/session-ses_3409.md @@ -0,0 +1,2503 @@ +# ESPHome config for ESP32-2432S028 + +**Session ID:** ses_3409197a4ffeDFB0F0zptECF9Z +**Created:** 3/5/2026, 1:16:49 PM +**Updated:** 3/5/2026, 1:24:55 PM + +--- + +## User + +can you generate an esphome config to flash to an esp32-2432s028 + +--- + +## Assistant (Build · anthropic/claude-sonnet-4.6 · 3.0s) + +**Tool: webfetch** + +**Input:** +```json +{ + "url": "https://opencode.ai/docs", + "format": "markdown" +} +``` + +**Output:** +``` +Intro | AI coding agent built for the terminalIntro | OpenCode [Skip to content](#_top) + + [![](/docs/_astro/logo-dark.DOStV66V.svg) ![](/docs/_astro/logo-light.B0yzR0O5.svg) OpenCode](/docs/) + +[app.header.home](/)[app.header.docs](/docs/) + +[](https://github.com/anomalyco/opencode)[](https://opencode.ai/discord) + +Search CtrlK + +Cancel + +- [Intro](/docs/) +- [Config](/docs/config/) +- [Providers](/docs/providers/) +- [Network](/docs/network/) +- [Enterprise](/docs/enterprise/) +- [Troubleshooting](/docs/troubleshooting/) +- [Windows](/docs/windows-wsl) +- Usage + + - [Go](/docs/go/) + - [TUI](/docs/tui/) + - [CLI](/docs/cli/) + - [Web](/docs/web/) + - [IDE](/docs/ide/) + - [Zen](/docs/zen/) + - [Share](/docs/share/) + - [GitHub](/docs/github/) + - [GitLab](/docs/gitlab/) + +- Configure + + - [Tools](/docs/tools/) + - [Rules](/docs/rules/) + - [Agents](/docs/agents/) + - [Models](/docs/models/) + - [Themes](/docs/themes/) + - [Keybinds](/docs/keybinds/) + - [Commands](/docs/commands/) + - [Formatters](/docs/formatters/) + - [Permissions](/docs/permissions/) + - [LSP Servers](/docs/lsp/) + - [MCP servers](/docs/mcp-servers/) + - [ACP Support](/docs/acp/) + - [Agent Skills](/docs/skills/) + - [Custom Tools](/docs/custom-tools/) + +- Develop + + - [SDK](/docs/sdk/) + - [Server](/docs/server/) + - [Plugins](/docs/plugins/) + - [Ecosystem](/docs/ecosystem/) + + +[GitHub](https://github.com/anomalyco/opencode)[Discord](https://opencode.ai/discord) + +Select theme DarkLightAuto Select language EnglishالعربيةBosanskiDanskDeutschEspañolFrançaisItaliano日本語한국어Norsk BokmålPolskiPortuguês (Brasil)РусскийไทยTürkçe简体中文繁體中文 + +On this page + +- [Overview](#_top) +- [Install](#install) +- [Configure](#configure) +- [Initialize](#initialize) +- [Usage](#usage) + - [Ask questions](#ask-questions) + - [Add features](#add-features) + - [Make changes](#make-changes) + - [Undo changes](#undo-changes) +- [Share](#share) +- [Customize](#customize) + +## On this page + +- [Overview](#_top) +- [Install](#install) +- [Configure](#configure) +- [Initialize](#initialize) +- [Usage](#usage) + - [Ask questions](#ask-questions) + - [Add features](#add-features) + - [Make changes](#make-changes) + - [Undo changes](#undo-changes) +- [Share](#share) +- [Customize](#customize) + +# Intro + +Get started with OpenCode. + +[**OpenCode**](/) is an open source AI coding agent. It’s available as a terminal-based interface, desktop app, or IDE extension. + +![OpenCode TUI with the opencode theme](/docs/_astro/screenshot.CQjBbRyJ_1dLadc.webp) + +Let’s get started. + +--- + +#### [Prerequisites](#prerequisites) + +To use OpenCode in your terminal, you’ll need: + +1. A modern terminal emulator like: + + - [WezTerm](https://wezterm.org), cross-platform + - [Alacritty](https://alacritty.org), cross-platform + - [Ghostty](https://ghostty.org), Linux and macOS + - [Kitty](https://sw.kovidgoyal.net/kitty/), Linux and macOS +2. API keys for the LLM providers you want to use. + + +--- + +## [Install](#install) + +The easiest way to install OpenCode is through the install script. + +Terminal window + +``` +curl -fsSL https://opencode.ai/install | bash +``` + +You can also install it with the following commands: + +- **Using Node.js** + + - [npm](#tab-panel-0) + - [Bun](#tab-panel-1) + - [pnpm](#tab-panel-2) + - [Yarn](#tab-panel-3) + + Terminal window + + ``` + npm install -g opencode-ai + ``` + + Terminal window + + ``` + bun install -g opencode-ai + ``` + + Terminal window + + ``` + pnpm install -g opencode-ai + ``` + + Terminal window + + ``` + yarn global add opencode-ai + ``` + +- **Using Homebrew on macOS and Linux** + + Terminal window + + ``` + brew install anomalyco/tap/opencode + ``` + + > We recommend using the OpenCode tap for the most up to date releases. The official `brew install opencode` formula is maintained by the Homebrew team and is updated less frequently. + +- **Installing on Arch Linux** + + Terminal window + + ``` + sudo pacman -S opencode # Arch Linux (Stable)paru -S opencode-bin # Arch Linux (Latest from AUR) + ``` + + +#### [Windows](#windows) + +Recommended: Use WSL + +For the best experience on Windows, we recommend using [Windows Subsystem for Linux (WSL)](/docs/windows-wsl). It provides better performance and full compatibility with OpenCode’s features. + +- **Using Chocolatey** + + Terminal window + + ``` + choco install opencode + ``` + +- **Using Scoop** + + Terminal window + + ``` + scoop install opencode + ``` + +- **Using NPM** + + Terminal window + + ``` + npm install -g opencode-ai + ``` + +- **Using Mise** + + Terminal window + + ``` + mise use -g github:anomalyco/opencode + ``` + +- **Using Docker** + + Terminal window + + ``` + docker run -it --rm ghcr.io/anomalyco/opencode + ``` + + +Support for installing OpenCode on Windows using Bun is currently in progress. + +You can also grab the binary from the [Releases](https://github.com/anomalyco/opencode/releases). + +--- + +## [Configure](#configure) + +With OpenCode you can use any LLM provider by configuring their API keys. + +If you are new to using LLM providers, we recommend using [OpenCode Zen](/docs/zen). It’s a curated list of models that have been tested and verified by the OpenCode team. + +1. Run the `/connect` command in the TUI, select opencode, and head to [opencode.ai/auth](https://opencode.ai/auth). + + ``` + /connect + ``` + +2. Sign in, add your billing details, and copy your API key. + +3. Paste your API key. + + ``` + ┌ API key││└ enter + ``` + + +Alternatively, you can select one of the other providers. [Learn more](/docs/providers#directory). + +--- + +## [Initialize](#initialize) + +Now that you’ve configured a provider, you can navigate to a project that you want to work on. + +Terminal window + +``` +cd /path/to/project +``` + +And run OpenCode. + +Terminal window + +``` +opencode +``` + +Next, initialize OpenCode for the project by running the following command. + +``` +/init +``` + +This will get OpenCode to analyze your project and create an `AGENTS.md` file in the project root. + +Tip + +You should commit your project’s `AGENTS.md` file to Git. + +This helps OpenCode understand the project structure and the coding patterns used. + +--- + +## [Usage](#usage) + +You are now ready to use OpenCode to work on your project. Feel free to ask it anything! + +If you are new to using an AI coding agent, here are some examples that might help. + +--- + +### [Ask questions](#ask-questions) + +You can ask OpenCode to explain the codebase to you. + +Tip + +Use the `@` key to fuzzy search for files in the project. + +``` +How is authentication handled in @packages/functions/src/api/index.ts +``` + +This is helpful if there’s a part of the codebase that you didn’t work on. + +--- + +### [Add features](#add-features) + +You can ask OpenCode to add new features to your project. Though we first recommend asking it to create a plan. + +1. **Create a plan** + + OpenCode has a *Plan mode* that disables its ability to make changes and instead suggest *how* it’ll implement the feature. + + Switch to it using the **Tab** key. You’ll see an indicator for this in the lower right corner. + + ``` + + ``` + + Now let’s describe what we want it to do. + + ``` + When a user deletes a note, we'd like to flag it as deleted in the database.Then create a screen that shows all the recently deleted notes.From this screen, the user can undelete a note or permanently delete it. + ``` + + You want to give OpenCode enough details to understand what you want. It helps to talk to it like you are talking to a junior developer on your team. + + Tip + + Give OpenCode plenty of context and examples to help it understand what you want. + +2. **Iterate on the plan** + + Once it gives you a plan, you can give it feedback or add more details. + + ``` + We'd like to design this new screen using a design I've used before.[Image #1] Take a look at this image and use it as a reference. + ``` + + Tip + + Drag and drop images into the terminal to add them to the prompt. + + OpenCode can scan any images you give it and add them to the prompt. You can do this by dragging and dropping an image into the terminal. + +3. **Build the feature** + + Once you feel comfortable with the plan, switch back to *Build mode* by hitting the **Tab** key again. + + ``` + + ``` + + And asking it to make the changes. + + ``` + Sounds good! Go ahead and make the changes. + ``` + + +--- + +### [Make changes](#make-changes) + +For more straightforward changes, you can ask OpenCode to directly build it without having to review the plan first. + +``` +We need to add authentication to the /settings route. Take a look at how this ishandled in the /notes route in @packages/functions/src/notes.ts and implementthe same logic in @packages/functions/src/settings.ts +``` + +You want to make sure you provide a good amount of detail so OpenCode makes the right changes. + +--- + +### [Undo changes](#undo-changes) + +Let’s say you ask OpenCode to make some changes. + +``` +Can you refactor the function in @packages/functions/src/api/index.ts? +``` + +But you realize that it is not what you wanted. You **can undo** the changes using the `/undo` command. + +``` +/undo +``` + +OpenCode will now revert the changes you made and show your original message again. + +``` +Can you refactor the function in @packages/functions/src/api/index.ts? +``` + +From here you can tweak the prompt and ask OpenCode to try again. + +Tip + +You can run `/undo` multiple times to undo multiple changes. + +Or you **can redo** the changes using the `/redo` command. + +``` +/redo +``` + +--- + +## [Share](#share) + +The conversations that you have with OpenCode can be [shared with your team](/docs/share). + +``` +/share +``` + +This will create a link to the current conversation and copy it to your clipboard. + +Note + +Conversations are not shared by default. + +Here’s an [example conversation](https://opencode.ai/s/4XP1fce5) with OpenCode. + +--- + +## [Customize](#customize) + +And that’s it! You are now a pro at using OpenCode. + +To make it your own, we recommend [picking a theme](/docs/themes), [customizing the keybinds](/docs/keybinds), [configuring code formatters](/docs/formatters), [creating custom commands](/docs/commands), or playing around with the [OpenCode config](/docs/config). + +[Edit page](https://github.com/anomalyco/opencode/edit/dev/packages/web/src/content/docs/index.mdx)[Found a bug? Open an issue](https://github.com/anomalyco/opencode/issues/new)[Join our Discord community](https://opencode.ai/discord) Select language EnglishالعربيةBosanskiDanskDeutschEspañolFrançaisItaliano日本語한국어Norsk BokmålPolskiPortuguês (Brasil)РусскийไทยTürkçe简体中文繁體中文 + +© [Anomaly](https://anoma.ly) + +Last updated: Mar 5, 2026 +``` + +--- + +## Assistant (Build · anthropic/claude-sonnet-4.6 · 3.9s) + +Let me look up the specs for the ESP32-2432S028 to generate an accurate ESPHome config. + +**Tool: webfetch** + +**Input:** +```json +{ + "url": "https://esphome.io/devices/esp32_generic.html", + "format": "markdown" +} +``` + +**Error:** +``` +Error: Request failed with status code: 404 +``` + +**Tool: webfetch** + +**Input:** +```json +{ + "url": "https://esphome.io/components/display/ili9xxx.html", + "format": "markdown" +} +``` + +**Output:** +``` +ILI9xxx TFT LCD Series - ESPHome - Smart Home Made Simple [Skip to content](#_top) + + [![](/_astro/logo-light.zkkuIa5r.svg) ![](/_astro/logo-dark.C15MVUlu.svg) ESPHome - Smart Home Made Simple](/) + +Search CtrlK + +Cancel + +[GitHub](https://github.com/esphome/esphome)[Discord](https://discord.gg/KhAMKrd) + +Select theme DarkLightAuto + +- Getting Started + + - [From Home Assistant](/guides/getting_started_hassio/) + - [Using Command Line](/guides/getting_started_command_line/) + - [Ready-Made Projects](/projects/) + - [Migrate from Tasmota](/guides/migrate_sonoff_tasmota/) + - [FAQ and Tips](/guides/faq/) + +- [Components](/components/) +- All Components + + - 1-Wire Bus + + - [1-Wire Bus](/components/one_wire/) + - [1-Wire Bus via DS2484](/components/one_wire/ds2484/) + - [1-Wire Bus via GPIO](/components/one_wire/gpio/) + + - [AirTouch AT581x Radar](/components/at581x/) + - Alarm Control Panel Component + + - [Alarm Control Panel Component](/components/alarm_control_panel/) + - [Template Alarm Control Panel](/components/alarm_control_panel/template/) + + - [Animation](/components/animation/) + - [Atlas Scientific Peristaltic Pump](/components/ezo_pmp/) + - Audio ADC Core + + - [Audio ADC Core](/components/audio_adc/) + - [ES7210](/components/audio_adc/es7210/) + - [ES7243E](/components/audio_adc/es7243e/) + + - Audio DAC Core + + - [Audio DAC Core](/components/audio_dac/) + - [AIC3204](/components/audio_dac/aic3204/) + - [ES8156](/components/audio_dac/es8156/) + - [ES8311](/components/audio_dac/es8311/) + - [ES8388](/components/audio_dac/es8388/) + + - Binary Sensor Component + + - [Binary Sensor Component](/components/binary_sensor/) + - [Analog Threshold Binary Sensor](/components/binary_sensor/analog_threshold/) + - [ESP32 Bluetooth Low Energy Device](/components/binary_sensor/ble_presence/) + - [CAP1188 Capacitive Touch Sensor](/components/binary_sensor/cap1188/) + - [ESP32 Touch Pad](/components/binary_sensor/esp32_touch/) + - [GPIO Binary Sensor](/components/binary_sensor/gpio/) + - [Haier Climate Binary Sensors](/components/binary_sensor/haier/) + - [Home Assistant Binary Sensor](/components/binary_sensor/homeassistant/) + - [Hydreon Rain Sensor Binary Sensor](/components/binary_sensor/hydreon_rgxx/) + - [LVGL Binary Sensor](/components/binary_sensor/lvgl/) + - [Modbus Controller Binary Sensor](/components/binary_sensor/modbus_controller/) + - [MPR121 Capacitive Touch Sensor](/components/binary_sensor/mpr121/) + - [Nextion Binary Sensor Component](/components/binary_sensor/nextion/) + - [NFC Binary Sensor](/components/binary_sensor/nfc/) + - [Packet Transport Binary Sensor](/components/binary_sensor/packet_transport/) + - [PN532 NFC/RFID](/components/binary_sensor/pn532/) + - [Qwiic PIR Motion Binary Sensor](/components/binary_sensor/qwiic_pir/) + - [RC522 NFC/RFID](/components/binary_sensor/rc522/) + - [RDM6300 NFC/RFID](/components/binary_sensor/rdm6300/) + - [SDL Binary Sensor](/components/binary_sensor/sdl/) + - [Status Binary Sensor](/components/binary_sensor/status/) + - [Switch Binary Sensor](/components/binary_sensor/switch/) + - [Template Binary Sensor](/components/binary_sensor/template/) + - [TTP229 Capacitive Touch Sensor](/components/binary_sensor/ttp229/) + - [Tuya Binary Sensor](/components/binary_sensor/tuya/) + + - [BLE Client](/components/ble_client/) + - [BLE Component](/components/esp32_ble/) + - [BLE Server](/components/esp32_ble_server/) + - [Bluetooth Proxy](/components/bluetooth_proxy/) + - Button Component + + - [Button Component](/components/button/) + - [Factory Reset Button](/components/button/factory_reset/) + - [Haier Climate Buttons](/components/button/haier/) + - [Generic Output Button](/components/button/output/) + - [Restart Button](/components/button/restart/) + - [Safe Mode Button](/components/button/safe_mode/) + - [Shutdown Button](/components/button/shutdown/) + - [Template Button](/components/button/template/) + - [UART Button](/components/button/uart/) + - [Wake-on-LAN Button](/components/button/wake_on_lan/) + + - Camera Component + + - [Camera Component](/components/camera/) + - [Camera Encoder](/components/camera/camera_encoder/) + + - CAN Bus + + - [CAN Bus](/components/canbus/) + - [ESP32 CAN](/components/canbus/esp32_can/) + - [MCP2515](/components/canbus/mcp2515/) + + - [Captive Portal](/components/captive_portal/) + - [CC1101 Low-Power Sub-1 GHz RF Transceiver](/components/cc1101/) + - [CH422G I/O Expander](/components/ch422g/) + - [CH423 I/O Expander](/components/ch423/) + - Climate Component + + - [Climate Component](/components/climate/) + - [Anova Cooker](/components/climate/anova/) + - [Bang Bang Climate Controller](/components/climate/bang_bang/) + - [BedJet](/components/climate/bedjet/) + - [IR Remote Climate](/components/climate/climate_ir/) + - [Haier Climate](/components/climate/haier/) + - [Midea Air Conditioner](/components/climate/midea/) + - [PID Climate](/components/climate/pid/) + - [Thermostat Climate Controller](/components/climate/thermostat/) + - [Tuya Climate](/components/climate/tuya/) + + - [Copy Component](/components/copy/) + - Cover Component + + - [Cover Component](/components/cover/) + - [AM43 Cover](/components/cover/am43/) + - [Current Based Cover](/components/cover/current_based/) + - [Endstop Cover](/components/cover/endstop/) + - [Feedback Cover](/components/cover/feedback/) + - [HE60R Garage Door Opener](/components/cover/he60r/) + - [Template Cover](/components/cover/template/) + - [Time Based Cover](/components/cover/time_based/) + - [Tormatic/Novoferm Cover](/components/cover/tormatic/) + - [Tuya Cover](/components/cover/tuya/) + + - Datetime Component + + - [Datetime Component](/components/datetime/) + - [Template Datetime](/components/datetime/template/) + + - [Debug Component](/components/debug/) + - [Deep Sleep Component](/components/deep_sleep/) + - [Demo Component](/components/demo/) + - [DF-Player mini](/components/dfplayer/) + - [DFRobot mmWave Radar](/components/dfrobot_sen0395/) + - Display Component + + - [Display Component](/components/display/) + - [Addressable Light](/components/display/addressable_light/) + - [ePaper SPI Display](/components/display/epaper_spi/) + - [HUB75 RGB LED Matrix Display](/components/display/hub75/) + - [ILI9xxx TFT LCD Series](/components/display/ili9xxx/) + - [Inkplate 5, 6, 10 and 6 Plus](/components/display/inkplate/) + - [Character-Based LCD Display](/components/display/lcd_display/) + - [MAX7219 7-Segment Display](/components/display/max7219/) + - [MAX7219 Digit Display](/components/display/max7219digit/) + - [MIPI DSI Display Driver](/components/display/mipi_dsi/) + - [MIPI RGB Display Driver](/components/display/mipi_rgb/) + - [MIPI SPI Display Driver](/components/display/mipi_spi/) + - [Nextion TFT LCD Display](/components/display/nextion/) + - [PCD 8544 Display (Nokia 5110/3310)](/components/display/pcd8544/) + - [PVVX MiThermometer Display](/components/display/pvvx_mithermometer/) + - [Quad SPI Displays](/components/display/qspi_dbi/) + - [RPI\_DPI\_RGB Display Driver](/components/display/rpi_dpi_rgb/) + - [SDL2 Display on host platform](/components/display/sdl/) + - [SSD1306 OLED Display](/components/display/ssd1306/) + - [SSD1322 OLED Display](/components/display/ssd1322/) + - [SSD1325/7 OLED Display](/components/display/ssd1325/) + - [SSD1327 OLED Display](/components/display/ssd1327/) + - [SSD1331 OLED Display](/components/display/ssd1331/) + - [SSD1351 OLED Display](/components/display/ssd1351/) + - [ST7567 LCD Graphic Display](/components/display/st7567/) + - [ST7701S Display Driver](/components/display/st7701s/) + - [ST7735 Display](/components/display/st7735/) + - [ST7789V TFT LCD](/components/display/st7789v/) + - [ST7920 LCD Graphic Display](/components/display/st7920/) + - [TM1621 LCD Display](/components/display/tm1621/) + - [TM1637 7-Segment Display](/components/display/tm1637/) + - [TM1638 7 Segment Display Keypad & LED Module](/components/display/tm1638/) + - [Waveshare E-Paper Display](/components/display/waveshare_epaper/) + + - Display Menu + + - [Display Menu](/components/display_menu/) + - [Graphical Display Menu](/components/display_menu/graphical_display_menu/) + - [LCD Menu](/components/display_menu/lcd_menu/) + + - [EMC2101 Fan Controller and Temperature sensor](/components/emc2101/) + - [ESP32 Bluetooth Low Energy Beacon](/components/esp32_ble_beacon/) + - [ESP32 Bluetooth Low Energy Tracker Hub](/components/esp32_ble_tracker/) + - [ESP32 Camera Component](/components/esp32_camera/) + - [ESP32 Camera Web Server Component](/components/esp32_camera_web_server/) + - [ESP32 Hosted](/components/esp32_hosted/) + - [ESP32 Platform](/components/esp32/) + - [ESP32-P4 LDO](/components/esp_ldo/) + - [ESP8266 Platform](/components/esp8266/) + - [ESPHome Core Configuration](/components/esphome/) + - [ESPNow communication Component](/components/espnow/) + - [Ethernet Component](/components/ethernet/) + - Event Component + + - [Event Component](/components/event/) + - [Template Event](/components/event/template/) + - [UART Event](/components/event/uart/) + + - [Exposure Notification Listener](/components/exposure_notifications/) + - [External Components](/components/external_components/) + - [Factory Reset](/components/factory_reset/) + - Fan Component + + - [Fan Component](/components/fan/) + - [Binary Fan](/components/fan/binary/) + - [H-bridge Fan](/components/fan/hbridge/) + - [Speed Fan](/components/fan/speed/) + - [Template Fan](/components/fan/template/) + - [Tuya Fan](/components/fan/tuya/) + + - [Font Renderer Component](/components/font/) + - [Generic I²C device component](/components/i2c_device/) + - [Global Variables](/components/globals/) + - [GPS Component](/components/gps/) + - [Graph Component](/components/graph/) + - [Grove TB6612FNG Motor Drive](/components/grove_tb6612fng/) + - [Grow Fingerprint Reader](/components/fingerprint_grow/) + - [HLK-FM22x Face Recognition Module](/components/hlk_fm22x/) + - [Host Platform](/components/host/) + - [HTTP Request](/components/http_request/) + - [I²C Bus](/components/i2c/) + - [I²S Audio Component](/components/i2s_audio/) + - [Images](/components/image/) + - [Improv via BLE](/components/esp32_improv/) + - [Improv via Serial](/components/improv_serial/) + - Infrared Component + + - [Infrared Component](/components/infrared/) + + - [Interval Component](/components/interval/) + - [IR/RF Proxy](/components/ir_rf_proxy/) + - [json Component](/components/json/) + - [Key collector component](/components/key_collector/) + - [LibreTiny Platform](/components/libretiny/) + - Light Component + + - [Light Component](/components/light/) + - [Beken SPI LED Strip](/components/light/beken_spi_led_strip/) + - [Binary Light](/components/light/binary/) + - [Color Temperature Light](/components/light/color_temperature/) + - [Cold White + Warm White Light](/components/light/cwww/) + - [ESP32 RMT LED Strip](/components/light/esp32_rmt_led_strip/) + - [FastLED Light](/components/light/fastled/) + - [H-bridge Light](/components/light/hbridge/) + - [LVGL Light](/components/light/lvgl/) + - [Monochromatic Light](/components/light/monochromatic/) + - [NeoPixelBus Light](/components/light/neopixelbus/) + - [Light Partition](/components/light/partition/) + - [RGB Light](/components/light/rgb/) + - [RGBCT Light](/components/light/rgbct/) + - [RGBW Light](/components/light/rgbw/) + - [RGBWW Light](/components/light/rgbww/) + - [RP2040 PIO LED Strip](/components/light/rp2040_pio_led_strip/) + - [Shelly Dimmer](/components/light/shelly_dimmer/) + - [Sonoff D1 Dimmer](/components/light/sonoff_d1/) + - [SPI LED Strip Light](/components/light/spi_led_strip/) + - [Status LED Light](/components/light/status_led/) + - [Tuya Dimmer](/components/light/tuya/) + + - [LightWaveRF](/components/lightwaverf/) + - Lock Component + + - [Lock Component](/components/lock/) + - [Generic Output Lock](/components/lock/output/) + - [Template Lock](/components/lock/template/) + + - [Logger Component](/components/logger/) + - LVGL Graphics + + - [LVGL Graphics](/components/lvgl/) + - [LVGL Layouts](/components/lvgl/layouts/) + - [LVGL Widgets](/components/lvgl/widgets/) + + - [Mapping Component](/components/mapping/) + - [Matrix keypad](/components/matrix_keypad/) + - [MAX6956 I/O Expander](/components/max6956/) + - [MCP230xx I/O Expander](/components/mcp230xx/) + - [MCP23Sxx I/O Expander](/components/mcp23Sxx/) + - [mDNS Component](/components/mdns/) + - Media Player Components + + - [Media Player Components](/components/media_player/) + - [I²S Audio Media Player](/components/media_player/i2s_audio/) + - [Speaker Audio Media Player](/components/media_player/speaker/) + + - [Micro Wake Word](/components/micro_wake_word/) + - [MicroNova based pellet stove](/components/micronova/) + - Microphone Components + + - [Microphone Components](/components/microphone/) + - [I²S Audio Microphone](/components/microphone/i2s_audio/) + + - [Modbus Component](/components/modbus/) + - [Modbus Controller](/components/modbus_controller/) + - [MQTT Client Component](/components/mqtt/) + - [Native API Component](/components/api/) + - [Network component](/components/network/) + - [Nordic UART Service (NUS)](/components/ble_nus/) + - [NRF52 Platform](/components/nrf52/) + - Number Component + + - [Number Component](/components/number/) + - [Home Assistant Number](/components/number/homeassistant/) + - [LVGL Number](/components/number/lvgl/) + - [Modbus Controller Number](/components/number/modbus_controller/) + - [Template Number](/components/number/template/) + - [Tuya Number](/components/number/tuya/) + + - [Online Image Component](/components/online_image/) + - [OpenTherm](/components/opentherm/) + - [OpenThread Component](/components/openthread/) + - Output Component + + - [Output Component](/components/output/) + - [AC Dimmer Component](/components/output/ac_dimmer/) + - [BLE Client Binary Output](/components/output/ble_client/) + - [BP1658CJ LED driver](/components/output/bp1658cj/) + - [BP5758D LED driver](/components/output/bp5758d/) + - [DAC7678](/components/output/dac7678/) + - [ESP32 DAC](/components/output/esp32_dac/) + - [ESP8266 Software PWM Output](/components/output/esp8266_pwm/) + - [GP8403 Component](/components/output/gp8403/) + - [GPIO Output](/components/output/gpio/) + - [ESP32 LEDC Output](/components/output/ledc/) + - [LibreTiny PWM Output](/components/output/libretiny_pwm/) + - [MCP4461 Component](/components/output/mcp4461/) + - [MCP4725 Output](/components/output/mcp4725/) + - [MCP4728 Component](/components/output/mcp4728/) + - [MCP47A1 Output](/components/output/mcp47a1/) + - [Modbus Controller Output](/components/output/modbus_controller/) + - [MY9231/MY9291 LED driver](/components/output/my9231/) + - [PCA9685](/components/output/pca9685/) + - [Sigma-Delta Output](/components/output/sigma_delta_output/) + - [Slow PWM Output](/components/output/slow_pwm/) + - [SM16716 LED driver](/components/output/sm16716/) + - [SM2135 LED driver](/components/output/sm2135/) + - [SM2235 LED driver](/components/output/sm2235/) + - [SM2335 LED driver](/components/output/sm2335/) + - [Template Output](/components/output/template/) + - [TLC59208F](/components/output/tlc59208f/) + - [TLC5947 LED driver](/components/output/tlc5947/) + - [TLC5971 LED driver](/components/output/tlc5971/) + - [X9C Potentiometer Output](/components/output/x9c/) + + - Over-the-Air Updates + + - [Over-the-Air Updates](/components/ota/) + - [ESPHome OTA Updates](/components/ota/esphome/) + - [OTA Update via HTTP Request](/components/ota/http_request/) + - [Web Server OTA Updates](/components/ota/web_server/) + + - [Packages](/components/packages/) + - Packet Transport Component + + - [Packet Transport Component](/components/packet_transport/) + - [ESP-NOW Packet Transport Platform](/components/packet_transport/espnow/) + - [SX126x Packet Transport Platform](/components/packet_transport/sx126x/) + - [SX127x Packet Transport Platform](/components/packet_transport/sx127x/) + - [UART Packet Transport Platform](/components/packet_transport/uart/) + - [UDP Packet Transport Platform](/components/packet_transport/udp/) + + - [PCA6416A I/O Expander](/components/pca6416a/) + - [PCA9554 I/O Expander](/components/pca9554/) + - [PCF8574 I/O Expander](/components/pcf8574/) + - [PI4IOE5V6408 8-Bit I2C I/O Expander](/components/pi4ioe5v6408/) + - [PipSolar PV Inverter](/components/pipsolar/) + - [PN7150 NFC](/components/pn7150/) + - [PN7160 NFC](/components/pn7160/) + - [Power Supply Component](/components/power_supply/) + - [Prometheus Component](/components/prometheus/) + - [PSRAM](/components/psram/) + - [Pylontech Battery](/components/pylontech/) + - [QR Code Component](/components/qr_code/) + - [Remote Receiver](/components/remote_receiver/) + - [Remote Transmitter](/components/remote_transmitter/) + - [RF Bridge Component](/components/rf_bridge/) + - [RP2040 Platform](/components/rp2040/) + - [RTTTL Buzzer](/components/rtttl/) + - [Runtime Statistics](/components/runtime_stats/) + - [Safe Mode](/components/safe_mode/) + - [Script Component](/components/script/) + - [Seeed Studio MR24HPC1 mmWave (Kit)](/components/seeed_mr24hpc1/) + - [Seeed Studio MR60BHA2 60GHz mmWave Breathing and Heartbeat Detection Sensor Kit](/components/seeed_mr60bha2/) + - [Seeed Studio MR60FDA2 60GHz mmWave Fall Detection Sensor Kit](/components/seeed_mr60fda2/) + - Select Component + + - [Select Component](/components/select/) + - [Logger Select](/components/select/logger/) + - [LVGL Select](/components/select/lvgl/) + - [Modbus Controller Select](/components/select/modbus_controller/) + - [Template Select](/components/select/template/) + - [Tuya Select](/components/select/tuya/) + + - Sensor Component + + - [Sensor Component](/components/sensor/) + - [A01NYUB Waterproof Ultrasonic Sensor](/components/sensor/a01nyub/) + - [A02YYUW Waterproof Ultrasonic Sensor](/components/sensor/a02yyuw/) + - [Absolute Humidity](/components/sensor/absolute_humidity/) + - [Analog To Digital Sensor](/components/sensor/adc/) + - [ADC128S102 8-Channel 12-Bit A/D Converter](/components/sensor/adc128s102/) + - [ADE7880 Power Sensor](/components/sensor/ade7880/) + - [ADE7953 Power Sensor](/components/sensor/ade7953/) + - [ADS1115 4-Channel 16-Bit A/D Converter](/components/sensor/ads1115/) + - [ADS1118 4-Channel 16-Bit A/D Converter with Internal Temperature Sensor](/components/sensor/ads1118/) + - [AGS10 Volatile Organic Compound (VOC) Sensor](/components/sensor/ags10/) + - [AHT10 Temperature+Humidity Sensor](/components/sensor/aht10/) + - [AirThings BLE Sensors](/components/sensor/airthings_ble/) + - [Grundfos Alpha3](/components/sensor/alpha3/) + - [AM2315C Temperature+Humidity Sensor](/components/sensor/am2315c/) + - [AM2320 Temperature+Humidity Sensor](/components/sensor/am2320/) + - [AM43 Sensor](/components/sensor/am43/) + - [APDS9306 Sensor](/components/sensor/apds9306/) + - [APDS9960 Sensor](/components/sensor/apds9960/) + - [Air Quality Index (AQI)](/components/sensor/aqi/) + - [AMS AS3935 Franklin Lightning Sensor](/components/sensor/as3935/) + - [AS5600 12-Bit Magnetic Position Sensor](/components/sensor/as5600/) + - [AS7341 Spectral Color Sensor](/components/sensor/as7341/) + - [ATM90E26 Power Sensor](/components/sensor/atm90e26/) + - [ATM90E32 Power Sensor](/components/sensor/atm90e32/) + - [b-parasite](/components/sensor/b_parasite/) + - [BH1750 Ambient Light Sensor](/components/sensor/bh1750/) + - [BH1900NUX Temperature Sensor](/components/sensor/bh1900nux/) + - [Binary Sensor Map](/components/sensor/binary_sensor_map/) + - [Belling BL0906 Energy Monitor](/components/sensor/bl0906/) + - [BL0939 Power Sensor](/components/sensor/bl0939/) + - [Belling BL0940 Energy Monitor](/components/sensor/bl0940/) + - [Belling BL0942 Energy Monitor](/components/sensor/bl0942/) + - [BLE Client Sensor](/components/sensor/ble_client/) + - [ESP32 Bluetooth Low Energy RSSI Sensor](/components/sensor/ble_rssi/) + - [BME280 Temperature+Pressure+Humidity Sensor](/components/sensor/bme280/) + - [BME680 Temperature+Pressure+Humidity+Gas Sensor](/components/sensor/bme680/) + - [BME680 Temperature+Pressure+Humidity+Gas Sensor via BSEC](/components/sensor/bme680_bsec/) + - [BME68x Temperature, Humidity, Pressure & Gas Sensor via BSEC2](/components/sensor/bme68x_bsec2/) + - [BMI160 Accelerometer/Gyroscope Sensor](/components/sensor/bmi160/) + - [BMP085 Temperature+Pressure Sensor](/components/sensor/bmp085/) + - [BMP280 Temperature+Pressure Sensor](/components/sensor/bmp280/) + - [BMP388 / BMP390 Temperature+Pressure Sensor](/components/sensor/bmp3xx/) + - [BMP581 Temperature+Pressure Sensor](/components/sensor/bmp581/) + - [CCS811 eCO\_2 and Volatile Organic Compound Sensor](/components/sensor/ccs811/) + - [cd74hc4067 Analog Multiplexer](/components/sensor/cd74hc4067/) + - [CUBIC CM1106 Single Beam NDIR CO2 Sensor Module](/components/sensor/cm1106/) + - [Combine the state of several sensors](/components/sensor/combination/) + - [CS5460A Power Sensor](/components/sensor/cs5460a/) + - [CSE7761 Power Sensor](/components/sensor/cse7761/) + - [CSE7766 Power Sensor](/components/sensor/cse7766/) + - [CT Clamp Current Sensor](/components/sensor/ct_clamp/) + - [Dallas Temperature Sensor](/components/sensor/dallas_temp/) + - [Daly BMS Sensor](/components/sensor/daly_bms/) + - [DHT Temperature+Humidity Sensor](/components/sensor/dht/) + - [DHT12 Temperature+Humidity Sensor](/components/sensor/dht12/) + - [DLMS Meter](/components/sensor/dlms_meter/) + - [DPS310/DPS368 Atmospheric Pressure Sensor](/components/sensor/dps310/) + - [DSMR Component](/components/sensor/dsmr/) + - [Duty Cycle Sensor](/components/sensor/duty_cycle/) + - [Duty Time](/components/sensor/duty_time/) + - [EE895 CO₂, Temperature and Pressure Sensor](/components/sensor/ee895/) + - [ENS160 Volatile Organic Compound (VOC) and eCO₂ Sensor](/components/sensor/ens160/) + - [ENS210 Temperature+Humidity Sensor](/components/sensor/ens210/) + - [EZO sensor circuits](/components/sensor/ezo/) + - [FS3000 Air Velocity Sensor](/components/sensor/fs3000/) + - [Panasonic SN-GCJA5 Particulate Matter Sensor](/components/sensor/gcja5/) + - [FTLab GDK101 Gamma Radiation Sensor Module](/components/sensor/gdk101/) + - [GL-R01 I²C - Time Of Flight Mini LiDAR Laser Ranging Sensor](/components/sensor/gl_r01/) + - [Sharp GP2Y1010AU0F PM2.5 Sensor](/components/sensor/gp2y1010au0f/) + - [Grove Multichannel Gas Sensor V2](/components/sensor/grove_gas_mc_v2/) + - [Growatt Solar](/components/sensor/growatt_solar/) + - [Haier Climate Sensors](/components/sensor/haier/) + - [Havells Solar](/components/sensor/havells_solar/) + - [HC8 CO₂ Sensor](/components/sensor/hc8/) + - [HDC1080 Temperature+Humidity Sensor](/components/sensor/hdc1080/) + - [HDC2010 High Precision Temperature and Humidity Sensor](/components/sensor/hdc2010/) + - [HLW8012 Power Sensor](/components/sensor/hlw8012/) + - [HLW8032 Power Sensor](/components/sensor/hlw8032/) + - [The Grove - Laser PM2.5 Sensor (HM3301)](/components/sensor/hm3301/) + - [HMC5883L Magnetometer](/components/sensor/hmc5883l/) + - [Home Assistant Sensor](/components/sensor/homeassistant/) + - [Honeywell HumidIcon (I2C HIH series) Temperature & Humidity Sensor](/components/sensor/honeywell_hih_i2c/) + - [Honeywell ABP Pressure Sensors](/components/sensor/honeywellabp/) + - [Honeywell ABP 2 Pressure Sensors](/components/sensor/honeywellabp2_i2c/) + - [HRXL/XL MaxSonar WR Series](/components/sensor/hrxl_maxsonar_wr/) + - [HTE501 Temperature+Humidity Sensor](/components/sensor/hte501/) + - [HTU21D | Si7021 | SHT21 Temperature & Humidity Sensor](/components/sensor/htu21d/) + - [HTU31D Temperature & Humidity Sensor](/components/sensor/htu31d/) + - [HX711 Load Cell Amplifier](/components/sensor/hx711/) + - [Hydreon Rain Sensor](/components/sensor/hydreon_rgxx/) + - [HYT271 Temperature & Humidity Sensor](/components/sensor/hyt271/) + - [AMS iAQ-Core Indoor Air Quality Sensor](/components/sensor/iaqcore/) + - [INA219 DC Current Sensor](/components/sensor/ina219/) + - [INA226 DC current and power sensor](/components/sensor/ina226/) + - [INA260 DC Current and Power sensor](/components/sensor/ina260/) + - [INA2xx family of digital power monitors](/components/sensor/ina2xx/) + - [INA3221 3-Channel DC Current Sensor](/components/sensor/ina3221/) + - [Inkbird IBS-TH1, IBS-TH1 Mini, and IBS-TH2 BLE Sensor](/components/sensor/inkbird_ibsth1_mini/) + - [Integration Sensor](/components/sensor/integration/) + - [Internal Temperature Sensor](/components/sensor/internal_temperature/) + - [JSN-SR04T Waterproof Ultrasonic Range Finder](/components/sensor/jsn_sr04t/) + - [Kamstrup Meter Protocol \[KMP\]](/components/sensor/kamstrup_kmp/) + - [M5Stack KMeterISO I2C K-Type probe temperature sensor](/components/sensor/kmeteriso/) + - [Kuntze pool monitor](/components/sensor/kuntze/) + - [LC709203F Battery Monitor](/components/sensor/lc709203f/) + - [LD2410 Sensor](/components/sensor/ld2410/) + - [LD2412 Sensor](/components/sensor/ld2412/) + - [LD2420 24GHz mmWave Radar Sensor](/components/sensor/ld2420/) + - [LD2450 Sensor](/components/sensor/ld2450/) + - [LM75B Temperature Sensor](/components/sensor/lm75b/) + - [LPS22 Barometric Pressure Sensor](/components/sensor/lps22/) + - [LTR390 UV and Ambient Light Sensor](/components/sensor/ltr390/) + - [Lite-On Ambient Light & Proximity Sensors](/components/sensor/ltr501/) + - [Lite-On Ambient Light & Proximity Sensors](/components/sensor/ltr_als_ps/) + - [LVGL Sensor](/components/sensor/lvgl/) + - [M5Stack Unit 8 Angle](/components/sensor/m5stack_8angle/) + - [Analog Devices MAX17043 battery fuel gauge](/components/sensor/max17043/) + - [MAX31855 K-Type Thermocouple Temperature Sensor](/components/sensor/max31855/) + - [MAX31856 Thermocouple Temperature Sensor](/components/sensor/max31856/) + - [MAX31865 Platinum RTD Temperature Sensor](/components/sensor/max31865/) + - [MAX44009 Ambient Light Sensor](/components/sensor/max44009/) + - [MAX6675 K-Type Thermocouple Temperature Sensor](/components/sensor/max6675/) + - [MAX9611/9612 High Side Current+Voltage+Temperature Sensor](/components/sensor/max9611/) + - [MCP3008 8-Channel 10-Bit A/D Converter](/components/sensor/mcp3008/) + - [MCP3204 & MCP3208 12-Bit A/D Converters](/components/sensor/mcp3204/) + - [MCP3221 12-bit ADC](/components/sensor/mcp3221/) + - [MCP9600 Thermocouple Amplifier](/components/sensor/mcp9600/) + - [MCP9808 Temperature Sensor](/components/sensor/mcp9808/) + - [MH-Z19 CO\_2 and Temperature Sensor](/components/sensor/mhz19/) + - [MiCS 4514 Gas Sensor](/components/sensor/mics_4514/) + - [MLX90393 Triple-axis Magnetometer](/components/sensor/mlx90393/) + - [MLX90614 non-contact thermometer](/components/sensor/mlx90614/) + - [MMC5603 Magnetometer](/components/sensor/mmc5603/) + - [MMC5983 Magnetometer](/components/sensor/mmc5983/) + - [Modbus Controller Sensor](/components/sensor/modbus_controller/) + - [Mopeka Pro Check BLE Sensor](/components/sensor/mopeka_pro_check/) + - [Mopeka Standard Check BLE Sensor](/components/sensor/mopeka_std_check/) + - [MPL3115A2 Barometric Pressure/Altitude/Temperature Sensor](/components/sensor/mpl3115a2/) + - [MPU6050 Accelerometer/Gyroscope Sensor](/components/sensor/mpu6050/) + - [MPU6886 Accelerometer/Gyroscope Sensor](/components/sensor/mpu6886/) + - [MQTT Subscribe Sensor](/components/sensor/mqtt_subscribe/) + - [MS5611 Atmospheric Pressure Sensor](/components/sensor/ms5611/) + - [MS8607 Temperature+Pressure+Humidity Sensor](/components/sensor/ms8607/) + - [MSA301 and MSA311 Sensors](/components/sensor/msa3xx/) + - [NAU7802 24-bit ADC](/components/sensor/nau7802/) + - [Nextion Sensor Component](/components/sensor/nextion/) + - [NPI-19 Pressure Sensor](/components/sensor/npi19/) + - [NTC Sensor](/components/sensor/ntc/) + - [OPT3001 Ambient Light Sensor](/components/sensor/opt3001/) + - [Packet Transport Sensor](/components/sensor/packet_transport/) + - [PM1006 Particulate Matter Sensor](/components/sensor/pm1006/) + - [CUBIC PM2005/PM2105 Laser Particle Sensor Module](/components/sensor/pm2005/) + - [PMSA003I Particulate Matter Sensor](/components/sensor/pmsa003i/) + - [PMSX003 Particulate Matter Sensor](/components/sensor/pmsx003/) + - [PMWCS3 Capacitive Soil Moisture and Temperature Sensor](/components/sensor/pmwcs3/) + - [Pulse Counter Sensor](/components/sensor/pulse_counter/) + - [Pulse Meter Sensor](/components/sensor/pulse_meter/) + - [Pulse Width Sensor](/components/sensor/pulse_width/) + - [Peacefair PZEM-004T Energy Monitor](/components/sensor/pzem004t/) + - [Peacefair PZEM-004T V3 Energy Monitor](/components/sensor/pzemac/) + - [Peacefair PZEM-00X DC Energy Monitor](/components/sensor/pzemdc/) + - [QMC5883L Magnetometer](/components/sensor/qmc5883l/) + - [QMP6988 Temperature+Pressure Sensor](/components/sensor/qmp6988/) + - [Radon Eye BLE Sensors](/components/sensor/radon_eye_ble/) + - [RD-03D mmWave Radar](/components/sensor/rd03d/) + - [Resistance Sensor](/components/sensor/resistance/) + - [Rotary Encoder Sensor](/components/sensor/rotary_encoder/) + - [RuuviTag Open Source BLE Sensor](/components/sensor/ruuvitag/) + - [SCD30 CO₂, Temperature and Relative Humidity Sensor](/components/sensor/scd30/) + - [SCD4X CO₂, Temperature and Relative Humidity Sensor](/components/sensor/scd4x/) + - [Eastron SDM Energy Monitor](/components/sensor/sdm_meter/) + - [SDP3x / SDP800 Series Differential Pressure Sensor](/components/sensor/sdp3x/) + - [SDS011 Particulate Matter Sensor](/components/sensor/sds011/) + - [Selec Energy Monitor](/components/sensor/selec_meter/) + - [SEN0321 DFRobot Ozone Sensor](/components/sensor/sen0321/) + - [SEN21231 Person Sensor from Useful Sensors](/components/sensor/sen21231/) + - [Sen5x Series Environmental sensor](/components/sensor/sen5x/) + - [SenseAir CO\_2 Sensor](/components/sensor/senseair/) + - [SFA30 Formaldehyde Sensor](/components/sensor/sfa30/) + - [SGP30 CO₂ and Volatile Organic Compound Sensor](/components/sensor/sgp30/) + - [SGP40 Volatile Organic Compound Sensor and SGP41 VOC and NOx Sensor](/components/sensor/sgp4x/) + - [SHT3X-D Temperature+Humidity Sensor](/components/sensor/sht3xd/) + - [SHT4X Temperature and Humidity Sensor](/components/sensor/sht4x/) + - [SHTCx Temperature+Humidity Sensors](/components/sensor/shtcx/) + - [SM300D2 7-in-1 Air Quality Sensor](/components/sensor/sm300d2/) + - [SMT100 Soil Moisture Sensor](/components/sensor/smt100/) + - [Sound Level Sensor](/components/sensor/sound_level/) + - [SPS30 Particulate Matter Sensor](/components/sensor/sps30/) + - [STS3X Temperature Sensor](/components/sensor/sts3x/) + - [STTS22H Temperature Sensor](/components/sensor/stts22h/) + - [SY6970 Battery Management IC](/components/sensor/sy6970/) + - [T6613/15 CO2 Sensors](/components/sensor/t6615/) + - [TC74 Temperature Sensor](/components/sensor/tc74/) + - [TCS34725 RGB Color Sensor](/components/sensor/tcs34725/) + - [TEE501 Temperature Sensor](/components/sensor/tee501/) + - [Teleinformation from Linky electrical counter.](/components/sensor/teleinfo/) + - [TE-M3200 Pressure Sensor](/components/sensor/tem3200/) + - [Template Sensor](/components/sensor/template/) + - [ThermoPro BLE Sensors](/components/sensor/thermopro_ble/) + - [TMP102 Temperature Sensor](/components/sensor/tmp102/) + - [TMP1075 Temperature Sensor](/components/sensor/tmp1075/) + - [TMP117 Temperature Sensor](/components/sensor/tmp117/) + - [TOF10120 Time Of Flight Distance Sensor](/components/sensor/tof10120/) + - [Total Daily Energy Sensor](/components/sensor/total_daily_energy/) + - [TSL2561 Ambient Light Sensor](/components/sensor/tsl2561/) + - [TSL2591 Ambient Light Sensor](/components/sensor/tsl2591/) + - [Tuya Sensor](/components/sensor/tuya/) + - [TX20/TX23 Wind Speed/Direction Sensor](/components/sensor/tx20/) + - [uFire Isolated EC sensor](/components/sensor/ufire_ec/) + - [uFire ISE pH sensor](/components/sensor/ufire_ise/) + - [Ultrasonic Distance Sensor](/components/sensor/ultrasonic/) + - [Uptime Sensor](/components/sensor/uptime/) + - [VEML3235 Ambient Light Sensor](/components/sensor/veml3235/) + - [VEML7700 and VEML6030 Ambient Light Sensors](/components/sensor/veml7700/) + - [VL53L0X Time Of Flight Distance Sensor](/components/sensor/vl53l0x/) + - [WiFi Signal Sensor](/components/sensor/wifi_signal/) + - [WTS01 Temperature Sensor](/components/sensor/wts01/) + - [CFSensor XGZP68xx Non-C Series Differential Pressure Sensor](/components/sensor/xgzp68xx/) + - [Xiaomi Mijia BLE Sensors](/components/sensor/xiaomi_ble/) + - [HHCCJCY01 Moved To Xiaomi BLE](/components/sensor/xiaomi_hhccjcy01/) + - [HHCCJCY10 Xiaomi MiFlora (Pink version)](/components/sensor/xiaomi_hhccjcy10/) + - [LYWSDCGQ Moved To Xiaomi BLE](/components/sensor/xiaomi_lywsdcgq/) + - [Xiaomi Miscale Sensors](/components/sensor/xiaomi_miscale/) + - [Xiaomi Miscale2 combined into Xiaomi Miscale](/components/sensor/xiaomi_miscale2/) + - [Zio Ultrasonic Distance Sensor](/components/sensor/zio_ultrasonic/) + - [ZyAura CO2 & Temperature & Humidity Sensor](/components/sensor/zyaura/) + + - [Servo Component](/components/servo/) + - [Sim800L Component](/components/sim800l/) + - [SML (Smart Message Language)](/components/sml/) + - [SN74HC165 I/O Expander (shift register)](/components/sn74hc165/) + - [SN74HC595 I/O Expander (shift register)](/components/sn74hc595/) + - Speaker Components + + - [Speaker Components](/components/speaker/) + - [I²S Audio Speaker](/components/speaker/i2s_audio/) + - [Mixer Speaker](/components/speaker/mixer/) + - [Resampler Speaker](/components/speaker/resampler/) + + - [SPI Bus](/components/spi/) + - [Sprinkler Controller](/components/sprinkler/) + - [StatsD](/components/statsd/) + - [Status LED](/components/status_led/) + - Stepper Component + + - [Stepper Component](/components/stepper/) + + - [Substitutions](/components/substitutions/) + - [Sun](/components/sun/) + - [SUN\_GTIL2 Grid Tie Inverter](/components/sun_gtil2/) + - Switch Component + + - [Switch Component](/components/switch/) + - [BLE Client Switch](/components/switch/ble_client/) + - [Factory Reset Switch](/components/switch/factory_reset/) + - [GPIO Switch](/components/switch/gpio/) + - [Haier Climate Switches](/components/switch/haier/) + - [H-bridge Switch](/components/switch/hbridge/) + - [Home Assistant Switch](/components/switch/homeassistant/) + - [LVGL Switch](/components/switch/lvgl/) + - [Modbus Controller Switch](/components/switch/modbus_controller/) + - [Nextion Switch Component](/components/switch/nextion/) + - [Generic Output Switch](/components/switch/output/) + - [Restart Switch](/components/switch/restart/) + - [Safe Mode Switch](/components/switch/safe_mode/) + - [Shutdown Switch](/components/switch/shutdown/) + - [Template Switch](/components/switch/template/) + - [Tuya Switch](/components/switch/tuya/) + - [UART Switch](/components/switch/uart/) + + - [SX126x Component](/components/sx126x/) + - [SX127x Component](/components/sx127x/) + - [SX1509 16 channel I/O Expander with LED driver and keypad engine](/components/sx1509/) + - [Syslog Component](/components/syslog/) + - [TCA9548A I²C Multiplexer](/components/tca9548a/) + - [TCA9555 I/O Expander](/components/tca9555/) + - Text Component + + - [Text Component](/components/text/) + - [LVGL Text](/components/text/lvgl/) + - [Template Text](/components/text/template/) + + - Text Sensor Component + + - [Text Sensor Component](/components/text_sensor/) + - [BLE Client Text Sensor](/components/text_sensor/ble_client/) + - [ESP32 Bluetooth Low Energy Scanner](/components/text_sensor/ble_scanner/) + - [Ethernet Info Text Sensor](/components/text_sensor/ethernet_info/) + - [Haier Climate Text Sensors](/components/text_sensor/haier/) + - [Home Assistant Text Sensor](/components/text_sensor/homeassistant/) + - [Key Collector Text Sensor](/components/text_sensor/key_collector/) + - [LibreTiny Text Sensor](/components/text_sensor/libretiny/) + - [LVGL Text Sensor](/components/text_sensor/lvgl/) + - [Modbus Controller Text Sensor](/components/text_sensor/modbus_controller/) + - [MQTT Subscribe Text Sensor](/components/text_sensor/mqtt_subscribe/) + - [Nextion Text Sensor Component](/components/text_sensor/nextion/) + - [OpenThread Info Text Sensor](/components/text_sensor/openthread_info/) + - [Template Text Sensor](/components/text_sensor/template/) + - [Tuya Text Sensor](/components/text_sensor/tuya/) + - [Uptime Text Sensor](/components/text_sensor/uptime/) + - [Version Text Sensor](/components/text_sensor/version/) + - [WiFi Info Text Sensor](/components/text_sensor/wifi_info/) + - [WL-134 Pet Tag Sensor](/components/text_sensor/wl_134/) + + - Time Component + + - [Time Component](/components/time/) + - [BM8563 Time Source](/components/time/bm8563/) + - [DS1307 Time Source](/components/time/ds1307/) + - [GPS Time Source](/components/time/gps/) + - [Home Assistant Time Source](/components/time/homeassistant/) + - [Host Time Source](/components/time/host/) + - [PCF85063 Time Source](/components/time/pcf85063/) + - [PCF8563 Time Source](/components/time/pcf8563/) + - [RX8130 Time Source](/components/time/rx8130/) + - [SNTP Time Source](/components/time/sntp/) + - [Zigbee Time Source](/components/time/zigbee/) + + - [TinyUSB](/components/tinyusb/) + - [TM1651 Battery Display](/components/tm1651/) + - Touchscreen Components + + - [Touchscreen Components](/components/touchscreen/) + - [AXS15231 Touch Screen Controller](/components/touchscreen/axs15231/) + - [chsc6x Touch Screen Controller](/components/touchscreen/chsc6x/) + - [cst226 Touch Screen Controller](/components/touchscreen/cst226/) + - [cst816 Touch Screen Controller](/components/touchscreen/cst816/) + - [EKTF2232 Touchscreen Controller](/components/touchscreen/ektf2232/) + - [FT5X06 Touch Screen Controller](/components/touchscreen/ft5x06/) + - [FT63X6 Touchscreen Controller](/components/touchscreen/ft63x6/) + - [gt911 Touch Screen Controller](/components/touchscreen/gt911/) + - [Lilygo T5 4.7\\](/components/touchscreen/lilygo_t5_47/) + - [SDL2 Touch Screen Emulator](/components/touchscreen/sdl/) + - [TT21100 Touch Screen Controller](/components/touchscreen/tt21100/) + - [XPT2046 Touch Screen Controller (Updated version)](/components/touchscreen/xpt2046/) + + - [Tuya MCU](/components/tuya/) + - [UART Bus](/components/uart/) + - [UDP Component](/components/udp/) + - Update Core + + - [Update Core](/components/update/) + - [ESP32 Hosted Co-processor Update](/components/update/esp32_hosted/) + - [Managed Updates via HTTP Request](/components/update/http_request/) + + - [Uponor Smatrix Base Pulse Underfloor Heating](/components/uponor_smatrix/) + - [USB CDC-ACM Interface](/components/usb_cdc_acm/) + - [USB Host Interface](/components/usb_host/) + - [USB Host UART Interface](/components/usb_uart/) + - Valve Component + + - [Valve Component](/components/valve/) + - [Template Valve](/components/valve/template/) + + - [VBus Component](/components/vbus/) + - [Voice Assistant](/components/voice_assistant/) + - Water Heater Component + + - [Water Heater Component](/components/water_heater/) + - [Template Water Heater](/components/water_heater/template/) + + - [Web Server Component](/components/web_server/) + - [WeiKai SPI/I²C UART/IO Expander](/components/weikai/) + - [Wiegand keypad and tag reader](/components/wiegand/) + - [WiFi Component](/components/wifi/) + - [WireGuard Component](/components/wireguard/) + - [XL9535 I/O Expander](/components/xl9535/) + - [XXTEA Component](/components/xxtea/) + - [Z-Wave Proxy](/components/zwave_proxy/) + - [Zigbee End Device](/components/zigbee/) + +- Automations + + - [Automation](/automations/) + - [Actions, Triggers, Conditions](/automations/actions/) + - [Templates](/automations/templates/) + +- Guides + + - [Guides](/guides/) + - [Create audio clip files for use with I²S Speakers](/guides/audio_clips_for_i2s/) + - [Command Line Interface](/guides/cli/) + - [Configuration Types](/guides/configuration-types/) + - [Sharing ESPHome devices](/guides/creators/) + - [Using an ESP devboard as a USB-UART bridge](/guides/devboard_as_flasher/) + - [DIY Examples](/guides/diy/) + - [ESP32 Arduino to ESP-IDF Migration Guide](/guides/esp32_arduino_to_idf/) + - [Frequently Asked Questions](/guides/faq/) + - [Getting Started with the ESPHome Command Line](/guides/getting_started_command_line/) + - [Getting Started with ESPHome and Home Assistant](/guides/getting_started_hassio/) + - [Installing ESPHome Manually](/guides/installing_esphome/) + - [Made for ESPHome](/guides/made_for_esphome/) + - [Migrating from ESPEasy](/guides/migrate_espeasy/) + - [Migrating from ESPurna](/guides/migrate_espurna/) + - [Migrating from Tasmota](/guides/migrate_sonoff_tasmota/) + - [Physically Connecting to your Device](/guides/physical_device_connection/) + - [Security Best Practices](/guides/security_best_practices/) + - [Setting up RMT Devices](/guides/setting_up_rmt_devices/) + - [Contributors](/guides/supporters/) + - [Troubleshooting](/guides/troubleshooting/) + - [YAML Configuration in ESPHome](/guides/yaml/) + +- Cookbook + + - [Cookbook](/cookbook/) + - [Arduino Port Expander](/cookbook/arduino_port_extender/) + - [BME280 Environment](/cookbook/bme280_environment/) + - [Time & Temperature on OLED Display](/cookbook/display_time_temp_oled/) + - [ehmtx a matrix status display](/cookbook/ehmtx/) + - [Simple Garage Door](/cookbook/garage-door/) + - [Infostripe](/cookbook/infostrip/) + - [Lambda Magic](/cookbook/lambda_magic/) + - [ESP32 Water Leak Detector (with notification)](/cookbook/leak-detector-m5stickc/) + - [LVGL: Tips and Tricks](/cookbook/lvgl/) + - [Non-Invasive Power Meter](/cookbook/power_meter/) + - [Pulse Catcher](/cookbook/pulse-catcher/) + - [Sonoff Fish Pond Pump](/cookbook/sonoff-fishpond-pump/) + +- Keeping Up + + - [Changelog](/changelog/) + - [Discord](https://discord.gg/KhAMKrd) + - [Forums](https://community.home-assistant.io/c/esphome/) + - [Development](https://developers.esphome.io) + - [Supporters](/guides/supporters/) + +- Changelog + + - [ESPHome 2026.2.0 - February 2026](/changelog/2026.2.0/) + - [ESPHome 2026.1.0 - January 2026](/changelog/2026.1.0/) + - [ESPHome 2025.12.0 - December 2025](/changelog/2025.12.0/) + - [ESPHome 2025.11.0 - November 2025](/changelog/2025.11.0/) + - [ESPHome 2025.10.0 - 15th October 2025](/changelog/2025.10.0/) + - [ESPHome 2025.9.0 - 17th September 2025](/changelog/2025.9.0/) + - [ESPHome 2025.8.0 - 20th August 2025](/changelog/2025.8.0/) + - [ESPHome 2025.7.0 - 16th July 2025](/changelog/2025.7.0/) + - [ESPHome 2025.6.0 - 18th June 2025](/changelog/2025.6.0/) + - [ESPHome 2025.5.0 - 21st May 2025](/changelog/2025.5.0/) + - [ESPHome 2025.4.0 - 16th April 2025](/changelog/2025.4.0/) + - [ESPHome 2025.3.0 - 19th March 2025](/changelog/2025.3.0/) + - [ESPHome 2025.2.0 - 19th February 2025](/changelog/2025.2.0/) + - [ESPHome 2024.12.0 - 18th December 2024](/changelog/2024.12.0/) + - [ESPHome 2024.11.0 - 20th November 2024](/changelog/2024.11.0/) + - [ESPHome 2024.10.0 - 16th October 2024](/changelog/2024.10.0/) + - [ESPHome 2024.9.0 - 18th September 2024](/changelog/2024.9.0/) + - [ESPHome 2024.8.0 - 21st August 2024](/changelog/2024.8.0/) + - [ESPHome 2024.7.0 - 17th July 2024](/changelog/2024.7.0/) + - [ESPHome 2024.6.0 - 19th June 2024](/changelog/2024.6.0/) + - [ESPHome 2024.5.0 - 15th May 2024](/changelog/2024.5.0/) + - [ESPHome 2024.4.0 - 17th April 2024](/changelog/2024.4.0/) + - [ESPHome 2024.3.0 - 20th March 2024](/changelog/2024.3.0/) + - [ESPHome 2024.2.0 - 21st February 2024](/changelog/2024.2.0/) + - [ESPHome 2023.12.0 - 20th December 2023](/changelog/2023.12.0/) + - [ESPHome 2023.11.0 - 15th November 2023](/changelog/2023.11.0/) + - [ESPHome 2023.10.0 - 18th October 2023](/changelog/2023.10.0/) + - [ESPHome 2023.9.0 - 27th September 2023](/changelog/2023.9.0/) + - [ESPHome 2023.8.0 - 16th August 2023](/changelog/2023.8.0/) + - [ESPHome 2023.7.0 - 19th July 2023](/changelog/2023.7.0/) + - [ESPHome 2023.6.0 - 21st June 2023](/changelog/2023.6.0/) + - [ESPHome 2023.5.0 - 17th May 2023](/changelog/2023.5.0/) + - [ESPHome 2023.4.0 - 19th April 2023](/changelog/2023.4.0/) + - [ESPHome 2023.3.0 - 15th March 2023](/changelog/2023.3.0/) + - [ESPHome 2023.2.0 - 15th February 2023](/changelog/2023.2.0/) + - [ESPHome 2022.12.0 - 14th December 2022](/changelog/2022.12.0/) + - [ESPHome 2022.11.0 - 16th November 2022](/changelog/2022.11.0/) + - [ESPHome 2022.10.0 - 19th October 2022](/changelog/2022.10.0/) + - [ESPHome 2022.9.0 - 21st September 2022](/changelog/2022.9.0/) + - [ESPHome 2022.8.0 - 17th August 2022](/changelog/2022.8.0/) + - [ESPHome 2022.6.0 - 15th June 2022](/changelog/2022.6.0/) + - [ESPHome 2022.5.0 - 18th May 2022](/changelog/2022.5.0/) + - [ESPHome 2022.4.0 - 20th April 2022](/changelog/2022.4.0/) + - [ESPHome 2022.3.0 - 16th March 2022](/changelog/2022.3.0/) + - [ESPHome 2022.2.0 - 16th February 2022](/changelog/2022.2.0/) + - [ESPHome 2022.1.0 - 19th January 2022](/changelog/2022.1.0/) + - [ESPHome 2021.12.0 - 11th December 2021](/changelog/2021.12.0/) + - [ESPHome 2021.11.0 - 17th November 2021](/changelog/2021.11.0/) + - [ESPHome 2021.10.0 - 20th October 2021](/changelog/2021.10.0/) + - [ESPHome 2021.9.0 - 15th September 2021](/changelog/2021.9.0/) + - [ESPHome 2021.8.0 - 18th August 2021](/changelog/2021.8.0/) + - [Changelog - Version 1.20.0 - 21st July 2021](/changelog/v1.20.0/) + - [Changelog - Version 1.19.0 - 16th June 2021](/changelog/v1.19.0/) + +...13666 bytes truncated... + +The tool call succeeded but the output was truncated. Full output saved to: /home/admin/.local/share/opencode/tool-output/tool_cbf6e8338001IBvQtmiPngruDA +Use the Task tool to have explore agent process this file with Grep and Read (with offset/limit). Do NOT read the full file yourself - delegate to save context. +``` + +--- + +## Assistant (Build · anthropic/claude-sonnet-4.6 · 2.9s) + +**Tool: webfetch** + +**Input:** +```json +{ + "url": "https://esphome.io/components/touchscreen/xpt2046.html", + "format": "markdown" +} +``` + +**Output:** +``` +XPT2046 Touch Screen Controller (Updated version) - ESPHome - Smart Home Made Simple [Skip to content](#_top) + + [![](/_astro/logo-light.zkkuIa5r.svg) ![](/_astro/logo-dark.C15MVUlu.svg) ESPHome - Smart Home Made Simple](/) + +Search CtrlK + +Cancel + +[GitHub](https://github.com/esphome/esphome)[Discord](https://discord.gg/KhAMKrd) + +Select theme DarkLightAuto + +- Getting Started + + - [From Home Assistant](/guides/getting_started_hassio/) + - [Using Command Line](/guides/getting_started_command_line/) + - [Ready-Made Projects](/projects/) + - [Migrate from Tasmota](/guides/migrate_sonoff_tasmota/) + - [FAQ and Tips](/guides/faq/) + +- [Components](/components/) +- All Components + + - 1-Wire Bus + + - [1-Wire Bus](/components/one_wire/) + - [1-Wire Bus via DS2484](/components/one_wire/ds2484/) + - [1-Wire Bus via GPIO](/components/one_wire/gpio/) + + - [AirTouch AT581x Radar](/components/at581x/) + - Alarm Control Panel Component + + - [Alarm Control Panel Component](/components/alarm_control_panel/) + - [Template Alarm Control Panel](/components/alarm_control_panel/template/) + + - [Animation](/components/animation/) + - [Atlas Scientific Peristaltic Pump](/components/ezo_pmp/) + - Audio ADC Core + + - [Audio ADC Core](/components/audio_adc/) + - [ES7210](/components/audio_adc/es7210/) + - [ES7243E](/components/audio_adc/es7243e/) + + - Audio DAC Core + + - [Audio DAC Core](/components/audio_dac/) + - [AIC3204](/components/audio_dac/aic3204/) + - [ES8156](/components/audio_dac/es8156/) + - [ES8311](/components/audio_dac/es8311/) + - [ES8388](/components/audio_dac/es8388/) + + - Binary Sensor Component + + - [Binary Sensor Component](/components/binary_sensor/) + - [Analog Threshold Binary Sensor](/components/binary_sensor/analog_threshold/) + - [ESP32 Bluetooth Low Energy Device](/components/binary_sensor/ble_presence/) + - [CAP1188 Capacitive Touch Sensor](/components/binary_sensor/cap1188/) + - [ESP32 Touch Pad](/components/binary_sensor/esp32_touch/) + - [GPIO Binary Sensor](/components/binary_sensor/gpio/) + - [Haier Climate Binary Sensors](/components/binary_sensor/haier/) + - [Home Assistant Binary Sensor](/components/binary_sensor/homeassistant/) + - [Hydreon Rain Sensor Binary Sensor](/components/binary_sensor/hydreon_rgxx/) + - [LVGL Binary Sensor](/components/binary_sensor/lvgl/) + - [Modbus Controller Binary Sensor](/components/binary_sensor/modbus_controller/) + - [MPR121 Capacitive Touch Sensor](/components/binary_sensor/mpr121/) + - [Nextion Binary Sensor Component](/components/binary_sensor/nextion/) + - [NFC Binary Sensor](/components/binary_sensor/nfc/) + - [Packet Transport Binary Sensor](/components/binary_sensor/packet_transport/) + - [PN532 NFC/RFID](/components/binary_sensor/pn532/) + - [Qwiic PIR Motion Binary Sensor](/components/binary_sensor/qwiic_pir/) + - [RC522 NFC/RFID](/components/binary_sensor/rc522/) + - [RDM6300 NFC/RFID](/components/binary_sensor/rdm6300/) + - [SDL Binary Sensor](/components/binary_sensor/sdl/) + - [Status Binary Sensor](/components/binary_sensor/status/) + - [Switch Binary Sensor](/components/binary_sensor/switch/) + - [Template Binary Sensor](/components/binary_sensor/template/) + - [TTP229 Capacitive Touch Sensor](/components/binary_sensor/ttp229/) + - [Tuya Binary Sensor](/components/binary_sensor/tuya/) + + - [BLE Client](/components/ble_client/) + - [BLE Component](/components/esp32_ble/) + - [BLE Server](/components/esp32_ble_server/) + - [Bluetooth Proxy](/components/bluetooth_proxy/) + - Button Component + + - [Button Component](/components/button/) + - [Factory Reset Button](/components/button/factory_reset/) + - [Haier Climate Buttons](/components/button/haier/) + - [Generic Output Button](/components/button/output/) + - [Restart Button](/components/button/restart/) + - [Safe Mode Button](/components/button/safe_mode/) + - [Shutdown Button](/components/button/shutdown/) + - [Template Button](/components/button/template/) + - [UART Button](/components/button/uart/) + - [Wake-on-LAN Button](/components/button/wake_on_lan/) + + - Camera Component + + - [Camera Component](/components/camera/) + - [Camera Encoder](/components/camera/camera_encoder/) + + - CAN Bus + + - [CAN Bus](/components/canbus/) + - [ESP32 CAN](/components/canbus/esp32_can/) + - [MCP2515](/components/canbus/mcp2515/) + + - [Captive Portal](/components/captive_portal/) + - [CC1101 Low-Power Sub-1 GHz RF Transceiver](/components/cc1101/) + - [CH422G I/O Expander](/components/ch422g/) + - [CH423 I/O Expander](/components/ch423/) + - Climate Component + + - [Climate Component](/components/climate/) + - [Anova Cooker](/components/climate/anova/) + - [Bang Bang Climate Controller](/components/climate/bang_bang/) + - [BedJet](/components/climate/bedjet/) + - [IR Remote Climate](/components/climate/climate_ir/) + - [Haier Climate](/components/climate/haier/) + - [Midea Air Conditioner](/components/climate/midea/) + - [PID Climate](/components/climate/pid/) + - [Thermostat Climate Controller](/components/climate/thermostat/) + - [Tuya Climate](/components/climate/tuya/) + + - [Copy Component](/components/copy/) + - Cover Component + + - [Cover Component](/components/cover/) + - [AM43 Cover](/components/cover/am43/) + - [Current Based Cover](/components/cover/current_based/) + - [Endstop Cover](/components/cover/endstop/) + - [Feedback Cover](/components/cover/feedback/) + - [HE60R Garage Door Opener](/components/cover/he60r/) + - [Template Cover](/components/cover/template/) + - [Time Based Cover](/components/cover/time_based/) + - [Tormatic/Novoferm Cover](/components/cover/tormatic/) + - [Tuya Cover](/components/cover/tuya/) + + - Datetime Component + + - [Datetime Component](/components/datetime/) + - [Template Datetime](/components/datetime/template/) + + - [Debug Component](/components/debug/) + - [Deep Sleep Component](/components/deep_sleep/) + - [Demo Component](/components/demo/) + - [DF-Player mini](/components/dfplayer/) + - [DFRobot mmWave Radar](/components/dfrobot_sen0395/) + - Display Component + + - [Display Component](/components/display/) + - [Addressable Light](/components/display/addressable_light/) + - [ePaper SPI Display](/components/display/epaper_spi/) + - [HUB75 RGB LED Matrix Display](/components/display/hub75/) + - [ILI9xxx TFT LCD Series](/components/display/ili9xxx/) + - [Inkplate 5, 6, 10 and 6 Plus](/components/display/inkplate/) + - [Character-Based LCD Display](/components/display/lcd_display/) + - [MAX7219 7-Segment Display](/components/display/max7219/) + - [MAX7219 Digit Display](/components/display/max7219digit/) + - [MIPI DSI Display Driver](/components/display/mipi_dsi/) + - [MIPI RGB Display Driver](/components/display/mipi_rgb/) + - [MIPI SPI Display Driver](/components/display/mipi_spi/) + - [Nextion TFT LCD Display](/components/display/nextion/) + - [PCD 8544 Display (Nokia 5110/3310)](/components/display/pcd8544/) + - [PVVX MiThermometer Display](/components/display/pvvx_mithermometer/) + - [Quad SPI Displays](/components/display/qspi_dbi/) + - [RPI\_DPI\_RGB Display Driver](/components/display/rpi_dpi_rgb/) + - [SDL2 Display on host platform](/components/display/sdl/) + - [SSD1306 OLED Display](/components/display/ssd1306/) + - [SSD1322 OLED Display](/components/display/ssd1322/) + - [SSD1325/7 OLED Display](/components/display/ssd1325/) + - [SSD1327 OLED Display](/components/display/ssd1327/) + - [SSD1331 OLED Display](/components/display/ssd1331/) + - [SSD1351 OLED Display](/components/display/ssd1351/) + - [ST7567 LCD Graphic Display](/components/display/st7567/) + - [ST7701S Display Driver](/components/display/st7701s/) + - [ST7735 Display](/components/display/st7735/) + - [ST7789V TFT LCD](/components/display/st7789v/) + - [ST7920 LCD Graphic Display](/components/display/st7920/) + - [TM1621 LCD Display](/components/display/tm1621/) + - [TM1637 7-Segment Display](/components/display/tm1637/) + - [TM1638 7 Segment Display Keypad & LED Module](/components/display/tm1638/) + - [Waveshare E-Paper Display](/components/display/waveshare_epaper/) + + - Display Menu + + - [Display Menu](/components/display_menu/) + - [Graphical Display Menu](/components/display_menu/graphical_display_menu/) + - [LCD Menu](/components/display_menu/lcd_menu/) + + - [EMC2101 Fan Controller and Temperature sensor](/components/emc2101/) + - [ESP32 Bluetooth Low Energy Beacon](/components/esp32_ble_beacon/) + - [ESP32 Bluetooth Low Energy Tracker Hub](/components/esp32_ble_tracker/) + - [ESP32 Camera Component](/components/esp32_camera/) + - [ESP32 Camera Web Server Component](/components/esp32_camera_web_server/) + - [ESP32 Hosted](/components/esp32_hosted/) + - [ESP32 Platform](/components/esp32/) + - [ESP32-P4 LDO](/components/esp_ldo/) + - [ESP8266 Platform](/components/esp8266/) + - [ESPHome Core Configuration](/components/esphome/) + - [ESPNow communication Component](/components/espnow/) + - [Ethernet Component](/components/ethernet/) + - Event Component + + - [Event Component](/components/event/) + - [Template Event](/components/event/template/) + - [UART Event](/components/event/uart/) + + - [Exposure Notification Listener](/components/exposure_notifications/) + - [External Components](/components/external_components/) + - [Factory Reset](/components/factory_reset/) + - Fan Component + + - [Fan Component](/components/fan/) + - [Binary Fan](/components/fan/binary/) + - [H-bridge Fan](/components/fan/hbridge/) + - [Speed Fan](/components/fan/speed/) + - [Template Fan](/components/fan/template/) + - [Tuya Fan](/components/fan/tuya/) + + - [Font Renderer Component](/components/font/) + - [Generic I²C device component](/components/i2c_device/) + - [Global Variables](/components/globals/) + - [GPS Component](/components/gps/) + - [Graph Component](/components/graph/) + - [Grove TB6612FNG Motor Drive](/components/grove_tb6612fng/) + - [Grow Fingerprint Reader](/components/fingerprint_grow/) + - [HLK-FM22x Face Recognition Module](/components/hlk_fm22x/) + - [Host Platform](/components/host/) + - [HTTP Request](/components/http_request/) + - [I²C Bus](/components/i2c/) + - [I²S Audio Component](/components/i2s_audio/) + - [Images](/components/image/) + - [Improv via BLE](/components/esp32_improv/) + - [Improv via Serial](/components/improv_serial/) + - Infrared Component + + - [Infrared Component](/components/infrared/) + + - [Interval Component](/components/interval/) + - [IR/RF Proxy](/components/ir_rf_proxy/) + - [json Component](/components/json/) + - [Key collector component](/components/key_collector/) + - [LibreTiny Platform](/components/libretiny/) + - Light Component + + - [Light Component](/components/light/) + - [Beken SPI LED Strip](/components/light/beken_spi_led_strip/) + - [Binary Light](/components/light/binary/) + - [Color Temperature Light](/components/light/color_temperature/) + - [Cold White + Warm White Light](/components/light/cwww/) + - [ESP32 RMT LED Strip](/components/light/esp32_rmt_led_strip/) + - [FastLED Light](/components/light/fastled/) + - [H-bridge Light](/components/light/hbridge/) + - [LVGL Light](/components/light/lvgl/) + - [Monochromatic Light](/components/light/monochromatic/) + - [NeoPixelBus Light](/components/light/neopixelbus/) + - [Light Partition](/components/light/partition/) + - [RGB Light](/components/light/rgb/) + - [RGBCT Light](/components/light/rgbct/) + - [RGBW Light](/components/light/rgbw/) + - [RGBWW Light](/components/light/rgbww/) + - [RP2040 PIO LED Strip](/components/light/rp2040_pio_led_strip/) + - [Shelly Dimmer](/components/light/shelly_dimmer/) + - [Sonoff D1 Dimmer](/components/light/sonoff_d1/) + - [SPI LED Strip Light](/components/light/spi_led_strip/) + - [Status LED Light](/components/light/status_led/) + - [Tuya Dimmer](/components/light/tuya/) + + - [LightWaveRF](/components/lightwaverf/) + - Lock Component + + - [Lock Component](/components/lock/) + - [Generic Output Lock](/components/lock/output/) + - [Template Lock](/components/lock/template/) + + - [Logger Component](/components/logger/) + - LVGL Graphics + + - [LVGL Graphics](/components/lvgl/) + - [LVGL Layouts](/components/lvgl/layouts/) + - [LVGL Widgets](/components/lvgl/widgets/) + + - [Mapping Component](/components/mapping/) + - [Matrix keypad](/components/matrix_keypad/) + - [MAX6956 I/O Expander](/components/max6956/) + - [MCP230xx I/O Expander](/components/mcp230xx/) + - [MCP23Sxx I/O Expander](/components/mcp23Sxx/) + - [mDNS Component](/components/mdns/) + - Media Player Components + + - [Media Player Components](/components/media_player/) + - [I²S Audio Media Player](/components/media_player/i2s_audio/) + - [Speaker Audio Media Player](/components/media_player/speaker/) + + - [Micro Wake Word](/components/micro_wake_word/) + - [MicroNova based pellet stove](/components/micronova/) + - Microphone Components + + - [Microphone Components](/components/microphone/) + - [I²S Audio Microphone](/components/microphone/i2s_audio/) + + - [Modbus Component](/components/modbus/) + - [Modbus Controller](/components/modbus_controller/) + - [MQTT Client Component](/components/mqtt/) + - [Native API Component](/components/api/) + - [Network component](/components/network/) + - [Nordic UART Service (NUS)](/components/ble_nus/) + - [NRF52 Platform](/components/nrf52/) + - Number Component + + - [Number Component](/components/number/) + - [Home Assistant Number](/components/number/homeassistant/) + - [LVGL Number](/components/number/lvgl/) + - [Modbus Controller Number](/components/number/modbus_controller/) + - [Template Number](/components/number/template/) + - [Tuya Number](/components/number/tuya/) + + - [Online Image Component](/components/online_image/) + - [OpenTherm](/components/opentherm/) + - [OpenThread Component](/components/openthread/) + - Output Component + + - [Output Component](/components/output/) + - [AC Dimmer Component](/components/output/ac_dimmer/) + - [BLE Client Binary Output](/components/output/ble_client/) + - [BP1658CJ LED driver](/components/output/bp1658cj/) + - [BP5758D LED driver](/components/output/bp5758d/) + - [DAC7678](/components/output/dac7678/) + - [ESP32 DAC](/components/output/esp32_dac/) + - [ESP8266 Software PWM Output](/components/output/esp8266_pwm/) + - [GP8403 Component](/components/output/gp8403/) + - [GPIO Output](/components/output/gpio/) + - [ESP32 LEDC Output](/components/output/ledc/) + - [LibreTiny PWM Output](/components/output/libretiny_pwm/) + - [MCP4461 Component](/components/output/mcp4461/) + - [MCP4725 Output](/components/output/mcp4725/) + - [MCP4728 Component](/components/output/mcp4728/) + - [MCP47A1 Output](/components/output/mcp47a1/) + - [Modbus Controller Output](/components/output/modbus_controller/) + - [MY9231/MY9291 LED driver](/components/output/my9231/) + - [PCA9685](/components/output/pca9685/) + - [Sigma-Delta Output](/components/output/sigma_delta_output/) + - [Slow PWM Output](/components/output/slow_pwm/) + - [SM16716 LED driver](/components/output/sm16716/) + - [SM2135 LED driver](/components/output/sm2135/) + - [SM2235 LED driver](/components/output/sm2235/) + - [SM2335 LED driver](/components/output/sm2335/) + - [Template Output](/components/output/template/) + - [TLC59208F](/components/output/tlc59208f/) + - [TLC5947 LED driver](/components/output/tlc5947/) + - [TLC5971 LED driver](/components/output/tlc5971/) + - [X9C Potentiometer Output](/components/output/x9c/) + + - Over-the-Air Updates + + - [Over-the-Air Updates](/components/ota/) + - [ESPHome OTA Updates](/components/ota/esphome/) + - [OTA Update via HTTP Request](/components/ota/http_request/) + - [Web Server OTA Updates](/components/ota/web_server/) + + - [Packages](/components/packages/) + - Packet Transport Component + + - [Packet Transport Component](/components/packet_transport/) + - [ESP-NOW Packet Transport Platform](/components/packet_transport/espnow/) + - [SX126x Packet Transport Platform](/components/packet_transport/sx126x/) + - [SX127x Packet Transport Platform](/components/packet_transport/sx127x/) + - [UART Packet Transport Platform](/components/packet_transport/uart/) + - [UDP Packet Transport Platform](/components/packet_transport/udp/) + + - [PCA6416A I/O Expander](/components/pca6416a/) + - [PCA9554 I/O Expander](/components/pca9554/) + - [PCF8574 I/O Expander](/components/pcf8574/) + - [PI4IOE5V6408 8-Bit I2C I/O Expander](/components/pi4ioe5v6408/) + - [PipSolar PV Inverter](/components/pipsolar/) + - [PN7150 NFC](/components/pn7150/) + - [PN7160 NFC](/components/pn7160/) + - [Power Supply Component](/components/power_supply/) + - [Prometheus Component](/components/prometheus/) + - [PSRAM](/components/psram/) + - [Pylontech Battery](/components/pylontech/) + - [QR Code Component](/components/qr_code/) + - [Remote Receiver](/components/remote_receiver/) + - [Remote Transmitter](/components/remote_transmitter/) + - [RF Bridge Component](/components/rf_bridge/) + - [RP2040 Platform](/components/rp2040/) + - [RTTTL Buzzer](/components/rtttl/) + - [Runtime Statistics](/components/runtime_stats/) + - [Safe Mode](/components/safe_mode/) + - [Script Component](/components/script/) + - [Seeed Studio MR24HPC1 mmWave (Kit)](/components/seeed_mr24hpc1/) + - [Seeed Studio MR60BHA2 60GHz mmWave Breathing and Heartbeat Detection Sensor Kit](/components/seeed_mr60bha2/) + - [Seeed Studio MR60FDA2 60GHz mmWave Fall Detection Sensor Kit](/components/seeed_mr60fda2/) + - Select Component + + - [Select Component](/components/select/) + - [Logger Select](/components/select/logger/) + - [LVGL Select](/components/select/lvgl/) + - [Modbus Controller Select](/components/select/modbus_controller/) + - [Template Select](/components/select/template/) + - [Tuya Select](/components/select/tuya/) + + - Sensor Component + + - [Sensor Component](/components/sensor/) + - [A01NYUB Waterproof Ultrasonic Sensor](/components/sensor/a01nyub/) + - [A02YYUW Waterproof Ultrasonic Sensor](/components/sensor/a02yyuw/) + - [Absolute Humidity](/components/sensor/absolute_humidity/) + - [Analog To Digital Sensor](/components/sensor/adc/) + - [ADC128S102 8-Channel 12-Bit A/D Converter](/components/sensor/adc128s102/) + - [ADE7880 Power Sensor](/components/sensor/ade7880/) + - [ADE7953 Power Sensor](/components/sensor/ade7953/) + - [ADS1115 4-Channel 16-Bit A/D Converter](/components/sensor/ads1115/) + - [ADS1118 4-Channel 16-Bit A/D Converter with Internal Temperature Sensor](/components/sensor/ads1118/) + - [AGS10 Volatile Organic Compound (VOC) Sensor](/components/sensor/ags10/) + - [AHT10 Temperature+Humidity Sensor](/components/sensor/aht10/) + - [AirThings BLE Sensors](/components/sensor/airthings_ble/) + - [Grundfos Alpha3](/components/sensor/alpha3/) + - [AM2315C Temperature+Humidity Sensor](/components/sensor/am2315c/) + - [AM2320 Temperature+Humidity Sensor](/components/sensor/am2320/) + - [AM43 Sensor](/components/sensor/am43/) + - [APDS9306 Sensor](/components/sensor/apds9306/) + - [APDS9960 Sensor](/components/sensor/apds9960/) + - [Air Quality Index (AQI)](/components/sensor/aqi/) + - [AMS AS3935 Franklin Lightning Sensor](/components/sensor/as3935/) + - [AS5600 12-Bit Magnetic Position Sensor](/components/sensor/as5600/) + - [AS7341 Spectral Color Sensor](/components/sensor/as7341/) + - [ATM90E26 Power Sensor](/components/sensor/atm90e26/) + - [ATM90E32 Power Sensor](/components/sensor/atm90e32/) + - [b-parasite](/components/sensor/b_parasite/) + - [BH1750 Ambient Light Sensor](/components/sensor/bh1750/) + - [BH1900NUX Temperature Sensor](/components/sensor/bh1900nux/) + - [Binary Sensor Map](/components/sensor/binary_sensor_map/) + - [Belling BL0906 Energy Monitor](/components/sensor/bl0906/) + - [BL0939 Power Sensor](/components/sensor/bl0939/) + - [Belling BL0940 Energy Monitor](/components/sensor/bl0940/) + - [Belling BL0942 Energy Monitor](/components/sensor/bl0942/) + - [BLE Client Sensor](/components/sensor/ble_client/) + - [ESP32 Bluetooth Low Energy RSSI Sensor](/components/sensor/ble_rssi/) + - [BME280 Temperature+Pressure+Humidity Sensor](/components/sensor/bme280/) + - [BME680 Temperature+Pressure+Humidity+Gas Sensor](/components/sensor/bme680/) + - [BME680 Temperature+Pressure+Humidity+Gas Sensor via BSEC](/components/sensor/bme680_bsec/) + - [BME68x Temperature, Humidity, Pressure & Gas Sensor via BSEC2](/components/sensor/bme68x_bsec2/) + - [BMI160 Accelerometer/Gyroscope Sensor](/components/sensor/bmi160/) + - [BMP085 Temperature+Pressure Sensor](/components/sensor/bmp085/) + - [BMP280 Temperature+Pressure Sensor](/components/sensor/bmp280/) + - [BMP388 / BMP390 Temperature+Pressure Sensor](/components/sensor/bmp3xx/) + - [BMP581 Temperature+Pressure Sensor](/components/sensor/bmp581/) + - [CCS811 eCO\_2 and Volatile Organic Compound Sensor](/components/sensor/ccs811/) + - [cd74hc4067 Analog Multiplexer](/components/sensor/cd74hc4067/) + - [CUBIC CM1106 Single Beam NDIR CO2 Sensor Module](/components/sensor/cm1106/) + - [Combine the state of several sensors](/components/sensor/combination/) + - [CS5460A Power Sensor](/components/sensor/cs5460a/) + - [CSE7761 Power Sensor](/components/sensor/cse7761/) + - [CSE7766 Power Sensor](/components/sensor/cse7766/) + - [CT Clamp Current Sensor](/components/sensor/ct_clamp/) + - [Dallas Temperature Sensor](/components/sensor/dallas_temp/) + - [Daly BMS Sensor](/components/sensor/daly_bms/) + - [DHT Temperature+Humidity Sensor](/components/sensor/dht/) + - [DHT12 Temperature+Humidity Sensor](/components/sensor/dht12/) + - [DLMS Meter](/components/sensor/dlms_meter/) + - [DPS310/DPS368 Atmospheric Pressure Sensor](/components/sensor/dps310/) + - [DSMR Component](/components/sensor/dsmr/) + - [Duty Cycle Sensor](/components/sensor/duty_cycle/) + - [Duty Time](/components/sensor/duty_time/) + - [EE895 CO₂, Temperature and Pressure Sensor](/components/sensor/ee895/) + - [ENS160 Volatile Organic Compound (VOC) and eCO₂ Sensor](/components/sensor/ens160/) + - [ENS210 Temperature+Humidity Sensor](/components/sensor/ens210/) + - [EZO sensor circuits](/components/sensor/ezo/) + - [FS3000 Air Velocity Sensor](/components/sensor/fs3000/) + - [Panasonic SN-GCJA5 Particulate Matter Sensor](/components/sensor/gcja5/) + - [FTLab GDK101 Gamma Radiation Sensor Module](/components/sensor/gdk101/) + - [GL-R01 I²C - Time Of Flight Mini LiDAR Laser Ranging Sensor](/components/sensor/gl_r01/) + - [Sharp GP2Y1010AU0F PM2.5 Sensor](/components/sensor/gp2y1010au0f/) + - [Grove Multichannel Gas Sensor V2](/components/sensor/grove_gas_mc_v2/) + - [Growatt Solar](/components/sensor/growatt_solar/) + - [Haier Climate Sensors](/components/sensor/haier/) + - [Havells Solar](/components/sensor/havells_solar/) + - [HC8 CO₂ Sensor](/components/sensor/hc8/) + - [HDC1080 Temperature+Humidity Sensor](/components/sensor/hdc1080/) + - [HDC2010 High Precision Temperature and Humidity Sensor](/components/sensor/hdc2010/) + - [HLW8012 Power Sensor](/components/sensor/hlw8012/) + - [HLW8032 Power Sensor](/components/sensor/hlw8032/) + - [The Grove - Laser PM2.5 Sensor (HM3301)](/components/sensor/hm3301/) + - [HMC5883L Magnetometer](/components/sensor/hmc5883l/) + - [Home Assistant Sensor](/components/sensor/homeassistant/) + - [Honeywell HumidIcon (I2C HIH series) Temperature & Humidity Sensor](/components/sensor/honeywell_hih_i2c/) + - [Honeywell ABP Pressure Sensors](/components/sensor/honeywellabp/) + - [Honeywell ABP 2 Pressure Sensors](/components/sensor/honeywellabp2_i2c/) + - [HRXL/XL MaxSonar WR Series](/components/sensor/hrxl_maxsonar_wr/) + - [HTE501 Temperature+Humidity Sensor](/components/sensor/hte501/) + - [HTU21D | Si7021 | SHT21 Temperature & Humidity Sensor](/components/sensor/htu21d/) + - [HTU31D Temperature & Humidity Sensor](/components/sensor/htu31d/) + - [HX711 Load Cell Amplifier](/components/sensor/hx711/) + - [Hydreon Rain Sensor](/components/sensor/hydreon_rgxx/) + - [HYT271 Temperature & Humidity Sensor](/components/sensor/hyt271/) + - [AMS iAQ-Core Indoor Air Quality Sensor](/components/sensor/iaqcore/) + - [INA219 DC Current Sensor](/components/sensor/ina219/) + - [INA226 DC current and power sensor](/components/sensor/ina226/) + - [INA260 DC Current and Power sensor](/components/sensor/ina260/) + - [INA2xx family of digital power monitors](/components/sensor/ina2xx/) + - [INA3221 3-Channel DC Current Sensor](/components/sensor/ina3221/) + - [Inkbird IBS-TH1, IBS-TH1 Mini, and IBS-TH2 BLE Sensor](/components/sensor/inkbird_ibsth1_mini/) + - [Integration Sensor](/components/sensor/integration/) + - [Internal Temperature Sensor](/components/sensor/internal_temperature/) + - [JSN-SR04T Waterproof Ultrasonic Range Finder](/components/sensor/jsn_sr04t/) + - [Kamstrup Meter Protocol \[KMP\]](/components/sensor/kamstrup_kmp/) + - [M5Stack KMeterISO I2C K-Type probe temperature sensor](/components/sensor/kmeteriso/) + - [Kuntze pool monitor](/components/sensor/kuntze/) + - [LC709203F Battery Monitor](/components/sensor/lc709203f/) + - [LD2410 Sensor](/components/sensor/ld2410/) + - [LD2412 Sensor](/components/sensor/ld2412/) + - [LD2420 24GHz mmWave Radar Sensor](/components/sensor/ld2420/) + - [LD2450 Sensor](/components/sensor/ld2450/) + - [LM75B Temperature Sensor](/components/sensor/lm75b/) + - [LPS22 Barometric Pressure Sensor](/components/sensor/lps22/) + - [LTR390 UV and Ambient Light Sensor](/components/sensor/ltr390/) + - [Lite-On Ambient Light & Proximity Sensors](/components/sensor/ltr501/) + - [Lite-On Ambient Light & Proximity Sensors](/components/sensor/ltr_als_ps/) + - [LVGL Sensor](/components/sensor/lvgl/) + - [M5Stack Unit 8 Angle](/components/sensor/m5stack_8angle/) + - [Analog Devices MAX17043 battery fuel gauge](/components/sensor/max17043/) + - [MAX31855 K-Type Thermocouple Temperature Sensor](/components/sensor/max31855/) + - [MAX31856 Thermocouple Temperature Sensor](/components/sensor/max31856/) + - [MAX31865 Platinum RTD Temperature Sensor](/components/sensor/max31865/) + - [MAX44009 Ambient Light Sensor](/components/sensor/max44009/) + - [MAX6675 K-Type Thermocouple Temperature Sensor](/components/sensor/max6675/) + - [MAX9611/9612 High Side Current+Voltage+Temperature Sensor](/components/sensor/max9611/) + - [MCP3008 8-Channel 10-Bit A/D Converter](/components/sensor/mcp3008/) + - [MCP3204 & MCP3208 12-Bit A/D Converters](/components/sensor/mcp3204/) + - [MCP3221 12-bit ADC](/components/sensor/mcp3221/) + - [MCP9600 Thermocouple Amplifier](/components/sensor/mcp9600/) + - [MCP9808 Temperature Sensor](/components/sensor/mcp9808/) + - [MH-Z19 CO\_2 and Temperature Sensor](/components/sensor/mhz19/) + - [MiCS 4514 Gas Sensor](/components/sensor/mics_4514/) + - [MLX90393 Triple-axis Magnetometer](/components/sensor/mlx90393/) + - [MLX90614 non-contact thermometer](/components/sensor/mlx90614/) + - [MMC5603 Magnetometer](/components/sensor/mmc5603/) + - [MMC5983 Magnetometer](/components/sensor/mmc5983/) + - [Modbus Controller Sensor](/components/sensor/modbus_controller/) + - [Mopeka Pro Check BLE Sensor](/components/sensor/mopeka_pro_check/) + - [Mopeka Standard Check BLE Sensor](/components/sensor/mopeka_std_check/) + - [MPL3115A2 Barometric Pressure/Altitude/Temperature Sensor](/components/sensor/mpl3115a2/) + - [MPU6050 Accelerometer/Gyroscope Sensor](/components/sensor/mpu6050/) + - [MPU6886 Accelerometer/Gyroscope Sensor](/components/sensor/mpu6886/) + - [MQTT Subscribe Sensor](/components/sensor/mqtt_subscribe/) + - [MS5611 Atmospheric Pressure Sensor](/components/sensor/ms5611/) + - [MS8607 Temperature+Pressure+Humidity Sensor](/components/sensor/ms8607/) + - [MSA301 and MSA311 Sensors](/components/sensor/msa3xx/) + - [NAU7802 24-bit ADC](/components/sensor/nau7802/) + - [Nextion Sensor Component](/components/sensor/nextion/) + - [NPI-19 Pressure Sensor](/components/sensor/npi19/) + - [NTC Sensor](/components/sensor/ntc/) + - [OPT3001 Ambient Light Sensor](/components/sensor/opt3001/) + - [Packet Transport Sensor](/components/sensor/packet_transport/) + - [PM1006 Particulate Matter Sensor](/components/sensor/pm1006/) + - [CUBIC PM2005/PM2105 Laser Particle Sensor Module](/components/sensor/pm2005/) + - [PMSA003I Particulate Matter Sensor](/components/sensor/pmsa003i/) + - [PMSX003 Particulate Matter Sensor](/components/sensor/pmsx003/) + - [PMWCS3 Capacitive Soil Moisture and Temperature Sensor](/components/sensor/pmwcs3/) + - [Pulse Counter Sensor](/components/sensor/pulse_counter/) + - [Pulse Meter Sensor](/components/sensor/pulse_meter/) + - [Pulse Width Sensor](/components/sensor/pulse_width/) + - [Peacefair PZEM-004T Energy Monitor](/components/sensor/pzem004t/) + - [Peacefair PZEM-004T V3 Energy Monitor](/components/sensor/pzemac/) + - [Peacefair PZEM-00X DC Energy Monitor](/components/sensor/pzemdc/) + - [QMC5883L Magnetometer](/components/sensor/qmc5883l/) + - [QMP6988 Temperature+Pressure Sensor](/components/sensor/qmp6988/) + - [Radon Eye BLE Sensors](/components/sensor/radon_eye_ble/) + - [RD-03D mmWave Radar](/components/sensor/rd03d/) + - [Resistance Sensor](/components/sensor/resistance/) + - [Rotary Encoder Sensor](/components/sensor/rotary_encoder/) + - [RuuviTag Open Source BLE Sensor](/components/sensor/ruuvitag/) + - [SCD30 CO₂, Temperature and Relative Humidity Sensor](/components/sensor/scd30/) + - [SCD4X CO₂, Temperature and Relative Humidity Sensor](/components/sensor/scd4x/) + - [Eastron SDM Energy Monitor](/components/sensor/sdm_meter/) + - [SDP3x / SDP800 Series Differential Pressure Sensor](/components/sensor/sdp3x/) + - [SDS011 Particulate Matter Sensor](/components/sensor/sds011/) + - [Selec Energy Monitor](/components/sensor/selec_meter/) + - [SEN0321 DFRobot Ozone Sensor](/components/sensor/sen0321/) + - [SEN21231 Person Sensor from Useful Sensors](/components/sensor/sen21231/) + - [Sen5x Series Environmental sensor](/components/sensor/sen5x/) + - [SenseAir CO\_2 Sensor](/components/sensor/senseair/) + - [SFA30 Formaldehyde Sensor](/components/sensor/sfa30/) + - [SGP30 CO₂ and Volatile Organic Compound Sensor](/components/sensor/sgp30/) + - [SGP40 Volatile Organic Compound Sensor and SGP41 VOC and NOx Sensor](/components/sensor/sgp4x/) + - [SHT3X-D Temperature+Humidity Sensor](/components/sensor/sht3xd/) + - [SHT4X Temperature and Humidity Sensor](/components/sensor/sht4x/) + - [SHTCx Temperature+Humidity Sensors](/components/sensor/shtcx/) + - [SM300D2 7-in-1 Air Quality Sensor](/components/sensor/sm300d2/) + - [SMT100 Soil Moisture Sensor](/components/sensor/smt100/) + - [Sound Level Sensor](/components/sensor/sound_level/) + - [SPS30 Particulate Matter Sensor](/components/sensor/sps30/) + - [STS3X Temperature Sensor](/components/sensor/sts3x/) + - [STTS22H Temperature Sensor](/components/sensor/stts22h/) + - [SY6970 Battery Management IC](/components/sensor/sy6970/) + - [T6613/15 CO2 Sensors](/components/sensor/t6615/) + - [TC74 Temperature Sensor](/components/sensor/tc74/) + - [TCS34725 RGB Color Sensor](/components/sensor/tcs34725/) + - [TEE501 Temperature Sensor](/components/sensor/tee501/) + - [Teleinformation from Linky electrical counter.](/components/sensor/teleinfo/) + - [TE-M3200 Pressure Sensor](/components/sensor/tem3200/) + - [Template Sensor](/components/sensor/template/) + - [ThermoPro BLE Sensors](/components/sensor/thermopro_ble/) + - [TMP102 Temperature Sensor](/components/sensor/tmp102/) + - [TMP1075 Temperature Sensor](/components/sensor/tmp1075/) + - [TMP117 Temperature Sensor](/components/sensor/tmp117/) + - [TOF10120 Time Of Flight Distance Sensor](/components/sensor/tof10120/) + - [Total Daily Energy Sensor](/components/sensor/total_daily_energy/) + - [TSL2561 Ambient Light Sensor](/components/sensor/tsl2561/) + - [TSL2591 Ambient Light Sensor](/components/sensor/tsl2591/) + - [Tuya Sensor](/components/sensor/tuya/) + - [TX20/TX23 Wind Speed/Direction Sensor](/components/sensor/tx20/) + - [uFire Isolated EC sensor](/components/sensor/ufire_ec/) + - [uFire ISE pH sensor](/components/sensor/ufire_ise/) + - [Ultrasonic Distance Sensor](/components/sensor/ultrasonic/) + - [Uptime Sensor](/components/sensor/uptime/) + - [VEML3235 Ambient Light Sensor](/components/sensor/veml3235/) + - [VEML7700 and VEML6030 Ambient Light Sensors](/components/sensor/veml7700/) + - [VL53L0X Time Of Flight Distance Sensor](/components/sensor/vl53l0x/) + - [WiFi Signal Sensor](/components/sensor/wifi_signal/) + - [WTS01 Temperature Sensor](/components/sensor/wts01/) + - [CFSensor XGZP68xx Non-C Series Differential Pressure Sensor](/components/sensor/xgzp68xx/) + - [Xiaomi Mijia BLE Sensors](/components/sensor/xiaomi_ble/) + - [HHCCJCY01 Moved To Xiaomi BLE](/components/sensor/xiaomi_hhccjcy01/) + - [HHCCJCY10 Xiaomi MiFlora (Pink version)](/components/sensor/xiaomi_hhccjcy10/) + - [LYWSDCGQ Moved To Xiaomi BLE](/components/sensor/xiaomi_lywsdcgq/) + - [Xiaomi Miscale Sensors](/components/sensor/xiaomi_miscale/) + - [Xiaomi Miscale2 combined into Xiaomi Miscale](/components/sensor/xiaomi_miscale2/) + - [Zio Ultrasonic Distance Sensor](/components/sensor/zio_ultrasonic/) + - [ZyAura CO2 & Temperature & Humidity Sensor](/components/sensor/zyaura/) + + - [Servo Component](/components/servo/) + - [Sim800L Component](/components/sim800l/) + - [SML (Smart Message Language)](/components/sml/) + - [SN74HC165 I/O Expander (shift register)](/components/sn74hc165/) + - [SN74HC595 I/O Expander (shift register)](/components/sn74hc595/) + - Speaker Components + + - [Speaker Components](/components/speaker/) + - [I²S Audio Speaker](/components/speaker/i2s_audio/) + - [Mixer Speaker](/components/speaker/mixer/) + - [Resampler Speaker](/components/speaker/resampler/) + + - [SPI Bus](/components/spi/) + - [Sprinkler Controller](/components/sprinkler/) + - [StatsD](/components/statsd/) + - [Status LED](/components/status_led/) + - Stepper Component + + - [Stepper Component](/components/stepper/) + + - [Substitutions](/components/substitutions/) + - [Sun](/components/sun/) + - [SUN\_GTIL2 Grid Tie Inverter](/components/sun_gtil2/) + - Switch Component + + - [Switch Component](/components/switch/) + - [BLE Client Switch](/components/switch/ble_client/) + - [Factory Reset Switch](/components/switch/factory_reset/) + - [GPIO Switch](/components/switch/gpio/) + - [Haier Climate Switches](/components/switch/haier/) + - [H-bridge Switch](/components/switch/hbridge/) + - [Home Assistant Switch](/components/switch/homeassistant/) + - [LVGL Switch](/components/switch/lvgl/) + - [Modbus Controller Switch](/components/switch/modbus_controller/) + - [Nextion Switch Component](/components/switch/nextion/) + - [Generic Output Switch](/components/switch/output/) + - [Restart Switch](/components/switch/restart/) + - [Safe Mode Switch](/components/switch/safe_mode/) + - [Shutdown Switch](/components/switch/shutdown/) + - [Template Switch](/components/switch/template/) + - [Tuya Switch](/components/switch/tuya/) + - [UART Switch](/components/switch/uart/) + + - [SX126x Component](/components/sx126x/) + - [SX127x Component](/components/sx127x/) + - [SX1509 16 channel I/O Expander with LED driver and keypad engine](/components/sx1509/) + - [Syslog Component](/components/syslog/) + - [TCA9548A I²C Multiplexer](/components/tca9548a/) + - [TCA9555 I/O Expander](/components/tca9555/) + - Text Component + + - [Text Component](/components/text/) + - [LVGL Text](/components/text/lvgl/) + - [Template Text](/components/text/template/) + + - Text Sensor Component + + - [Text Sensor Component](/components/text_sensor/) + - [BLE Client Text Sensor](/components/text_sensor/ble_client/) + - [ESP32 Bluetooth Low Energy Scanner](/components/text_sensor/ble_scanner/) + - [Ethernet Info Text Sensor](/components/text_sensor/ethernet_info/) + - [Haier Climate Text Sensors](/components/text_sensor/haier/) + - [Home Assistant Text Sensor](/components/text_sensor/homeassistant/) + - [Key Collector Text Sensor](/components/text_sensor/key_collector/) + - [LibreTiny Text Sensor](/components/text_sensor/libretiny/) + - [LVGL Text Sensor](/components/text_sensor/lvgl/) + - [Modbus Controller Text Sensor](/components/text_sensor/modbus_controller/) + - [MQTT Subscribe Text Sensor](/components/text_sensor/mqtt_subscribe/) + - [Nextion Text Sensor Component](/components/text_sensor/nextion/) + - [OpenThread Info Text Sensor](/components/text_sensor/openthread_info/) + - [Template Text Sensor](/components/text_sensor/template/) + - [Tuya Text Sensor](/components/text_sensor/tuya/) + - [Uptime Text Sensor](/components/text_sensor/uptime/) + - [Version Text Sensor](/components/text_sensor/version/) + - [WiFi Info Text Sensor](/components/text_sensor/wifi_info/) + - [WL-134 Pet Tag Sensor](/components/text_sensor/wl_134/) + + - Time Component + + - [Time Component](/components/time/) + - [BM8563 Time Source](/components/time/bm8563/) + - [DS1307 Time Source](/components/time/ds1307/) + - [GPS Time Source](/components/time/gps/) + - [Home Assistant Time Source](/components/time/homeassistant/) + - [Host Time Source](/components/time/host/) + - [PCF85063 Time Source](/components/time/pcf85063/) + - [PCF8563 Time Source](/components/time/pcf8563/) + - [RX8130 Time Source](/components/time/rx8130/) + - [SNTP Time Source](/components/time/sntp/) + - [Zigbee Time Source](/components/time/zigbee/) + + - [TinyUSB](/components/tinyusb/) + - [TM1651 Battery Display](/components/tm1651/) + - Touchscreen Components + + - [Touchscreen Components](/components/touchscreen/) + - [AXS15231 Touch Screen Controller](/components/touchscreen/axs15231/) + - [chsc6x Touch Screen Controller](/components/touchscreen/chsc6x/) + - [cst226 Touch Screen Controller](/components/touchscreen/cst226/) + - [cst816 Touch Screen Controller](/components/touchscreen/cst816/) + - [EKTF2232 Touchscreen Controller](/components/touchscreen/ektf2232/) + - [FT5X06 Touch Screen Controller](/components/touchscreen/ft5x06/) + - [FT63X6 Touchscreen Controller](/components/touchscreen/ft63x6/) + - [gt911 Touch Screen Controller](/components/touchscreen/gt911/) + - [Lilygo T5 4.7\\](/components/touchscreen/lilygo_t5_47/) + - [SDL2 Touch Screen Emulator](/components/touchscreen/sdl/) + - [TT21100 Touch Screen Controller](/components/touchscreen/tt21100/) + - [XPT2046 Touch Screen Controller (Updated version)](/components/touchscreen/xpt2046/) + + - [Tuya MCU](/components/tuya/) + - [UART Bus](/components/uart/) + - [UDP Component](/components/udp/) + - Update Core + + - [Update Core](/components/update/) + - [ESP32 Hosted Co-processor Update](/components/update/esp32_hosted/) + - [Managed Updates via HTTP Request](/components/update/http_request/) + + - [Uponor Smatrix Base Pulse Underfloor Heating](/components/uponor_smatrix/) + - [USB CDC-ACM Interface](/components/usb_cdc_acm/) + - [USB Host Interface](/components/usb_host/) + - [USB Host UART Interface](/components/usb_uart/) + - Valve Component + + - [Valve Component](/components/valve/) + - [Template Valve](/components/valve/template/) + + - [VBus Component](/components/vbus/) + - [Voice Assistant](/components/voice_assistant/) + - Water Heater Component + + - [Water Heater Component](/components/water_heater/) + - [Template Water Heater](/components/water_heater/template/) + + - [Web Server Component](/components/web_server/) + - [WeiKai SPI/I²C UART/IO Expander](/components/weikai/) + - [Wiegand keypad and tag reader](/components/wiegand/) + - [WiFi Component](/components/wifi/) + - [WireGuard Component](/components/wireguard/) + - [XL9535 I/O Expander](/components/xl9535/) + - [XXTEA Component](/components/xxtea/) + - [Z-Wave Proxy](/components/zwave_proxy/) + - [Zigbee End Device](/components/zigbee/) + +- Automations + + - [Automation](/automations/) + - [Actions, Triggers, Conditions](/automations/actions/) + - [Templates](/automations/templates/) + +- Guides + + - [Guides](/guides/) + - [Create audio clip files for use with I²S Speakers](/guides/audio_clips_for_i2s/) + - [Command Line Interface](/guides/cli/) + - [Configuration Types](/guides/configuration-types/) + - [Sharing ESPHome devices](/guides/creators/) + - [Using an ESP devboard as a USB-UART bridge](/guides/devboard_as_flasher/) + - [DIY Examples](/guides/diy/) + - [ESP32 Arduino to ESP-IDF Migration Guide](/guides/esp32_arduino_to_idf/) + - [Frequently Asked Questions](/guides/faq/) + - [Getting Started with the ESPHome Command Line](/guides/getting_started_command_line/) + - [Getting Started with ESPHome and Home Assistant](/guides/getting_started_hassio/) + - [Installing ESPHome Manually](/guides/installing_esphome/) + - [Made for ESPHome](/guides/made_for_esphome/) + - [Migrating from ESPEasy](/guides/migrate_espeasy/) + - [Migrating from ESPurna](/guides/migrate_espurna/) + - [Migrating from Tasmota](/guides/migrate_sonoff_tasmota/) + - [Physically Connecting to your Device](/guides/physical_device_connection/) + - [Security Best Practices](/guides/security_best_practices/) + - [Setting up RMT Devices](/guides/setting_up_rmt_devices/) + - [Contributors](/guides/supporters/) + - [Troubleshooting](/guides/troubleshooting/) + - [YAML Configuration in ESPHome](/guides/yaml/) + +- Cookbook + + - [Cookbook](/cookbook/) + - [Arduino Port Expander](/cookbook/arduino_port_extender/) + - [BME280 Environment](/cookbook/bme280_environment/) + - [Time & Temperature on OLED Display](/cookbook/display_time_temp_oled/) + - [ehmtx a matrix status display](/cookbook/ehmtx/) + - [Simple Garage Door](/cookbook/garage-door/) + - [Infostripe](/cookbook/infostrip/) + - [Lambda Magic](/cookbook/lambda_magic/) + - [ESP32 Water Leak Detector (with notification)](/cookbook/leak-detector-m5stickc/) + - [LVGL: Tips and Tricks](/cookbook/lvgl/) + - [Non-Invasive Power Meter](/cookbook/power_meter/) + - [Pulse Catcher](/cookbook/pulse-catcher/) + - [Sonoff Fish Pond Pump](/cookbook/sonoff-fishpond-pump/) + +- Keeping Up + + - [Changelog](/changelog/) + - [Discord](https://discord.gg/KhAMKrd) + - [Forums](https://community.home-assistant.io/c/esphome/) + - [Development](https://developers.esphome.io) + - [Supporters](/guides/supporters/) + +- Changelog + + - [ESPHome 2026.2.0 - February 2026](/changelog/2026.2.0/) + - [ESPHome 2026.1.0 - January 2026](/changelog/2026.1.0/) + - [ESPHome 2025.12.0 - December 2025](/changelog/2025.12.0/) + - [ESPHome 2025.11.0 - November 2025](/changelog/2025.11.0/) + - [ESPHome 2025.10.0 - 15th October 2025](/changelog/2025.10.0/) + - [ESPHome 2025.9.0 - 17th September 2025](/changelog/2025.9.0/) + - [ESPHome 2025.8.0 - 20th August 2025](/changelog/2025.8.0/) + - [ESPHome 2025.7.0 - 16th July 2025](/changelog/2025.7.0/) + - [ESPHome 2025.6.0 - 18th June 2025](/changelog/2025.6.0/) + - [ESPHome 2025.5.0 - 21st May 2025](/changelog/2025.5.0/) + - [ESPHome 2025.4.0 - 16th April 2025](/changelog/2025.4.0/) + - [ESPHome 2025.3.0 - 19th March 2025](/changelog/2025.3.0/) + - [ESPHome 2025.2.0 - 19th February 2025](/changelog/2025.2.0/) + - [ESPHome 2024.12.0 - 18th December 2024](/changelog/2024.12.0/) + - [ESPHome 2024.11.0 - 20th November 2024](/changelog/2024.11.0/) + - [ESPHome 2024.10.0 - 16th October 2024](/changelog/2024.10.0/) + - [ESPHome 2024.9.0 - 18th September 2024](/changelog/2024.9.0/) + - [ESPHome 2024.8.0 - 21st August 2024](/changelog/2024.8.0/) + - [ESPHome 2024.7.0 - 17th July 2024](/changelog/2024.7.0/) + - [ESPHome 2024.6.0 - 19th June 2024](/changelog/2024.6.0/) + - [ESPHome 2024.5.0 - 15th May 2024](/changelog/2024.5.0/) + - [ESPHome 2024.4.0 - 17th April 2024](/changelog/2024.4.0/) + - [ESPHome 2024.3.0 - 20th March 2024](/changelog/2024.3.0/) + - [ESPHome 2024.2.0 - 21st February 2024](/changelog/2024.2.0/) + - [ESPHome 2023.12.0 - 20th December 2023](/changelog/2023.12.0/) + - [ESPHome 2023.11.0 - 15th November 2023](/changelog/2023.11.0/) + - [ESPHome 2023.10.0 - 18th October 2023](/changelog/2023.10.0/) + - [ESPHome 2023.9.0 - 27th September 2023](/changelog/2023.9.0/) + - [ESPHome 2023.8.0 - 16th August 2023](/changelog/2023.8.0/) + - [ESPHome 2023.7.0 - 19th July 2023](/changelog/2023.7.0/) + - [ESPHome 2023.6.0 - 21st June 2023](/changelog/2023.6.0/) + - [ESPHome 2023.5.0 - 17th May 2023](/changelog/2023.5.0/) + - [ESPHome 2023.4.0 - 19th April 2023](/changelog/2023.4.0/) + - [ESPHome 2023.3.0 - 15th March 2023](/changelog/2023.3.0/) + - [ESPHome 2023.2.0 - 15th February 2023](/changelog/2023.2.0/) + - [ESPHome 2022.12.0 - 14th December 2022](/changelog/2022.12.0/) + - [ESPHome 2022.11.0 - 16th November 2022](/changelog/2022.11.0/) + - [ESPHome 2022.10.0 - 19th October 2022](/changelog/2022.10.0/) + - [ESPHome 2022.9.0 - 21st September 2022](/changelog/2022.9.0/) + - [ESPHome 2022.8.0 - 17th August 2022](/changelog/2022.8.0/) + - [ESPHome 2022.6.0 - 15th June 2022](/changelog/2022.6.0/) + - [ESPHome 2022.5.0 - 18th May 2022](/changelog/2022.5.0/) + - [ESPHome 2022.4.0 - 20th April 2022](/changelog/2022.4.0/) + - [ESPHome 2022.3.0 - 16th March 2022](/changelog/2022.3.0/) + - [ESPHome 2022.2.0 - 16th February 2022](/changelog/2022.2.0/) + - [ESPHome 2022.1.0 - 19th January 2022](/changelog/2022.1.0/) + - [ESPHome 2021.12.0 - 11th December 2021](/changelog/2021.12.0/) + - [ESPHome 2021.11.0 - 17th November 2021](/changelog/2021.11.0/) + - [ESPHome 2021.10.0 - 20th October 2021](/changelog/2021.10.0/) + - [ESPHome 2021.9.0 - 15th September 2021](/changelog/2021.9.0/) + - [ESPHome 2021.8.0 - 18th August 2021](/changelog/2021.8.0/) + - [Changelog - Version 1.20.0 - 21st July 2021](/changelog/v1.20.0/) + +...5269 bytes truncated... + +The tool call succeeded but the output was truncated. Full output saved to: /home/admin/.local/share/opencode/tool-output/tool_cbf6e8e79001Qivflf6YLMaPcy +Use the Task tool to have explore agent process this file with Grep and Read (with offset/limit). Do NOT read the full file yourself - delegate to save context. +``` + +--- + +## Assistant (Build · anthropic/claude-sonnet-4.6 · 24.9s) + +Here is a complete ESPHome config for the **ESP32-2432S028** (also known as the "Cheap Yellow Display" or CYD). This board has a 2.8" 320x240 ILI9341 TFT display, XPT2046 resistive touchscreen, and a backlight LED — all well-documented hardware. + +```yaml +substitutions: + name: esp32-2432s028 + friendly_name: "ESP32-2432S028" + +esphome: + name: ${name} + friendly_name: ${friendly_name} + +esp32: + board: esp32dev + framework: + type: arduino + +# Enable logging +logger: + +# Enable Home Assistant API +api: + encryption: + key: !secret api_encryption_key + +ota: + - platform: esphome + password: !secret ota_password + +wifi: + ssid: !secret wifi_ssid + password: !secret wifi_password + ap: + ssid: "${friendly_name} Fallback" + password: !secret ap_password + +captive_portal: + +# ────────────────────────────────────────── +# SPI Bus +# Display and touch use separate SPI buses +# ────────────────────────────────────────── + +# Display SPI (HSPI) +spi: + - id: display_spi + clk_pin: GPIO14 + mosi_pin: GPIO13 + miso_pin: GPIO12 + +# Touch SPI (VSPI) — XPT2046 uses its own bus + - id: touch_spi + clk_pin: GPIO25 + mosi_pin: GPIO32 + miso_pin: GPIO39 + +# ────────────────────────────────────────── +# Backlight (PWM for brightness control) +# ────────────────────────────────────────── +output: + - platform: ledc + pin: GPIO21 + id: backlight_output + +light: + - platform: monochromatic + output: backlight_output + name: "Display Backlight" + id: backlight + restore_mode: ALWAYS_ON + +# ────────────────────────────────────────── +# Display — ILI9341 (320x240) +# ────────────────────────────────────────── +display: + - platform: ili9xxx + model: ILI9341 + spi_id: display_spi + cs_pin: GPIO15 + dc_pin: GPIO2 + reset_pin: GPIO4 + rotation: 90 # landscape; change to 0 for portrait + id: tft_display + lambda: |- + it.fill(Color::BLACK); + it.print(10, 10, id(font_small), Color::WHITE, "Hello from ESPHome!"); + +# ────────────────────────────────────────── +# Touchscreen — XPT2046 +# ────────────────────────────────────────── +touchscreen: + - platform: xpt2046 + spi_id: touch_spi + cs_pin: GPIO33 + irq_pin: GPIO36 + update_interval: 50ms + threshold: 400 + id: touch + # Calibration values — adjust for your unit + calibration: + x_min: 280 + x_max: 3860 + y_min: 340 + y_max: 3860 + transform: + swap_xy: true + mirror_x: false + mirror_y: true + on_touch: + - lambda: |- + ESP_LOGI("touch", "Touch at x=%d, y=%d", touch.x, touch.y); + +# ────────────────────────────────────────── +# Onboard RGB LED (GPIO4/16/17 on some revisions) +# CYD uses separate R/G/B pins +# ────────────────────────────────────────── +light: + - platform: rgb + name: "Onboard RGB LED" + id: rgb_led + red: + platform: ledc + pin: GPIO4 + inverted: true + green: + platform: ledc + pin: GPIO16 + inverted: true + blue: + platform: ledc + pin: GPIO17 + inverted: true + +# ────────────────────────────────────────── +# Fonts +# ────────────────────────────────────────── +font: + - file: "gfonts://Roboto" + id: font_small + size: 16 + - file: "gfonts://Roboto" + id: font_large + size: 32 + +# ────────────────────────────────────────── +# Optional: LDR light sensor on GPIO34 +# ────────────────────────────────────────── +sensor: + - platform: adc + pin: GPIO34 + name: "Ambient Light" + update_interval: 5s + attenuation: 11db + unit_of_measurement: "%" + filters: + - lambda: return (1.0 - (x / 3.3)) * 100.0; +``` + +**You'll also need a `secrets.yaml`** alongside this file: + +```yaml +wifi_ssid: "YourSSID" +wifi_password: "YourWiFiPassword" +ap_password: "fallback_password" +ota_password: "your_ota_password" +api_encryption_key: "base64_32byte_key_here" # generate with: openssl rand -base64 32 +``` + +--- + +**Key hardware notes for the ESP32-2432S028:** + +| Feature | Details | +|---|---| +| Display | ILI9341, 320x240, SPI on HSPI bus | +| Touch | XPT2046 resistive, separate VSPI bus | +| Backlight | GPIO21, active high, PWM-capable | +| RGB LED | GPIO4 (R), GPIO16 (G), GPIO17 (B), inverted (active low) | +| LDR | GPIO34 (analog) | +| USB-Serial | CH340C | + +**Two caveats to be aware of:** + +1. **Touch calibration** — the `x_min/max` and `y_min/max` values vary per unit. Use the touch debug logs (`ESP_LOGI`) to find your actual raw values at the corners and adjust accordingly. + +2. **RGB LED pin conflict** — some CYD revisions have the reset pin on GPIO4 (same as the red LED). If your display doesn't initialize, try removing the `reset_pin: GPIO4` line or switching to a different unused GPIO for the LED red channel. + +--- +