Button box anew
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -7,4 +7,4 @@
|
||||
**/lib/
|
||||
**/src/
|
||||
**/platformio.ini
|
||||
/secrets.yaml
|
||||
#/secrets.yaml
|
||||
|
||||
@@ -20,12 +20,12 @@ ota:
|
||||
<<: !include standard_mqtt_deepsleep.yaml
|
||||
deep_sleep:
|
||||
run_duration: 20s
|
||||
sleep_duration: 40s #24h
|
||||
sleep_duration: 8h #40s #24h
|
||||
esp32_ext1_wakeup:
|
||||
pins:
|
||||
- 33 #yellow
|
||||
- 34 #orange
|
||||
- 35 #green
|
||||
- 33 #middle button
|
||||
- 34 #T button
|
||||
- 35 #L button
|
||||
mode: ANY_HIGH
|
||||
id: deep_sleep_1
|
||||
|
||||
@@ -49,17 +49,20 @@ binary_sensor:
|
||||
# filters:
|
||||
# - delayed_on: 10ms ### <---- debounce time, was 100ms
|
||||
# - delayed_off: 10s ### <---- delay to capture state change on wake up
|
||||
name: "TKM Test 33 (yellow)"
|
||||
name: "TKM Test 33 middle button"
|
||||
id: tkm_test_33
|
||||
- platform: gpio
|
||||
pin:
|
||||
number: GPIO34
|
||||
mode: INPUT_PULLUP
|
||||
name: "TKM Test 34 (orange)"
|
||||
filters:
|
||||
- delayed_on: 10ms ### <---- debounce time, was 100ms
|
||||
# - delayed_off: 10s ### <---- delay to capture state change on wake up
|
||||
name: "TKM Test 34 T button"
|
||||
id: tkm_test_34
|
||||
- platform: gpio
|
||||
pin:
|
||||
number: GPIO35
|
||||
mode: INPUT_PULLUP
|
||||
name: "TKM Test 35 (green)"
|
||||
name: "TKM Test 35 L button"
|
||||
id: tkm_test35
|
||||
8
secrets.yaml
Normal file
8
secrets.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
# WiFi
|
||||
wifi_ssid: "Meneely"
|
||||
wifi_password: "punxsutawney1"
|
||||
|
||||
# MQTT
|
||||
mqtt_broker: 192.168.86.99
|
||||
mqtt_username: ha
|
||||
mqtt_password: lorrie
|
||||
Reference in New Issue
Block a user