View difference between Paste ID: 0xsBXP14 and 37U5ZZ9N
SHOW: | | - or go back to the newest paste.
1
esphome:
2-
  name: radar
2+
  name: esphome-web-5ffecc
3-
  friendly_name: Radar
3+
  friendly_name: ESPHome Web 5ffecc
4
  min_version: 2024.11.0
5
  name_add_mac_suffix: false
6
7
esp32:
8
  board: esp32-c3-devkitm-1
9
  framework:
10
    type: arduino
11
12
# Enable logging
13
logger:
14
15
# Enable Home Assistant API
16-
    key: "+Yk49FKNQgxeY3iuuhW235evgAFzxZwTYeabnxDlUmQ="
16+
17
  encryption:
18
    key: "anEmi+p54nf3jU21Eko8oxdQwiuXqTiBkW56EyaKcDw="
19-
  password: "2753b6728791b75b0aba282573dd471a"
19+
20
ota:
21
  - platform: esphome
22
23
wifi:
24
  ssid: !secret wifi_ssid
25
  password: !secret wifi_password
26
27-
    ssid: "Radar Hotspot"
27+
28-
    password: "HuMgEpXvIksg"
28+
29
    ssid: "Ps1 Fallback Hotspot"
30
    
31
captive_portal:
32-
web_server:
32+
33-
  port: 80
33+
34-
  include_internal: true
34+
35
  - platform: binary
36
    name: "Blue Status Light"
37
    output: light_output
38
    id: led_light
39
    restore_mode: ALWAYS_OFF
40
 
41
output:
42
  - platform: gpio
43
    pin: GPIO2
44
    id: light_output
45
 
46
uart:
47
  id: ld2410_uart
48
  tx_pin: GPIO3 # TX_pin
49
  rx_pin: GPIO4 # RX_pin
50
  baud_rate: 256000
51
  parity: NONE
52-
  tx_pin: GPIO21 # TX
52+
53-
  rx_pin: GPIO20 # RX
53+
54
ld2410:
55
  uart_id: ld2410_uart
56
  throttle: 1500ms
57
  id: ld2410_comp
58
 
59
select:
60
  - platform: ld2410
61
    distance_resolution:
62
      name: distance resolution
63
    baud_rate:
64
      name: baud rate
65
    light_function:
66
      name: light function
67
    out_pin_level:
68
      name: out pin level
69
 
70
button:
71
  - platform: ld2410
72
    factory_reset:
73
      name: "factory reset"
74
    restart:
75
      name: "restart"
76
    query_params:
77
      name: query params
78
 
79
number:
80
  - platform: ld2410
81
    timeout:
82
      name: timeout
83
    max_move_distance_gate:
84
      name: max move distance gate
85
    max_still_distance_gate:
86
      name: max still distance gate
87
    g0:
88
      move_threshold:
89
        name: g0 move threshold
90
      still_threshold:
91
        name: g0 still threshold
92
    g1:
93
      move_threshold:
94
        name: g1 move threshold
95
      still_threshold:
96
        name: g1 still threshold
97
    g2:
98
      move_threshold:
99
        name: g2 move threshold
100
      still_threshold:
101
        name: g2 still threshold
102
    g3:
103
      move_threshold:
104
        name: g3 move threshold
105
      still_threshold:
106
        name: g3 still threshold
107
    g4:
108
      move_threshold:
109
        name: g4 move threshold
110
      still_threshold:
111
        name: g4 still threshold
112
    g5:
113
      move_threshold:
114
        name: g5 move threshold
115
      still_threshold:
116
        name: g5 still threshold
117
    g6:
118
      move_threshold:
119
        name: g6 move threshold
120
      still_threshold:
121
        name: g6 still threshold
122
    g7:
123
      move_threshold:
124
        name: g7 move threshold
125
      still_threshold:
126
        name: g7 still threshold
127
    g8:
128
      move_threshold:
129
        name: g8 move threshold
130
      still_threshold:
131
        name: g8 still threshold
132
    light_threshold:
133
      name: light threshold
134
 
135
text_sensor:
136
  - platform: ld2410
137
    version:
138
      name: "presenece sensor version"
139
    mac_address:
140
      name: "presenece sensor mac address"
141
 
142
switch:
143
  - platform: ld2410
144
    engineering_mode:
145
      name: "engineering mode"
146
    bluetooth:
147
      name: control Bluetooth
148
 
149
sensor:
150
  - platform: internal_temperature
151
    name: "Internal Temperature"
152
 
153
  - platform: ld2410
154
    moving_distance:
155
      name: "Moving distance (cm)"
156
    still_distance:
157
      name: "Still Distance (cm)"
158
    moving_energy:
159
      name: "Move Energy (%)"
160
    still_energy:
161
      name: "Still Energy (%)"
162
    detection_distance:
163
      name: "Distance Detection (cm)"
164
    g0:
165
      move_energy:
166
        name: g0 move energy
167
      still_energy:
168
        name: g0 still energy
169
    g1:
170
      move_energy:
171
        name: g1 move energy
172
      still_energy:
173
        name: g1 still energy
174
    g2:
175
      move_energy:
176
        name: g2 move energy
177
      still_energy:
178
        name: g2 still energy
179
    g3:
180
      move_energy:
181
        name: g3 move energy
182
      still_energy:
183
        name: g3 still energy
184
    g4:
185
      move_energy:
186
        name: g4 move energy
187
      still_energy:
188
        name: g4 still energy
189
    g5:
190
      move_energy:
191
        name: g5 move energy
192
      still_energy:
193
        name: g5 still energy
194
    g6:
195
      move_energy:
196
        name: g6 move energy
197
      still_energy:
198
        name: g6 still energy
199
    g7:
200
      move_energy:
201
        name: g7 move energy
202
      still_energy:
203
        name: g7 still energy
204
    g8:
205
      move_energy:
206
        name: g8 move energy
207
      still_energy:
208
        name: g8 still energy
209
    light:
210
      name: light
211
 
212
binary_sensor:
213
 
214
  - platform: ld2410
215
    has_target:
216
      name: Presence
217
    has_moving_target:
218
      name: Moving Target
219
    has_still_target:
220
      name: Still Target
221