diff options
Diffstat (limited to 'esphome/config/3dprinter-led.yaml')
| -rw-r--r-- | esphome/config/3dprinter-led.yaml | 62 |
1 files changed, 59 insertions, 3 deletions
diff --git a/esphome/config/3dprinter-led.yaml b/esphome/config/3dprinter-led.yaml index c85f222..16cc43d 100644 --- a/esphome/config/3dprinter-led.yaml +++ b/esphome/config/3dprinter-led.yaml | |||
| @@ -1,6 +1,10 @@ | |||
| 1 | esphome: | 1 | substitutions: |
| 2 | name: 3dprinter-led | 2 | device_name: 3dprinter-led |
| 3 | friendly_name: "3D Printer LED" | 3 | friendly_name: "3D Printer LED" |
| 4 | |||
| 5 | esphome: | ||
| 6 | name: ${device_name} | ||
| 7 | friendly_name: ${friendly_name} | ||
| 4 | area: Office | 8 | area: Office |
| 5 | on_boot: | 9 | on_boot: |
| 6 | priority: -100 | 10 | priority: -100 |
| @@ -41,7 +45,7 @@ wifi: | |||
| 41 | 45 | ||
| 42 | # Enable fallback hotspot (captive portal) in case wifi connection fails | 46 | # Enable fallback hotspot (captive portal) in case wifi connection fails |
| 43 | ap: | 47 | ap: |
| 44 | ssid: "Couchlight Fallback Hotspot" | 48 | ssid: "${device_name} Fallback Hotspot" |
| 45 | password: !secret wifi_ap_password | 49 | password: !secret wifi_ap_password |
| 46 | 50 | ||
| 47 | captive_portal: | 51 | captive_portal: |
| @@ -59,3 +63,55 @@ light: | |||
| 59 | type: esp8266_uart | 63 | type: esp8266_uart |
| 60 | bus: 1 | 64 | bus: 1 |
| 61 | default_transition_length: 300ms | 65 | default_transition_length: 300ms |
| 66 | |||
| 67 | output: | ||
| 68 | - platform: gpio | ||
| 69 | id: unused_gpio0 | ||
| 70 | pin: | ||
| 71 | number: D3 # GPIO0 | ||
| 72 | mode: INPUT_PULLUP | ||
| 73 | - platform: gpio | ||
| 74 | id: unused_gpio1 | ||
| 75 | pin: | ||
| 76 | number: TX # GPIO1 | ||
| 77 | mode: INPUT_PULLUP | ||
| 78 | - platform: gpio | ||
| 79 | id: unused_gpio3 | ||
| 80 | pin: | ||
| 81 | number: RX # GPIO3 | ||
| 82 | mode: INPUT_PULLUP | ||
| 83 | - platform: gpio | ||
| 84 | id: unused_gpio4 | ||
| 85 | pin: | ||
| 86 | number: D2 # GPIO4 | ||
| 87 | mode: INPUT_PULLUP | ||
| 88 | - platform: gpio | ||
| 89 | id: unused_gpio5 | ||
| 90 | pin: | ||
| 91 | number: D1 # GPIO5 | ||
| 92 | mode: INPUT_PULLUP | ||
| 93 | - platform: gpio | ||
| 94 | id: unused_gpio12 | ||
| 95 | pin: | ||
| 96 | number: D6 # GPIO12 | ||
| 97 | mode: INPUT_PULLUP | ||
| 98 | - platform: gpio | ||
| 99 | id: unused_gpio13 | ||
| 100 | pin: | ||
| 101 | number: D7 # GPIO13 | ||
| 102 | mode: INPUT_PULLUP | ||
| 103 | - platform: gpio | ||
| 104 | id: unused_gpio14 | ||
| 105 | pin: | ||
| 106 | number: D5 # GPIO14 | ||
| 107 | mode: INPUT_PULLUP | ||
| 108 | - platform: gpio | ||
| 109 | id: unused_gpio15 | ||
| 110 | pin: | ||
| 111 | number: D8 # GPIO15 | ||
| 112 | mode: INPUT_PULLUP | ||
| 113 | - platform: gpio | ||
| 114 | id: unused_gpio16 | ||
| 115 | pin: | ||
| 116 | number: D0 # GPIO16 | ||
| 117 | mode: INPUT_PULLDOWN | ||
