1
0
mirror of https://github.com/esphome/esphome.git synced 2026-02-08 00:31:58 +00:00

[cc1101] Add new cc1101 component (#11849)

Co-authored-by: Jonathan Swoboda <154711427+swoboda1337@users.noreply.github.com>
This commit is contained in:
lygris
2025-12-03 09:42:04 -06:00
committed by GitHub
parent 669bcad458
commit 87ac4baf3a
9 changed files with 1735 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
cc1101:
id: transceiver
cs_pin: ${cs_pin}
frequency: 433920
if_frequency: 153
filter_bandwidth: 203
channel: 0
channel_spacing: 200
symbol_rate: 5000
modulation_type: ASK/OOK
button:
- platform: template
name: "CC1101 Button"
on_press:
then:
- cc1101.begin_tx: transceiver
- cc1101.begin_rx: transceiver
- cc1101.set_idle: transceiver
- cc1101.reset: transceiver

View File

@@ -0,0 +1,8 @@
substitutions:
cs_pin: GPIO5
packages:
spi: !include ../../test_build_components/common/spi/esp32-idf.yaml
remote_receiver: !include ../../test_build_components/common/remote_receiver/esp32-idf.yaml
<<: !include common.yaml

View File

@@ -0,0 +1,8 @@
substitutions:
cs_pin: GPIO5
packages:
spi: !include ../../test_build_components/common/spi/esp8266-ard.yaml
remote_receiver: !include ../../test_build_components/common/remote_receiver/esp8266-ard.yaml
<<: !include common.yaml