ESP32-S2 support in ESPHome?


Is it planned to support new ESP32-S2 Espressif chipsets soon in ESPHome ?



platformio needs to support first

1 Like

It’s been implemented (possibly in beta) from what I can tell, so what comes next?

Any update here? I just got a [ESP32-S2-Saola] and would like to do stuff to / with it. Thanks!


looks like platformio just two days ago started support it - but how do we get it to work with esphome?

newb here.


1 Like

It needs to be added to ESPHome next. Is there already an FR/bug open?

No idea - but it would be NICE. Can I update platformio manually?

You might be able to if you run it locally, but ESPHome’s code needs to support it as well.

Well, this is pretty limiting with hardware until it’s added. Kinda stuck with older stuff. I wonder how we get this moving?

Add a :+1: +1 reaction at and

Is this working now? I installed the dev version through the supervisor and either I am doing something wrong or this is still not implemented.

I should probably add I get errors like this when I use what I saw on the above github link:

Compiling /data/esp32s2demo/.pioenvs/esp32s2demo/src/esphome/components/captive_portal/captive_portal.cpp.o
In file included from src/esphome/components/api/api_server.h:12,
from src/esphome/components/api/util.cpp:2:
src/esphome/components/api/homeassistant_service.h: In member function ‘void esphome::api::HomeAssistantServiceCallAction::play(Ts …)’:
src/esphome/components/api/homeassistant_service.h:55:18: warning: invalid use of incomplete type ‘class esphome::api::APIServer’
In file included from src/esphome/components/api/util.cpp:1:
src/esphome/components/api/util.h:13:7: note: forward declaration of ‘class esphome::api::APIServer’
class APIServer;
Compiling /data/esp32s2demo/.pioenvs/esp32s2demo/src/esphome/components/logger/logger.cpp.o
Compiling /data/esp32s2demo/.pioenvs/esp32s2demo/src/esphome/components/ota/ota_component.cpp.o
src/esphome/components/logger/logger.cpp: In member function ‘void esphome::logger::Logger::pre_setup()’:
src/esphome/components/logger/logger.cpp:139:29: error: ‘Serial2’ was not declared in this scope
this->hw_serial_ = &Serial2;
src/esphome/components/logger/logger.cpp:139:29: note: suggested alternative: ‘Serial1’
this->hw_serial_ = &Serial2;
*** [/data/esp32s2demo/.pioenvs/esp32s2demo/src/esphome/components/logger/logger.cpp.o] Error 1

The pull request to add it from post above is still open so guessing still not implemented

Looks like platformio-espressif32 3.1.1 is supported in dev:

Still not working? :sob:

If you use ESP-IDF, it works, though not all components are supported yet.

1 Like

New to ESP home…
I’m trying to add ESP32-s2-saola board to ESP home using IDF but it’s giving errors.
Any idea what I’m doing wrong here?

name: zolder

board: esp32-s2-saola-1
type: esp-idf
version: recommended

I am having the same issue with the Homeassistant addon

Ok i found out that his is related to a missing architecture for Linux Aarch64 (Odroid, Raspberry pi…) On my regular Linux server it is working fine: This is the request i opened with the platformIO Community.

Toolchain-xtensa-esp32s2 for linux_aarch64 - Libraries - PlatformIO Community

1 Like