mirror of
https://github.com/esphome/esphome.git
synced 2025-09-02 03:12:20 +01:00
Add support for AT581x component (#6297)
Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
38
tests/components/at581x/test.esp32-c3-idf.yaml
Normal file
38
tests/components/at581x/test.esp32-c3-idf.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- at581x.settings:
|
||||
id: "Waveradar"
|
||||
hw_frontend_reset: false
|
||||
frequency: 5800MHz
|
||||
sensing_distance: 200
|
||||
poweron_selfcheck_time: 2s
|
||||
protect_time: 1s
|
||||
trigger_base: 500ms
|
||||
trigger_keep: 10s
|
||||
stage_gain: 3
|
||||
power_consumption: 70uA
|
||||
- at581x.reset:
|
||||
id: "Waveradar"
|
||||
|
||||
at581x:
|
||||
id: "Waveradar"
|
||||
i2c_id: i2c_bus
|
||||
|
||||
i2c:
|
||||
sda: 8
|
||||
scl: 9
|
||||
scan: true
|
||||
frequency: 100kHz
|
||||
setup_priority: -100
|
||||
id: i2c_bus
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin: GPIO21
|
||||
name: "Radar motion"
|
||||
|
||||
switch:
|
||||
- platform: at581x
|
||||
at581x_id: "Waveradar"
|
||||
name: "Enable Radar"
|
38
tests/components/at581x/test.esp32-c3.yaml
Normal file
38
tests/components/at581x/test.esp32-c3.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- at581x.settings:
|
||||
id: "Waveradar"
|
||||
hw_frontend_reset: false
|
||||
frequency: 5800MHz
|
||||
sensing_distance: 200
|
||||
poweron_selfcheck_time: 2s
|
||||
protect_time: 1s
|
||||
trigger_base: 500ms
|
||||
trigger_keep: 10s
|
||||
stage_gain: 3
|
||||
power_consumption: 70uA
|
||||
- at581x.reset:
|
||||
id: "Waveradar"
|
||||
|
||||
at581x:
|
||||
id: "Waveradar"
|
||||
i2c_id: i2c_bus
|
||||
|
||||
i2c:
|
||||
sda: 8
|
||||
scl: 9
|
||||
scan: true
|
||||
frequency: 100kHz
|
||||
setup_priority: -100
|
||||
id: i2c_bus
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin: GPIO21
|
||||
name: "Radar motion"
|
||||
|
||||
switch:
|
||||
- platform: at581x
|
||||
at581x_id: "Waveradar"
|
||||
name: "Enable Radar"
|
38
tests/components/at581x/test.esp32-idf.yaml
Normal file
38
tests/components/at581x/test.esp32-idf.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- at581x.settings:
|
||||
id: "Waveradar"
|
||||
hw_frontend_reset: false
|
||||
frequency: 5800MHz
|
||||
sensing_distance: 200
|
||||
poweron_selfcheck_time: 2s
|
||||
protect_time: 1s
|
||||
trigger_base: 500ms
|
||||
trigger_keep: 10s
|
||||
stage_gain: 3
|
||||
power_consumption: 70uA
|
||||
- at581x.reset:
|
||||
id: "Waveradar"
|
||||
|
||||
at581x:
|
||||
id: "Waveradar"
|
||||
i2c_id: i2c_bus
|
||||
|
||||
i2c:
|
||||
sda: 14
|
||||
scl: 15
|
||||
scan: true
|
||||
frequency: 100kHz
|
||||
setup_priority: -100
|
||||
id: i2c_bus
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin: GPIO21
|
||||
name: "Radar motion"
|
||||
|
||||
switch:
|
||||
- platform: at581x
|
||||
at581x_id: "Waveradar"
|
||||
name: "Enable Radar"
|
38
tests/components/at581x/test.esp32.yaml
Normal file
38
tests/components/at581x/test.esp32.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- at581x.settings:
|
||||
id: "Waveradar"
|
||||
hw_frontend_reset: false
|
||||
frequency: 5800MHz
|
||||
sensing_distance: 200
|
||||
poweron_selfcheck_time: 2s
|
||||
protect_time: 1s
|
||||
trigger_base: 500ms
|
||||
trigger_keep: 10s
|
||||
stage_gain: 3
|
||||
power_consumption: 70uA
|
||||
- at581x.reset:
|
||||
id: "Waveradar"
|
||||
|
||||
at581x:
|
||||
id: "Waveradar"
|
||||
i2c_id: i2c_bus
|
||||
|
||||
i2c:
|
||||
sda: 14
|
||||
scl: 15
|
||||
scan: true
|
||||
frequency: 100kHz
|
||||
setup_priority: -100
|
||||
id: i2c_bus
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin: GPIO21
|
||||
name: "Radar motion"
|
||||
|
||||
switch:
|
||||
- platform: at581x
|
||||
at581x_id: "Waveradar"
|
||||
name: "Enable Radar"
|
38
tests/components/at581x/test.esp8266.yaml
Normal file
38
tests/components/at581x/test.esp8266.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- at581x.settings:
|
||||
id: "Waveradar"
|
||||
hw_frontend_reset: false
|
||||
frequency: 5800MHz
|
||||
sensing_distance: 200
|
||||
poweron_selfcheck_time: 2s
|
||||
protect_time: 1s
|
||||
trigger_base: 500ms
|
||||
trigger_keep: 10s
|
||||
stage_gain: 3
|
||||
power_consumption: 70uA
|
||||
- at581x.reset:
|
||||
id: "Waveradar"
|
||||
|
||||
at581x:
|
||||
id: "Waveradar"
|
||||
i2c_id: i2c_bus
|
||||
|
||||
i2c:
|
||||
sda: 14
|
||||
scl: 15
|
||||
scan: true
|
||||
frequency: 100kHz
|
||||
setup_priority: -100
|
||||
id: i2c_bus
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin: GPIO4
|
||||
name: "Radar motion"
|
||||
|
||||
switch:
|
||||
- platform: at581x
|
||||
at581x_id: "Waveradar"
|
||||
name: "Enable Radar"
|
38
tests/components/at581x/test.rp2040.yaml
Normal file
38
tests/components/at581x/test.rp2040.yaml
Normal file
@@ -0,0 +1,38 @@
|
||||
esphome:
|
||||
on_boot:
|
||||
then:
|
||||
- at581x.settings:
|
||||
id: "Waveradar"
|
||||
hw_frontend_reset: false
|
||||
frequency: 5800MHz
|
||||
sensing_distance: 200
|
||||
poweron_selfcheck_time: 2s
|
||||
protect_time: 1s
|
||||
trigger_base: 500ms
|
||||
trigger_keep: 10s
|
||||
stage_gain: 3
|
||||
power_consumption: 70uA
|
||||
- at581x.reset:
|
||||
id: "Waveradar"
|
||||
|
||||
at581x:
|
||||
id: "Waveradar"
|
||||
i2c_id: i2c_bus
|
||||
|
||||
i2c:
|
||||
sda: 8
|
||||
scl: 9
|
||||
scan: true
|
||||
frequency: 100kHz
|
||||
setup_priority: -100
|
||||
id: i2c_bus
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin: GPIO21
|
||||
name: "Radar motion"
|
||||
|
||||
switch:
|
||||
- platform: at581x
|
||||
at581x_id: "Waveradar"
|
||||
name: "Enable Radar"
|
Reference in New Issue
Block a user