-
Sorry to bother, I am fairly new to EspHome and have little skill in programming. I am running EspHome on a Home Assistant Yellow. I copied and tried to install your sensor-community-example-config.yaml but I get compilation errors pointing to wdt functions/files not found. Could you point me in the right direction to get your yaml installed? Best Regards, substitutions: external_components:
esphome: includes: esp_task_wdt_init() platformio_options: esp32: psram: Enable logginglogger: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You have to put (create) #include <esp_task_wdt.h> Or you can just copy it from https://github.com/stas-sl/esphome-sound-level-meter/blob/main/configs/wdt_include.h Alternatively you can comment out (or delete) include section and |
Beta Was this translation helpful? Give feedback.
You have to put (create)
wdt_include.h
file in the same folder as your config. It should contain only a single line:Or you can just copy it from https://github.com/stas-sl/esphome-sound-level-meter/blob/main/configs/wdt_include.h
Alternatively you can comment out (or delete) include section and
esp_task_wdt_init
function call in config completely, but sometimes it might cause device restarts in case of long requests (longer than 5s by default) - it could happen in my experience with sensor.community servers. So for better stability I'd recommend to actually leaveesp_task_wdt_init
as is, but addwdt_include.h
file as I said above.