piaoling 发表于 2023-2-25 19:19:19

放弃esp32蓝牙代理+ld2410b了,每个ld2410匹配一个esphome不香吗

本帖最后由 piaoling 于 2023-2-25 19:19 编辑

之前买了10个蓝牙版ld2410b,3个放主机usb蓝牙覆盖范围,蓝牙范围之外的用esp32做蓝牙代理确实经常断线。
还是刷esphome连接ld2410b香,虽然每个都得多花10元购买esp钱。
但显示的信息也多呀,:lol香


个人,esphome配置如下,(tx,rx针脚找了好半天,某猫奸商不告知,百度了好久找到同样板子:curse:)

esphome:
name: 2cesuo1 #自己設定name
platform: ESP32
board: mhetesp32devkit #這邊是設定自己使用的晶片


wifi:
ssid: "你的wifi名字"
password: "wifi密码"

ap:
    ssid: "你的wifi名字" #這邊是設置ap,如果沒有連線成功的話
    password: "wifi密码"

captive_portal:

# Enable logging
logger:

# Enable Home Assistant API
api:

ota:

# Example configuration entry
uart:
id: uart1
tx_pin: GPIO17
rx_pin: GPIO16
baud_rate: 256000
parity: NONE
stop_bits: 1

ld2410:
timeout: 61s
max_move_distance : 6m
max_still_distance: 0.75m
g0_move_threshold: 50
g0_still_threshold: 0
g1_move_threshold: 50
g1_still_threshold: 0
g2_move_threshold: 40
g2_still_threshold: 40
g3_move_threshold: 30
g3_still_threshold: 40
g4_move_threshold: 20
g4_still_threshold: 30
g5_move_threshold: 15
g5_still_threshold: 30
g6_move_threshold: 15
g6_still_threshold: 20
g7_move_threshold: 15
g7_still_threshold: 20
g8_move_threshold: 15
g8_still_threshold: 20

sensor:
- platform: ld2410
    moving_distance:
      name : Moving Distance
    still_distance:
      name: Still Distance
    moving_energy:
      name: Move Energy
    still_energy:
      name: Still Energy
    detection_distance:
      name: Detection Distance

binary_sensor:
- platform: ld2410
    has_target:
      name: Presence
    has_moving_target:
      name: Moving Target
    has_still_target:
      name: Still Target


529616965 发表于 2023-2-26 02:50:13

是挺香:lol

hyq 发表于 2023-2-26 08:32:24

路由器压力大增!:lol

piaoling 发表于 2023-2-26 08:44:34

hyq 发表于 2023-2-26 08:32
路由器压力大增!

:lol两个华硕ax88u用mesh组网足够应付智能家居的联网需求,目前在线设备32个,哈哈。手机电脑的设备单独用的领势mesh组网。

hyq 发表于 2023-2-26 08:48:05

piaoling 发表于 2023-2-26 08:44
两个华硕ax88u用mesh组网足够应付智能家居的联网需求,目前在线设备32个,哈哈。手机电脑的设备单独 ...

我是感觉esp8266很耗用wifi资源。我再研究看射频信号转发得行不!再等模块到了测试!

sorrypqa 发表于 2023-2-26 09:33:09

不错,这才是终极方案,因为wifi的覆盖范围和稳定性比较容易实现

houhd 发表于 2023-2-26 11:13:27

我买的2410是不带B,没蓝牙的。
现在用8266呢。

sxrcm 发表于 2023-2-26 11:40:44

houhd 发表于 2023-2-26 11:13
我买的2410是不带B,没蓝牙的。
现在用8266呢。

因为不依赖蓝牙,所以楼主的方法可以说是通用,2410/2410B+8266/Esp-32s均测试OK

comeon_000 发表于 2023-2-26 19:14:30

电怎么取啊,藏灯罩子里吗

ilongjiang 发表于 2023-2-26 20:56:55

教程能否在详细一些。
页: [1] 2 3 4 5 6
查看完整版本: 放弃esp32蓝牙代理+ld2410b了,每个ld2410匹配一个esphome不香吗