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.




1623 posts

Uber Geek
+1 received by user: 182

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


1623 posts

Uber Geek
+1 received by user: 182

Subscriber

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

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 »

Intel reimagines data centre storage with new 3D NAND SSDs
Posted 16-Feb-2018 15:21


Ground-breaking business programme begins in Hamilton
Posted 16-Feb-2018 10:18


Government to continue search for first Chief Technology Officer
Posted 12-Feb-2018 20:30


Time to take Appleā€™s iPad Pro seriously
Posted 12-Feb-2018 16:54


New Fujifilm X-A5 brings selfie features to mirrorless camera
Posted 9-Feb-2018 09:12


D-Link ANZ expands connected smart home with new HD Wi-Fi cameras
Posted 9-Feb-2018 09:01


Dragon Professional for Mac V6: Near perfect dictation
Posted 9-Feb-2018 08:26


OPPO announces R11s with claims to be the picture perfect smartphone
Posted 2-Feb-2018 13:28


Vocus Communications wins a place on the TaaS panel
Posted 26-Jan-2018 15:16


SwipedOn raises $1 million capital
Posted 26-Jan-2018 15:15


Slingshot offers unlimited gigabit fibre for under a ton
Posted 25-Jan-2018 13:51


Spark doubles down on wireless broadband
Posted 24-Jan-2018 15:44


New Zealand's IT industry in 2018 and beyond
Posted 22-Jan-2018 12:50


Introducing your new workplace headache: Gen Z
Posted 22-Jan-2018 12:45


Jucy set to introduce electric campervan fleet
Posted 22-Jan-2018 12:41



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.