Error 1 Xiaomi Vacuum

1 view
Skip to first unread message

Brian Bezdicek

unread,
Aug 5, 2024, 2:14:26 AM8/5/24
to enerilpur
Iam having trouble setting up the pi hole whitelist for my Xiaomi Mi Vacuum Robot. I know how to use the whitelist in general but I was not able to find out which DNS server the device is using. By the Xiaomi Mi app it is possible to monitor the device and install software updates.

a.stat.xiaomi.com


















Already saw that my fritz.box 7490 router is blocking DNS rebind, maybe this option is making trouble. Therefore I whitelisted the added the addresses pi hole is forwarding during the setup within my router


[details=Summary]i.huodong.mi.com











mobile.mi.com[/details]


Still nothing changed in regard of the vacuum, conntecting to my WIFI is not possible since I am using pi hole. Let me know if I can help with additional logfiles, etc (even if pi hole logfile should be not the issue).


Before I am doing all of the DHCP reconfiguration stuff. Did I understand the DNS rebind process correctly? DNS rebind is only refusing DNS addresses which are trying to forward to a local IP, right? To my understandingn whitelisting the appropriate xiaomi DNS in the DNS rebind option should do the work.


My concern is that the internet access is still managed by my fritzbox router and I can not disable DNS rebind there, I am only able to do whitelisting. Because of this it shouldnt make a difference if the local IP gets assigned by the router or the pi, shouldnt it?


I have the same connection issue when trying to use pihole. I found out that when I use the pihole adress as the local dns adress in my router DHCP settings than the connection is not possible. If I remove the local DNS in my router, my roborock can connect again. Unfortunatly so far I have no solution to use the automatic dhcp with the local dns of the pihole and the Xiaomi Roborock. So my solution is at the Moment to set the DNS Adress on every PC manually to the Pihole adress. Thats quite a bummer because guests that lock into our WiFi do not benefit from my pihole.


Most Xiaomi Miio devices support configuration using the Home Assistant UI,except for the Xiaomi device trackerand Xiaomi IR Remote. Please read the linked sections for those devices for more information.


It is recommend to supply your Xiaomi cloud credentials during configurationto automatically connect to your devices. You need to specify the cloud serveryou used in the Xiaomi Home App (where you initially setup the device). There are6 servers: cn, de, i2, ru, sg and us; please seethis page forthe server to use for each country.


To add a Xiaomi Mi WiFi Repeater device tracker to your installation, add the following to your configuration.yamlThe configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI.[Learn more] file:


Please follow the instructions on Retrieving the Access Token to get the API token to use in the configuration.yamlThe configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI.[Learn more] file.


To add a Xiaomi IR Remote to your installation, add the following to your configuration.yamlThe configuration.yaml file is the main configuration file for Home Assistant. It lists the integrations to be loaded and their specific configurations. In some cases, the configuration needs to be edited manually directly in the configuration.yaml file. Most integrations can be configured in the UI.[Learn more] file:


In addition to all of the services provided by the vacuum integrationIntegrations connect and integrate Home Assistant with your devices, services, and more.[Learn more] (start, pause, stop, return_to_base, locate, set_fan_speed and send_command), the xiaomi_miio platform introduces specific services to access the remote control mode of the robot. These are:


* Needs to be manually enabled once the integrationIntegrations connect and integrate Home Assistant with your devices, services, and more.[Learn more] has been added.

** Only enabled if the vacuum has a mop.


Where params specify room numbers, for multiple rooms, params can be specified like [17,18]. Instructions on how to find the valid room numbers and determine what rooms they map to, read the section Retrieving room numbers.


The vacuum entity stores attribute values for when brushes, filters and sensors need to becleaned or replaced (main_brush_left, side_brush_left, filter_left andsensor_dirty_left). The values are measured in hours. Once the parts are cleanedor replaced you can then reset those values on the vacuum. Here is an example script usingvacuum.send_command to reset the hours for the main brush:


