Key for connection between Aqara Gateway and Home Assistant

Hello All,

Exists any way how to find the key for network communication protocol for Aqara gateway?

I try to resolve connection between Aqara Hub and Home Assistant but in config file of Home Assistant I need configuration for connection to Aqara Hub and for this I have to find this token.

In configuration.yaml I need add this

# You can leave MAC empty if you only have one gateway.
xiaomi_aqara:
  discovery_retry: 5
  gateways:
    - key: xxxxxxxxxxxxxxxx

Where “key” is the password or token (I don’t know how exactly it is name).


This is what I mean in case of Xiaomi Gateway:

In Xiaomi Gateway case:

For example in Mi Home for Xiaomi Gatavay get password from Mi Home App

You first need to enable local network functions by using the iOS Mi Home App [iosApp Mi]

  1. Install the App on a iOS device
  2. Make sure you set your region to: Mainland China under settings -> Locale - required for the moment.
  3. Mainland China and language can set on English
  4. Select your Gateway in Mi Home
  5. Then the 3 dots at the top right of the screen
  6. Then click on about
  7. Tap under Tutorial menu (on the blank part) repeatedly
  8. You should see now 3 extra options listed in Chinese until you did now enable the developer mode. [ if not try all steps again!]
  9. Choose the second new option
  10. Then tap the first toggle switch to enable LAN functions. Note down the password (29p9i40jeypwck38 in the screenshot). Make sure you hit the OK button (to the right of the cancel button) to save your changes.

And this password I have to find for Aqara Hub.

Thank you very much for support.

Meny Regards.

Petr

1 Like

I dont believe it is supported yet. My understanding is you have to use apple homekit as the access method for now

I cannot understand the post, you detail how to find the key, than ask how to find the key. Am I missing something?

Hello,

there are two gateways

first gateway is from Xiaomi and second gateway is from Subcompany of Xiaomi and this is Aqara gateway:

And problem is that gateway from Aqara has Aqara Home app and this app not support to switch to developer mode so I cannot show password or key which I need to connect between Aqara gateway and Home Assistant. So is it another way how to find out password if I cannot use Mi Home app or Aqara Home app?

Oh I see, a different device, I think @walaj is right.

Whom could please help me
Can’t see the password because my device was Xiaomi Aqara gateway