Comments (18)
Same for me. Before blocking xiaomi servers in /etc/hosts everything worked.
Since the description states: ...requires no cloud connection whatsoever...
I assumed one can use it without a connection to xiaomi servers... am I wrong?
My /etc/hosts looks like this:
127.0.0.1 localhost
127.0.1.1 rockrobo
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
0.0.0.0 awsbj0-files.fds.api.xiaomi.com
0.0.0.0 awsbj0.fds.api.xiaomi.com
0.0.0.0 ott.io.mi.com
0.0.0.0 ot.io.mi.com
from valetudo.
https://github.com/Hypfer/Valetudo/blob/master/deployment/Readme.md
from valetudo.
my IPTABLES looks like this
!/bin/sh -e
rc.local
This script is executed at the end of each multiuser runlevel.
Make sure that the script will "exit 0" on success or any other
value on error.
In order to enable or disable this script just change the execution
bits.
By default this script does nothing.
iptables -A OUTPUT -d 10.5.5.5 -j REJECT
iptables -A OUTPUT -d 10.0.0/24 -j ACCEPT
iptables -A OUTPUT -d 127.0.0.0/8 -j ACCEPT
iptables -A OUTPUT -p udp --dport 123 -j ACCEPT
iptables -A INPUT -p udp --sport 123 -j ACCEPT
iptables -A OUTPUT -j DROP
exit 0
And My /etc/hosts looks like this
127.0.0.1 localhost
127.0.1.1 rockrobo
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
#10.5.5.5 de.ott.io.mi.com
#10.5.5.5 de.ot.io.mi.com
10.5.5.5 ott.io.mi.com
10.5.5.5 ot.io.mi.com
But it does keep have problems every 5 Minutes.
from valetudo.
I guess you could try replacing 10.5.5.5 with something in the 192.168.x.x range if your home network is 10.x.x.x
from valetudo.
i tried this right now. And the Same issue occurs.. :'(
127.0.0.1 localhost
127.0.1.1 rockrobo
::1 localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
#10.5.5.5 de.ott.io.mi.com
#10.5.5.5 de.ot.io.mi.com
192.168.0.99 ott.io.mi.com
192.168.0.99 ot.io.mi.com
iptables -A OUTPUT -d 192.168.0.99 -j REJECT
iptables -A OUTPUT -d 10.0.0/24 -j ACCEPT
iptables -A OUTPUT -d 127.0.0.0/8 -j ACCEPT
iptables -A OUTPUT -p udp --dport 123 -j ACCEPT
iptables -A INPUT -p udp --sport 123 -j ACCEPT
iptables -A OUTPUT -j DROP
My Vaccum has the 10.0.0.250 IP Address.
And my Homenetwork is 10.0.0.0/24
from valetudo.
has someone an idea?
from valetudo.
i did a Factory Reset on my Roborock and installed everything new.
Now the Problems are Solved :).
from valetudo.
I got the same problem. It's weird, that the map keeps updating, but the home tab keeps loading the state. I think we should reopen this one.
I'm on firmware v11_001748.fullos, and the latest valetudo 0.2.3.
I've made no changes regarding the firewall, so I assume everythings open.
from valetudo.
Currently, the map is read from fs. Thats why its updating while everything which uses the miio interface doesn't respond.
Endless loading times are often a sign of out-of-sync messageIds which can happen due to misconfigurations or valetudo crashing.
from valetudo.
I got the same issue !
Web gui is working well, but all buttons remain disabled.
- api/get_config returns normal json
- api/current_status freezes and never returns data
My vacuum can't access Internet (blocked by my router). If I allow the vacuum to access Internet, I get status and gui is refreshed only once (until I reboot the vacuum).
valetudo.log seems ok, but prints two lines about the token, make me feels that's when I got my unique status :
Loading configuration file: /mnt/data/valetudo/config.json
Dummycloud is spoofing 203.0.113.1:8053 on 127.0.0.1:8053
Webserver running on port 80
Got token from handshake: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Got an expired token. Changing to new
Loading configuration file: /mnt/data/valetudo/config.json
Dummycloud is spoofing 203.0.113.1:8053 on 127.0.0.1:8053
Webserver running on port 80
Loading configuration file: /mnt/data/valetudo/config.json
Dummycloud is spoofing 203.0.113.1:8053 on 127.0.0.1:8053
Webserver running on port 80
Firmware : v11_001702
Any idea ? Note that I got the same issue with mirobo (python-miio tool)
from valetudo.
Did you follow https://github.com/Hypfer/Valetudo/wiki/Installation-Instructions
from valetudo.
Yes, the only difference I see is the firmware version (and that I used a non fullos pkg version). My deep feeling is the robot no longers answer requests when isolated from Internet. Before rooting it, I've quickly connected it to the official App to check the robot is ok. Could this be related ?
from valetudo.
Did you use the latest version of the imagebuilder.sh script?
from valetudo.
You can't use the Xiaomi cloud with Valetudo.
from valetudo.
I think I had the same problem. (Web UI stuck at loading). Then tried a reboot of the robot and now the gui appears to be working.
from valetudo.
New tries. I had an imageBuilder.sh of March 20th. I updated it and try again.
It seems to be equal first, then I decided to play with device.token file. Indeed, I've seen that the token displayed in valetudo was different than the one in device.token.
I can't remember exactly what I did, but it's something like :
- Inject token given by valetudo into device.token (If I remember : echo xxxxxxx | xxd -p -r > device.token) : without success (and maybe no more gui at all)
- make device.token empty : without success (and maybe no more gui at all)
- Restore the backed-up device.token file : vateluto gui works well !
Hard to understand what was happening but for sure it's not related to Valetudo but rather to some kind of protection of the robot software.
Thanks for help.
from valetudo.
In my case I could "fix" the problem with stucking GUI, resp. text "Loading state..." and no button works by using a faster machine for the GUI. On my old Android tablet, about 5 years old, I had the problem but on my relatively new Samsung S2 tablet everthing works like a charme.
from valetudo.
@Buffi66 The browser of the 5 year old tablet probably doesn't support newer web features
from valetudo.
Related Issues (20)
- Network Advertisement config page shows "Error loading Network Advertisement configuration" HOT 3
- Map resets every cleanup
- Security Issue: Request for contact HOT 4
- Polite discussion about Map Mode selector of the Live Map
- Dreame L10Pro - unable to change operation mode HOT 3
- How to remove Valetudo
- Dreame W10: Carpet sensor setting doesn't disable carpet sensor HOT 2
- Manual Map Segment Trigger for roborock S6 fails with 'param does not contain any element' HOT 4
- Builtin timers run on wrong day when Local<>UTC offset crosses midnight HOT 2
- Discovered MQTT entities with a name that is equal to the device name HOT 7
- Updater: Error while fetching releases HOT 2
- Can't connect to MQTT with DNS CNAME record HOT 1
- Custom Icons for Valetudo Capabilities and functionality
- MQTT changes in home assistant HOT 1
- WiFi names displayed incorrectly when SSID contains unicode HOT 1
- Roborock S5 - MQTT - Failed to parse Value to be sent for topic HOT 1
- Shifting maps HOT 2
- Home Assistant 2024.02 onwards: "The 'schema' option is deprecated" for MQTT auto-discovery HOT 2
- Roborock S6: GET MapSnapshotCapability kills valetudo HOT 3
- Valetudo MQTT disconnecting every 2 minutes HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from valetudo.