Hello.
I’m trying to connect the ESP07 module.
using FTDI successfully uploaded the new firmware.
AFTER RUNNING FIRMWARE - the connection is according to the following scheme:
As soon as I want to upload a new firmware using ota update, it stops at 3-4% with the message:
========================= [SUCCESS] Took 5.68 seconds =========================
INFO Successfully compiled program.
INFO Connecting to 192.168.31.99
INFO Uploading /data/esp-ups/.pioenvs/esp-ups/firmware.bin (400992 bytes)
INFO Compressed to 281744 bytes
Uploading: [== ] 3%
ERROR Error sending data: [Errno 104] Connection reset by peer
Yaml:
esphome:
name: esp-ups
esp8266:
board: esp07
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "304ad4f64323b1c47ad923ab0a13e972"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
manual_ip:
# Set this to the IP of the ESP
static_ip: 192.168.31.99
# Set this to the IP address of the router. Often ends with .1
gateway: 192.168.31.1
# The subnet of the network. 255.255.255.0 works for most home networks.
subnet: 255.255.255.0
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Esp-Ups Fallback Hotspot"
password: "LVOeZWwTVgyG"
captive_portal:
I also tried to change the board type to esp01_1m according to this post. Without success
https://github.com/esphome/issues/issues/845#issuecomment-556033696
Any idea how to fix it? Thanks