-
Notifications
You must be signed in to change notification settings - Fork 1
/
h801_alpha.yaml
86 lines (72 loc) · 1.32 KB
/
h801_alpha.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
esphome:
name: h801-alpha
platform: ESP8266
board: esp01_1m
wifi:
ssid: !secret wifi-east
password: !secret wifi-pwd
use_address: h801-alpha.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_alpha
ota:
web_server:
port: 80
include_internal: true
button:
- platform: restart
name: "Restart"
sensor:
- platform: wifi_signal
name: "WiFi Signal H801 Alpha"
update_interval: 60s
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_r
- platform: esp8266_pwm
pin: 15
frequency: 1000 Hz
id: pwm_g
- 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: rgb
name: "Bedroom Moodlight"
red: pwm_g
green: pwm_r
blue: pwm_b
gamma_correct: 1.0
restore_mode: ALWAYS_OFF
# - platform: monochromatic
# name: "downlight"
# output: pwm_w1
# - platform: monochromatic
# name: "shelf-bottom"
# output: pwm_w2