-
Notifications
You must be signed in to change notification settings - Fork 1
/
h801_hallway.yaml
117 lines (101 loc) · 2.1 KB
/
h801_hallway.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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
esphome:
name: "h801-hallway"
platform: ESP8266
board: esp01_1m
wifi:
ssid: !secret wifi-east
password: !secret wifi-pwd
use_address: h801-growled.ak-online.be
mdns:
disabled: true
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
#api:
mqtt:
broker: mqtt.ak-online.be
discovery: true
topic_prefix: esphome/h801_hallway
ota:
web_server:
port: 80
include_internal: true
sensor:
- platform: wifi_signal
name: "WiFi Signal H801 Hallway"
update_interval: 60s
button:
- platform: restart
name: restart
status_led:
pin:
number: GPIO05
#inverted: True
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
- platform: gpio
pin: 01
id: green_led
light:
- platform: monochromatic
name: "Hallway Shelf Strip 1"
id: strip1
internal: true
output: pwm_r
restore_mode: ALWAYS_OFF
- platform: monochromatic
name: "Hallway Shelf Strip 2"
id: strip2
internal: true
output: pwm_g
restore_mode: ALWAYS_OFF
- platform: monochromatic
name: "Hallway Shelf Strip 3"
id: strip3
internal: true
output: pwm_b
restore_mode: ALWAYS_OFF
- platform: monochromatic
name: "Hallway Shelf Strip 4"
id: strip4
internal: true
output: pwm_w2
restore_mode: ALWAYS_OFF
- platform: partition
name: "Hallway Shelf"
default_transition_length: 2s
#gamma_correct: 1.0
segments:
- single_light_id: strip1
- single_light_id: strip2
- single_light_id: strip3
- single_light_id: strip4
effects:
- addressable_rainbow:
- addressable_color_wipe:
- addressable_scan:
- addressable_twinkle:
#- !include effects/ColorShimmerEffect.yaml
- platform: monochromatic
name: "Hallway Shelf Toplight"
output: pwm_w1