weather station esphome updates

This commit is contained in:
root
2024-06-02 18:46:17 +12:00
parent 3d05e58e9b
commit 9467d25271
8 changed files with 1226 additions and 98 deletions

View File

@@ -276,13 +276,13 @@ number:
select:
- platform: ld2410
distance_resolution:
name: "distance resolution"
name: ${friendly_name} LD2140 Distance Resolution
baud_rate:
name: "baud rate"
name: ${friendly_name} LD2140 Baud Rate
light_function:
name: light function
name: ${friendly_name} LD2140 Light Function
out_pin_level:
name: out pin level
name: ${friendly_name} LD2140 Out Pin Level
#############################################
# General Sensors
@@ -369,29 +369,40 @@ sensor:
switch:
- platform: ld2410
engineering_mode:
name: "Engineering Mode"
name: ${friendly_name} LD2140 Engineering Mode
bluetooth:
name: "Control Bluetooth"
name: ${friendly_name} LD2140 Control Bluetooth
#The ld2410 binary sensors to get presence notification
binary_sensor:
- platform: ld2410
has_target:
name: Presence
name: ${friendly_name} Presence
has_moving_target:
name: Moving Target
name: ${friendly_name} Moving Target
has_still_target:
name: Still Target
name: ${friendly_name} Still Target
out_pin_presence_status:
name: Out Pin Presence Status
name: ${friendly_name} LD2140 Out Pin Presence Status
#Standard PIR Sensor
- platform: gpio
pin:
number: GPIO13
mode:
input: true
pullup: true
inverted: true
name: ${friendly_name} PIR Sensor
device_class: motion
#The ld2410 button allows resetting
button:
- platform: ld2410
factory_reset:
name: "Factory reset"
name: ${friendly_name} LD2140 Factory reset"
restart:
name: "Restart"
name: ${friendly_name} LD2140 Restart
query_params:
name: Query Parameters
@@ -399,6 +410,8 @@ button:
text_sensor:
- platform: ld2410
version:
name: "Firmware Version"
name: ${friendly_name} LD2140 Firmware Version
mac_address:
name: "MAC Address"
name: ${friendly_name} LD2140 BT MAC Address