Skip to content

sensor.community yaml does not install #22

Answered by stas-sl
pe0ter asked this question in Q&A
Discussion options

You must be logged in to vote

You have to put (create) wdt_include.h file in the same folder as your config. It should contain only a single line:

#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 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 leave esp_task_wdt_init as is, but add wdt_include.h file as I said above.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@pe0ter
Comment options

Answer selected by pe0ter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #21 on May 05, 2024 17:53.