Hi, its a long story but I had to change the SSID name of my WiFi (and I can’t change it now for various reason). In trhe change I forgot to update some Sonoff with ESPHOME on it, and now I can’t connect to it, to upload the new code with the updated WiFi SSID
Which are my options? Phisical access is possible but difficult, what can I do?
ok many guides for creating a wireless hotspot on the pi3. But once the pi3 its a hotspot with that SSID, then how to access the Sonoff/ESPhome from there … gosh
You would have to bridge it to your local network where home assitant is running (assuming you are using the ESPHome addon).
or
You could run a command line version of ESPhome on the pi and upload from it. Pre-compiling using the hassio addon and just uploading the .bin file from the pi would be one way. Otherwise copy your config over to the pi using a USB drive and compile it there.
I don’t know the specifics of ESPHOME, but most firmwares seem to accept some form of a long-press of a button on the device, causing it to become an AP so you can connect to it with any WiFi client (phone, laptop, whatever) and using a web browser instruct it about the AP to which it should connect.
…you can specify both a “normal” station mode and AP mode at the same time. This will cause ESPHome to only enable the access point when no connection to the wifi router can be made.