-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbathroom_leds.yaml
59 lines (53 loc) · 1.08 KB
/
bathroom_leds.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
59
esphome:
name: bathroom_leds
platform: ESP8266
board: esp01_1m
wifi:
ssid: !secret wifi_upstairs_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Bathroom Leds Fallback Hotspot"
password: "OxbU7pREGIlb"
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
sensor:
- platform: wifi_signal
name: "Bathroom LEDs WiFi Signal"
update_interval: 60s
#RGBWarm
output:
- platform: esp8266_pwm
pin: 12
frequency: 1000 Hz
id: pwm_b
- platform: esp8266_pwm
pin: 13
frequency: 1000 Hz
id: pwm_g
- platform: esp8266_pwm
pin: 15
frequency: 1000 Hz
id: pwm_r
- platform: esp8266_pwm
pin: 14
frequency: 1000 Hz
id: pwm_w1
- platform: esp8266_pwm
pin: 04
frequency: 1000 Hz
id: pwm_w2
light:
- platform: rgbww
name: "Bathroom LEDs"
red: pwm_r
green: pwm_g
blue: pwm_b
cold_white: pwm_w1
warm_white: pwm_w2
cold_white_color_temperature: 6000 K
warm_white_color_temperature: 2700 K
color_interlock: true