Skip to content
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

人体传感器状态一直是有人,没有其他状态 #386

Open
coobin opened this issue Dec 23, 2024 · 10 comments
Open

人体传感器状态一直是有人,没有其他状态 #386

coobin opened this issue Dec 23, 2024 · 10 comments
Assignees

Comments

@coobin
Copy link

coobin commented Dec 23, 2024

Describe the Bug / 描述问题

人体传感器(lumi.sensor_motion.v2;lumi.sensor_motion.aq2)一直是有人状态

How to Reproduce / 复现步骤

  1. 检测到有东西移动,会显示检测到移动
  2. 移动检测情况会一直显示有人,没有无人状态
    spic20241223143826
    spic20241223143814

Expected Behavior / 预期结果

移动检测情况有无人和有人状态

Home Assistant Logs / 系统日志

No response

Home Assistant Core Version / Home Assistant Core 版本

2024.12.5

Home Assistant Operation System Version / Home Assistant Operation System 版本

14.1

Xiaomi Home Integration Version / 米家集成版本

0.1.3

Additional Context / 其他说明

No response

@Elger9
Copy link

Elger9 commented Dec 23, 2024

I confirm, the sensors are always in the "Motion Detected" state. In my case, ‘Motion detected’ appears a few seconds after the integration is added, whether there is motion or not.

Tested with sensors:

  • lumi.sensor_motion.aq2
  • lumi.sensor_motion.v2

@pangjian
Copy link

我也有同样的问题,设备是lumi.sensor_motion.aq2。目前暂时用template解决的。

binary_sensor:
  - platform: template
    sensors:
      chufang_somebody_sensor:
        friendly_name: "厨房是否有人(event)"
        device_class: motion
        value_template: >-
          {{(as_timestamp(now()) - as_timestamp(states.event.lumi_cn_lumi_158d00053f803a_aq2_motion_detected_e_2_1.state))|abs |int < 120}}

@alanshu8
Copy link

The Zigbee type motion sensor either, can only work in Xiaomi Gateway (Aqara) integration only.

@TseMH423
Copy link

image
我的人体传感器也一直不对

@SusanPhevos SusanPhevos self-assigned this Dec 24, 2024
@SusanPhevos
Copy link
Contributor

您好!请您上传一下设备详情页含unique_id的截图。如果您担心隐私问题,可将截图发送至 [email protected]

@coobin
Copy link
Author

coobin commented Dec 24, 2024 via email

@Mrkelo
Copy link

Mrkelo commented Dec 25, 2024

Aqara 人体传感器设备lumi.sensor_motion.aq2同样问题,接入方式为小米多模网关2,该传感器移动检测一直是有人状态
捕获
无移动状态要么是未知要么直接就是30分钟
image

@SusanPhevos
Copy link
Contributor

不好意思,现在这个插件已经无法正常授权登录了,麻烦有相同情况的朋友补充一下吧。。。 Sent from my iPhone On Dec 24, 2024, at 21:59, Li Shuzhen @.> wrote:  您好!请您上传一下设备详情页含unique_id的截图。如果您担心隐私问题,可将截图发送至 @.@.> — Reply to this email directly, view it on GitHub<#386 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADX67KPDZJCTJKBT4PPB2DT2HFSEVAVCNFSM6AAAAABUCQIULKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRRGE2TSMJXGA. You are receiving this because you authored the thread.Message ID: @.>

无法登录的问题请另提一个issue。提issue时请将日志等级设置为debug级别(方法详见这里),复现问题,并上传HA日志。如果您担心隐私问题,可将日志发送至 [email protected]

@SusanPhevos
Copy link
Contributor

image 我的人体传感器也一直不对

小米人体传感器2S只会报“有人移动”事件,不会报“无人移动”事件。该设备有一个属性值为“无移动状态持续时间”,当检测到有人时,该属性值变为0;当检测到持续120秒无人时,该属性值变为120。可将“无移动状态持续时间”属性与“有人移动”事件结合起来共同判定移动检测状态。

@olonglongo
Copy link

会不会真的有呢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants