update
This commit is contained in:
@@ -1,59 +1,48 @@
|
||||
|
||||
uart:
|
||||
- !include ../interfaces/uart_ld2420.yaml
|
||||
|
||||
external_components:
|
||||
- source: github://descipher/esphome@component.ld2420
|
||||
#github://pr#4847
|
||||
components: [ ld2420 ]
|
||||
refresh: 1days
|
||||
|
||||
# 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
|
||||
|
||||
text_sensor:
|
||||
- platform: ld2420
|
||||
fw_version:
|
||||
name: LD2420 Firmware
|
||||
|
||||
sensor:
|
||||
- platform: ld2420
|
||||
moving_distance:
|
||||
name : Moving Distance
|
||||
|
||||
|
||||
binary_sensor:
|
||||
- platform: ld2420
|
||||
has_target:
|
||||
name: Presence
|
||||
name: Presence
|
||||
|
||||
select:
|
||||
- platform: ld2420
|
||||
operating_mode:
|
||||
name: Operating Mode
|
||||
|
||||
number:
|
||||
- platform: ld2420
|
||||
presence_timeout:
|
||||
name: Detection Presence Timeout
|
||||
min_gate_distance:
|
||||
name: Detection Gate Minimum
|
||||
max_gate_distance:
|
||||
name: Detection Gate Maximum
|
||||
# See "Number" section below for detail
|
||||
gate_select:
|
||||
name: Select Gate to Set
|
||||
still_threshold:
|
||||
name: Set Still Threshold Value
|
||||
move_threshold:
|
||||
name: Set Move Threshold Value
|
||||
|
||||
button:
|
||||
- platform: ld2420
|
||||
apply_config:
|
||||
name: Apply Config
|
||||
factory_reset:
|
||||
name: Factory Reset
|
||||
restart_module:
|
||||
name: Restart Module
|
||||
revert_config:
|
||||
name: Undo Edits
|
||||
Reference in New Issue
Block a user