-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathvideoled.yaml
80 lines (62 loc) · 1.22 KB
/
videoled.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
esphome:
name: videoled
platform: ESP8266
board: esp12e
#platformio_options:
#upload_speed: 115200
esp8266_restore_from_flash: yes
wifi:
ssid: !secret wifi-east
password: !secret wifi-pwd
use_address: videoled.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/videoled
ota:
web_server:
port: 80
include_internal: true
button:
- platform: restart
name: restart
sensor:
- platform: wifi_signal
name: "WiFi Signal VideoLED"
update_interval: 60s
output:
- platform: gpio
pin: GPIO02
id: out_led
inverted: true
- platform: esp8266_pwm
id: out_fet1
pin: GPIO12
frequency: 1000 Hz
- platform: esp8266_pwm
id: out_fet2
pin: GPIO13
frequency: 1000 Hz
light:
- platform: binary
id: status
internal: true
output: out_led
entity_category: diagnostic
- platform: monochromatic
name: "Video LED"
id: "videoled"
default_transition_length: 0.5s
output: out_fet1
- platform: monochromatic
name: "UnderDesk LED"
id: "underdesk"
default_transition_length: 0.5s
output: out_fet2