-
-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[New Sensor]: Linptech Human Presence Sensor ES3 #1427
Comments
Currently the device can directly use BT connection with phone app for config and receive status update with normal bt gateway chuangmi.plug.hmi208 i use. |
I had a first look at the data, but it requires an encryption key to decode. Can you send me the encryption key to decode the BLE advertisements? |
Thank you for your reply, is this the encryption key? |
Yes, thanks. it seems to work. I'll look into it further |
Can you try BLE monitor 13.1.0-beta (enable beta's in HACS). |
The beta version is working great! But I noticed something odd. |
35 seconds sounds like the reset timer, it’s the default setting. If you turn it off, is it than working properly? Most sensors keep sending data that motion is detected continuously, preventing the motion_timer from going to motion clear. There is some timer info in the advertisement as well, both time since last motion and time with no motion. I’ll have a further look if I can use that somehow. |
Thank you for the reply. It is the reset timer, and I apologize for not being aware of that setting. I can confirm that it works! |
No need to apologize. I’ll add a note in the documentation for this sensor. Later, perhaps I can have a look to automagically set it the motion timer to 0 for this sensor |
After two days of testing, I found that the motion entity updates quickly when motion is detected. However, there is approximately a two-minute delay before it returns to "clear" status once no motion is detected, as reported by Xiaomi's app. |
Captured logs showing motion detection and clearance events. Device MAC: A4:C1:38:A4:88:8A Motion Detected: Motion Cleared: Status Update Delay:
The motion is physically ceased at this point. After 2 minutes, some new packets captured and HA entity finally updated:
|
Thanks, I’ll have a look next weekend. |
Between 21:02:58 and 21:04:58, were there no messages at all? |
None. After checking the log multiple times, I believe this is likely a firmware bug related to its ineffective no-detection delay settings. I have reported it to Linptech and hope for a fix soon. |
Let me know if you have a response. There should be some timer messages with time of occupation and time of no occupation. But if you don’t see any messages in these two minutes, we might have to turn on the BLE monitor no motion timer and see why it didn’t work in the first attempt. |
I doubt they will ever respond to my report. Anyway, here is a similar issue discussed in Chinese on the official Xiaomi integration repo XiaoMi/ha_xiaomi_home#515 |
Sensor Description
Linptech Human Presence Sensor ES3
Additional information
Info Linptech Human Presence Sensor ES3
Model linp.sensor_occupy.es2
Did blt.3.1k14nmbl8c400
MAC A4:C1:38:C7:C3:76
Miot type urn:miot-spec-v2:device:occupancy-sensor:0000A0BF:linp-es2:1
BLE advertisements
The text was updated successfully, but these errors were encountered: