Hi to all the Unifi/firewall experts,
I have an Xiaomi robot vacuum which I would like to keep on my IOT VLAN, which is locked down with no internet access. I have a little python script which allows me to monitor the state of the vacuum and send commands, by connecting to the vacuum using this library - https://github.com/rytilahti/python-miio. The problem is that the vacuum continuously tries to access the Xiaomi servers and whilst it is doing this, blocks any other connection attempts from my python script.
When on the IOT VLAN these attempts to connect-back-home obviously fail, and it takes 6 mins (almost to the second) to timeout. Then I have about 60s where I can connect via my python script, before it tries again, and blocks everything for another 6 mins.
The maintainer of the python-miio library suggested I configure my firewall to send "ICMP unreachables" and "TCP resets" to try and force the robot to timeout quicker but I am stumped as to how this can be done on the USG - if even at all?
Does anyone have any bright ideas about how I might go about solving this problem?