I’m using the same code with not much changes since few months. It seems after recent ESPHome update to 2024.11.3 and I uploaded an updated code, it breaks api connection and my display shows gibberish.
I dig down to the problem with lcd_gpio section. I add this code snippet, api breaks, I remove this, everything works.
esp8266:
board: nodemcuv2
display:
- platform: lcd_gpio
data_pins:
- GPIO13
- GPIO12
- GPIO14
- GPIO16
dimensions: 16x2
enable_pin: GPIO15
rs_pin: GPIO0
dashboard logs shows like:
INFO ESPHome 2024.11.3
INFO Reading configuration /config/esphome/pmpctrl.yaml...
INFO Detected timezone 'Asia/Calcutta'
INFO Starting log output from 10.182.39.158 using esphome API
WARNING Can't connect to ESPHome API for pmpctrl @ 10.182.39.158: Error connecting to [AddrInfo(family=<AddressFamily.AF_INET: 2>, type=<SocketKind.SOCK_STREAM: 1>, proto=6, sockaddr=IPv4Sockaddr(address='10.182.39.158', port=6053))]: [Errno 111] Connect call failed ('10.182.39.158', 6053) (SocketAPIError)
INFO Trying to connect to pmpctrl @ 10.182.39.158 in the background
I see the device gets ip and I can ping the device too.
Any one any clue please?