Skip to content

Commit

Permalink
deepsleep bugfix, the consumption should be 0,22 mAh with board v1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dealbunny committed Nov 3, 2024
1 parent 64eef11 commit 70d4d94
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 17 deletions.
4 changes: 1 addition & 3 deletions LILYGO-T-Higrow-ESP32.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,7 @@ switch:
# Power Switch
- platform: gpio
name: "${devicename} Sensor Power switch"
pin:
number: 4
mode: INPUT_PULLUP
pin: 4
id: spower
restore_mode: ALWAYS_ON
internal: true
Expand Down
28 changes: 14 additions & 14 deletions common/deepsleep.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,20 @@ deep_sleep:
id: deep_sleep_control
run_duration: ${run_duration}
sleep_duration: ${sleep_duration}
wakeup_pin:
number: 35
inverted: true
allow_other_uses: true
mode:
input: true
# wakeup_pin:
# number: 35
# inverted: true
# allow_other_uses: true
# mode:
# input: true
# pullup: true

# Wake Button
binary_sensor:
- platform: gpio
name: '${devicename} Wake Button'
pin:
number: 35
allow_other_uses: true
internal: true
setup_priority: 1000
# binary_sensor:
# - platform: gpio
# name: '${devicename} Wake Button'
# pin:
# number: 35
# allow_other_uses: true
# internal: true
# setup_priority: 1000

0 comments on commit 70d4d94

Please sign in to comment.