NOTE: Although many users have had great success using them, Xiaomi / Aqara ZigBee devices are NOT officially supported or guaranteed to work on the Hubitat Elevation platform.
Because of their small size, simple design, and relatively low price, the Chinese home automation (HA) market ZigBee mesh network-based devices from Xiaomi / Aqara have seen an increasing level of popularity in other countries, where users are attempting to integrate them with their HA hub platform of choice, instead of the Xiaomi or Aqara Gateway hub they were designed to work with.
However, because the currently available Xiaomi / Aqara ZigBee-based devices are NOT 100% compliant with certain aspects of ZigBee specification, there are significant limitations and challenges to be aware of when attempting to use them with a Hubitat Elevation hub.
The non-standard ZigBee implementation of Xiaomi / Aqara devices results in the following potential issues and difficulties when used with a Hubitat hub:
- Pairing Xiaomi / Aqara devices may require multiple attempts before successfully being connected to a Hubitat hub, or in some situations fail completely.
- Xiaomi / Aqara devices are incompatible with most ZigBee repeater devices, resulting in dropped connections when they connect via those repeater devices.
A ZigBee repeater device (also known as a ZigBee router) works similar to a WiFi Extender or WiFi Mesh router, allowing other ZigBee devices to connect to it rather than directly to the hub. Most mains-powered (plugged into wall power) ZigBee devices are repeaters, with a few exceptions including some ZigBee smart bulbs (such as Sengled's bulbs).
For general information to help successfully pair Xiaomi / Aqara devices, keep them connected, and lists of ZigBee repeater devices reported to be work / not work, please continue reading down through this post.
Pairing Xiaomi / Aqara Devices
Best Practices When Pairing
- Before anything else, if you haven't read it already, please read Hubitat's informative and helpful How to Build a Solid Zigbee Mesh support how-to article. Based on that article, you should:
- Check that you have enough ZigBee repeater devices, and if you don't have any, invest in some repeaters that are known to work with Xiaomi / Aqara devices. Please see a list of repeaters confirmed to work near the bottom of this post. However, you should also...
- Make sure you don't have any "incompatible" ZigBee repeaters (i.e., reported not to work with Xiaomi / Aqara devices). Again, please check the list near the bottom of this post.
- Pair your Xiaomi / Device in its intended final location, not next to the hub. As explained in the above linked how-to page, pairing a ZigBee device next to the hub and then moving it can result in a dropped connection or other issues (such as dropped ZigBee messages).
- Follow the pairing procedure specific to the Xiaomi / Aqara device. In general, please refer to my basic pairing instructions found in this post. Here are links to pairing instructions / recommendations for some specific devices:
- Be patient. Some users have reported needing to go through numerous pairing attempts before success. As in 10-20+ minutes of attempts.
- If a Xiaomi / Aqara device just won't complete the pairing process, there are a few things that can be tried to manually pair it to a Hubitat hub. Please see this post for details.
Possible reasons for pairing difficulties
- Interference from another nearby Zigbee hub and/or 2.4GHz WiFi router (see this post for more information)
- The device may simply be difficult to pair with a non-Xiaomi hub, for example: the 2 button Aqara Smart Wall Switch model WXKG02LM.
- Pairing through an incompatible Zigbee repeater device (see lists, below)
- The maximum end-device limit has been reached: 32 ZigBee end devices can be connected directly to the Hubitat hub, and any ZigBee repeater devices used to go above that maximum will also have a limit on how many end-devices can be connected through them.
- A "weak" Zigbee network mesh (e.g., the device is too far from the hub or a repeater)
- The Zigbee Stick may need to be reset. (There is one reported instance of a reset resolving pairing issues with Xiaomi / Aqara buttons.)
- Low battery voltage. Some people have reported replacing the battery on their newly received Xiaomi / Aqara devices solved pairing issues.
- ZigBee Channel. See Changing the Hubitat hub's ZigBee channel, below, for more information.
Keeping Xiaomi / Aqara Devices Connected
Potential reasons for dropped connections
- A "weak" Zigbee network mesh (e.g., the device is too far from the hub or a repeater)
- Interference from another nearby Zigbee hub and/or 2.4GHz WiFi router
- The Xiaomi device is connected through a Zigbee repeater device which has an end device timeout which is shorter than the normal Xiaomi check in frequency. (See list of repeaters reported to work / not work with Xiaomi devices below.)
- Low battery voltage. Even with a relatively "high" reported battery level, some people have reported replacing the battery resolved dropped connection or "lost" message issues.
- ZigBee Channel. See Changing the Hubitat hub's ZigBee channel, below, for more information.
Zigbee repeaters reported NOT to work with Xiaomi devices
- Centralite 3-Series Zigbee Plug (Model 3100)
- Centralite 3210-L Zigbee Smart Plug (same as Iris 3210)
- General Electric (GE)
- Zigbee Wall Switch 45856GE
- Zigbee Dimming Wall Switch 45857GE
- Zigbee Dimming Smart Plug 45852GE
- Iris 3210 Zigbee Smart Plug
- Ledvance RT RGBW recessed color light
- Orvibo Zigbee Smart Outlet (see here for more information)
- OSRAM/LIGHTIFY
- Most OSRAM ZigBee products appear to be incompatible, based on various reports (see two possible exceptions in the "reported to work" section below.)
- PEQ 4257050-ZHACP Lamp Module
- Securifi Peanut Plug
- SmartThings
- Zigbee Outlet (any model)
- Sylvania SMART+ Plug 72922-A (but the non-"A" variant seems to work)
Zigbee repeaters reported to work with Xiaomi devices
- @iharyadi's Homemade Temperature, Humidity, Pressure, and Light Sensor
- IKEA
- TRĆ DFRI LED Bulbs (based on 1 user report)
- TRĆ DFRI Signal repeater (confirmed by multiple users)
- TRĆ DFRI Wireless control outlet (fully confirmed to work)
- Nue / 3A Home
- Twin Power Point GPO Switch - model MG-AUWSR01 (reported by one user - needs confirmation)
- 1, 2, & 3 Gang Light Switches - 2018 or newer models with ZigBee 3.0 only (reported by one user - needs confirmation)
- OSRAM/Sylvania LIGHTIFY
- A19 RGBW color recessed light (needs confirmation)
- RT Tunable White recessed light (needs confirmation)
- OSRAM Smart+ Outlet - model AB3257001NJ (UK & EU only)
- Sylvania SMART+ Plug 72922 (mostly working, more info here & here, but the 72922-A variant does not work)
- Sinopee Thermostat TH1124ZB
- XBee Zigbee Series 2 / Series 3 modules - These are by and far the best choice of repeater, and work very well with correct settings (see here and here)
Possible solutions to Xiaomi / Aqara Connection Issues
- Don't use any "incompatible" ZigBee repeater devices at all, just ones that are confirmed to work.
- Make sure incompatible repeaters are distant enough that Xiaomi / Aqara devices don't route through them. Only an XBee or ZigBee sniffer can help verify this, but keep in mind this is a risky solutionbecause ZigBee end devices can change their connection to a different parent (router) at any time.
- "Sandbox" your Xiaomi / Aqara devices on a different hub. Options:
- Use a second Hubitat hub or SmartThings dedicated to just Xiaomi / Aqara devices and "compatible" repeaters, and use @srwhite's amazing HubConnect app to share devices to your primary hub.
- Use a Xiaomi Gateway hub with your Xiaomi / Aqara devices and share them to your Hubitat Hub using @fison67's Mi Connector app for Hubitat.
- Change your hub's ZigBee channel. See below for more information.
Changing the Hubitat hub's ZigBee channel
Changing the ZigBee channel of a Hubitat hub can be potentially disruptive to the normal operation of all ZigBee devices, involving waiting for the mesh network to "heal" itself and often requiring manually re-pairing or re-joining devices. With this in mind, it is probably best attempted as a "last resort" troubleshooting step. Here are a few things to consider before changing your hub's ZigBee channel as a troubleshooting step for pairing or connection issues with Xiaomi / Aqara devices:
- Xiaomi Gateways have been reported to operate on ZigBee channel 25, channel 20 and channel 11 (here and here), so the assumption is these are "safe" channels for Xiaomi / Aqara devices. Also, a number of Hubitat users have reported success with their Hubitat Hub's ZigBee radio set to channel 13.
- If using a 2.4 GHz WiFi router in the same house / space, note that the Hubitat's ZigBee channels and 2.4 GHz WiFi occupy the same frequency range, with the potential of issues due to interference. It is recommended that the Hubitat's ZigBee channel be set to a channel with the least overlap / interference with the 2.4 GHz WiFi router's channel(s), or vice-versa. Please see this post for more information.
- Please make sure to read the Zigbee Information page of Hubitat's Documentation for information on how to change your hub's ZigBee channel.
If you are looking for Hubitat device drivers for Xiaomi sensors, buttons, etc, please see this thread.