I’m trying to get presence detection working using an ESP32 and Esphome. I was able to flash the ESP and get it into home assistant but I’m having issues with constructing the proper yaml file. Could someone please provide an example I could follow?
If you want to work on room recognition I recommend the custom component bermuda trilateration, here you can find a great guide for installation and setup
My experience has been that you need the integration and the add-on.
I used the ESPhome bluetooth proxy page to flash my device (a MSStack Atom):
This was automatically discovered by the ESPhome integration, but you need to edit the yaml and flash it a second time for the particular application you are using (in my case Bermuda, mentioned above. Besides the video, there’s a very good wiki.).
The easiest way to handle the second flash and future updates is with the add-on.
The add-on will automatically discover the device and ask if you want to “adopt” it. You then click edit to update the yaml and when you click save it will flash a second time. Be patient - flashing can take several minutes, with seemingly interminable lines of log scrolling past.