everything-presence-one
everything-presence-one copied to clipboard
Cannot connect to WiFi
I have 4 EP1s, when suddenly one of them disconnected from WiFi and could not reconnect.
I tried reflashing and updating the firmware via USB which was successful.
However when I am prompted to enter my WiFi credentials and the ESP is trying to connect I receive an "Unable to connect" error message:
I tried to connect multiple times but still receive such error. All my other EP1s are working seamlessly and can connect to my WiFi.
Try unplugging and plugging back in and then connecting to WiFi again (no need to flash again)
Hi, it seems I have a similar problem.
Yesterday I noticed that the LED of my EP1 was flashing in red. I've unplugged and plugged back in, but it didn't change anything. I looked at Home Assistant and I saw that no information is reported to HA (probably because he couldn't connect to the network).
A few days before the issue, I've flashed the EP1 to have the latest firmware, so I've tried to flash again to see if it changes anything. The flashing process was successful, but when I'm prompted to enter my WiFi credentials, I have the same "Unable to connect" error message.
For information, I have a Ubiquiti Networks, with a U6 Lite wifi access point. I didn't change any parameters in my network config. I have several wifi networks and my IoT network has a space in the name, so I tried an other network with a simple name => same error. I've just tried to enable an access point in my phone on Android and then the EP1 successfully connects to wifi.
Unfortunately I can't leave this configuration with my phone but it might help to identify the problem.
Thank you @Ptitpim, I had the exact same experience as you described and went through the same procedures.
- LED was flashing and no data was reported to HA
- Tried unplugging & plugging back in which did not resolve the issue
- Tried to flash the firmware again which was successful but could not connect to my WiFi. Same as you, I could connect the EP1 to my phone's access point. As a last resort I tried flashing a generic esphome web to the EP1 which allowed me to connect to my wifi successfully. Then I tried to manually OTA install EP1 firmware which was successful, as it was reporting values to HA again. However when I unplugged it and plugged it back again, it could not reconnect to wifi so I was back at square one.
Same issue for me, tried flashing firmware from repo site and ESPHome integration in HA, can't connect to wifi. Logs below.
` I (13) boot: ESP-IDF 4.4.6 2nd stage bootloader I (13) boot: compile time 11:36:32 I (13) boot: Multicore bootloader I (15) boot: chip revision: v3.0 I (19) boot.esp32: SPI Speed : 40MHz I (24) boot.esp32: SPI Mode : DIO I (28) boot.esp32: SPI Flash Size : 4MB I (33) boot: Enabling RNG early entropy source... I (38) boot: Partition Table: I (42) boot: ## Label Usage Type ST Offset Length I (49) boot: 0 otadata OTA data 01 00 00009000 00002000 I (56) boot: 1 phy_init RF data 01 01 0000b000 00001000 I (64) boot: 2 app0 OTA app 00 10 00010000 001c0000 I (71) boot: 3 app1 OTA app 00 11 001d0000 001c0000 I (79) boot: 4 nvs WiFi data 01 02 00390000 0006d000 I (86) boot: End of partition table I (91) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=1a17ch (106876) map I (138) esp_image: segment 1: paddr=0002a1a4 vaddr=3ffb0000 size=02f9ch ( 12188) load I (143) esp_image: segment 2: paddr=0002d148 vaddr=40080000 size=02ed0h ( 11984) load I (148) esp_image: segment 3: paddr=00030020 vaddr=400d0020 size=8cf90h (577424) map I (361) esp_image: segment 4: paddr=000bcfb8 vaddr=40082ed0 size=11e48h ( 73288) load I (401) boot: Loaded app from partition at offset 0x10000 I (401) boot: Disabling RNG early entropy source... I (413) cpu_start: Multicore app I (413) cpu_start: Pro cpu up. I (413) cpu_start: Starting app cpu, entry point is 0x40081fb0 I (0) cpu_start: App cpu up. I (431) cpu_start: Pro cpu start user code I (431) cpu_start: cpu freq: 160000000 I (431) cpu_start: Application information: I (436) cpu_start: Project name: everything-presence-one I (442) cpu_start: App version: 2024.3.2 I (447) cpu_start: Compile time: Apr 11 2024 11:35:44 I (453) cpu_start: ELF file SHA256: a6f81854dff02357... I (459) cpu_start: ESP-IDF: 4.4.6 I (464) cpu_start: Min chip rev: v0.0 I (469) cpu_start: Max chip rev: v3.99 I (473) cpu_start: Chip rev: v3.0 I (478) heap_init: Initializing. RAM available for dynamic allocation: I (485) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (491) heap_init: At 3FFB7870 len 00028790 (161 KiB): DRAM I (498) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM I (504) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM I (510) heap_init: At 40094D18 len 0000B2E8 (44 KiB): IRAM I (518) spi_flash: detected chip: generic I (521) spi_flash: flash io: dio I (526) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. [E][esp-idf:000]: I (1021) gpio: GPIO[25]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0
[E][esp-idf:000]: I (1022) gpio: GPIO[26]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0
[E][esp-idf:000]: I (1057) uart: queue free spaces: 20
[E][esp-idf:000]: I (1058) gpio: GPIO[32]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
[E][shtcx:080]: sensor polling failed [E][esp-idf:000]: I (1068) gpio: GPIO[33]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 1| Intr:0
[E][esp-idf:000]: I (1074) gpio: GPIO[15]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 1| Intr:0
[E][esp-idf:000]: I (1084) wifi: [E][esp-idf:000]: wifi driver task: 3ffc887c, prio:23, stack:6656, core=0 [E][esp-idf:000]:
[E][esp-idf:000]: I (1094) system_api: Base MAC address is not set
[E][esp-idf:000]: I (1094) system_api: read default base MAC address from EFUSE
[E][esp-idf:000]: I (1107) wifi: [E][esp-idf:000]: wifi firmware version: 1ba8b6a [E][esp-idf:000]:
[E][esp-idf:000]: I (1124) wifi: [E][esp-idf:000]: wifi certification version: v7.0 [E][esp-idf:000]:
[E][esp-idf:000]: I (1135) wifi: [E][esp-idf:000]: config NVS flash: enabled [E][esp-idf:000]:
[E][esp-idf:000]: I (1145) wifi: [E][esp-idf:000]: config nano formating: disabled [E][esp-idf:000]:
[E][esp-idf:000]: I (1156) wifi: [E][esp-idf:000]: Init data frame dynamic rx buffer num: 32 [E][esp-idf:000]:
[E][esp-idf:000]: I (1176) wifi: [E][esp-idf:000]: Init management frame dynamic rx buffer num: 32 [E][esp-idf:000]:
[E][esp-idf:000]: I (1186) wifi: [E][esp-idf:000]: Init management short buffer num: 32 [E][esp-idf:000]:
[E][esp-idf:000]: I (1196) wifi: [E][esp-idf:000]: Init dynamic tx buffer num: 32 [E][esp-idf:000]:
[E][esp-idf:000]: I (1207) wifi: [E][esp-idf:000]: Init static rx buffer size: 1600 [E][esp-idf:000]:
[E][esp-idf:000]: I (1227) wifi: [E][esp-idf:000]: Init static rx buffer num: 10 [E][esp-idf:000]:
[E][esp-idf:000]: I (1227) wifi: [E][esp-idf:000]: Init dynamic rx buffer num: 32 [E][esp-idf:000]:
[E][esp-idf:000]: I (1238) wifi_init: rx ba win: 6
[E][esp-idf:000]: I (1247) wifi_init: tcpip mbox: 32
[E][esp-idf:000]: I (1247) wifi_init: udp mbox: 6
[E][esp-idf:000]: I (1258) wifi_init: tcp mbox: 6
[E][esp-idf:000]: I (1268) wifi_init: tcp tx win: 5744
[E][esp-idf:000]: I (1278) wifi_init: tcp rx win: 5744
[E][esp-idf:000]: I (1278) wifi_init: tcp mss: 1440
[E][esp-idf:000]: I (1288) wifi_init: WiFi IRAM OP enabled
[E][esp-idf:000]: I (1288) wifi_init: WiFi RX IRAM OP enabled
[E][esp-idf:000]: I (1316) phy_init: phy_version 4771,450c73b,Aug 16 2023,11:03:10
[E][esp-idf:000]: I (1390) wifi: [E][esp-idf:000]: mode : sta (c0:49:ef:6e:ab:94) [E][esp-idf:000]:
[E][esp-idf:000]: I (1392) wifi: [E][esp-idf:000]: enable tsf [E][esp-idf:000]:
[E][shtcx:094]: sensor read failed [E][esp-idf:000]: I (2420) wifi: [E][esp-idf:000]: Set ps type: 1
[E][esp-idf:000]:
[E][shtcx:094]: sensor read failed [E][esp-idf:000]: W (4527) wifi: [E][esp-idf:000]: Haven't to connect to a suitable AP now! [E][esp-idf:000]:
[E][esp-idf:000]: W (4528) wifi: [E][esp-idf:000]: Haven't to connect to a suitable AP now! [E][esp-idf:000]: `
Is this still an issue on newer versions of ESPHome?
Is this still an issue on newer versions of ESPHome?
The issue has just started happening for me on the everything presence lite
I'm experiencing this issue with both of my EP1s. They have been working for years, I noticed within the last couple weeks they went offline. Unplugging/re-plugging doesn't not fix the issue. Re-flashes them with through the web flasher via EP1 docs, they connect the first time and work tethered to the PC on initial setup, but once I disconnect them and move them back to their assigned locations they no longer reconnect to WiFi or home assistant.
I'm experiencing this issue with both of my EP1s. They have been working for years, I noticed within the last couple weeks they went offline. Unplugging/re-plugging doesn't not fix the issue. Re-flashes them with through the web flasher via EP1 docs, they connect the first time and work tethered to the PC on initial setup, but once I disconnect them and move them back to their assigned locations they no longer reconnect to WiFi or home assistant.
Have you changed anything on your network recently? New router, mesh node? Or changed any seemingly innocuous settings? I had the issue with the EP Lite after adding a new AI Mesh node then after changing some settings (and changing them back again) it worked!
@EverythingSmartHome i bought 3 presence lite in december. I booted the first and connect it to home assistant and wifi with no problem. It worked some days and then I installed the last firmware update via home assistant (1.0.6 -> 1.2.0). Now i see the integration to add the esp to home assistant, but I can´t connect to Wifi - i´m getting the message, that I have to press a authorization button to connect
I disassembled the lite and tried both buttons, but it did nothing (which button is reset and which is boot?).
For the second one I tried to flas the newest firmware 1.2.0 first. With the esp-tools on your website I flashed the newest firmware (multiple times with and without bluetooth proxy). I had the same problems in home assistant and when I try to connect with yout esp-tools on the website, I am getting the same "unable to connect" like above.
Then I created an guest wifi-network and i can connect to this wifi. But I can´t use it because of the network seperation.
What can I do to fix this problem? I have the newest firmware installed but I can´t use them anymore. Are there maybe some character in the ssid or the pdw that are not supported? It would be very painful to change one of them for me.
The firmware doesn't need an authorisation button so if your seeing that message then I'm guessing you might have installed another blank firmware possibly?
The real issue is most likely this: https://github.com/EverythingSmartHome/everything-presence-lite/issues/246#issuecomment-2496173013
Please post over in the Lite repo in future, this is the EP1.
I flashed the firmware from your website: https://everythingsmarthome.github.io/everything-presence-lite/updating.html#manual-setup-and-factory-resetting I try to find issues with my dns and will continue in the other repository. Thanks :)
Just an short update - I tried an differend dns but this also doesn´t work. After I flashed the firmware 10-15 times without any result, I installed arduino studio to see the logs throught the serial port. The logs looks good but next time I flashed the firmware it worked without any problem and connect to my wifi. I don´t know why but maybe it help other persons.