· last year · Dec 06, 2023, 08:10 PM
1esphome:
2 name: esphome-web-55c8f6
3 friendly_name: ESP_D1MINI_1
4
5esp8266:
6 board: esp01_1m
7
8# Enable logging
9logger:
10 baud_rate: 0
11
12# Enable Home Assistant API
13api:
14 encryption:
15 key: "6VQdtAN17gnvHp3tb05fPdgeC/3iqXbAytJKRXNBv1M="
16
17ota:
18
19
20wifi:
21 ssid: !secret wifi_ssid
22 password: !secret wifi_password
23
24 # Enable fallback hotspot (captive portal) in case wifi connection fails
25 ap:
26 ssid: "Esphome-Web-55C8F6"
27 password: "kx8i6GdzGzxQ"
28
29captive_portal:
30
31# ESPHome Example configuration entry
32uart:
33 id: uart_modbus
34 tx_pin: 1
35 rx_pin: 3
36 baud_rate: 256000
37 parity: NONE
38 stop_bits: 1
39
40binary_sensor:
41 - platform: ld2410
42 has_target:
43 name: Presence
44 has_moving_target:
45 name: Moving Target
46 has_still_target:
47 name: Still Target
48 out_pin_presence_status:
49 name: out pin presence status
50
51ld2410:
52
53sensor:
54 - platform: ld2410
55 light:
56 name: light
57 moving_distance:
58 name : Moving Distance
59 still_distance:
60 name: Still Distance
61 moving_energy:
62 name: Move Energy
63 still_energy:
64 name: Still Energy
65 detection_distance:
66 name: Detection Distance
67 g0:
68 move_energy:
69 name: g0 move energy
70 still_energy:
71 name: g0 still energy
72 g1:
73 move_energy:
74 name: g1 move energy
75 still_energy:
76 name: g1 still energy
77 g2:
78 move_energy:
79 name: g2 move energy
80 still_energy:
81 name: g2 still energy
82 g3:
83 move_energy:
84 name: g3 move energy
85 still_energy:
86 name: g3 still energy
87 g4:
88 move_energy:
89 name: g4 move energy
90 still_energy:
91 name: g4 still energy
92 g5:
93 move_energy:
94 name: g5 move energy
95 still_energy:
96 name: g5 still energy
97 g6:
98 move_energy:
99 name: g6 move energy
100 still_energy:
101 name: g6 still energy
102 g7:
103 move_energy:
104 name: g7 move energy
105 still_energy:
106 name: g7 still energy
107 g8:
108 move_energy:
109 name: g8 move energy
110 still_energy:
111 name: g8 still energy
112
113switch:
114 - platform: ld2410
115 engineering_mode:
116 name: "engineering mode"
117 bluetooth:
118 name: "control bluetooth"
119
120number:
121 - platform: ld2410
122 timeout:
123 name: timeout
124 light_threshold:
125 name: light threshold
126 max_move_distance_gate:
127 name: max move distance gate
128 max_still_distance_gate:
129 name: max still distance gate
130 g0:
131 move_threshold:
132 name: g0 move threshold
133 still_threshold:
134 name: g0 still threshold
135 g1:
136 move_threshold:
137 name: g1 move threshold
138 still_threshold:
139 name: g1 still threshold
140 g2:
141 move_threshold:
142 name: g2 move threshold
143 still_threshold:
144 name: g2 still threshold
145 g3:
146 move_threshold:
147 name: g3 move threshold
148 still_threshold:
149 name: g3 still threshold
150 g4:
151 move_threshold:
152 name: g4 move threshold
153 still_threshold:
154 name: g4 still threshold
155 g5:
156 move_threshold:
157 name: g5 move threshold
158 still_threshold:
159 name: g5 still threshold
160 g6:
161 move_threshold:
162 name: g6 move threshold
163 still_threshold:
164 name: g6 still threshold
165 g7:
166 move_threshold:
167 name: g7 move threshold
168 still_threshold:
169 name: g7 still threshold
170 g8:
171 move_threshold:
172 name: g8 move threshold
173 still_threshold:
174 name: g8 still threshold
175
176button:
177 - platform: ld2410
178 factory_reset:
179 name: "factory reset"
180 restart:
181 name: "restart"
182 query_params:
183 name: query params
184
185text_sensor:
186 - platform: ld2410
187 version:
188 name: "firmware version"
189 mac_address:
190 name: "mac address"
191
192select:
193 - platform: ld2410
194 distance_resolution:
195 name: "distance resolution"
196 baud_rate:
197 name: "baud rate"
198 light_function:
199 name: light function
200 out_pin_level:
201 name: out pin level
202