Created
December 30, 2023 16:43
-
-
Save vladyspavlov/9d094b653ffbe551f89b08ab080ba675 to your computer and use it in GitHub Desktop.
ESPHome configuration, LD2410C and Wemos D1 Mini Pro (ESP8266)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
esphome: | |
name: ld2410c | |
friendly_name: ld2410c | |
esp8266: | |
board: d1_mini_pro | |
# Enable logging | |
logger: | |
# Enable Home Assistant API | |
api: | |
encryption: | |
key: !secret ld2410c_api_key | |
ota: | |
password: !secret ld2410c_ota_password | |
wifi: | |
ssid: !secret wifi_ssid | |
password: !secret wifi_password | |
# Enable fallback hotspot (captive portal) in case wifi connection fails | |
ap: | |
ssid: "Ld2410C Fallback Hotspot" | |
password: "ZY33TPZI2MwS" | |
captive_portal: | |
uart: | |
tx_pin: GPIO1 | |
rx_pin: GPIO3 | |
baud_rate: 256000 | |
ld2410: | |
binary_sensor: | |
- platform: ld2410 | |
has_target: | |
name: Presence | |
has_moving_target: | |
name: Moving Target | |
has_still_target: | |
name: Still Target | |
out_pin_presence_status: | |
name: out pin presence status | |
sensor: | |
- platform: ld2410 | |
light: | |
name: light | |
moving_distance: | |
name : Moving Distance | |
still_distance: | |
name: Still Distance | |
moving_energy: | |
name: Move Energy | |
still_energy: | |
name: Still Energy | |
detection_distance: | |
name: Detection Distance | |
g0: | |
move_energy: | |
name: g0 move energy | |
still_energy: | |
name: g0 still energy | |
g1: | |
move_energy: | |
name: g1 move energy | |
still_energy: | |
name: g1 still energy | |
g2: | |
move_energy: | |
name: g2 move energy | |
still_energy: | |
name: g2 still energy | |
g3: | |
move_energy: | |
name: g3 move energy | |
still_energy: | |
name: g3 still energy | |
g4: | |
move_energy: | |
name: g4 move energy | |
still_energy: | |
name: g4 still energy | |
g5: | |
move_energy: | |
name: g5 move energy | |
still_energy: | |
name: g5 still energy | |
g6: | |
move_energy: | |
name: g6 move energy | |
still_energy: | |
name: g6 still energy | |
g7: | |
move_energy: | |
name: g7 move energy | |
still_energy: | |
name: g7 still energy | |
g8: | |
move_energy: | |
name: g8 move energy | |
still_energy: | |
name: g8 still energy | |
switch: | |
- platform: ld2410 | |
engineering_mode: | |
name: "engineering mode" | |
bluetooth: | |
name: "control bluetooth" | |
number: | |
- platform: ld2410 | |
timeout: | |
name: timeout | |
light_threshold: | |
name: light threshold | |
max_move_distance_gate: | |
name: max move distance gate | |
max_still_distance_gate: | |
name: max still distance gate | |
g0: | |
move_threshold: | |
name: g0 move threshold | |
still_threshold: | |
name: g0 still threshold | |
g1: | |
move_threshold: | |
name: g1 move threshold | |
still_threshold: | |
name: g1 still threshold | |
g2: | |
move_threshold: | |
name: g2 move threshold | |
still_threshold: | |
name: g2 still threshold | |
g3: | |
move_threshold: | |
name: g3 move threshold | |
still_threshold: | |
name: g3 still threshold | |
g4: | |
move_threshold: | |
name: g4 move threshold | |
still_threshold: | |
name: g4 still threshold | |
g5: | |
move_threshold: | |
name: g5 move threshold | |
still_threshold: | |
name: g5 still threshold | |
g6: | |
move_threshold: | |
name: g6 move threshold | |
still_threshold: | |
name: g6 still threshold | |
g7: | |
move_threshold: | |
name: g7 move threshold | |
still_threshold: | |
name: g7 still threshold | |
g8: | |
move_threshold: | |
name: g8 move threshold | |
still_threshold: | |
name: g8 still threshold | |
button: | |
- platform: ld2410 | |
factory_reset: | |
name: "factory reset" | |
restart: | |
name: "restart" | |
query_params: | |
name: query params | |
text_sensor: | |
- platform: ld2410 | |
version: | |
name: "firmware version" | |
mac_address: | |
name: "mac address" | |
select: | |
- platform: ld2410 | |
distance_resolution: | |
name: "distance resolution" | |
baud_rate: | |
name: "baud rate" | |
light_function: | |
name: light function | |
out_pin_level: | |
name: out pin level |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment