The first flashing with ESP Home was no problem (FTDI adapter on Raspberry Pi with Home Assistant). The further flashing over the air via WLAN also worked. But now I want to flash the Shelly again via FTDI adapter and that does not work. Although I connected the adapter to the GPIO pins of the Shelly 2.5 as before, ESP Home cannot establish a connection. GPIO0 is connected to GND, as before. Do I need to do anything else with devices flashed with ESP Home? Press button or something?
With what are you trying to flash the Shelly with the FTDI? ESPHomeFlasher?
Not that I’d assume, but you have disconnected the high voltage before you try to flash, have you?
On the other hand, like @nickrout said, why are you trying to flash “by hand” and not ota? There are a lot of solutions to change things via ota, even the change of a “hardcoded” IP address. What is it you want to achieve?
@paddy0174 I used the HACS Add-On for ESP Home for flashing.
Yes, I disconnected the high voltage
Maybe my use cases are covered by the ota option. Can you tell me more about changing the ip address? I wasn’t able to do this.
There is no HACS addOn for ESPHome, at least none that I know of. I think you mean the HA-OS addOn, the one you have in your sidebar in HA or that you get via Config > Add-ons > ESPHome? Let’s just assume it is this addOn, should be the case for most installations.
To change the IP address you need to use the use_address part from the Wifi docus in ESPHome.
It’s actually quite simple. Just set the new IP address in cour config file (the ESPHome yaml) as IP address and write the “old” address with the above mentioned use_address.
Like so:
wifi:
ssid: !secret esphome_ssid
password: !secret esphome_wifi_pw
manual_ip:
static_ip: 192.168.178.231 # this is the new address
gateway: 192.168.178.1
subnet: 255.255.255.0
use_address: 192.168.178.232 # old address aka the actual address before flashing
I’ve had only problems with esphome’s built-in flasher (sometimes connects ok, sometimes it doesn’t…) So i gave up on it and i only use “tasmotizer” program for uart flashing.