mirror of
https://github.com/esphome/esphome.git
synced 2025-10-29 22:24:26 +00:00
[tests] Migrate remote_transmitter/receiver to common bus definitions (#11325)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# Common remote_receiver configuration for ESP32-C3 IDF tests
|
||||
# Provides a shared remote receiver that all components can use
|
||||
# Components will auto-use this receiver if they don't specify receiver_id
|
||||
|
||||
substitutions:
|
||||
remote_receiver_pin: GPIO5
|
||||
|
||||
remote_receiver:
|
||||
- id: rcvr
|
||||
pin: ${remote_receiver_pin}
|
||||
dump: all
|
||||
tolerance: 25%
|
||||
clock_resolution: 2000000
|
||||
filter_symbols: 2
|
||||
receive_symbols: 4
|
||||
rmt_symbols: 64
|
||||
@@ -0,0 +1,16 @@
|
||||
# Common remote_receiver configuration for ESP32 IDF tests
|
||||
# Provides a shared remote receiver that all components can use
|
||||
# Components will auto-use this receiver if they don't specify receiver_id
|
||||
|
||||
substitutions:
|
||||
remote_receiver_pin: GPIO32
|
||||
|
||||
remote_receiver:
|
||||
- id: rcvr
|
||||
pin: ${remote_receiver_pin}
|
||||
dump: all
|
||||
tolerance: 25%
|
||||
clock_resolution: 2000000
|
||||
filter_symbols: 2
|
||||
receive_symbols: 4
|
||||
rmt_symbols: 64
|
||||
@@ -0,0 +1,12 @@
|
||||
# Common remote_receiver configuration for ESP8266 Arduino tests
|
||||
# Provides a shared remote receiver that all components can use
|
||||
# Components will auto-use this receiver if they don't specify receiver_id
|
||||
|
||||
substitutions:
|
||||
remote_receiver_pin: GPIO5
|
||||
|
||||
remote_receiver:
|
||||
id: rcvr
|
||||
pin: ${remote_receiver_pin}
|
||||
dump: all
|
||||
tolerance: 25%
|
||||
@@ -0,0 +1,11 @@
|
||||
# Common remote_transmitter configuration for BK72XX Arduino tests
|
||||
# Provides a shared remote transmitter that all components can use
|
||||
# Components will auto-use this transmitter if they don't specify transmitter_id
|
||||
|
||||
substitutions:
|
||||
remote_transmitter_pin: GPIO6
|
||||
|
||||
remote_transmitter:
|
||||
id: xmitr
|
||||
pin: ${remote_transmitter_pin}
|
||||
carrier_duty_percent: 50%
|
||||
@@ -0,0 +1,11 @@
|
||||
# Common remote_transmitter configuration for ESP32 Arduino tests
|
||||
# Provides a shared remote transmitter that all components can use
|
||||
# Components will auto-use this transmitter if they don't specify transmitter_id
|
||||
|
||||
substitutions:
|
||||
remote_transmitter_pin: GPIO2
|
||||
|
||||
remote_transmitter:
|
||||
id: xmitr
|
||||
pin: ${remote_transmitter_pin}
|
||||
carrier_duty_percent: 50%
|
||||
@@ -0,0 +1,13 @@
|
||||
# Common remote_transmitter configuration for ESP32-C3 IDF tests
|
||||
# Provides a shared remote transmitter that all components can use
|
||||
# Components will auto-use this transmitter if they don't specify transmitter_id
|
||||
|
||||
substitutions:
|
||||
remote_transmitter_pin: GPIO2
|
||||
|
||||
remote_transmitter:
|
||||
- id: xmitr
|
||||
pin: ${remote_transmitter_pin}
|
||||
carrier_duty_percent: 50%
|
||||
clock_resolution: 2000000
|
||||
rmt_symbols: 64
|
||||
@@ -0,0 +1,13 @@
|
||||
# Common remote_transmitter configuration for ESP32 IDF tests
|
||||
# Provides a shared remote transmitter that all components can use
|
||||
# Components will auto-use this transmitter if they don't specify transmitter_id
|
||||
|
||||
substitutions:
|
||||
remote_transmitter_pin: GPIO2
|
||||
|
||||
remote_transmitter:
|
||||
- id: xmitr
|
||||
pin: ${remote_transmitter_pin}
|
||||
carrier_duty_percent: 50%
|
||||
clock_resolution: 2000000
|
||||
rmt_symbols: 64
|
||||
@@ -0,0 +1,11 @@
|
||||
# Common remote_transmitter configuration for ESP8266 Arduino tests
|
||||
# Provides a shared remote transmitter that all components can use
|
||||
# Components will auto-use this transmitter if they don't specify transmitter_id
|
||||
|
||||
substitutions:
|
||||
remote_transmitter_pin: GPIO2
|
||||
|
||||
remote_transmitter:
|
||||
id: xmitr
|
||||
pin: ${remote_transmitter_pin}
|
||||
carrier_duty_percent: 50%
|
||||
Reference in New Issue
Block a user