Aqara U100 Smart Lock

My setup consists of a U-100 and M2 hub rooted. HomeKit and Matter are enabled. Internet access on the M2 was blocked after the initial setup.

There does not seem to be any limitations with HomeKit, can setup up HomeKeys, can setup guest access/ codes through Home app.

Can configure lock specific functions via the Aqara app locally using Bluetooth (could do remotely via network or internet if allowed internet on M2 hub)

Matter allows Home Assistant to see lock status and control lock/unlock and battery status. No ability to manage door codes and such.

My setup consists of a U-100 and M2 hub rooted.

Just to confirm I’m understanding, you’re saying Homekey can be setup without having an apple hub?

I do have an AppleTV in the house which I believe serves as a hub, so can’t confirm what would happen without it. Also, as an update, I’ve noticed that the Matter lock status becomes unavailable for a few seconds (~30) at random intervals. Still trying to test out all the quirks of this setup.

I was able to set up homekey with no apple device other than my iphone

As. an update, I’ve added aqara.lock.acn10 in place of the N100 lock in the utils.py and also in the lock_data.py on my install of the AqaraGateway integration for rooted hubs. This allows the lock to be detected and provides lock status. No ability to control the lock via this path. I’ve put in a request on niceboygithub/AqaraGateway to see if support can be added, looks very similar to the N100 lock.

In case anybody is wondering, I followed these instructions:

and only had one variation - I had to spin up a new docker container because I run home assistant as a docker container - https://github.com/home-assistant-libs/python-matter-server

The matter connection with the lock only gives state info, but doesn’t say which fingerprint or code unlocks it.

This is my setup:
2 HomeKit instances. my homehub(Apple TV) is not close enough to my lock, so HomeKit only detects the state when my iPhone/iPad is in bluetooth range. I zigbee paired to Aqara hub m2 and then paired the hub via matter to HA, then made a HomeKit bridge to share the lock back into Apple home so that I can see the state updates on my Apple TV etc. then I just hid updates and status from the direct HomeKit connection.

I just finished doing all of this, but its seems to work very well.

Anyone using the Aqara E1 Hub to control this lock with Matter? I believe the E1 Hub has had a Matter firmware update. The E1 is 1/2 the price if not less than the M2 hub and is much smaller.

Can I ask what version of the M1 hub you have?

I just got an M1s Gen 2, and can’t get the Matter integration to complete. It times out. The lock gets added to HA and works fine, the hub gets added, but goes unavailable the moment the Matter dialogue times out.

I’ve done a few resets and added/bound things in different order, but always the same result with the hub into HA via Matter.

I did upgrade the FW on the M1S when it arrived, wondering if that was a mistake. I might try the M2 hub if I can’t get this figured out.

Not sure how to tell what version, but its running firmware 4.04_0012.0004.

I found pairing the bridge to matter, and then adding the lock to the bridge was the way I had the most success.

Also, I’ve gone through a lot of batteries, so I also ended up buying a 6vdc transformer and hardwired power to the lock (soldering on the battery terminals).

If it was not for the NFC/Homekey functionality, I would have trashed this lock and gone back to the Eufy lock…

Are you blocking the hub from internet access? (Ive found that may cause some issues)
Are you using the 12 digit key for matter instead of the 8 digit sticker?

The Aqara E1 hub can be added via Matter to HA but none of the devices added to this Hub in the Aqara app will show up in HA. That is strange. I have the Aqara A100 zigbee door lock and it have it bonded with the E1 hub. But the Lock does not show up in HA.

I followed another method(Enabling Telnet on the E1 Hub - GitHub - niceboygithub/AqaraGateway: Aqara Gateway/Hub integration for Home Assistant) to get my Aqara A100 lock connected with HA, but the downside of this method is we wont be able to lock and unlock the door but I can view the state of the lock, the battery percentage and various lock events and also see who unlocked the door and what method was used to unlock. Ex Fingerprint, NFC, Home Key or Pin code.

Look at the key ID entity, its a sensor and the number shown is unique for each user fingerprint, you can use this number and create your automation in HA based on which user unlocked the door. This is very handy. I have a few automations setup for various ppl in my house when they unlock the door either via their fingerprint or using home key or pin code.

2 Likes

Thanks, that’s interesting. same firmware on mine. It’s not being blocked from the internet at the moment.

I’ve tried adding things in different order, but same result.

HA finds the hub (using the Matter code from the Aqara app), appears to connect it (you can see it in the background), but it never finishes, just eventually times out. When I exit, I see the lock gets added and works from HA, the night light gets added, and works for one switch on or off, then becomes unavailable.

When I look at the logs it seems to be getting caught up trying to set properties for the night light.

I also tried an M2 hub out of curiosity. It gets added in 20 seconds ,no problems, exposes the lock, and all is good, though the hub is dumb in HA, i.e. no functionality, literally just acts as a bridge.

I was hoping to be able to control the nightlight on the M1S in HA. Hopefully it gets ironed out in a Matter update. I prefer the M1S over the M2 because of the light, and louder speaker.

Thanks a ton for such a thorough, well-organized and updated post! Comes super useful to so many of us.

Do you lose access to Homekey when adding it to HA as other have mentioned?

I really appreciate this post, especially since the Ultraloc U-Bolt Pro’s Z-Wave functionality is crappy, at least you can add it to Home Assistant.
The issue I have with it is that it’s constantly sending out information related to the lock state over bluetooth! Crazy and worrying.
I may just be forced to going back to a good ole dumb deadbolt here soon. :frowning:

You mean you can’t change the lock state in HA right? I’m assuming the Aqara app would let you change that state, as it would be rather unfortunate if adding it to HA completely removed the ability to lock/unlock it remotely. This lock seems quite promising to me feature-wise, so I wanted to confirm this limitation.

Adding onto these instructions, because they helped me out (thank you!)… After removing the U100 from Apple Home (step 2), my phone was still connected to the U100 over BT. I had to disable BT during the HA setup process (which is done through the HomeKit Device Integration - you should see an entry for the U100 in the Device drop-down). I had to use the HomeKit setup code found on the back of the lock plate.

Note: I do not have the Aqara hub. I only have a BT adapter and a Zigbee adapter connected to my HA on a raspberry pi.

So, the lock and hub connected through zigbee and not using matter? I wonder if this method could work on different locks like A100 Zigbee or D100 Zigbee? because it will be the best as iit can be controlled through HA, Homekit/Homekey.

Has anyone found a way to create access codes for this lock from HA? Either using HomeKit or some other method?

I was looking to see if it’s possible without using the Aqara app.

I’m thinking about this lock, but a bit confused after reading the thread…can it be intergated into HA using an M2 hub (without rooting/flashing new firmware) and Matter? Can the lock then be controlled from within HA? Or alternatively, with the M2 hub and Homekit? Either way it seems like the hub is needed.

Thanks in advance

Yes, you can integrate it with HA using a hub and Matter. It reports status, battery and you can lock/unlock.

2 Likes