Aqara - device setup (hub)

So I bought some Aqara devices (hub and 2 cubes) on prime day, admittingly not researching it as in depth as I should have. I thought it was a simple pairing through zigbee from HE to the Aqara hub, and connect the devices to the Aqara hub. If I'm reading this right now, do I need to install homekit on a spare device (raspi?) Or do I need additional zigbee repeaters to connect he to the Aqara hub? I see some recent development efforts for drivers and apps for th Aqara devices itself.

All this effort in the name of WAF...

Any reason you cant pair the cubes directly to HE? I know they aren't supported, but they should still work. More info here.

To connect your Aqara Hub to HE is going to be very problematic to say the least, I'm afraid.

1 Like

I am using this.
The Xiaomi/Aqara devices definitely behave better when connected directly to the Aqara hub but I only have my 'problematic' devices connected to it.
The rest I connect directly to my HE hub.

I'm using an RPi BTW.

1 Like

If its an Aqara hub, that won't work though, no dev options :frowning:

1 Like

Yes, as @Royski says, it has to be the correct hub.
This is mentioned in the thread I attached.

1 Like

Good that I can try it without the hub (maybe).

Any difference in the veeceeoh solution referenced above and these drivers?

1 Like

Ah wasn't aware Markus has released one for the cube, yes use this :+1:

Does advanced (36) need to be set with the drivers from Markus with the magic cube app?

I don't know about the 36 button thing since I don't use that app, but I do know you need to select Legacy button order for use with the app.

I must have missed it, there is a different app associated with your driver's?

No, but with legacy button order set my driver works with the apps made for the old driver.

1 Like

Hy, from what i understand cannot ad agara hub to HE, I'm very interested if is any possibility to add like any device, no working like a hub, but maybe alarm, night light etc....


You can trigger the alarm by modifying a Xiaomi Aqara or Xiaomi Mijia (easier) contact sensor. You need to close some dry contacts in HE, when they close that will cause the contact sensor to report [closed] to the Aqara hub. In the Aqara app, you create an automation for the contact sensor and you can do things like a doorbell sound as I have done here, or trigger the siren sound.

I used to use this method for the alarm sound so that when my Ring Alarm went off, this would sound too as a supplemental siren. But, I no longer do that since we had too many events where the alarm sound would suddenly go off by itself on the Aqara hub in the middle of the night. So now I just use the doorbell sound. For whatever reason, that never goes off by itself.

The HomeKit addition of the Aqara hub allows HomeKit to control the light in it. So if you have a HomeKit hub (Apple TV 4 or later, HomePod, HomePod Mini or always on iPad), you can setup Homebridge to expose HE virtual switches to HomeKit. You then use HomeKit automations to sync the device to the virtual switch. Most of my motion and contact sensors, and several buttons are Xiaomi paired directly to the Aqara hub, then synced with Hubitat Elevation using this method. It's very fast and effective. Reliability is 100%

Thank you @SmartHomePrimer, unfortunately I don't use any apple devices.
regarding Aqara Hub is very slow response, is a CN version and when I set or do something application response slow (I try with Mi Home, today I will install Aqara app and test)

My mainly question remain, nobody cannot create a app in HE to install this HUB? :slight_smile:


There’s a Mi Connector app for an older Mijia hub of a very specific type, but nothing for Aqara.

HomeKit is the only bridgeable route for Aqara at this time. I feel sorry for anyone that can’t use it because getting the Xiaomi devices back into HE by this means has been so fast and reliable for me.


Download the Hubitat app