RRCC supports both rooted and non-rooted Vacuums and acts as a mostly fully featured replacement for Mi Home that works locally without the cloud. If you have installed the rooted firmware Valetudo you are able to SSH into your Vacuum and enable MQTT plus use map functions with no cloud requirement.


It will return the full mapping of room numbers to user-defined names as a list of (number,name) tuples.Alternatively, one can just test the clean_segment service with a number and see which room it cleans.


The xiaomi_miio platform allows you to control the state of your Xiaomi Philips LED Ball Lamp, Xiaomi Philips Zhirui LED Bulb E14 Candle Lamp, Xiaomi Philips Zhirui Downlight, Xiaomi Philips LED Ceiling Lamp, Xiaomi Philips Eyecare Lamp 2, Xiaomi Philips Moonlight Bedside Lamp and Philips Zhirui Desk Lamp.


If you are on a Windows or macOS device, you can use the Get MiHome devices token App to retrieve the token. Click the link, download the file that corresponds to your OS, enter your login details and it will retrieve the access token.


Configure the robot with the Mi Home app. Make sure to select the correct region, as Xiaomi uses different product names for different geographical areas. Note that the new RoboRock app is currently not supported for this method.


Using iTunes, create an unencrypted backup of your iPhone. Since macOS 10.15 there is no iTunes app. Use Finder instead - after connecting your iOS device you should see it in left menu of Finder window.


This will list devices that are connected to the same network as your computer. Let it run for a while so it has a chance to reach all devices, as it might take a minute or two for all devices to answer.


1) The vacuum does not always auto-empty at the base station, in fact most of the time it does not

2) When it does auto-empty at the base station, it flashes a "full bag" icon while emptying, even though the bag is not full.


Yep, I have exact same problem. Turning the robot vac on/off can help sometimes, but after a few runs it ends up happening again. It's very frustrating. I am thinking about doing a factory reset to see if that fixes it, but that means I have to remap my house, lose my schedule etc.


Thankfully it doesn't have that problem although it did stop mid-task and ask to be levelled. It was already quite level, but I placed it on a timber floor and pressed the 'Equipment Level' button. Apparently this takes some time and I didn't give it long enough the first 3 attempts, so by the fourth I was getting anxious, but waiting a bit longer has fixed it. Beats me what set it off in the first place though on perfectly flat carpet.


The Xiaomi Home app has had me puzzled a few times while setting things up. Although the included manual and Xiaomi's short on-line videos do cover nearly every feature, they are a bit too concise, not really explaining 'how' quite often.


I've been splitting some more rooms and managed to get 3 adjacent ones the same colour orange. There doesn't seem to be any colour editing option, so I might have to merge the whole floor plan and try again, hoping they don't match this time.


Early on it would sometimes fail to empty after vacuuming for >5 minutes, plus the 'Bag Full' icon would light up with virtually nothing in the bag. However, after a few uses it seems to have settled down. It always empties on return, even after a small 'Area' clean and the bag full hasn't reappeared despite it being about half full.


I tried a few recovery tricks, but these failed so badly that, despite the app's prompts suggesting I was only deleting one map, I ended up with no maps at all. So I've spend half the day, clearing junk, moving clutter and monitoring a re-map of the whole house and then editing the results to create the rooms and no-go spaces.


However, I'm not sure what caused it to come good and behave perfectly in the 5 months since. I might have fixed it when it also decided it wasn't level on one of its early runs. It was partway across a perfectly level carpeted floor when it stopped and asked for a level reset or something (can't recall the exact words).


I've been a cheapskate with the disposable dust bags, trying to suck the contents out with a regular ducted vacuum instead of tossing the bag in the bin once it's full. Only 2 spares come with the S9 and my pack of 10 from China is presently stalled at Australia Post.

3a8082e126
Reply all
Reply to author
Forward
0 new messages