al-one / hass-xiaomi-miot

Automatic integrate all Xiaomi devices to HomeAssistant via miot-spec, support Wi-Fi, BLE, ZigBee devices. 小米米家智能家居设备接入Hass集成
https://miot-spec.com
Apache License 2.0
4.5k stars 636 forks source link

小米人体传感器2 状态不对,一直显示未触发 #1339

Open Michael-crazy opened 1 year ago

Michael-crazy commented 1 year ago

Device model / 设备型号

lumi.motion.bmgl01

Component version / 插件版本

0.7.13

HA core version / HA版本

2023.7.3

Integrated mode / 集成方式

Automatic (自动模式)

The problem / 问题详情

小米人体传感器2的状态一直是未触发,实际上是触发了 Motion Sensor trigger_at 这个实体会正常更新,但是设备实体binary_sensor.lumi_bmgl01_88c4_motion_sensor一直是未触发的状态

Entity attributes / 实体属性

model: lumi.motion.bmgl01 lan_ip: '' mac_address: 54:EF:44:C5:88:C4 entity_class: BleBinarySensorEntity home_room: 悠游居 主卧 miot_type: urn:miot-spec-v2:device:motion-sensor:0000A014:lumi-bmgl01:1 motion_sensor.illumination: 1 no_motion_duration-2-2: 5 battery_level: 100 state_updater: cloud trigger_time: 1696338633 trigger_at: '2023-10-03T13:10:33+00:00' illumination: 256 no_motion_seconds: 300 light_strong: false illumination_level: weak state_property: no_motion_duration-2-2 sub_entities:

Home Assistant Logs / 系统日志

No response

never615 commented 1 year ago

加1 我是2s image image

never615 commented 1 year ago

间接搞定了 image

wangrui1573 commented 11 months ago

我也有这个问题,怎么修复的,我都已经更新到最新了,lumi.motion.bmgl01

leohearts commented 10 months ago

同样的问题,是2s,只有检测到人移动2分钟后才会更新

SodaWithoutSparkles commented 10 months ago

这类的传感器一律建议用xiaomi gateway 3 的 integration。如果运行HA的装置有蓝牙的话,也可以用passive BLE monitor的integration。

never615 commented 10 months ago

passive BLE monitor

xiaomi gateway 3不支持中枢网关.....还要再买个多模网关.....我分开买了个zigbee网关和小米中枢网关晕...

wangrui1573 commented 7 months ago

如果买多模网关,不会和中枢网关抢设备吗?

wangrui1573 commented 7 months ago

Logger: custom_components.xiaomi_miot.binary_sensor Source: custom_components/xiaomi_miot/binary_sensor.py:226 Integration: Xiaomi Miot Auto (documentation, issues) First occurred: 09:21:07 (66 occurrences) Last logged: 12:58:23

客厅人体传感器(lumi.motion.bmgl01): BLE object data invalid: prop.4123 (['0']) 卧室人体传感器(lumi.motion.bmgl01): BLE object data invalid: prop.4123 (['0'])