Hello!
I am experiencing connections issues with my ESP32D board running ESPHome (4.6.1). Devie starts, pingable for about 1 minute, than 8-10pings lost, than it works for another period than again 8-10 pings lost. This continues with only difference that sometime the working periods and lost ping periods are bit longer or shorter, but connection never stable, in 1-2 minutes always loosing connection for min 4-5 pings. Otherwise it looks working ok, when it is reachable, so I can load the portal on it.
I have an ESP8266 board also, which working fine on same network with same ESPHome version.
What I can see in logs, that when first ping loss happening, some second before logs shows
[23:20:35][D][esp32.preferences:143]: Writing 1 items: 0 cached, 1 written, 0 failed
So there is some memory writing. I am NOT sure this is the problem, might be only timing coincident.
I have an HPE Instant ON WiFi system (former name Aruba), working fine with all other devices (including ESP8266 with same version of ESPHome), and also coverage is perfect
ESPHome is installed on Docker (version 4.6.1, but same issue happened with previous versions)
I have tried a lot of config changes (suggested here or on other portals), like
- Esp32 framework esp-idf and Arduino (both having the issue)
- Adding options to wifi: reboot_timeout: 0s, power_save_mode: NONE – not helped
- Adding : preferences: flash_write_interval: never – not helped
- Tried with static (fix) IP config – not helped
Also ordered another HW, same issue (also tried with other power supply)
HW was tested by a colleague on his network (with his config) and worked fine, however if he connected to my configs fallback wifi (as he has different SSID), he experienced similar ping losses.
My last test was to set up (temporarily) my old router (running OpenWRT), and connect the ESP32D to that, and in this setup there is no ping loss, so it looks like the problem appears only with ESP32D card on HPE (Aruba) Instant ON WiFi (on which ESP8266 works perfectly).
Any idea or suggestion would be more than welcome! Thanks in advance!