Browse Source

adding 3-button-board

master
taschenbier 3 years ago
parent
commit
b31d896ba4
  1. 43
      3-button-board.yaml

43
3-button-board.yaml

@ -0,0 +1,43 @@ @@ -0,0 +1,43 @@
<<: !include secrets.yaml
esphome:
name: tmechen_esphome_schaltertest
platform: ESP8266
board: d1_mini
wifi:
ssid: $wifi_ssid
password: $wifi_password
ota:
password: $ota_password
logger:
mqtt:
broker: $mqtt_host
port: $mqtt_port
username: $mqtt_user
password: $mqtt_password
client_id: lugsaar_esphome_3-button-board
topic_prefix: buttons
binary_sensor:
- platform: gpio
pin:
number: GPIO12
inverted: True
mode: INPUT_PULLUP
name: button_yellow
- platform: gpio
pin:
number: GPIO13
inverted: True
mode: INPUT_PULLUP
name: button_green
- platform: gpio
pin:
number: GPIO14
inverted: True
mode: INPUT_PULLUP
name: button_red
Loading…
Cancel
Save