-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[New device support]: Aqara A100 Pro Smart Door Lock #13087
Comments
Would really like to see support for this lock! |
+1 |
I'm from Brazil and BRL to USD exchange rates are atrocious, but I'm able to provide a 40 USD bounty to get this working. @Koenkk maybe you would be able to take a look at this or point me out on a direction? |
@rafaelreis-r could you make a sniff when pairing the device to the original hub? https://www.zigbee2mqtt.io/advanced/zigbee/04_sniff_zigbee_traffic.html#with-cc2531 |
+1 |
Just received the CC2531 today. Flashed it and compiled whsniff. Files are attached below. Attachements: Notes:
|
|
I tried using a converter based on lumi.lock.acn02, since the A100 reports itself as I had to spin up a separate Z2M instance since my network is very busy atm, and I needed to be close to the lock.
This is the sequence of events reported in the door lock log. Note that it is from new to old, so reverse of what wireshark logged. Unfortunately I'm unable to align |
So the first issue that needs to be tackled is that the device leaves almost immediately after pairing it to z2m (packet 71 in |
I only own the Conbee-II and the CC2531 flashed for sniffing. Electronics are highly tariffed and expensive in Brazil. I usually import them directly from China (which is what I did with the door lock) but it takes 45 to 60 days for customs clearance. I could purchase another TI device. The only options I could find in stock atm are:
What would you technically recommend? |
The SONOFF Zigbee 3.0 USB Dongle Plus (CC2652P) |
Hey @Koenkk Device arrived. It came preloaded with Let me know if it requires updating (I still have to learn the update process). I took a sniff and debug logs from the pairing process to this device: Interesting to note this time the lock looped trying to pair to the coordinator until it gave up after 4 or 5 attempts, as you will be able to see in the dump. Let me know what else you need me to do! |
So it seems the device stays connected for a bit longer and z2m is able to retrieve some data from it. It is important to use the latest firmware on your adapter; otherwise the node descriptor returns an incorrect manufacturer code for Xiaomi devices. There are some instructions on how to flash the fw here: https://www.zigbee2mqtt.io/guide/adapters/#notes (on this page you can also find the correct coordinator firmware). What worries me a bit is that the device now leaves after it doesn't receive a reply to the encrypted magic command. With the Xiaomi gateway you see the the gateway replies: With z2m it doesn't (which of course we cannot do since we cannot encrypt this message): I think this causes the device to leave. Seems Xiaomi doesn't want this to be device to be used with other gateways. If the coordinator firmware update doesn't solve the issue I'm quite certain this is the reason the device leaves. So in order to be able to continue we need the encryption key. I see 2 scenarios to obtain this:
|
Hey @Koenkk, Updated the firmware to It looks like the sniff is void of the bad FCS packets! I hope we aren't locked out due to the encryption key. There is a 3rd way to get them, similar to what this engineer did recently with the embedded linux embedded os fw in his car. We might be able to find the key inside the source files / update files to Aqara's hubs. |
Strangely enough I don't see the magic commands anymore in this sniff but the device still leaves. What I find interesting is that the I guess that we need the Xiaomi encryption key to continue further with this. |
Would love to see support for this device |
@Koenkk I was able to root my G3 hub after a bit of work, and dump some zigbee info from it. I'm working with the Aqara GW rooted HA integration devs on their rep. Thread is here They have good knowledge of many Aqara hubs rootfs, and also stock and modified fw dumps for various hubs. They have coordinator fw for the Aqara hubs dumped there as well. I just asked them if they were able to extract a coordinator fw to any of those hubs. We might have luck finding something there. |
Would love to use this device with z2m... |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Same for me. |
I encourage anyone interested into solving this issue to report it on the Aqara support page => https://static-resource.aqara.com/html/feedback.html, Asking them to share the encryption key. Here is a message example:
|
Thank you @waterdrop01, I just sent the ticket. I have another questione for who already own the Aqara A100: what about the integration in Home Assistant over HomeKit Controller? Is that possible? |
It is VERY limited in HomeKit. Not a viable solution. Best path so far has been AqaraGateway + rooted hub. |
I'll probably go with that solution. What's the benefits using the Rooted gateway instead of the stock one? |
@Koenkk can we destale this? |
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days |
Could this be reopened and pinned please? |
I assume there's nothing to update on this yet, eh? :( |
Zigbee Smart Energy is an entirely different standard as compared to standard Zigbee protocol. It would take:
Another way would be to have the community develop a custom firmware for the A100 (N100 and other locks in that family) that supports standard zigbee. |
And I assume the custom firmware path is not currently being worked on by anyone? Shame if not. |
The lack of support for HA stops me from buying their product, LOL. |
At the end of all I went for a very classical electromechanical lock. I'll connect it to a Shelly 1 soon and to an UPS. All managed by HA. Yes, this isn't the same prpduct but imho it will work even better. |
Is there any update on this? |
A100 Bluetooth integration on HA seems to be stable now. Requires Bluetooth range. Pairing it to HomeKit controller also works. Over zigbee the only way is through AqaraGateway on supported gateways. |
Does that mean I can now use the lock with all functionality on my HA? Any more info on how to set this up, or is it automatic? |
same question here guys, can we integrate the doorlock to HA now ? I have a D200I what about this one ? |
which Bluetooth integration can integrate a100? |
|
Hi! Can you explain how to connect aqara A100 with esphome bluetooth proxy? Thanks. |
In mi case problems with IPv6, QNAP and HA (sorry U200 model) |
Hi, I have been following this thread. I have successfuly set up Aqara A100 Pro with E1 Hub using niceboy's Aqara Gateway integration. It's all fun and game until I block internet to the gateway and you restart the gateway or there is power interruption. The setup is perfect for me, however, this is my only problem. I need my setup to be offline. Is there any way how to do this? |
Link
https://www.aqara.com/en/product/smart-door-lock-a100-zigbee
Database entry
"definition":null,"friendly_name":"0x54ef4410004c5112","ieee_address":"0x54ef4410004c5112","status":"successful","supported":false},"type":"device_interview"
Comments
Hey all. I just got my hands on a Aqara A100 Pro smart lock. Although I'm a competent sysadmin, I've never worked with zigbee devices. Wondering if I could provide info / be guided to dump information in order to add support to this family of door locks.
Hardware I own:
I'm willing to purchase a CC2531 sniffer if necessary.
What have I done so far:
lumi.lock
entries on Xiaomi.jsPairing Process
The A100 series do not have a physical Zigbee pairing button / process. You need a compatible Aqara Hub to trigger the pairing on the lock. I figured out a way to do it:
A100 Pro vs A100 Zigbee
I read that both have Zigbee functionality, Pro version lacking remote unlock and remote passcode setup as compared to the Zigbee version. I couldn't find the Zigbee version at the time of purchase. Details here
Logs I collected over the pairing procedure
External converter
No response
Supported color modes
No response
Color temperature range
No response
The text was updated successfully, but these errors were encountered: