Hi,
I tried to figure out if another network device is available. Unfortunately there is no ping function in esphome so I decide to detect the webinterface of the network device. This seem to work but cause a wdt restart if the target device is unavailable.
[21:58:12]E (24246) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time:
[21:58:12]E (24246) task_wdt: - loopTask (CPU 1)
[21:58:12]E (24246) task_wdt: Tasks currently running:
[21:58:12]E (24246) task_wdt: CPU 0: IDLE
[21:58:12]E (24246) task_wdt: CPU 1: IDLE
[21:58:12]E (24246) task_wdt: Aborting.
[21:58:12]
[21:58:12]abort() was called at PC 0x400e7935 on core 0
[21:58:12]
[21:58:12]
[21:58:12]Backtrace:0x40083791:0x3ffbe9bc |<-CORRUPTED
WARNING Found stack trace! Trying to decode it
WARNING Decoded 0x40083791: panic_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/panic.c:402
The problem
Hi, I tried to figure out if another network device is available. Unfortunately there is no ping function in esphome so I decide to detect the webinterface of the network device. This seem to work but cause a wdt restart if the target device is unavailable.
Which version of ESPHome has the issue?
2024.5.0
What type of installation are you using?
pip
Which version of Home Assistant has the issue?
No response
What platform are you using?
ESP32
Board
No response
Component causing the issue
No response
Example YAML snippet
Anything in the logs that might be useful for us?
Additional information
No response