-
Notifications
You must be signed in to change notification settings - Fork 20
/
full.yaml
140 lines (132 loc) · 2.75 KB
/
full.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
# This exmaple configuration will pollute your smart home instance.
external_components:
- source: github://TillFleisch/ESPHome-HLK-LD2450@main
uart:
id: uart_bus
rx_pin:
number: GPIO16
mode:
input: true
pullup: true
tx_pin:
number: GPIO17
mode:
input: true
pullup: true
baud_rate: 256000
parity: NONE
stop_bits: 1
data_bits: 8
LD2450:
uart_id: uart_bus
flip_x_axis: true
fast_off_detection: true
max_detection_tilt_angle:
name: "Max Tilt Angle"
initial_value: 40°
min_detection_tilt_angle:
name: "Min Tilt Angle"
initial_value: -40°
max_detection_distance:
name: "Max Distance"
initial_value: 4m
max_distance_margin: 30cm
restart_button:
name: "Restart Sensor"
factory_reset_button:
name: "Factory Reset Sensor"
tracking_mode_switch:
name: "Multiple Target Tracking"
bluetooth_switch:
name: "Sensor Bluetooth"
baud_rate_select:
name: "Sensor Baud Rate"
occupancy:
name: Occupancy
target_count:
name: Target Count
targets:
- target:
name: "T1"
id: t1
debug: true
x_position:
id: t1_xpos
y_position:
id: t1_ypos
speed:
id: t1_speed
distance_resolution:
id: t1_res
angle:
id: t1_angle
distance:
id: t1_distance
- target:
id: t2
x_position:
id: t2_xpos
y_position:
id: t2_ypos
speed:
id: t2_speed
distance_resolution:
id: t2_res
angle:
id: t2_angle
distance:
id: t2_distance
- target:
id: t3
x_position:
id: t3_xpos
y_position:
id: t3_ypos
speed:
id: t3_speed
distance_resolution:
id: t3_res
angle:
id: t3_angle
distance:
id: t3_distance
zones:
- zone:
name: "Office Right"
polygon:
- point:
x: 0m
y: 0m
- point:
x: 0m
y: 600cm
- point:
x: 6m
y: 6m
- point:
x: 6m
y: 0m
occupancy:
id: z1_occupancy
target_count:
id: z1_target_count
- zone:
name: "Office Left"
margin: 0.4m
polygon:
- point:
x: -0m
y: 0m
- point:
x: -0m
y: 6m
- point:
x: -6m
y: 6m
- point:
x: -6m
y: 0m
occupancy:
id: z2_occupancy
target_count:
id: z2_target_count