Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




1660 posts

Uber Geek
+1 received by user: 186

Subscriber

Topic # 229229 13-Feb-2018 21:05
Send private message

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?

 

Cheers,

 

Ben


Create new topic


1660 posts

Uber Geek
+1 received by user: 186

Subscriber

  Reply # 1956663 13-Feb-2018 22:24
Send private message

So I changed my "drop-iot-to-all" rule to "reject-iot-to-all". After doing some reading I have learnt the difference between *drop* and *reject*. So now anything on my IOT VLAN gets a quick response when accessing external hosts. I will keep an eye on the vacuum and see if it is able to respond more quickly when attempting to phone-home.


Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Lightbox updates platform with new streaming options
Posted 17-May-2018 13:09


Norton Core router launches with high-performance, IoT security in New Zealand
Posted 16-May-2018 02:00


D-Link ANZ launches new 4G LTE Dual SIM M2M VPN Router
Posted 15-May-2018 19:30


New Panasonic LUMIX FT7 ideal for outdoor: waterproof, dustproof
Posted 15-May-2018 19:17


Ryanair Goes All-In on AWS
Posted 15-May-2018 19:14


Te Papa and EQC Minecraft Mod shakes up earthquake education
Posted 15-May-2018 19:12


Framing Facebook: It’s not about technology
Posted 14-May-2018 16:02


Vocus works with NZ Police and telcos to stop scam calls
Posted 12-May-2018 11:12


Vista Group signs Aeon Entertainment, largest cinema chain in Japan
Posted 11-May-2018 21:41


New Privacy Trust Mark certifies privacy and customer control
Posted 10-May-2018 14:16


New app FIXR connects vehicle owners to top Mechanics at best prices
Posted 10-May-2018 14:13


Nutanix Beam gives enterprises control of the cloud
Posted 10-May-2018 14:09


D-Link ANZ launches Covr Seamless Wi-Fi System
Posted 10-May-2018 14:06


Telstra, Intel and Ericsson demonstrate a 5G future for esports
Posted 10-May-2018 13:59


Spark introduces Android One with Nokia 7 plus and Nokia 6.1
Posted 8-May-2018 05:00



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.