Closed AdrianKuta closed 1 year ago
Are you sure that IP address correct? Your server in same LAN network segment? And you don't have any restrictions between local devices?
Ok, server was in subnet 192.168.23.0/24 and gateway was in 192.168.7.0/24. I moved gateway to the same subnet as server, and now it's working 👍 Second gateway (Xiaomi Gateway v3 - ZNDMWG03LM) is working even if it's in different subnet 🤔
Thank you for your help!
The problem will be only after gateway restart. Integration uses miio protocol only for opening telnet. But miio protocol won't answer on request from another subnet. The first gateway will execute the command from the other subnet, but will not respond to it. How the second gateway will behave, I do not know. I haven't tried it.
Currently I have two gateways in my network:
Both are in the same network. I was able to add integration for the first one, without any problems. But I can't connect to my second gateway. Gateway is added to my Xiaomi Home app and is online. I used mail and password to add integration in Home Assistant. So when I clicks 'Add integration -> Xiaomi Gateway 3' I see option for my second gateway (ip address is correct):
But every time I try to add it, I received error "can't connect to gateway" - or similar. And in system logs I see info "Device offline":
Do any of you have any ideas what could be wrong?