diff options
Diffstat (limited to 'esphome/config/office-pc-control.yaml')
| -rw-r--r-- | esphome/config/office-pc-control.yaml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/esphome/config/office-pc-control.yaml b/esphome/config/office-pc-control.yaml index 30033bb..f82d66c 100644 --- a/esphome/config/office-pc-control.yaml +++ b/esphome/config/office-pc-control.yaml | |||
| @@ -55,13 +55,13 @@ output: | |||
| 55 | - platform: gpio | 55 | - platform: gpio |
| 56 | id: pc_reset | 56 | id: pc_reset |
| 57 | pin: | 57 | pin: |
| 58 | number: D2 # GPIO4 | 58 | number: GPIO4 # D2 |
| 59 | inverted: true # pc power/reset pins are GND activated | 59 | inverted: true # pc power/reset pins are GND activated |
| 60 | 60 | ||
| 61 | - platform: gpio | 61 | - platform: gpio |
| 62 | id: pc_power_onoff | 62 | id: pc_power_onoff |
| 63 | pin: | 63 | pin: |
| 64 | number: D3 # GPIO0 | 64 | number: GPIO0 # D3 |
| 65 | inverted: true # pc power/reset pins are GND activated | 65 | inverted: true # pc power/reset pins are GND activated |
| 66 | 66 | ||
| 67 | - platform: gpio | 67 | - platform: gpio |
| @@ -77,12 +77,12 @@ output: | |||
| 77 | - platform: gpio | 77 | - platform: gpio |
| 78 | id: unused_gpio13 | 78 | id: unused_gpio13 |
| 79 | pin: | 79 | pin: |
| 80 | number: D7 # GPIO13 | 80 | number: GPIO13 # D7 |
| 81 | mode: INPUT_PULLUP | 81 | mode: INPUT_PULLUP |
| 82 | - platform: gpio | 82 | - platform: gpio |
| 83 | id: unused_gpio16 | 83 | id: unused_gpio16 |
| 84 | pin: | 84 | pin: |
| 85 | number: D0 # GPIO16 | 85 | number: GPIO16 # D0 |
| 86 | mode: INPUT_PULLDOWN | 86 | mode: INPUT_PULLDOWN |
| 87 | 87 | ||
| 88 | button: | 88 | button: |
| @@ -112,7 +112,7 @@ light: | |||
| 112 | type: GRB | 112 | type: GRB |
| 113 | variant: 800KBPS | 113 | variant: 800KBPS |
| 114 | num_leds: 16 | 114 | num_leds: 16 |
| 115 | pin: D4 # GPIO2 | 115 | pin: GPIO2 # D4 |
| 116 | method: | 116 | method: |
| 117 | type: esp8266_uart | 117 | type: esp8266_uart |
| 118 | bus: 1 | 118 | bus: 1 |
| @@ -130,7 +130,7 @@ binary_sensor: | |||
| 130 | name: "Touch button" | 130 | name: "Touch button" |
| 131 | id: touch_button | 131 | id: touch_button |
| 132 | pin: | 132 | pin: |
| 133 | number: D8 # GPIO15 | 133 | number: GPIO15 # D8 |
| 134 | mode: INPUT | 134 | mode: INPUT |
| 135 | internal: true | 135 | internal: true |
| 136 | filters: | 136 | filters: |
| @@ -143,7 +143,7 @@ binary_sensor: | |||
| 143 | name: "Power button" | 143 | name: "Power button" |
| 144 | id: power_button | 144 | id: power_button |
| 145 | pin: | 145 | pin: |
| 146 | number: D5 # GPIO14 | 146 | number: GPIO14 # D5 |
| 147 | mode: INPUT_PULLUP | 147 | mode: INPUT_PULLUP |
| 148 | inverted: true | 148 | inverted: true |
| 149 | internal: true | 149 | internal: true |
| @@ -169,7 +169,7 @@ binary_sensor: | |||
| 169 | name: "Reset button" | 169 | name: "Reset button" |
| 170 | id: reset_button | 170 | id: reset_button |
| 171 | pin: | 171 | pin: |
| 172 | number: D6 # GPIO12 | 172 | number: GPIO12 # D6 |
| 173 | mode: INPUT_PULLUP | 173 | mode: INPUT_PULLUP |
| 174 | inverted: true | 174 | inverted: true |
| 175 | internal: true | 175 | internal: true |
| @@ -201,7 +201,7 @@ binary_sensor: | |||
| 201 | name: "Powered" | 201 | name: "Powered" |
| 202 | icon: "mdi:desktop-tower" | 202 | icon: "mdi:desktop-tower" |
| 203 | pin: | 203 | pin: |
| 204 | number: D1 # GPIO5 | 204 | number: GPIO5 # D1 |
| 205 | mode: INPUT_PULLUP | 205 | mode: INPUT_PULLUP |
| 206 | filters: | 206 | filters: |
| 207 | - delayed_on: 100ms | 207 | - delayed_on: 100ms |
