-
Notifications
You must be signed in to change notification settings - Fork 1
/
mcu-office-r.yaml
59 lines (52 loc) · 1.03 KB
/
mcu-office-r.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
substitutions:
device: office-r
name: Office R
comment: "MS Teams presence"
esphome:
name: mcu-${device}
comment: ${comment}
platformio_options:
board_build.flash_mode: dio
esp32:
board: esp32-c3-devkitm-1
variant: esp32c3
framework:
# type: arduino
# version: 2.0.14
type: esp-idf
version: 5.1.2
platform_version: 6.5.0
packages:
common: !include common/common.yaml
# GPIO21 UART TX
# GPIO20 UART RX
# GPIO0 I2C SDA
# GPIO1 I2C SCL
# GPIO2 NEO
# GPIO3 BUTTON
light:
- platform: rgb
name: "MS Teams Presence Light"
red: led_red
green: led_green
blue: led_blue
effects:
- pulse:
- pulse:
name: "Fast Pulse"
transition_length: 1s
update_interval: 1s
- pulse:
name: "Slow Pulse"
transition_length: 2s # defaults to 1s
update_interval: 2s
output:
- platform: ledc
id: led_red
pin: 4
- platform: ledc
id: led_green
pin: 5
- platform: ledc
id: led_blue
pin: 6