Files
esphome-configs/mcu-office-r.yaml
T
randy cc2ab4c467 Move more devices to the IPv6-only network
Add common/ipv6_only.yaml to mcu-clock-1, mcu-desk-lamp, mcu-dimmer,
mcu-fireplace, mcu-gate, mcu-heater, mcu-kitchen, mcu-mains-power,
mcu-nspanel-office-r, mcu-office-r, mcu-patio, mcu-pow-dishwasher,
mcu-rf, mcu-shed, mcu-well.
2026-09-27 22:51:47 +02:00

61 lines
1.0 KiB
YAML

---
substitutions:
device: office-r
name: Office R
area: Office R
comment: MS Teams presence
esphome:
name: mcu-${device}
friendly_name: ${name}
area: ${area}
comment: ${comment}
platformio_options:
board_build.flash_mode: dio
esp32:
variant: esp32c3
toolchain: esp-idf
framework:
type: esp-idf
packages:
common: !include common/common.yaml
ipv6_only: !include common/ipv6_only.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