Skip to content

小米智能门锁 M30 Pro无法获取到解锁方式、解锁id、解锁位置、锁状态、解锁时间等信息 #372

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

Closed
x838902 opened this issue Dec 23, 2024 · 8 comments

Comments

@x838902
Copy link

x838902 commented Dec 23, 2024

Describe the Bug / 描述问题

1.小米智能门锁 M30 Pro无法获取到解锁方式、解锁id、解锁位置、锁状态、解锁时间等信息;2.错误的告警信息(在米家app中实际没产出告警,猜测是开锁时锂电池和干电池安装的提示信息)

How to Reproduce / 复现步骤

image
image
image

下面是我通过gateway3集成获取到的信息
image

Expected Behavior / 预期结果

1.正确显示门锁开关操作相关的信息;2.不显示无效的报警信息(或者展示告警的具体内容)

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

@earlzz
Copy link

earlzz commented Dec 25, 2024

loock.lock.fcl201 鹿客v5max也有这个问题
截屏2024-12-25 17 42 12
截屏2024-12-25 17 42 59

@goodhelp
Copy link

我这个云米的锁,显示的信息更少,基本没啥用
7160357e-b173-482f-a1e4-33c9fecb7e49

@x838902
Copy link
Author

x838902 commented Dec 26, 2024

今天又看了下,这些信息应该可以在自动化中使用
查看实体信息,是有这些信息的
image

@x838902 x838902 closed this as completed Dec 26, 2024
@goodhelp
Copy link

今天又看了下,这些信息应该可以在自动化中使用 查看实体信息,是有这些信息的 image

果然如你所说,有这些信息,node-red中可以直接使用

@goodhelp
Copy link

goodhelp commented Dec 26, 2024

不过这个属性,要过35秒左右才出现,太慢了,22分50秒开锁,要23分30秒才出现开锁的ID等信息,开锁即取开锁ID,会报TypeError: Cannot read properties of undefined的错误!比Xiaomi Miot Auto的延时还长!
1

@x838902
Copy link
Author

x838902 commented Dec 26, 2024

你再检查一下,应该不能这么慢,我看了下比我gateway3本地接入的还是快一点
实际使用中gateway3接入的有大概5s的延迟
image

@x838902
Copy link
Author

x838902 commented Dec 26, 2024

不过这个属性,要过35秒左右才出现,太慢了,22分50秒开锁,要23分30秒才出现开锁的ID等信息,开锁即取开锁ID,会报TypeError: Cannot read properties of undefined的错误!比Xiaomi Miot Auto的延时还长! 1

看你图的话22分55秒的时候已经获取到状态了

@goodhelp
Copy link

goodhelp commented Dec 26, 2024

可以了,开门时取的属性,和过一会儿去取的属性不一样,开门时有new_state和old_sate,加上new_state取属性就正常了!基本没有延时!
66c5853a-d260-4563-abb0-7d33eab5daf3

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

3 participants