Xiaomi integration is not working for me. My gateway can’t be controlled from HA. It does show up on my home overview window, but it looks like my router does not support multicast.
After running “ngrep port 9898” I notice there’s packages missing. Some like this one, indeed: {"cmd":"heartbeat","model":"gateway","sid":"XXXXXXXXXXXX","short_id":"0","token":"XXXXXXXXX ","data":"{\"ip\":\"192.168.1.206\"}"}
So, changing the router is the only chance I have? Any workaround? Thanks!
I have found the problem!! I’m running HA on a VirtualBox machine, and it’s VB the one blocking the multicast packages. I just installed HA on another machine (not virtual) and it works! Moving on to the VirtualBox forums.
Sorry, but I’m not following… Infested my setup with the same WiFi network, but on another machine. That worked. So I’m sure the problem is the cureenr machine (VirtualBox).
Ok, I found the problem. It seems either Windows or VirtualBox is blocking the multicast packages. I installed HA in the Windows host machine and the Xiaomi integration works well.
But it does not work on the Ubuntu guest machine on VirtualBox. I tried a lot of approaches from the VirtualBox forums, but I still get nothing. I’ve also completely disabled Win 7 firewall. This resulted in the integration working, but after a reboot I got back to the “invalid key issue”, related to not getting multicast packages. I’m going nuts!