merdok / homebridge-xiaomi-fan

Homebridge plugin for Xiaomi Smartmi and Mija fans
MIT License
113 stars 15 forks source link

Handshake timeout in different subnet #136

Open albertparis opened 1 month ago

albertparis commented 1 month ago

I had the plugin working until I moved the fan to a different subnet, now I get this error:

[homebridge-xiaomi-fan] [Fan] Error: Could not connect to device, handshake timeout
[homebridge-xiaomi-fan] [Fan] Error: Could not connect to device, handshake timeout
[homebridge-xiaomi-fan] [Fan] Could not connect to the fan! Retrying in 30 seconds!

I reviewed the firewall rules, and I allowed bi-directional traffic from HB and the fan

Any idea how to solve this?

merdok commented 1 month ago

Hi, that error in most cases means that either the device ip or the token is wrong. Also it might be that the provided ip cannot be reached.