-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathwordclock.yaml
58 lines (49 loc) · 1.06 KB
/
wordclock.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
esphome:
name: ${devicename}
platform: ESP8266
board: nodemcuv2
includes:
- wordclock.h
on_boot:
priority: 800
then:
- light.turn_on:
id: fastledlight
substitutions:
devicename: wordclock
friendly_name: "Wordclock"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
fast_connect: true
reboot_timeout: 0min
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "${devicename}"
password: !secret wifi_password
manual_ip:
static_ip: 192.168.1.126
gateway: 192.168.1.1
subnet: 255.255.255.0
api:
password: !secret api_secret
reboot_timeout: 30min
ota:
password: !secret ota_secret
logger:
esp8266_store_log_strings_in_flash: false
light:
- platform: fastled_clockless
id: fastledlight
chipset: WS2812
pin: GPIO03
num_leds: 125
rgb_order: BRG
name: ${friendly_name}
time:
- platform: homeassistant
id: current_time
custom_component:
- lambda: |-
auto wordclock = new Wordclock();
return {wordclock};