ESPHome Zigbee sensor connected to AHT10 Temperature+Humidity Sensor.
- We will build ZB_sensor.yaml file.
- Check Getting Started with the ESPHome Command Line tutorial to setup your dev environment.
Steps
- Build with
esphome run ZB_sensor.yaml
command will fail. - Copy idf_component.yml to
.esphome/build/zb-sensor/src/
- Copy
CONFIG_ZB_ENABLED=y, CONFIG_ZB_RADIO_NATIVE=y, CONFIG_ZB_ZED=y, and ZB_ED_ROLE=y
fromsdkconfig.zb_sensor.esphomeinternal
tosdkconfig.zb-sensor
(in.esphome/build/zb-sensor/
directory) - Build with
esphome run ZB_sensor.yaml
command
- There is a bug in ESPHome 2024.3.0. Deactivate the logger to make it build.
- Check issue 2024.3.0 fails to compile in logger component #5612.
- This should be fixed by esphome/esphome#6323 which should be included in ESPHome 2024.3.1.
- If library versions in idf_component.yml are changed, copy the file to
.esphome/build/zb-sensor/src/
again and delete.esphome/build/zb-sensor/.pioenvs
.