1734
|
1 substitutions:
|
|
2 pwm_freq: 310 Hz
|
|
3
|
|
4 esphome:
|
|
5 name: h801_skylight
|
|
6 platform: ESP8266
|
|
7 board: esp8285
|
|
8
|
|
9 wifi:
|
|
10 ssid: !secret wifi_ssid
|
|
11 password: !secret wifi_password
|
|
12
|
|
13 mqtt:
|
|
14 broker: "mqtt2.bigasterisk.com"
|
|
15 port: 1883
|
|
16
|
|
17 logger:
|
|
18 baud_rate: 115200
|
|
19
|
|
20 ota:
|
|
21
|
|
22 output:
|
|
23 - id: pwm_b
|
|
24 platform: esp8266_pwm
|
|
25 pin: 12
|
|
26 frequency: ${pwm_freq}
|
|
27 - id: pwm_r
|
|
28 platform: esp8266_pwm
|
|
29 pin: 13
|
|
30 frequency: ${pwm_freq}
|
|
31 - id: pwm_g
|
|
32 platform: esp8266_pwm
|
|
33 pin: 15
|
|
34 frequency: ${pwm_freq}
|
|
35 - id: pwm_w1
|
|
36 platform: esp8266_pwm
|
|
37 pin: 14
|
|
38 frequency: ${pwm_freq}
|
|
39 - id: pwm_w2
|
|
40 platform: esp8266_pwm
|
|
41 pin: 4
|
|
42 frequency: ${pwm_freq}
|
|
43
|
|
44 light:
|
|
45 - platform: monochromatic
|
|
46 name: "Kit_r"
|
|
47 output: pwm_r
|
|
48 - platform: monochromatic
|
|
49 name: "Kit_g"
|
|
50 output: pwm_g
|
|
51 - platform: monochromatic
|
|
52 name: "Kit_b"
|
|
53 output: pwm_b
|
|
54 - platform: monochromatic
|
|
55 name: "Kit_w1"
|
|
56 output: pwm_w1
|
|
57 - platform: monochromatic
|
|
58 name: "Kit_w2"
|
|
59 output: pwm_w2
|