periodic push
This commit is contained in:
58
esphome/sensors/ld2420.yaml
Executable file
58
esphome/sensors/ld2420.yaml
Executable file
@@ -0,0 +1,58 @@
|
||||
|
||||
uart:
|
||||
- !include ../interfaces/uart_ld2420.yaml
|
||||
|
||||
external_components:
|
||||
- source: github://pr#4847
|
||||
components: [ ld2420 ]
|
||||
refresh: 0s
|
||||
|
||||
# Example configuration entry
|
||||
ld2420:
|
||||
uart_id: uart_ld
|
||||
presence_time_window: 120s
|
||||
detection_gate_min: 1
|
||||
detection_gate_max: 12
|
||||
g0_move_threshold: 60000
|
||||
g0_still_threshold: 40000
|
||||
g1_move_threshold: 30000
|
||||
g1_still_threshold: 20000
|
||||
g2_move_threshold: 400
|
||||
g2_still_threshold: 200
|
||||
g3_move_threshold: 250
|
||||
g3_still_threshold: 200
|
||||
g4_move_threshold: 250
|
||||
g4_still_threshold: 200
|
||||
g5_move_threshold: 250
|
||||
g5_still_threshold: 200
|
||||
g6_move_threshold: 250
|
||||
g6_still_threshold: 200
|
||||
g7_move_threshold: 250
|
||||
g7_still_threshold: 150
|
||||
g8_move_threshold: 250
|
||||
g8_still_threshold: 150
|
||||
g9_move_threshold: 250
|
||||
g9_still_threshold: 100
|
||||
g10_move_threshold: 250
|
||||
g10_still_threshold: 100
|
||||
g11_move_threshold: 250
|
||||
g11_still_threshold: 100
|
||||
g12_move_threshold: 250
|
||||
g12_still_threshold: 100
|
||||
g13_move_threshold: 200
|
||||
g13_still_threshold: 100
|
||||
g14_move_threshold: 200
|
||||
g14_still_threshold: 100
|
||||
g15_move_threshold: 200
|
||||
g15_still_threshold: 100
|
||||
|
||||
sensor:
|
||||
- platform: ld2420
|
||||
moving_distance:
|
||||
name : ${device_name} Moving Distance
|
||||
|
||||
|
||||
binary_sensor:
|
||||
- platform: ld2420
|
||||
has_target:
|
||||
name: ${device_name} Presence
|
||||
Reference in New Issue
Block a user