Hello, I have a problem, first I bought new version of gateway by Xiaomi Aqara.v3 and then I read that this version is uncompatibility with HA, then I bought v2 gateway by Xiaomi and this time I have access to hub info and password. Then I put in my configuration.yaml:
and gateway was discovered in HA. Now in services I see: 4 option of xiaomi: xiaomi_aqara.add_device, ringtone etc, but I don’t see any devices. In xiaomi mi app on my phone I see all devices (I have 2 sensor of temperature mini version, flood sensor, rgb led bulb, white led bulb, 2 dockers, magic cube etc). I try with every items but I can’t find this devices in HA. Please help because I try everything what you wrote in many topics.
After send services ‘xiaomi_aqara.add_device’ in interface a see notification: “Join permission enabled for 30 seconds!..” and gateway is blink, but when I pairing new devices then I see them only in Xiaomi app (mihome). I have enabled in miHome wireless communication protocol and my version is 2.75.3
so this does suggest that something is working - the other check is to see if you have the hub light showing.
If it doesn’t show, then it is more likely your front-end isn’t configured to show devices…
Which version of HA are you running, and are you using Lovelace?
If you are using something like 0.90+ and lovelace, in the main screen, select the three dots on the top right, and then “unused entities” and see if your sensors and bulbs show there…
Yes, my bad not xiaomi but yeelight. But others devices are from aqara/miija family and are connected with my gateway like a ‘child devices’ in Xiaomi MiHome app.
But I have also this bulb. None of them is visibility in HA.
like You see I added mi flora, eq-3 bluetooth thermostat, but I don’t see any devices of aqara even gateway, but in services I can call a service to xiaomi.
I have the same problem.
After a lot of trials I connected xiaomi gateway (lumi v3) to home assistant and I can see 4 different services in developer tools. (add device etc).
Other than that I cannot connect any sensor. I am trying to connect zigbee temperature sensor, I call the add service, press the button, says something in chinese and then nothing comes up to my entities. Do I have to add anything to configuration file or something?
but i need some help for some reason my HAAS just won’t connect to my V2 Xiaomi gateway no matter what i enter in the configuration. Anyone got any guidance?
Hi,
thanks for the reply!
As I describe, I call the service (xiaomi aqara add device), then I press the sensor button and says somehting in chinese but nothing happens. There are no any new entities.Also, when I call the rest 3 services (ringtone etc) it says failed “required key not provided”. The key from mihome is correct because if it’s not I cannot see the gateway in home assistant services; I’ve tried before generating new key from mihome. It looks that this is an issue for many people.
Yes, you can see the sensor in MiHome and works as it should.
Do you mean to open ports (9898 and 4321) in router for the gateway’s ip?
What is this to try in a CLI?
no, you need to run the nmap commands on which every box you run HA on - my HA install is runing on an intel NUC with Ubuntu and virtenv -
walaj@JonLabNUC:/home/homeassistant/.homeassistant$ sudo nmap -sU -p 9898 192.168.1.72
[sudo] password for walaj:
Starting Nmap 7.01 ( https://nmap.org ) at 2019-07-01 11:40 AEST
Nmap scan report for LUMI-GATEWAY-V3_MAIN (192.168.1.72)
Host is up (0.0031s latency).
PORT STATE SERVICE
9898/udp open unknown
MAC Address: 78:11:DC:E1:F8:CD (Unknown)
Nmap done: 1 IP address (1 host up) scanned in 0.59 seconds
walaj@JonLabNUC:/home/homeassistant/.homeassistant$ sudo nmap -sU -p 4321 192.168.1.72
Starting Nmap 7.01 ( https://nmap.org ) at 2019-07-01 11:40 AEST
Nmap scan report for LUMI-GATEWAY-V3_MAIN (192.168.1.72)
Host is up (0.0027s latency).
PORT STATE SERVICE
4321/udp open|filtered rwhois
MAC Address: 78:11:DC:E1:F8:CD (Unknown)
Nmap done: 1 IP address (1 host up) scanned in 0.60 seconds