lumi.lock.mcn01 Xiaomi Smart Lock Support
Opened this issue · 4 comments
Device model
lumi.lock.mcn01
Device name
Xiaomi Smart Lock
Does the device require a MiCloud connection?
Don’t know
Anything special about the device?
This is the original version that doesn’t support HomeKit, however it can use BLE connect to Xiaomi app using xiaomi gateway device (model ID: xiaomi.gateway.hub1)
Currently when I add the device to HomeBridge via BLE method, the device will only show up as “battery” and “not supported” on HomeKit app
The plugin currently does not support lock devices so that would first need to be added. I will see what I can do.
@merdok Good afternoon! Your plugin is very cool. I thank you for your work!
Could you add another Xiaomi m20 lock to the plugin?
The look.look model.t2 pv1.
log:
[26.12.2024, 14:06:49] [miot] [Замок] Initializing device services
[26.12.2024, 14:06:49] [miot] [Замок] Device services: [
"lock",
"door",
"battery",
"doorbell",
"video-doorbell",
"motion-detection",
"p2p-stream",
"battery",
"customized-service-for-ble",
"customized-for-wifi"
]
[26.12.2024, 14:06:49] [miot] [Замок] Initializing device properties
[26.12.2024, 14:06:49] [miot] [Замок] Device properties: [
"lock:operation-position",
"lock:operation-method",
"lock:lock-action",
"lock:operation-id",
"lock:current-time",
"lock:abnormal-condition",
"door:door-state",
"battery:battery-level",
"doorbell:current-time",
"video-doorbell:on",
"video-doorbell:status",
"video-doorbell:night-shot",
"video-doorbell:wdr-mode",
"video-doorbell:eco",
"video-doorbell:ringtone",
"video-doorbell:image-distortion-correction",
"video-doorbell:cloud-video-id",
"video-doorbell:current-time",
"motion-detection:detection-sensitivity",
"motion-detection:motion-detection-start-time",
"motion-detection:motion-detection-end-time",
"battery10:battery-level",
"customized-service-for-ble:customized-argument-2",
"customized-service-for-ble:customized-argument-4",
"customized-service-for-ble:customized-argument-5",
"customized-service-for-ble:customized-argument-6",
"customized-service-for-ble:customized-argument-1",
"customized-for-wifi:auto-screen-on",
"customized-for-wifi:screen-on-duration",
"customized-for-wifi:record-someone-pass",
"customized-for-wifi:record-someone-stay",
"customized-for-wifi:stay-duration",
"customized-for-wifi:glimmer-full-color",
"customized-for-wifi:eco-wakeup-duration",
"customized-for-wifi:real-view-start-time",
"customized-for-wifi:real-view-end-time",
"customized-for-wifi:ver-wifi-detail",
"customized-for-wifi:ver-lock-detail",
"customized-for-wifi:ver-camera-detail",
"customized-for-wifi:ver-fw-camera",
"customized-for-wifi:lcd-show-mode",
"customized-for-wifi:battery-update-time",
"customized-for-wifi:device-status",
"customized-for-wifi:online-timestamp"
]
[26.12.2024, 14:06:49] [miot] [Замок] Initializing device actions
[26.12.2024, 14:06:49] [miot] [Замок] Device actions: [
"p2p-stream:start-p2p-stream",
"p2p-stream:stop-stream",
"customized-for-wifi:rpc-doorbell",
"customized-for-wifi:rpc-preview",
"customized-for-wifi:rpc-record",
"customized-for-wifi:system-reboot",
"customized-for-wifi:sync-setting-ask"
]
[26.12.2024, 14:06:49] [miot] [Замок] Successfully created a Generic device! It is a Lock.
[26.12.2024, 14:06:49] [miot] [Замок] Initializing accessory!
[26.12.2024, 14:06:49] [miot] [Замок] Accessory successfully initialized!
[26.12.2024, 14:06:49] [miot] [Замок] Registering 1 accessories!
[26.12.2024, 14:06:49] [miot] [Замок] Everything looks good! Initiating property polling!
[26.12.2024, 14:06:49] [miot] [Замок] Log in to MiCloud!
The thing is that i do not know what property or action controls the lock, you would need to create some actionButtons
and propertyControl
and check which of these does control the lock state.