2024年11月24日星期日 下午4:54:30

Passive BLE Monitor integration(Add Xiami motion sensor 2 (RTCGQ02LM) to home assistant) bindkey

1 年 前
#20150 引用
Passive BLE Monitor devices

I use a TP-link UB400 with a raspberry pi, which is working fine. But haven’t tried on a VM.
0
1 年 前
#20151 引用
没有出现过这个问题, 看看是docker的问题,还是蓝牙适配器硬件的瓶颈: 无法持续扫描

ESP32就存在这样的硬件的瓶颈,因为它与WIFI是共用通道,所以只能分时间片处理.可以调校scan_parameters,但是如果蓝牙占用太多的时间,那么WIFI就会出问题.

最好的办法是ESP32只开蓝牙,另外加ESP8266芯片单独处理WIFI
0
1 年 前
#20155 引用

https://atc1441.github.io/TelinkFlasher.html

更新透過瀏覽器獲取法,利用手機並以下列步驟操作(建議使用安卓):
盡可能將米家藍芽溫度計2 -  LYWSD03MMC 與手機越靠近越好。
確認手機上的藍芽為開啟狀態。
用手機瀏覽器瀏覽至 https://atc1441.github.io/TelinkFlasher.html

可以將瀏覽器畫面放大以方便閱讀
點選 [Connect] ,應該會跳出藍芽列表,選擇 LYWSD03MMC 後點配對。成功的話、看下方的 Log 應該會出現已連線 “Connected.”
出現連線後,按下 [Do Activation] 按鈕,然後稍候一會 “Mi Bind Key” 這幾個欄位就出現資訊了。不成功多嘗試幾次。
https://bbs.hassbian.com/thread-9462-1-1.html
0
1 年 前
#20199 引用
Bluetooth Auto Recovery

https://pypi.org/project/bluetooth-auto-recovery/
0
1 年 前
#20228 引用
xiaomi door and motions sensor timeout unavailable problem


Some Xiaomi sensors only send data when you actually open the door or close the door, or when they see motion. The sensors also send motion clear after 1, 2, 5 10, 20 and 30 minutes. After that, it will stop broadcasting data, till they see motion or till you open the door. So, these sensors can have a long time without sending any data (e.g. during the night).

I think the Bluetooth integration is determining an interval in which it expects data, based on previous messages (interval). If it doesn't receive data within this time, it will become unavailable. Unfortunately, these sensors stop broadcasting after 30 minutes,


https://github.com/home-assistant/core/issues/87296
0