I’ve got a RATGDO for my garage door on the way and decided to try and get started with ESPHome before it arrives. I’ve had HA installed on a RPi3 for about three years and use it with a bunch of zwave light switches and Hue lights around the house. I’m fairly familiar with HA but by no means a power user. I mostly use the UI and don’t mess much with yaml files.
I had a couple Sonoff S31 wifi smart switches around and decided to try to flash one with ESPHome to start getting familiar with that system. I added the ESPHome add-on and I’ve got nabu casa too so I can secure access the ESPHome web UI from HA. I got this USB to Serial adapter and some hook leads so I wouldn’t have to solder onto the Sonoff board. Connected the usb-serial adapter leads according to this blog, and held down the power button on the Sonoff as I plugged in the usb to my laptop where I access HA.
From the web UI, I click “+ new device” and it prompts me to connect to the device, which I do. I select the FT232R USB UART from the connection options and click connect. The usb-serial board LEDs light up and the ESPHome web UI status goes from “connecting” to “preparing installation.” But then it just stays in preparing installation forever and nothing happens.
So then I deleted the configuration from ESPHome in HA and tried from https://web.esphome.io/. Unplugged, replugged the usb-serial, clicked connect, then “prepare for first use,” then “install.” It installs to 100% and says “configuration installed!” I close that and it tries to connect to the device. Then I get the message “An error occurred. Improv Wi-Fi Serial not detected.”
I’ve also tried plugging it directly into my RPi3 running HA and get the same issues. What am I doing wrong?