Add some components to the new testing framework (D) (#6175)

This commit is contained in:
Keith Burzinski 2024-02-20 13:40:13 -06:00 committed by GitHub
parent 5ef1bab23e
commit 2948d87a66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
93 changed files with 1660 additions and 0 deletions

View File

@ -0,0 +1,43 @@
i2c:
- id: i2c_dac7678
scl: 5
sda: 4
dac7678:
address: 0x4A
id: dac7678_hub
internal_reference: true
output:
- platform: dac7678
dac7678_id: dac7678_hub
channel: 0
id: dac7678_1_ch0
- platform: dac7678
dac7678_id: dac7678_hub
channel: 1
id: dac7678_1_ch1
- platform: dac7678
dac7678_id: dac7678_hub
channel: 2
id: dac7678_1_ch2
- platform: dac7678
dac7678_id: dac7678_hub
channel: 3
id: dac7678_1_ch3
- platform: dac7678
dac7678_id: dac7678_hub
channel: 4
id: dac7678_1_ch4
- platform: dac7678
dac7678_id: dac7678_hub
channel: 5
id: dac7678_1_ch5
- platform: dac7678
dac7678_id: dac7678_hub
channel: 6
id: dac7678_1_ch6
- platform: dac7678
dac7678_id: dac7678_hub
channel: 7
id: dac7678_1_ch7

View File

@ -0,0 +1,43 @@
i2c:
- id: i2c_dac7678
scl: 5
sda: 4
dac7678:
address: 0x4A
id: dac7678_hub
internal_reference: true
output:
- platform: dac7678
dac7678_id: dac7678_hub
channel: 0
id: dac7678_1_ch0
- platform: dac7678
dac7678_id: dac7678_hub
channel: 1
id: dac7678_1_ch1
- platform: dac7678
dac7678_id: dac7678_hub
channel: 2
id: dac7678_1_ch2
- platform: dac7678
dac7678_id: dac7678_hub
channel: 3
id: dac7678_1_ch3
- platform: dac7678
dac7678_id: dac7678_hub
channel: 4
id: dac7678_1_ch4
- platform: dac7678
dac7678_id: dac7678_hub
channel: 5
id: dac7678_1_ch5
- platform: dac7678
dac7678_id: dac7678_hub
channel: 6
id: dac7678_1_ch6
- platform: dac7678
dac7678_id: dac7678_hub
channel: 7
id: dac7678_1_ch7

View File

@ -0,0 +1,43 @@
i2c:
- id: i2c_dac7678
scl: 16
sda: 17
dac7678:
address: 0x4A
id: dac7678_hub
internal_reference: true
output:
- platform: dac7678
dac7678_id: dac7678_hub
channel: 0
id: dac7678_1_ch0
- platform: dac7678
dac7678_id: dac7678_hub
channel: 1
id: dac7678_1_ch1
- platform: dac7678
dac7678_id: dac7678_hub
channel: 2
id: dac7678_1_ch2
- platform: dac7678
dac7678_id: dac7678_hub
channel: 3
id: dac7678_1_ch3
- platform: dac7678
dac7678_id: dac7678_hub
channel: 4
id: dac7678_1_ch4
- platform: dac7678
dac7678_id: dac7678_hub
channel: 5
id: dac7678_1_ch5
- platform: dac7678
dac7678_id: dac7678_hub
channel: 6
id: dac7678_1_ch6
- platform: dac7678
dac7678_id: dac7678_hub
channel: 7
id: dac7678_1_ch7

View File

@ -0,0 +1,43 @@
i2c:
- id: i2c_dac7678
scl: 16
sda: 17
dac7678:
address: 0x4A
id: dac7678_hub
internal_reference: true
output:
- platform: dac7678
dac7678_id: dac7678_hub
channel: 0
id: dac7678_1_ch0
- platform: dac7678
dac7678_id: dac7678_hub
channel: 1
id: dac7678_1_ch1
- platform: dac7678
dac7678_id: dac7678_hub
channel: 2
id: dac7678_1_ch2
- platform: dac7678
dac7678_id: dac7678_hub
channel: 3
id: dac7678_1_ch3
- platform: dac7678
dac7678_id: dac7678_hub
channel: 4
id: dac7678_1_ch4
- platform: dac7678
dac7678_id: dac7678_hub
channel: 5
id: dac7678_1_ch5
- platform: dac7678
dac7678_id: dac7678_hub
channel: 6
id: dac7678_1_ch6
- platform: dac7678
dac7678_id: dac7678_hub
channel: 7
id: dac7678_1_ch7

View File

@ -0,0 +1,43 @@
i2c:
- id: i2c_dac7678
scl: 5
sda: 4
dac7678:
address: 0x4A
id: dac7678_hub
internal_reference: true
output:
- platform: dac7678
dac7678_id: dac7678_hub
channel: 0
id: dac7678_1_ch0
- platform: dac7678
dac7678_id: dac7678_hub
channel: 1
id: dac7678_1_ch1
- platform: dac7678
dac7678_id: dac7678_hub
channel: 2
id: dac7678_1_ch2
- platform: dac7678
dac7678_id: dac7678_hub
channel: 3
id: dac7678_1_ch3
- platform: dac7678
dac7678_id: dac7678_hub
channel: 4
id: dac7678_1_ch4
- platform: dac7678
dac7678_id: dac7678_hub
channel: 5
id: dac7678_1_ch5
- platform: dac7678
dac7678_id: dac7678_hub
channel: 6
id: dac7678_1_ch6
- platform: dac7678
dac7678_id: dac7678_hub
channel: 7
id: dac7678_1_ch7

View File

@ -0,0 +1,43 @@
i2c:
- id: i2c_dac7678
scl: 5
sda: 4
dac7678:
address: 0x4A
id: dac7678_hub
internal_reference: true
output:
- platform: dac7678
dac7678_id: dac7678_hub
channel: 0
id: dac7678_1_ch0
- platform: dac7678
dac7678_id: dac7678_hub
channel: 1
id: dac7678_1_ch1
- platform: dac7678
dac7678_id: dac7678_hub
channel: 2
id: dac7678_1_ch2
- platform: dac7678
dac7678_id: dac7678_hub
channel: 3
id: dac7678_1_ch3
- platform: dac7678
dac7678_id: dac7678_hub
channel: 4
id: dac7678_1_ch4
- platform: dac7678
dac7678_id: dac7678_hub
channel: 5
id: dac7678_1_ch5
- platform: dac7678
dac7678_id: dac7678_hub
channel: 6
id: dac7678_1_ch6
- platform: dac7678
dac7678_id: dac7678_hub
channel: 7
id: dac7678_1_ch7

View File

@ -0,0 +1,12 @@
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
climate:
- platform: heatpumpir
protocol: daikin
horizontal_default: middle
vertical_default: middle
name: HeatpumpIR Climate
min_temperature: 18
max_temperature: 30

View File

@ -0,0 +1,12 @@
remote_transmitter:
pin: 5
carrier_duty_percent: 50%
climate:
- platform: heatpumpir
protocol: daikin
horizontal_default: middle
vertical_default: middle
name: HeatpumpIR Climate
min_temperature: 18
max_temperature: 30

View File

@ -0,0 +1,7 @@
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
climate:
- platform: daikin_brc
name: Daikin_brc Climate

View File

@ -0,0 +1,7 @@
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
climate:
- platform: daikin_brc
name: Daikin_brc Climate

View File

@ -0,0 +1,7 @@
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
climate:
- platform: daikin_brc
name: Daikin_brc Climate

View File

@ -0,0 +1,7 @@
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
climate:
- platform: daikin_brc
name: Daikin_brc Climate

View File

@ -0,0 +1,7 @@
remote_transmitter:
pin: 5
carrier_duty_percent: 50%
climate:
- platform: daikin_brc
name: Daikin_brc Climate

View File

@ -0,0 +1,11 @@
dallas:
pin: 4
sensor:
- platform: dallas
address: 0x1C0000031EDD2A28
name: Dallas Temperature
resolution: 9
- platform: dallas
index: 1
name: Dallas Temperature

View File

@ -0,0 +1,11 @@
dallas:
pin: 4
sensor:
- platform: dallas
address: 0x1C0000031EDD2A28
name: Dallas Temperature
resolution: 9
- platform: dallas
index: 1
name: Dallas Temperature

View File

@ -0,0 +1,11 @@
dallas:
pin: 4
sensor:
- platform: dallas
address: 0x1C0000031EDD2A28
name: Dallas Temperature
resolution: 9
- platform: dallas
index: 1
name: Dallas Temperature

View File

@ -0,0 +1,11 @@
dallas:
pin: 4
sensor:
- platform: dallas
address: 0x1C0000031EDD2A28
name: Dallas Temperature
resolution: 9
- platform: dallas
index: 1
name: Dallas Temperature

View File

@ -0,0 +1,11 @@
dallas:
pin: 4
sensor:
- platform: dallas
address: 0x1C0000031EDD2A28
name: Dallas Temperature
resolution: 9
- platform: dallas
index: 1
name: Dallas Temperature

View File

@ -0,0 +1,11 @@
dallas:
pin: 4
sensor:
- platform: dallas
address: 0x1C0000031EDD2A28
name: Dallas Temperature
resolution: 9
- platform: dallas
index: 1
name: Dallas Temperature

View File

@ -0,0 +1,55 @@
uart:
- id: uart_daly_bms
tx_pin:
number: 4
rx_pin:
number: 5
baud_rate: 4800
daly_bms:
update_interval: 20s
binary_sensor:
- platform: daly_bms
charging_mos_enabled:
name: Charging MOS
discharging_mos_enabled:
name: Discharging MOS
sensor:
- platform: daly_bms
voltage:
name: Battery Voltage
current:
name: Battery Current
battery_level:
name: Battery Level
max_cell_voltage:
name: Max Cell Voltage
max_cell_voltage_number:
name: Max Cell Voltage Number
min_cell_voltage:
name: Min Cell Voltage
min_cell_voltage_number:
name: Min Cell Voltage Number
max_temperature:
name: Max Temperature
max_temperature_probe_number:
name: Max Temperature Probe Number
min_temperature:
name: Min Temperature
min_temperature_probe_number:
name: Min Temperature Probe Number
remaining_capacity:
name: Remaining Capacity
cells_number:
name: Cells Number
temperature_1:
name: Temperature 1
temperature_2:
name: Temperature 2
text_sensor:
- platform: daly_bms
status:
name: BMS Status

View File

@ -0,0 +1,55 @@
uart:
- id: uart_daly_bms
tx_pin:
number: 4
rx_pin:
number: 5
baud_rate: 4800
daly_bms:
update_interval: 20s
binary_sensor:
- platform: daly_bms
charging_mos_enabled:
name: Charging MOS
discharging_mos_enabled:
name: Discharging MOS
sensor:
- platform: daly_bms
voltage:
name: Battery Voltage
current:
name: Battery Current
battery_level:
name: Battery Level
max_cell_voltage:
name: Max Cell Voltage
max_cell_voltage_number:
name: Max Cell Voltage Number
min_cell_voltage:
name: Min Cell Voltage
min_cell_voltage_number:
name: Min Cell Voltage Number
max_temperature:
name: Max Temperature
max_temperature_probe_number:
name: Max Temperature Probe Number
min_temperature:
name: Min Temperature
min_temperature_probe_number:
name: Min Temperature Probe Number
remaining_capacity:
name: Remaining Capacity
cells_number:
name: Cells Number
temperature_1:
name: Temperature 1
temperature_2:
name: Temperature 2
text_sensor:
- platform: daly_bms
status:
name: BMS Status

View File

@ -0,0 +1,55 @@
uart:
- id: uart_daly_bms
tx_pin:
number: 17
rx_pin:
number: 16
baud_rate: 4800
daly_bms:
update_interval: 20s
binary_sensor:
- platform: daly_bms
charging_mos_enabled:
name: Charging MOS
discharging_mos_enabled:
name: Discharging MOS
sensor:
- platform: daly_bms
voltage:
name: Battery Voltage
current:
name: Battery Current
battery_level:
name: Battery Level
max_cell_voltage:
name: Max Cell Voltage
max_cell_voltage_number:
name: Max Cell Voltage Number
min_cell_voltage:
name: Min Cell Voltage
min_cell_voltage_number:
name: Min Cell Voltage Number
max_temperature:
name: Max Temperature
max_temperature_probe_number:
name: Max Temperature Probe Number
min_temperature:
name: Min Temperature
min_temperature_probe_number:
name: Min Temperature Probe Number
remaining_capacity:
name: Remaining Capacity
cells_number:
name: Cells Number
temperature_1:
name: Temperature 1
temperature_2:
name: Temperature 2
text_sensor:
- platform: daly_bms
status:
name: BMS Status

View File

@ -0,0 +1,55 @@
uart:
- id: uart_daly_bms
tx_pin:
number: 17
rx_pin:
number: 16
baud_rate: 4800
daly_bms:
update_interval: 20s
binary_sensor:
- platform: daly_bms
charging_mos_enabled:
name: Charging MOS
discharging_mos_enabled:
name: Discharging MOS
sensor:
- platform: daly_bms
voltage:
name: Battery Voltage
current:
name: Battery Current
battery_level:
name: Battery Level
max_cell_voltage:
name: Max Cell Voltage
max_cell_voltage_number:
name: Max Cell Voltage Number
min_cell_voltage:
name: Min Cell Voltage
min_cell_voltage_number:
name: Min Cell Voltage Number
max_temperature:
name: Max Temperature
max_temperature_probe_number:
name: Max Temperature Probe Number
min_temperature:
name: Min Temperature
min_temperature_probe_number:
name: Min Temperature Probe Number
remaining_capacity:
name: Remaining Capacity
cells_number:
name: Cells Number
temperature_1:
name: Temperature 1
temperature_2:
name: Temperature 2
text_sensor:
- platform: daly_bms
status:
name: BMS Status

View File

@ -0,0 +1,55 @@
uart:
- id: uart_daly_bms
tx_pin:
number: 4
rx_pin:
number: 5
baud_rate: 4800
daly_bms:
update_interval: 20s
binary_sensor:
- platform: daly_bms
charging_mos_enabled:
name: Charging MOS
discharging_mos_enabled:
name: Discharging MOS
sensor:
- platform: daly_bms
voltage:
name: Battery Voltage
current:
name: Battery Current
battery_level:
name: Battery Level
max_cell_voltage:
name: Max Cell Voltage
max_cell_voltage_number:
name: Max Cell Voltage Number
min_cell_voltage:
name: Min Cell Voltage
min_cell_voltage_number:
name: Min Cell Voltage Number
max_temperature:
name: Max Temperature
max_temperature_probe_number:
name: Max Temperature Probe Number
min_temperature:
name: Min Temperature
min_temperature_probe_number:
name: Min Temperature Probe Number
remaining_capacity:
name: Remaining Capacity
cells_number:
name: Cells Number
temperature_1:
name: Temperature 1
temperature_2:
name: Temperature 2
text_sensor:
- platform: daly_bms
status:
name: BMS Status

View File

@ -0,0 +1,55 @@
uart:
- id: uart_daly_bms
tx_pin:
number: 4
rx_pin:
number: 5
baud_rate: 4800
daly_bms:
update_interval: 20s
binary_sensor:
- platform: daly_bms
charging_mos_enabled:
name: Charging MOS
discharging_mos_enabled:
name: Discharging MOS
sensor:
- platform: daly_bms
voltage:
name: Battery Voltage
current:
name: Battery Current
battery_level:
name: Battery Level
max_cell_voltage:
name: Max Cell Voltage
max_cell_voltage_number:
name: Max Cell Voltage Number
min_cell_voltage:
name: Min Cell Voltage
min_cell_voltage_number:
name: Min Cell Voltage Number
max_temperature:
name: Max Temperature
max_temperature_probe_number:
name: Max Temperature Probe Number
min_temperature:
name: Min Temperature
min_temperature_probe_number:
name: Min Temperature Probe Number
remaining_capacity:
name: Remaining Capacity
cells_number:
name: Cells Number
temperature_1:
name: Temperature 1
temperature_2:
name: Temperature 2
text_sensor:
- platform: daly_bms
status:
name: BMS Status

View File

@ -0,0 +1 @@
debug:

View File

@ -0,0 +1 @@
debug:

View File

@ -0,0 +1 @@
debug:

View File

@ -0,0 +1 @@
debug:

View File

@ -0,0 +1 @@
debug:

View File

@ -0,0 +1 @@
debug:

View File

@ -0,0 +1,14 @@
esphome:
on_boot:
then:
- deep_sleep.prevent
- delay: 1s
- deep_sleep.allow
deep_sleep:
run_duration:
default: 10s
gpio_wakeup_reason: 30s
sleep_duration: 50s
wakeup_pin: 4
wakeup_pin_mode: INVERT_WAKEUP

View File

@ -0,0 +1,14 @@
esphome:
on_boot:
then:
- deep_sleep.prevent
- delay: 1s
- deep_sleep.allow
deep_sleep:
run_duration:
default: 10s
gpio_wakeup_reason: 30s
sleep_duration: 50s
wakeup_pin: 4
wakeup_pin_mode: INVERT_WAKEUP

View File

@ -0,0 +1,14 @@
esphome:
on_boot:
then:
- deep_sleep.prevent
- delay: 1s
- deep_sleep.allow
deep_sleep:
run_duration:
default: 10s
gpio_wakeup_reason: 30s
sleep_duration: 50s
wakeup_pin: 4
wakeup_pin_mode: INVERT_WAKEUP

View File

@ -0,0 +1,14 @@
esphome:
on_boot:
then:
- deep_sleep.prevent
- delay: 1s
- deep_sleep.allow
deep_sleep:
run_duration:
default: 10s
gpio_wakeup_reason: 30s
sleep_duration: 50s
wakeup_pin: 4
wakeup_pin_mode: INVERT_WAKEUP

View File

@ -0,0 +1,10 @@
esphome:
on_boot:
then:
- deep_sleep.prevent
- delay: 1s
- deep_sleep.allow
deep_sleep:
run_duration: 10s
sleep_duration: 50s

View File

@ -0,0 +1,7 @@
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
climate:
- platform: delonghi
name: Delonghi Climate

View File

@ -0,0 +1,7 @@
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
climate:
- platform: delonghi
name: Delonghi Climate

View File

@ -0,0 +1,7 @@
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
climate:
- platform: delonghi
name: Delonghi Climate

View File

@ -0,0 +1,7 @@
remote_transmitter:
pin: 2
carrier_duty_percent: 50%
climate:
- platform: delonghi
name: Delonghi Climate

View File

@ -0,0 +1,7 @@
remote_transmitter:
pin: 5
carrier_duty_percent: 50%
climate:
- platform: delonghi
name: Delonghi Climate

View File

@ -0,0 +1,42 @@
esphome:
on_boot:
then:
- dfplayer.play: 5
- dfplayer.play:
file: 4
loop: true
- dfplayer.play_folder:
folder: 1
file: 3
- dfplayer.play_folder:
folder: 1
loop: true
- dfplayer.set_device:
device: TF_CARD
- dfplayer.set_volume: 5
- dfplayer.set_eq: ROCK
- dfplayer.play_next
- dfplayer.play_previous
- dfplayer.reset
- dfplayer.start
- dfplayer.pause
- dfplayer.stop
- dfplayer.random
- dfplayer.volume_up
- dfplayer.volume_down
- dfplayer.sleep
uart:
- id: uart_dfplayer
tx_pin: 4
rx_pin: 5
baud_rate: 9600
dfplayer:
on_finished_playback:
then:
if:
condition:
not: dfplayer.is_playing
then:
logger.log: Playback finished event

View File

@ -0,0 +1,42 @@
esphome:
on_boot:
then:
- dfplayer.play: 5
- dfplayer.play:
file: 4
loop: true
- dfplayer.play_folder:
folder: 1
file: 3
- dfplayer.play_folder:
folder: 1
loop: true
- dfplayer.set_device:
device: TF_CARD
- dfplayer.set_volume: 5
- dfplayer.set_eq: ROCK
- dfplayer.play_next
- dfplayer.play_previous
- dfplayer.reset
- dfplayer.start
- dfplayer.pause
- dfplayer.stop
- dfplayer.random
- dfplayer.volume_up
- dfplayer.volume_down
- dfplayer.sleep
uart:
- id: uart_dfplayer
tx_pin: 4
rx_pin: 5
baud_rate: 9600
dfplayer:
on_finished_playback:
then:
if:
condition:
not: dfplayer.is_playing
then:
logger.log: Playback finished event

View File

@ -0,0 +1,42 @@
esphome:
on_boot:
then:
- dfplayer.play: 5
- dfplayer.play:
file: 4
loop: true
- dfplayer.play_folder:
folder: 1
file: 3
- dfplayer.play_folder:
folder: 1
loop: true
- dfplayer.set_device:
device: TF_CARD
- dfplayer.set_volume: 5
- dfplayer.set_eq: ROCK
- dfplayer.play_next
- dfplayer.play_previous
- dfplayer.reset
- dfplayer.start
- dfplayer.pause
- dfplayer.stop
- dfplayer.random
- dfplayer.volume_up
- dfplayer.volume_down
- dfplayer.sleep
uart:
- id: uart_dfplayer
tx_pin: 17
rx_pin: 16
baud_rate: 9600
dfplayer:
on_finished_playback:
then:
if:
condition:
not: dfplayer.is_playing
then:
logger.log: Playback finished event

View File

@ -0,0 +1,42 @@
esphome:
on_boot:
then:
- dfplayer.play: 5
- dfplayer.play:
file: 4
loop: true
- dfplayer.play_folder:
folder: 1
file: 3
- dfplayer.play_folder:
folder: 1
loop: true
- dfplayer.set_device:
device: TF_CARD
- dfplayer.set_volume: 5
- dfplayer.set_eq: ROCK
- dfplayer.play_next
- dfplayer.play_previous
- dfplayer.reset
- dfplayer.start
- dfplayer.pause
- dfplayer.stop
- dfplayer.random
- dfplayer.volume_up
- dfplayer.volume_down
- dfplayer.sleep
uart:
- id: uart_dfplayer
tx_pin: 17
rx_pin: 16
baud_rate: 9600
dfplayer:
on_finished_playback:
then:
if:
condition:
not: dfplayer.is_playing
then:
logger.log: Playback finished event

View File

@ -0,0 +1,42 @@
esphome:
on_boot:
then:
- dfplayer.play: 5
- dfplayer.play:
file: 4
loop: true
- dfplayer.play_folder:
folder: 1
file: 3
- dfplayer.play_folder:
folder: 1
loop: true
- dfplayer.set_device:
device: TF_CARD
- dfplayer.set_volume: 5
- dfplayer.set_eq: ROCK
- dfplayer.play_next
- dfplayer.play_previous
- dfplayer.reset
- dfplayer.start
- dfplayer.pause
- dfplayer.stop
- dfplayer.random
- dfplayer.volume_up
- dfplayer.volume_down
- dfplayer.sleep
uart:
- id: uart_dfplayer
tx_pin: 4
rx_pin: 5
baud_rate: 9600
dfplayer:
on_finished_playback:
then:
if:
condition:
not: dfplayer.is_playing
then:
logger.log: Playback finished event

View File

@ -0,0 +1,42 @@
esphome:
on_boot:
then:
- dfplayer.play: 5
- dfplayer.play:
file: 4
loop: true
- dfplayer.play_folder:
folder: 1
file: 3
- dfplayer.play_folder:
folder: 1
loop: true
- dfplayer.set_device:
device: TF_CARD
- dfplayer.set_volume: 5
- dfplayer.set_eq: ROCK
- dfplayer.play_next
- dfplayer.play_previous
- dfplayer.reset
- dfplayer.start
- dfplayer.pause
- dfplayer.stop
- dfplayer.random
- dfplayer.volume_up
- dfplayer.volume_down
- dfplayer.sleep
uart:
- id: uart_dfplayer
tx_pin: 4
rx_pin: 5
baud_rate: 9600
dfplayer:
on_finished_playback:
then:
if:
condition:
not: dfplayer.is_playing
then:
logger.log: Playback finished event

View File

@ -0,0 +1,28 @@
esphome:
on_boot:
then:
- dfrobot_sen0395.settings:
id: mmwave
factory_reset: true
detection_segments:
- [0cm, 5m]
- 600cm
- !lambda "return 7;"
output_latency:
delay_after_detect: 0s
delay_after_disappear: 0s
sensitivity: 6
- dfrobot_sen0395.reset
uart:
- id: uart_dfrobot_sen0395
tx_pin: 4
rx_pin: 5
baud_rate: 9600
dfrobot_sen0395:
- id: mmwave
binary_sensor:
- platform: dfrobot_sen0395
id: mmwave_detected

View File

@ -0,0 +1,28 @@
esphome:
on_boot:
then:
- dfrobot_sen0395.settings:
id: mmwave
factory_reset: true
detection_segments:
- [0cm, 5m]
- 600cm
- !lambda "return 7;"
output_latency:
delay_after_detect: 0s
delay_after_disappear: 0s
sensitivity: 6
- dfrobot_sen0395.reset
uart:
- id: uart_dfrobot_sen0395
tx_pin: 4
rx_pin: 5
baud_rate: 9600
dfrobot_sen0395:
- id: mmwave
binary_sensor:
- platform: dfrobot_sen0395
id: mmwave_detected

View File

@ -0,0 +1,28 @@
esphome:
on_boot:
then:
- dfrobot_sen0395.settings:
id: mmwave
factory_reset: true
detection_segments:
- [0cm, 5m]
- 600cm
- !lambda "return 7;"
output_latency:
delay_after_detect: 0s
delay_after_disappear: 0s
sensitivity: 6
- dfrobot_sen0395.reset
uart:
- id: uart_dfrobot_sen0395
tx_pin: 17
rx_pin: 16
baud_rate: 9600
dfrobot_sen0395:
- id: mmwave
binary_sensor:
- platform: dfrobot_sen0395
id: mmwave_detected

View File

@ -0,0 +1,28 @@
esphome:
on_boot:
then:
- dfrobot_sen0395.settings:
id: mmwave
factory_reset: true
detection_segments:
- [0cm, 5m]
- 600cm
- !lambda "return 7;"
output_latency:
delay_after_detect: 0s
delay_after_disappear: 0s
sensitivity: 6
- dfrobot_sen0395.reset
uart:
- id: uart_dfrobot_sen0395
tx_pin: 17
rx_pin: 16
baud_rate: 9600
dfrobot_sen0395:
- id: mmwave
binary_sensor:
- platform: dfrobot_sen0395
id: mmwave_detected

View File

@ -0,0 +1,28 @@
esphome:
on_boot:
then:
- dfrobot_sen0395.settings:
id: mmwave
factory_reset: true
detection_segments:
- [0cm, 5m]
- 600cm
- !lambda "return 7;"
output_latency:
delay_after_detect: 0s
delay_after_disappear: 0s
sensitivity: 6
- dfrobot_sen0395.reset
uart:
- id: uart_dfrobot_sen0395
tx_pin: 4
rx_pin: 5
baud_rate: 9600
dfrobot_sen0395:
- id: mmwave
binary_sensor:
- platform: dfrobot_sen0395
id: mmwave_detected

View File

@ -0,0 +1,28 @@
esphome:
on_boot:
then:
- dfrobot_sen0395.settings:
id: mmwave
factory_reset: true
detection_segments:
- [0cm, 5m]
- 600cm
- !lambda "return 7;"
output_latency:
delay_after_detect: 0s
delay_after_disappear: 0s
sensitivity: 6
- dfrobot_sen0395.reset
uart:
- id: uart_dfrobot_sen0395
tx_pin: 4
rx_pin: 5
baud_rate: 9600
dfrobot_sen0395:
- id: mmwave
binary_sensor:
- platform: dfrobot_sen0395
id: mmwave_detected

View File

@ -0,0 +1,11 @@
sensor:
- platform: dht
pin: 4
model: AM2302
update_interval: 15s
temperature:
id: dht_temperature
name: DHT Temperature
humidity:
id: dht_humidity
name: DHT Humidity

View File

@ -0,0 +1,11 @@
sensor:
- platform: dht
pin: 4
model: AM2302
update_interval: 15s
temperature:
id: dht_temperature
name: DHT Temperature
humidity:
id: dht_humidity
name: DHT Humidity

View File

@ -0,0 +1,11 @@
sensor:
- platform: dht
pin: 4
model: AM2302
update_interval: 15s
temperature:
id: dht_temperature
name: DHT Temperature
humidity:
id: dht_humidity
name: DHT Humidity

View File

@ -0,0 +1,11 @@
sensor:
- platform: dht
pin: 4
model: AM2302
update_interval: 15s
temperature:
id: dht_temperature
name: DHT Temperature
humidity:
id: dht_humidity
name: DHT Humidity

View File

@ -0,0 +1,11 @@
sensor:
- platform: dht
pin: 4
model: AM2302
update_interval: 15s
temperature:
id: dht_temperature
name: DHT Temperature
humidity:
id: dht_humidity
name: DHT Humidity

View File

@ -0,0 +1,11 @@
sensor:
- platform: dht
pin: 4
model: AM2302
update_interval: 15s
temperature:
id: dht_temperature
name: DHT Temperature
humidity:
id: dht_humidity
name: DHT Humidity

View File

@ -0,0 +1,12 @@
i2c:
- id: i2c_dht12
scl: 5
sda: 4
sensor:
- platform: dht12
temperature:
name: DHT12 Temperature
humidity:
name: DHT12 Humidity
update_interval: 15s

View File

@ -0,0 +1,12 @@
i2c:
- id: i2c_dht12
scl: 5
sda: 4
sensor:
- platform: dht12
temperature:
name: DHT12 Temperature
humidity:
name: DHT12 Humidity
update_interval: 15s

View File

@ -0,0 +1,12 @@
i2c:
- id: i2c_dht12
scl: 16
sda: 17
sensor:
- platform: dht12
temperature:
name: DHT12 Temperature
humidity:
name: DHT12 Humidity
update_interval: 15s

View File

@ -0,0 +1,12 @@
i2c:
- id: i2c_dht12
scl: 16
sda: 17
sensor:
- platform: dht12
temperature:
name: DHT12 Temperature
humidity:
name: DHT12 Humidity
update_interval: 15s

View File

@ -0,0 +1,12 @@
i2c:
- id: i2c_dht12
scl: 5
sda: 4
sensor:
- platform: dht12
temperature:
name: DHT12 Temperature
humidity:
name: DHT12 Humidity
update_interval: 15s

View File

@ -0,0 +1,12 @@
i2c:
- id: i2c_dht12
scl: 5
sda: 4
sensor:
- platform: dht12
temperature:
name: DHT12 Temperature
humidity:
name: DHT12 Humidity
update_interval: 15s

View File

@ -0,0 +1,12 @@
i2c:
- id: i2c_dps310
scl: 5
sda: 4
sensor:
- platform: dps310
temperature:
name: DPS310 Temperature
pressure:
name: DPS310 Pressure
address: 0x77

View File

@ -0,0 +1,12 @@
i2c:
- id: i2c_dps310
scl: 5
sda: 4
sensor:
- platform: dps310
temperature:
name: DPS310 Temperature
pressure:
name: DPS310 Pressure
address: 0x77

View File

@ -0,0 +1,12 @@
i2c:
- id: i2c_dps310
scl: 16
sda: 17
sensor:
- platform: dps310
temperature:
name: DPS310 Temperature
pressure:
name: DPS310 Pressure
address: 0x77

View File

@ -0,0 +1,12 @@
i2c:
- id: i2c_dps310
scl: 16
sda: 17
sensor:
- platform: dps310
temperature:
name: DPS310 Temperature
pressure:
name: DPS310 Pressure
address: 0x77

View File

@ -0,0 +1,12 @@
i2c:
- id: i2c_dps310
scl: 5
sda: 4
sensor:
- platform: dps310
temperature:
name: DPS310 Temperature
pressure:
name: DPS310 Pressure
address: 0x77

View File

@ -0,0 +1,12 @@
i2c:
- id: i2c_dps310
scl: 5
sda: 4
sensor:
- platform: dps310
temperature:
name: DPS310 Temperature
pressure:
name: DPS310 Pressure
address: 0x77

View File

@ -0,0 +1,9 @@
i2c:
- id: i2c_ds1307
scl: 5
sda: 4
time:
- platform: ds1307
id: ds1307_time
update_interval: never

View File

@ -0,0 +1,9 @@
i2c:
- id: i2c_ds1307
scl: 5
sda: 4
time:
- platform: ds1307
id: ds1307_time
update_interval: never

View File

@ -0,0 +1,9 @@
i2c:
- id: i2c_ds1307
scl: 16
sda: 17
time:
- platform: ds1307
id: ds1307_time
update_interval: never

View File

@ -0,0 +1,9 @@
i2c:
- id: i2c_ds1307
scl: 16
sda: 17
time:
- platform: ds1307
id: ds1307_time
update_interval: never

View File

@ -0,0 +1,9 @@
i2c:
- id: i2c_ds1307
scl: 5
sda: 4
time:
- platform: ds1307
id: ds1307_time
update_interval: never

View File

@ -0,0 +1,9 @@
i2c:
- id: i2c_ds1307
scl: 5
sda: 4
time:
- platform: ds1307
id: ds1307_time
update_interval: never

View File

@ -0,0 +1,12 @@
uart:
- id: uart_dsmr
tx_pin: 4
rx_pin: 5
baud_rate: 9600
dsmr:
decryption_key: 00112233445566778899aabbccddeeff
max_telegram_length: 1000
request_pin: 6
request_interval: 20s
receive_timeout: 100ms

View File

@ -0,0 +1,12 @@
uart:
- id: uart_dsmr
tx_pin: 17
rx_pin: 16
baud_rate: 9600
dsmr:
decryption_key: 00112233445566778899aabbccddeeff
max_telegram_length: 1000
request_pin: 15
request_interval: 20s
receive_timeout: 100ms

View File

@ -0,0 +1,12 @@
uart:
- id: uart_dsmr
tx_pin: 4
rx_pin: 5
baud_rate: 9600
dsmr:
decryption_key: 00112233445566778899aabbccddeeff
max_telegram_length: 1000
request_pin: 15
request_interval: 20s
receive_timeout: 100ms

View File

@ -0,0 +1,12 @@
uart:
- id: uart_dsmr
tx_pin: 4
rx_pin: 5
baud_rate: 9600
dsmr:
decryption_key: 00112233445566778899aabbccddeeff
max_telegram_length: 1000
request_pin: 6
request_interval: 20s
receive_timeout: 100ms

View File

@ -0,0 +1,4 @@
sensor:
- platform: duty_cycle
pin: 4
name: Duty Cycle Sensor

View File

@ -0,0 +1,4 @@
sensor:
- platform: duty_cycle
pin: 4
name: Duty Cycle Sensor

View File

@ -0,0 +1,4 @@
sensor:
- platform: duty_cycle
pin: 4
name: Duty Cycle Sensor

View File

@ -0,0 +1,4 @@
sensor:
- platform: duty_cycle
pin: 4
name: Duty Cycle Sensor

View File

@ -0,0 +1,4 @@
sensor:
- platform: duty_cycle
pin: 4
name: Duty Cycle Sensor

View File

@ -0,0 +1,4 @@
sensor:
- platform: duty_cycle
pin: 4
name: Duty Cycle Sensor

View File

@ -0,0 +1,14 @@
binary_sensor:
- platform: template
id: bin1
lambda: |-
if (millis() > 10000) {
return true;
} else {
return false;
}
sensor:
- platform: duty_time
name: Duty Time
sensor: bin1

View File

@ -0,0 +1,14 @@
binary_sensor:
- platform: template
id: bin1
lambda: |-
if (millis() > 10000) {
return true;
} else {
return false;
}
sensor:
- platform: duty_time
name: Duty Time
sensor: bin1

View File

@ -0,0 +1,14 @@
binary_sensor:
- platform: template
id: bin1
lambda: |-
if (millis() > 10000) {
return true;
} else {
return false;
}
sensor:
- platform: duty_time
name: Duty Time
sensor: bin1

View File

@ -0,0 +1,14 @@
binary_sensor:
- platform: template
id: bin1
lambda: |-
if (millis() > 10000) {
return true;
} else {
return false;
}
sensor:
- platform: duty_time
name: Duty Time
sensor: bin1

View File

@ -0,0 +1,14 @@
binary_sensor:
- platform: template
id: bin1
lambda: |-
if (millis() > 10000) {
return true;
} else {
return false;
}
sensor:
- platform: duty_time
name: Duty Time
sensor: bin1

View File

@ -0,0 +1,14 @@
binary_sensor:
- platform: template
id: bin1
lambda: |-
if (millis() > 10000) {
return true;
} else {
return false;
}
sensor:
- platform: duty_time
name: Duty Time
sensor: bin1