XIAOMI MI Home gateway smartapp connection?

There’s nothing that connects them directly. There are some community members using a raspberry pi or other device as a “man in the middle” server and getting connection to the Xiaomi cloud that way, but it’s a lot of work to set up.