Giter VIP home page Giter VIP logo

Comments (18)

trohnjavolta avatar trohnjavolta commented on June 1, 2024

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.

Hypfer avatar Hypfer commented on June 1, 2024

https://github.com/Hypfer/Valetudo/blob/master/deployment/Readme.md

from valetudo.

BLAUSICHT avatar BLAUSICHT commented on June 1, 2024

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.

Hypfer avatar Hypfer commented on June 1, 2024

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.

BLAUSICHT avatar BLAUSICHT commented on June 1, 2024

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.

BLAUSICHT avatar BLAUSICHT commented on June 1, 2024

has someone an idea?

from valetudo.

BLAUSICHT avatar BLAUSICHT commented on June 1, 2024

i did a Factory Reset on my Roborock and installed everything new.
Now the Problems are Solved :).

from valetudo.

theFork avatar theFork commented on June 1, 2024

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.

Hypfer avatar Hypfer commented on June 1, 2024

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.

VirtualGit avatar VirtualGit commented on June 1, 2024

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.

cryptomilk avatar cryptomilk commented on June 1, 2024

Did you follow https://github.com/Hypfer/Valetudo/wiki/Installation-Instructions

from valetudo.

VirtualGit avatar VirtualGit commented on June 1, 2024

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.

cryptomilk avatar cryptomilk commented on June 1, 2024

Did you use the latest version of the imagebuilder.sh script?

from valetudo.

Hypfer avatar Hypfer commented on June 1, 2024

You can't use the Xiaomi cloud with Valetudo.

from valetudo.

fvollmer avatar fvollmer commented on June 1, 2024

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.

VirtualGit avatar VirtualGit commented on June 1, 2024

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.

Buffi66 avatar Buffi66 commented on June 1, 2024

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.

Hypfer avatar Hypfer commented on June 1, 2024

@Buffi66 The browser of the 5 year old tablet probably doesn't support newer web features

from valetudo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.