● ha작업) 인체감지 tx,rx 통신 안되는 불량을 Vcc,GND,Out만 사용하고 BLE을 재실감지 사용하기
♨ 카랜더 일정 :
2024년06월03일
본문
● ha작업) 인체감지 tx,rx 통신 안되는 불량을 Vcc,GND,Out만 사용하고 BLE을 재실감지 사용하기
HLK-LD2401c의 구성 사용시 불량으로 인체감지 out 출력만 사용 가능시
소스를 일부만 사용하면 BLE 소스를 같이 사용 가능
☞ https://11q.kr 에 등록된 자료 입니다. ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다♠
뷰PDF 1,2
office view
관련자료
-
이전
-
다음
댓글목록
11qkr님의 댓글
11qkr 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일
esphome:
name: esp32-s3-8m-ble2-ip74-pin
friendly_name: esp32_s3_8m_ble2_ip74_pin
esp32:
board: esp32-s3-devkitc-1
framework:
type: arduino
# esp32-s3-8m-pin
api:
encryption:
key: "oqKzqRlDdk3NGRwNeb508BRsASdqnz6sAc+Z+ANWvck="
ota:
password: "2b94a9cd8beed930f72808241e934b3f"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
power_save_mode: LIGHT
manual_ip:
static_ip: 192.168.0.74
gateway: 192.168.0.1
subnet: 255.255.255.0
dns1: 8.8.8.8
dns2: 8.8.4.4
ap:
ssid: "Esp32-S3-Ld2410S"
password: "EpEGixRy6fQH"
captive_portal:
# =========================================== # esphome:
# ESP32-S3
# mmwave GPIO2
# tx_pin: GPIO17
# rx_pin: GPIO18
# =========================================== #
# web_server:
# port: 80
# version: 2
# include_internal: true
logger:
level: ERROR
baud_rate: 0
# level: DEBUG
uart:
tx_pin: GPIO17
rx_pin: GPIO18
baud_rate: 256000
parity: NONE
stop_bits: 1
ld2410:
id: my_ld2410
bluetooth_proxy:
active: false
# active: true
esp32_ble_tracker:
id: entrance_ble_tracker
scan_parameters: # 휴대폰 blu 인식 정보
interval: 160ms # 스캔 간격을 더 자주 스캔하도록 변경
window: 160ms # 스캔 창을 더 넓게 설정하여 더 많은 장치를 감지할 수 있도록 함
active: true # 활성 스캔 활성화
duration: 30s
# BLE송신기(transmitting)
binary_sensor:
- platform: ble_presence
device_class: presence
ibeacon_uuid: 'a26fbca9-870e-4293-ad0b-aab3e0defc4e'
name: "9045-BLE"
id: myphone_9045_ibeacon_presence
timeout: 60s
# a26fbca9-870e-4293-ad0b-aab3e0defc4e_100_40004 중에서 _100_40004 제외
- platform: ble_presence
device_class: presence
ibeacon_uuid: '8c592027-1d90-4acf-89e4-5C1644129fb5'
name: "5763-BLE"
id: mywife_5763_ibeacon_presence
timeout: 60s
# 8c592027-1d90-4acf-89e4-5C1644129fb5_100_40004 중에서 _100_40004 제외
- platform: ble_presence
ibeacon_uuid: 'bc2db27c-48f4-4616-a171-82cdbcb4a6aa'
name: "8655-BLE"
id: home_phone_8655_ibeacon_presence
timeout: 60s
# bc2db27c-48f4-4616-a171-82cdbcb4a6aa_100_40004
# binary_sensor:
- platform: gpio
device_class: PRESENCE
pin:
number: GPIO2
mode: INPUT_PULLUP
name: mmwave_ld2410c_out
filters:
- delayed_off: 10ms
# on_press:
# then:
# - light.turn_on: PIR_led_output_to
# on_release:
# then:
# - light.turn_off: PIR_led_output_to
sensor:
- platform: ble_rssi
ibeacon_uuid: 'a26fbca9-870e-4293-ad0b-aab3e0defc4e'
name: "9045-RSSI"
id: myphone_9045_ibeacon_rssi
- platform: ble_rssi
ibeacon_uuid: '8c592027-1d90-4acf-89e4-5C1644129fb5'
name: "5763-RSSI"
id: mywife_5763_ibeacon_rssi
- platform: ble_rssi
ibeacon_uuid: 'bc2db27c-48f4-4616-a171-82cdbcb4a6aa'
name: "8655-RSSI"
id: home_phone_8655_ibeacon_rssi
# - platform: uptime
# name: Uptime Sensor
# sensor:
- platform: uptime
name: Uptime Sensor
- platform: wifi_signal # Reports the WiFi signal strength/RSSI in dB
name: "WiFi Signal dB"
id: wifi_signal_db
update_interval: 60s
entity_category: "diagnostic"
- platform: copy # Reports the WiFi signal strength in %
source_id: wifi_signal_db
name: "WiFi Signal Percent"
filters:
- lambda: return min(max(2 * (x + 100.0), 0.0), 100.0);
unit_of_measurement: "Signal %"
entity_category: "diagnostic"
device_class: ""
output:
- platform: ledc
pin: GPIO4
id: PIR_led_output
inverted: true
light:
- platform: binary
name: "PIR_to_LED"
output: PIR_led_output
id: PIR_led_output_to
# 2024_0510_2221_53
# light:
# - platform: esp32_rmt_led_strip
# rgb_order: RBG
# pin: GPIO48
# num_leds: 3
# rmt_channel: 2
# chipset: ws2812
# name: "mmwave_My_Light"
# id: RGB_right_sw
switch:
- platform: restart
name: "Restart Node"#
id: restart_id
- platform: ld2410
# engineering_mode:
# name: "engineering mode"
bluetooth:
name: "HLKRadarTool yap control bluetooth"
# HLKRadarTool yap
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
button:
- platform: ld2410
factory_reset:
name: "factory reset"
restart:
name: "restart"
query_params:
name: query params
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
text_sensor:
- platform: ld2410
version:
name: "firmware version"
mac_address:
name: "mac address"
- platform: wifi_info
ip_address:
name: Address
id: ip
ssid:
name: SSID
mac_address:
name: Mac
# 999999999999999999999999999999999999999999
♥간단_메모글♥
-
등록일 04.15가입 인사드립니다.댓글 2
-
등록일 04.09가입인사.댓글 2
-
등록일 03.03안녕하세여댓글 1
-
등록일 02.13
최근글
-
등록일 06.28
새댓글
-
등록자 11qkr 등록일 16:27
-
등록자 11qkr 등록일 16:02
-
등록자 11qkr 등록일 15:51
-
등록자 11qkr 등록일 12:38
-
등록자 오딘 등록일 12:20
오늘의 홈 현황
QR코드
☞ QR코드 스캔은 kakao앱 자체 QR코드