step 1. Install the ESPHome addon to HA.

step 2.New device

choice ESP32

step 3. get fireware To get the factory file of your ESPHome project:

 

Open your ESPHome dashboard
Find your device card click on menu (more_vert)
Click on Install
Click on Manual Download
Click on Modern Format

step4. upload fireware to esp32 via ttps://web.esphome.io/

ESPHome-web-install-flasher-aready-compiled-fireware-2.png

Open https://web.esphome.io/

 

https://blog.matterxiaomi.com/blog/esphome-esp32-pir-hc-sr501-part1/

Comments


Comments are closed