Example firmware for the ESP32C3-based Home Assistant adapter available from FirstBuild.
The Home Assistant adapter consists of a Xiao ESP32C3 and carrier board that breaks out the serial interface of the Xiao to an RJ45 jack.
- Install PlatformIO
- Copy
config/Certificate.h.sampletoconfig/Certificate.hand add your certificate (if any) - Copy
config/Config.h.sampletoconfig/Config.hand add your WiFi credentials, MQTT configuration, and your device ID
In-depth instructions can be found in the Getting Started guide.
Builds the firmware into .pio/build/xiao_c3/firmware.bin.
makeDeletes all build artifacts.
make cleanUploads/flashes the firmware to the ESP32-C3. Note that the board may need to be reset into boot loader mode by holding the B (boot) button and pressing the R (reset) button.
make uploadOpens the PlatformIO serial monitor to view a connected ESP32-C3's serial output.
make monitorSample yaml can be found in https://github.com/geappliances/home-assistant-examples