There are actually 3 hubs. A version 1 a version 2 and an aqara one. The first two work fine with Home Assistant, the Aqara one doesn’t (I explained this already in this thread, just three messages above this one).
The Aqara one is super easy to distinguish, IF the hub had a “compatible with Apple Homekit” sticker than you are in bad luck. It is the aqara hub that does NOT work with Home Assistant. Both Mija hubs (they won’t have the word aqara in them anywhere) work fine with Home Assistant though the version 1 has some limitations.
As can be found in the docs:
Remember the following: Aqara devices will work with Home Assistant just NOT the hub. So you CAN get Aqara doorsensors, but you will have to pair them to your MIJA hub.
The Mija hub for example does not use the Aqara app, but the MiHome app, and the Aqara hub used the Aqara app, and as there is no way to enable the developer mode on an aqara hub this is not supported.
You can not connect to a European server if you want to enable developer mode, you can not pair xiaomi camera’s to the hub if you set the server to Europe either.
If you do not want the hub to dial out, you could either block traffic coming from the hub (numerous ways to do this). Or you should get a zigbee stick, that way you won’t need the Hub at all.
Lastly, Why would you want to open the Hub?
If you have default_config: setup in your configuration than you won’t need to add the hub manually to get the devices. Though if you want to control the hub (e.g. sound, light) you will have to enter the developer code into your configuration.yaml
It would look something like this:
# Xiaomi Aqara/Mija
xiaomi_aqara:
gateways:
- key: YOUR_CODE_HERE
discovery_retry: 3
Edit: seeing the bundle you have bought, it is a version 1 which should be able to work with Home Assistant! Make sure you have followed the steps right to enable developer mode. I did this on Android as it was (don’t know about the present) nearly impossible to do this on an iphone. Don’t have an Android device like me? You could just simply download an emulator like memu/bluestacks or any other Android emulator. Good luck!