Upload files to "/"

This commit is contained in:
rafal 2026-01-18 23:53:04 +00:00
parent fcd5bc52d3
commit 91091b2313
4 changed files with 135 additions and 0 deletions

2
README.md Normal file
View File

@ -0,0 +1,2 @@
# mmWaveLD2410c
Human presence LD2410c

65
sample.yaml Normal file
View File

@ -0,0 +1,65 @@
esphome:
name: radar-lazienka
comment: Radar Lazienka
friendly_name: Radar Lazienka
name_add_mac_suffix: True
platformio_options:
board_build.flash_mode: dio
board_build.f_cpu: 80000000L
project:
name: radar.lazienka
version: 1U
min_version: 2025.5.1
external_components:
- source:
type: git
url: https://github.com/screek-workshop/custom_components_support_for_screek_1u
ref: master
components: [ ld2410 ]
esp32:
board: lolin_s2_mini
framework:
type: esp-idf
improv_serial:
logger:
hardware_uart: uart0
api:
ota:
- platform: esphome
password: ""
wifi:
ssid: "xxx"
password: "zzz"
output_power: 19dB
power_save_mode: LIGHT
reboot_timeout: 10min
fast_connect: true
#manual_ip:
#static_ip: 20.0.10.2
#gateway: 20.0.0.1
#subnet: 255.255.0.0
#dns1: 20.0.0.1
#dns2: 8.8.8.8
ap:
ssid: "mmwave"
password: "Pass.Word"
captive_portal:
web_server:
port: 80
packages:
mmwave_binary_sensors: github://rafalrk/mmWaveLD2410c/binary_sensors.yaml@main
mmwave_sensors: github://rafalrk/mmWaveLD2410c/sensors.yaml@main
mmwave_numbers: github://rafalrk/mmWaveLD2410c/numbers.yaml@main
mmwave_switches: github://rafalrk/mmWaveLD2410c/switches.yaml@main
mmwave_buttons: github://rafalrk/mmWaveLD2410c/buttons.yaml@main
mmwave_led_uart_time: github://rafalrk/mmWaveLD2410c/led_time_uart.yaml@main

51
sensors.yaml Normal file
View File

@ -0,0 +1,51 @@
# =======================
# SENSORS
# =======================
sensor:
- platform: internal_temperature
id: sys_esp_temperature
name: ESP Temperature
unit_of_measurement: °C
device_class: temperature
update_interval: 45s
entity_category: diagnostic
- platform: uptime
name: Uptime
id: sys_uptime
update_interval: 10s
- platform: wifi_signal
name: RSSI
id: wifi_signal_db
update_interval: 5s
entity_category: diagnostic
- platform: template
id: esp_memory
name: ESP Free Memory
lambda: return heap_caps_get_free_size(MALLOC_CAP_INTERNAL) / 1024;
unit_of_measurement: kB
entity_category: diagnostic
- platform: ld2410
moving_distance:
name: Moving Distance
id: moving_distance
still_distance:
name: Still Distance
id: still_distance
moving_energy:
name: Move Energy
id: moving_energy
still_energy:
name: Still Energy
id: still_energy
detection_distance:
name: Detection Distance
id: detection_distance
force_update: true
filters:
- median:
window_size: 3
send_every: 1

17
switches.yaml Normal file
View File

@ -0,0 +1,17 @@
# =======================
# SWITCHES (TRYBY)
# =======================
switch:
- platform: template
name: "Ignore doors / mirrors / pet"
id: ignore_static_reflections
optimistic: true
restore_mode: RESTORE_DEFAULT_OFF
entity_category: config
- platform: template
name: "Shower / WC mode"
id: shower_mode
optimistic: true
restore_mode: RESTORE_DEFAULT_OFF
entity_category: config