espHome-NBS-files/tableTennisDisplay.yaml

53 lines
938 B
YAML
Raw Normal View History

esphome:
name: tabletenniscounter
platform: ESP8266
board: nodemcuv2
external_components:
- source:
type: local
path: external_components/
components: [ ws2812_table_tennis ]
# Enable logging
logger:
ota:
2024-11-18 13:08:12 +00:00
- platform: esphome
password: !secret ttdpassword
api:
encryption:
key: !secret ttdkey
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
fast_connect: true
number:
- platform: template
name: "Red Number"
id: red_num
optimistic: true
min_value: 0
max_value: 99
step: 1
- platform: template
name: "Blue Number"
id: blue_num
optimistic: true
min_value: 0
max_value: 99
step: 1
mqtt:
broker: !secret mqtt_broker_1
client_id: "tableTennisCounter"
username: !secret mqtt_broker_1_username
password: !secret mqtt_broker_1_password
ws2812_table_tennis:
# name: Led Display
red_number: red_num
blue_number: blue_num