-
Notifications
You must be signed in to change notification settings - Fork 0
/
ld2420_radar.yaml
164 lines (153 loc) · 4.06 KB
/
ld2420_radar.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
uart:
id: LD2420_UART_BUS
tx_pin: 19 # ${TX_PIN}
rx_pin: 22 # ${RX_PIN}
baud_rate: 115200
external_components:
source: github://pr#4847
components: [ ld2420 ]
refresh: 0s
ld2420:
text_sensor:
- platform: ld2420
fw_version:
name: LD2420 Firmware
id: ${name}_ld2420_firmware
sensor:
- platform: ld2420
moving_distance:
name : ld2420 Moving Distance
id: ${name}_moving_distance
binary_sensor:
- platform: ld2420
has_target:
name: "Presence"
id: ${name}_ld2420_presence
icon: mdi:radar
#######################################################
select:
- platform: ld2420
operating_mode:
name: "Operating Mode"
id: ${name}_operating_mode
number:
- platform: ld2420
presence_timeout:
name: "Detection Presence Timeout"
id: ${name}_box
min_gate_distance:
name: "Detection Gate Minimum"
id: ${name}_detection_gate_minimum
max_gate_distance:
name: "Detection Gate Maximum"
id: ${name}_detection_gate_maximum
# See "Number" section below for detail
gate_select:
name: "Select Gate to Set"
id: ${name}_select_gate_to_set
still_threshold:
name: "Set Still Threshold Value"
id: ${name}_set_still_threshold_value
move_threshold:
name: "Set Move Threshold Value"
id: ${name}_set_move_threshold_value
gate_move_sensitivity:
name: "Move Calibration Sensitivity Factor"
id: ${name}_move_calibration_sensitivity_factor
gate_still_sensitivity:
name: "Still Calibration Sensitivity Factor"
id: ${name}_still_calibration_sensitivity_factor
gate_0:
move_threshold:
name: "Gate 0 Move Threshold"
still_threshold:
name: "Gate 0 Still Threshold"
gate_1:
move_threshold:
name: "Gate 1 Move Threshold"
still_threshold:
name: "Gate 1 Still Threshold"
gate_2:
move_threshold:
name: "Gate 2 Move Threshold"
still_threshold:
name: "Gate 2 Still Threshold"
gate_3:
move_threshold:
name: "Gate 3 Move Threshold"
still_threshold:
name: "Gate 3 Still Threshold"
gate_4:
move_threshold:
name: "Gate 4 Move Threshold"
still_threshold:
name: "Gate 4 Still Threshold"
gate_5:
move_threshold:
name: "Gate 5 Move Threshold"
still_threshold:
name: "Gate 5 Still Threshold"
gate_6:
move_threshold:
name: "Gate 6 Move Threshold"
still_threshold:
name: "Gate 6 Still Threshold"
gate_7:
move_threshold:
name: "Gate 7 Move Threshold"
still_threshold:
name: "Gate 7 Still Threshold"
gate_8:
move_threshold:
name: "Gate 8 Move Threshold"
still_threshold:
name: "Gate 8 Still Threshold"
gate_9:
move_threshold:
name: "Gate 9 Move Threshold"
still_threshold:
name: "Gate 9 Still Threshold"
gate_10:
move_threshold:
name: "Gate 10 Move Threshold"
still_threshold:
name: "Gate 10 Still Threshold"
gate_11:
move_threshold:
name: "Gate 11 Move Threshold"
still_threshold:
name: "Gate 11 Still Threshold"
gate_12:
move_threshold:
name: "Gate 12 Move Threshold"
still_threshold:
name: "Gate 12 Still Threshold"
gate_13:
move_threshold:
name: "Gate 13 Move Threshold"
still_threshold:
name: "Gate 13 Still Threshold"
gate_14:
move_threshold:
name: "Gate 14 Move Threshold"
still_threshold:
name: "Gate 14 Still Threshold"
gate_15:
move_threshold:
name: "Gate 15 Move Threshold"
still_threshold:
name: "Gate 15 Still Threshold"
button:
- platform: ld2420
apply_config:
name: "Apply Config"
id: ${name}_apply_config
factory_reset:
name: "Factory Reset"
id: ${name}_factory_reset
restart_module:
name: "Restart Module"
id: ${name}_restart_module
revert_config:
name: "Undo Edits"
id: ${name}_undo_edits