Files
esphome-configs/mcu-rf.yaml
T
randyandClaude Sonnet 5 c895c821ea mcu-rf: rework RF pin wiring and unify transmit/receive frequency
Move rx/tx off the shared gdo0 pin (21) onto dedicated pins, drop the
now-unneeded allow_other_uses/gdo0_pin workarounds, and align tx/rx
frequency to 433.92MHz.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-25 21:25:32 +02:00

58 lines
961 B
YAML

---
substitutions:
device: rf
name: RF Bridge
area: Living Room & Kitchen
comment: Fireplace | RF Gateway
esphome:
name: mcu-${device}
friendly_name: ${name}
area: ${area}
comment: ${comment}
esp32:
variant: esp32
flash_size: 4MB
framework:
type: esp-idf
packages:
common: !include common/common.yaml
spi:
clk_pin: 23
mosi_pin: 19
miso_pin: 22
cc1101:
cs_pin: 33
frequency: 433.92MHz
radio_frequency:
- platform: ir_rf_proxy
name: RF Proxy Transmitter
id: rf_proxy_tx
remote_transmitter_id: rf_tx
frequency: 433.92MHz
- platform: ir_rf_proxy
name: RF Proxy Receiver
id: rf_proxy_rx
remote_receiver_id: rf_rx
frequency: 433.92MHz
remote_receiver:
- id: rf_rx
pin: 25
dump: all
remote_transmitter:
- id: rf_tx
pin: 21
carrier_duty_percent: 100%
on_transmit:
then:
- cc1101.begin_tx
on_complete:
then:
- cc1101.begin_rx