Open krisnoble opened 9 months ago
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Still getting occasional dropouts - not as often as back in December but more often than my other devices
The problem
I have four of the Lilygo/TTGO T-camera ESP32 boards with OLED and mic purchased from AliExpress, albeit not using the I2S mic functionality as it crashes when trying to use both mic and camera, I assume due to lack of resources.
They have been working great for over a year but recently have been disconnecting seemingly randomly, no obvious patterns or triggers. Not 100% sure when this started but I first noticed it in 2023.10 and still present in 2023.11.6. My other devices running a mixture of ESP32 and ESP8266 don't seem to be affected so I assume it's something to do with the board or the config.
I had assumed a crash but the logs I captured from one just now don't have any sort of crash report, just a network disconnect/reconnect. In the log section below the first time it reconnected almost immediately, second time took about 20 minutes.
Hoping someone might have some ideas? YAML is below, all have similar config with static IP.
Which version of ESPHome has the issue?
2023.11.6
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
No response
What platform are you using?
ESP32
Board
LILYGO® TTGO T-Camera ESP32 WROVER & PSRAM Camera Module ESP32-WROVER-B OV2640 Camera Module 0.96 OLED Fish-eye Mic 9102
Component causing the issue
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Example 1:
[15:28:51][D][binary_sensor:036]: 'Motion': Sending state ON [15:28:56][D][binary_sensor:036]: 'Motion': Sending state OFF WARNING 192.168.0.189: Connection error occurred: Ping response not received after 90.0 seconds INFO Processing unexpected disconnect from ESPHome API for 192.168.0.189 WARNING Disconnected from API WARNING Can't connect to ESPHome API for 192.168.0.189: Error connecting to ('192.168.0.189', 6053): [Errno 113] Connect call failed ('192.168.0.189', 6053) (SocketAPIError) INFO Trying to connect to 192.168.0.189 in the background INFO Successfully connected to 192.168.0.189 in 0.129s INFO Successful handshake with 192.168.0.189 in 1.742s WARNING 192.168.0.189: Connection error occurred: Ping response not received after 90.0 seconds INFO Processing unexpected disconnect from ESPHome API for 192.168.0.189 WARNING Disconnected from API WARNING Can't connect to ESPHome API for 192.168.0.189: Error connecting to ('192.168.0.189', 6053): [Errno 113] Connect call failed ('192.168.0.189', 6053) (SocketAPIError) INFO Trying to connect to 192.168.0.189 in the background INFO Successfully connected to 192.168.0.189 in 0.037s INFO Successful handshake with 192.168.0.189 in 0.107s [15:57:16][D][binary_sensor:036]: 'Motion': Sending state ON [15:57:21][D][binary_sensor:036]: 'Motion': Sending state OFF [16:02:20][D][binary_sensor:036]: 'Occupancy': Sending state OFF
Example 2:
[00:05:09][D][binary_sensor:036]: 'Occupancy': Sending state OFF WARNING 192.168.0.163: Connection error occurred: [Errno 104] Connection reset by peer INFO Processing unexpected disconnect from ESPHome API for 192.168.0.163 WARNING Disconnected from API INFO Successfully connected to 192.168.0.163 in 0.035s INFO Successful handshake with 192.168.0.163 in 0.143s WARNING 192.168.0.163: Connection error occurred: [Errno 104] Connection reset by peer INFO Processing unexpected disconnect from ESPHome API for 192.168.0.163 WARNING Disconnected from API INFO Successfully connected to 192.168.0.163 in 0.014s INFO Successful handshake with 192.168.0.163 in 0.092s [00:53:49][D][api:102]: Accepted 192.168.0.102 [00:53:49][D][api.connection:1089]: Home Assistant 2023.11.3 (192.168.0.102): Connected successfully [00:53:49][D][time:045]: Synchronized time: 2023-12-05 00:53:49 WARNING 192.168.0.163: Connection error occurred: Ping response not received after 90.0 seconds INFO Processing unexpected disconnect from ESPHome API for 192.168.0.163 WARNING Disconnected from API WARNING Can't connect to ESPHome API for 192.168.0.163: Error connecting to ('192.168.0.163', 6053): [Errno 113] Connect call failed ('192.168.0.163', 6053) (SocketAPIError) INFO Trying to connect to 192.168.0.163 in the background INFO Successfully connected to 192.168.0.163 in 5.176s INFO Successful handshake with 192.168.0.163 in 0.292s WARNING 192.168.0.163: Connection error occurred: Ping response not received after 90.0 seconds INFO Processing unexpected disconnect from ESPHome API for 192.168.0.163 WARNING Disconnected from API WARNING Can't connect to ESPHome API for 192.168.0.163: Error connecting to ('192.168.0.163', 6053): [Errno 113] Connect call failed ('192.168.0.163', 6053) (SocketAPIError) INFO Trying to connect to 192.168.0.163 in the background INFO Successfully connected to 192.168.0.163 in 0.115s INFO Successful handshake with 192.168.0.163 in 0.100s [02:24:03][D][binary_sensor:036]: 'Motion': Sending state ON
Additional information
No response