diff options
Diffstat (limited to 'esphome/config/tvlight.yaml')
| -rw-r--r-- | esphome/config/tvlight.yaml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/esphome/config/tvlight.yaml b/esphome/config/tvlight.yaml index 19e8c1c..e18e9ce 100644 --- a/esphome/config/tvlight.yaml +++ b/esphome/config/tvlight.yaml | |||
| @@ -54,7 +54,7 @@ light: | |||
| 54 | output: | 54 | output: |
| 55 | - platform: esp8266_pwm | 55 | - platform: esp8266_pwm |
| 56 | id: dimmer_tvlight | 56 | id: dimmer_tvlight |
| 57 | pin: D5 # GPIO14 | 57 | pin: GPIO14 # D5 |
| 58 | frequency: 1000 Hz | 58 | frequency: 1000 Hz |
| 59 | inverted: true | 59 | inverted: true |
| 60 | # lower 22% are not useable. use max_power because of inverted | 60 | # lower 22% are not useable. use max_power because of inverted |
| @@ -63,12 +63,12 @@ output: | |||
| 63 | 63 | ||
| 64 | - platform: gpio | 64 | - platform: gpio |
| 65 | id: relay_wled | 65 | id: relay_wled |
| 66 | pin: D1 # GPIO5 | 66 | pin: GPIO5 # D1 |
| 67 | 67 | ||
| 68 | - platform: gpio | 68 | - platform: gpio |
| 69 | id: unused_gpio0 | 69 | id: unused_gpio0 |
| 70 | pin: | 70 | pin: |
| 71 | number: D3 # GPIO0 | 71 | number: GPIO0 # D3 |
| 72 | mode: INPUT_PULLUP | 72 | mode: INPUT_PULLUP |
| 73 | - platform: gpio | 73 | - platform: gpio |
| 74 | id: unused_gpio1 | 74 | id: unused_gpio1 |
| @@ -78,7 +78,7 @@ output: | |||
| 78 | - platform: gpio | 78 | - platform: gpio |
| 79 | id: unused_gpio2 | 79 | id: unused_gpio2 |
| 80 | pin: | 80 | pin: |
| 81 | number: D4 # GPIO2 | 81 | number: GPIO2 # D4 |
| 82 | mode: INPUT_PULLUP | 82 | mode: INPUT_PULLUP |
| 83 | - platform: gpio | 83 | - platform: gpio |
| 84 | id: unused_gpio3 | 84 | id: unused_gpio3 |
| @@ -88,26 +88,26 @@ output: | |||
| 88 | - platform: gpio | 88 | - platform: gpio |
| 89 | id: unused_gpio12 | 89 | id: unused_gpio12 |
| 90 | pin: | 90 | pin: |
| 91 | number: D6 # GPIO12 | 91 | number: GPIO12 # D6 |
| 92 | mode: INPUT_PULLUP | 92 | mode: INPUT_PULLUP |
| 93 | - platform: gpio | 93 | - platform: gpio |
| 94 | id: unused_gpio13 | 94 | id: unused_gpio13 |
| 95 | pin: | 95 | pin: |
| 96 | number: D7 # GPIO13 | 96 | number: GPIO13 # D7 |
| 97 | mode: INPUT_PULLUP | 97 | mode: INPUT_PULLUP |
| 98 | - platform: gpio | 98 | - platform: gpio |
| 99 | id: unused_gpio15 | 99 | id: unused_gpio15 |
| 100 | pin: | 100 | pin: |
| 101 | number: D8 # GPIO15 | 101 | number: GPIO15 # D8 |
| 102 | mode: INPUT_PULLUP | 102 | mode: INPUT_PULLUP |
| 103 | - platform: gpio | 103 | - platform: gpio |
| 104 | id: unused_gpio16 | 104 | id: unused_gpio16 |
| 105 | pin: | 105 | pin: |
| 106 | number: D0 # GPIO16 | 106 | number: GPIO16 # D0 |
| 107 | mode: INPUT_PULLDOWN | 107 | mode: INPUT_PULLDOWN |
| 108 | 108 | ||
| 109 | power_supply: | 109 | power_supply: |
| 110 | - id: relay_tvlight | 110 | - id: relay_tvlight |
| 111 | pin: D2 # GPIO4 | 111 | pin: GPIO4 # D2 |
| 112 | #enable_time: 3s | 112 | #enable_time: 3s |
| 113 | keep_on_time: 20ms | 113 | keep_on_time: 20ms |
