30 lines
No EOL
483 B
YAML
30 lines
No EOL
483 B
YAML
esp8266:
|
|
board: d1_mini
|
|
|
|
# https://esphome.io/components/captive_portal.html
|
|
captive_portal:
|
|
|
|
i2c:
|
|
# default: sda: GPIO4
|
|
# default: scl: GPIO5
|
|
# default: scan: true
|
|
|
|
uart:
|
|
tx_pin: GPIO1
|
|
rx_pin: GPIO3
|
|
baud_rate: 9600
|
|
|
|
light:
|
|
- platform: binary
|
|
name: ${macsuffix}_status_led
|
|
id: status_led
|
|
output: light_output
|
|
|
|
output:
|
|
- id: light_output
|
|
platform: gpio
|
|
pin:
|
|
number: GPIO2
|
|
inverted: true
|
|
|
|
wifi: !include ../../private/esphome-wifi.yaml |