-
Notifications
You must be signed in to change notification settings - Fork 343
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
There is a problem with smart lock debugging #1432
Comments
Many locks doesn't have statuses. They only have events. Event is an action in some moment. Events only fire if something have changed. |
But I didn't find the corresponding action in the log. When I opened the door, there was no door opening action. Is my debugging method wrong? |
Your method ok. If you can see event in MiHome and can't see event in Hass logs - I have never heard about this situation for 4 years of developing this component. |
I don't know if it has anything to do with my homekit connection because I saw someone with the same lock as mine, but he can display the door status while I can't. We both use the same converter.
|
As I can see - event decoded without errors {
"id": 1860586428,
"_to": 128,
"type": 6,
"method": "event_occured",
"params": {
"did": "1064843091",
"siid": 2,
"eiid": 1020,
"tid": 79,
"arguments": [
{
"piid": 1,
"value": 3 // position: not tell indoor or outdoor
},
{
"piid": 2,
"value": 15 // method: manual
},
{
"piid": 3,
"value": 1 // lock_action: lock
},
{
"piid": 4,
"value": 0 // key_id: 0
},
{
"piid": 5,
"value": 1724847027 // lock_timestamp: 1724847027
}
]
}
} |
I checked and it is the same, but I feel that it sometimes misses data. For example, sometimes when I open the door, it still shows locked, but the Mijia app shows that the door is open. So I suspect that Mijia is getting other data because Mijia is always accurate, but sometimes it misses data. |
Do you have other BLE gateways? |
Sorry, I don't have one. I want to know if it is possible, for example, that the message is not sent through the gateway but through wifi because this is a lock that works with wifi and bluetooth. |
I think it can be possible. You can try to block internet for your lock if your router can do this. |
请问您的v5max现在正常工作了吗?您解决这个问题了吗 |
没有依旧无效 放弃了 |
好的谢谢,我再找找方法,如果有效的话我在这回复 |
I use the latest HA and Xiaomigateway. When I want to debug a door lock, I find that the device seems to send me some data. I want to know if it is a plugin bug or just like that.
I have a lock model Loock Smart Lock V5 Max
Website: https://home.miot-spec.com/spec/loock.lock.fcl201
I manually configured the converter. But I found that the door status will never change. So I turned on the debug mode and found that the lock did not seem to send me the door status, but everything was displayed normally in the Mijia APP
The converter is as follows
The log is as follows
home-assistant_2024-08-28T12-10-44.186Z.log
The text was updated successfully, but these errors were encountered: