Support different run duration for non-timer wakeup (#2861)

This commit is contained in:
Yuval Brik
2021-12-07 00:30:27 +02:00
committed by GitHub
parent e5cc19de43
commit 2253d4bc16
7 changed files with 166 additions and 5 deletions

View File

@@ -55,7 +55,10 @@ logger:
level: DEBUG
deep_sleep:
run_duration: 20s
run_duration:
default: 20s
gpio_wakeup_reason: 10s
touch_wakeup_reason: 15s
sleep_duration: 50s
wakeup_pin: GPIO39
wakeup_pin_mode: INVERT_WAKEUP