-
-
Save amcfague/2cebeaf2076ce16d4dad5143a97971d1 to your computer and use it in GitHub Desktop.
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
substitutions: | |
friendly_name: Screek Human Presence Sensor 2A | |
wifi: | |
ssid: !secret wifi_ssid | |
password: !secret wifi_password | |
esphome: | |
name: screek-human-sensor-2a | |
friendly_name: ${friendly_name} | |
name_add_mac_suffix: False | |
platformio_options: | |
board_build.flash_mode: dio | |
project: | |
name: Screek.Human_Presence_Sensor | |
version: 2A | |
external_components: | |
- source: github://pr#5674 | |
components: [ ld2450 ] | |
refresh: 0s | |
preferences: | |
flash_write_interval: 60s | |
esp32: | |
board: lolin_c3_mini | |
variant: esp32c3 | |
framework: | |
type: esp-idf | |
version: recommended | |
sdkconfig_options: | |
CONFIG_COMPILER_OPTIMIZATION_PERF: y | |
ota: | |
- platform: esphome | |
captive_portal: | |
web_server: | |
port: 80 | |
time: | |
- platform: sntp | |
id: time_now | |
logger: | |
uart: | |
id: uart_ld2450 | |
tx_pin: | |
number: 5 | |
mode: | |
input: true | |
pullup: true | |
rx_pin: | |
number: 4 | |
mode: | |
input: true | |
pullup: true | |
baud_rate: 256000 | |
parity: NONE | |
stop_bits: 1 | |
data_bits: 8 | |
i2c: | |
sda: GPIO7 | |
scl: GPIO11 | |
scan: true | |
id: bus_a | |
ld2450: | |
id: ld2450_radar | |
uart_id: uart_ld2450 | |
throttle: 100ms | |
binary_sensor: | |
- platform: ld2450 | |
ld2450_id: ld2450_radar | |
has_target: | |
name: Presence | |
has_moving_target: | |
name: Moving Target | |
has_still_target: | |
name: Still Target | |
number: | |
- platform: ld2450 | |
ld2450_id: ld2450_radar | |
presence_timeout: | |
name: "Timeout" | |
zone_1: | |
x1: | |
name: Zone1 X-Begin | |
mode: box | |
y1: | |
name: Zone1 Y-Begin | |
mode: box | |
x2: | |
name: Zone1 X-End | |
mode: box | |
y2: | |
name: Zone1 Y-End | |
mode: box | |
zone_2: | |
x1: | |
name: Zone2 X-Begin | |
mode: box | |
y1: | |
name: Zone2 Y-Begin | |
mode: box | |
x2: | |
name: Zone2 X-End | |
mode: box | |
y2: | |
name: Zone2 Y-End | |
mode: box | |
zone_3: | |
x1: | |
name: Zone3 X-Begin | |
mode: box | |
y1: | |
name: Zone3 Y-Begin | |
mode: box | |
x2: | |
name: Zone3 X-End | |
mode: box | |
y2: | |
name: Zone3 Y-End | |
mode: box | |
switch: | |
- platform: ld2450 | |
ld2450_id: ld2450_radar | |
bluetooth: | |
name: "Bluetooth" | |
multi_target: | |
name: "Multi Target Tracking" | |
select: | |
- platform: ld2450 | |
ld2450_id: ld2450_radar | |
zone_type: | |
name: "Zone Type" | |
button: | |
- platform: ld2450 | |
ld2450_id: ld2450_radar | |
factory_reset: | |
name: "LD2450 Factory Reset" | |
entity_category: "config" | |
restart: | |
name: "LD2450 Restart" | |
entity_category: "config" | |
text_sensor: | |
- platform: ld2450 | |
ld2450_id: ld2450_radar | |
version: | |
name: "LD2450 Firmware" | |
mac_address: | |
name: "LD2450 BT MAC" | |
target_1: | |
direction: | |
name: "Target1 Direction" | |
target_2: | |
direction: | |
name: "Target2 Direction" | |
target_3: | |
direction: | |
name: "Target3 Direction" | |
sensor: | |
- platform: ld2450 | |
ld2450_id: ld2450_radar | |
target_count: | |
name: Presence Target Count | |
still_target_count: | |
name: Still Target Count | |
moving_target_count: | |
name: Moving Target Count | |
target_1: | |
x: | |
name: Target1 X | |
y: | |
name: Target1 Y | |
speed: | |
name: Target1 Speed | |
angle: | |
name: Target1 Angle | |
distance: | |
name: Target1 Distance | |
resolution: | |
name: Target1 Resolution | |
target_2: | |
x: | |
name: Target-2 X | |
y: | |
name: Target-2 Y | |
speed: | |
name: Target-2 Speed | |
angle: | |
name: Target-2 Angle | |
distance: | |
name: Target-2 Distance | |
resolution: | |
name: Target-2 Resolution | |
target_3: | |
x: | |
name: Target3 X | |
y: | |
name: Target3 Y | |
speed: | |
name: Target3 Speed | |
angle: | |
name: Target3 Angle | |
distance: | |
name: Target3 Distance | |
resolution: | |
name: Target3 Resolution | |
zone_1: | |
target_count: | |
name: Zone1 All Target Count | |
still_target_count: | |
name: Zone1 Still Target Count | |
moving_target_count: | |
name: Zone1 Moving Target Count | |
zone_2: | |
target_count: | |
name: Zone2 All Target Count | |
still_target_count: | |
name: Zone2 Still Target Count | |
moving_target_count: | |
name: Zone2 Moving Target Count | |
zone_3: | |
target_count: | |
name: Zone3 All Target Count | |
still_target_count: | |
name: Zone3 Still Target Count | |
moving_target_count: | |
name: Zone3 Moving Target Count | |
- platform: bh1750 | |
name: "Illuminance" | |
accuracy_decimals: 1 | |
id: bh1750_light | |
update_interval: 1s | |
force_update: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment