Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- esphome:
- name: bedroompresencedetection
- friendly_name: BedroomPresenceDetection
- platformio_options:
- upload_speed: 921600
- board_build.flash_mode: dio
- esp32:
- board: seeed_xiao_esp32c3
- variant: esp32c3
- logger:
- level: WARN
- baud_rate: 0
- # Enable Home Assistant API
- api:
- encryption:
- key: "xxxxxxxxxxxxxxxxx"
- ota:
- - platform: esphome
- password: "xxxxxxxxx"
- wifi:
- ssid: "YourWIFi"
- password: "YourWiFiPassword"
- # Enable fallback hotspot (captive portal) in case wifi connection fails
- ap:
- ssid: "Bedroompresencedetection"
- password: "axxxxxxxxx"
- captive_portal:
- uart:
- id: ld2420_radar
- tx_pin: GPIO4
- rx_pin: GPIO3
- baud_rate: 115200
- parity: NONE
- stop_bits: 1
- ld2420:
- text_sensor:
- - platform: ld2420
- fw_version:
- name: LD2420 Firmware
- sensor:
- - platform: ld2420
- moving_distance:
- name : Moving Distance
- binary_sensor:
- - platform: ld2420
- has_target:
- name: Presence
- select:
- - platform: ld2420
- operating_mode:
- name: Operating Mode
- number:
- - platform: ld2420
- presence_timeout:
- name: Detection Presence Timeout
- min_gate_distance:
- name: Detection Gate Minimum
- max_gate_distance:
- name: Detection Gate Maximum
- # See "Number" section below for detail
- gate_select:
- name: Select Gate to Set
- still_threshold:
- name: Set Still Threshold Value
- move_threshold:
- name: Set Move Threshold Value
- button:
- - platform: ld2420
- apply_config:
- name: Apply Config
- factory_reset:
- name: Factory Reset
- restart_module:
- name: Restart Module
- revert_config:
- name: Undo Edits
Advertisement
Add Comment
Please, Sign In to add comment