Closed dh-harald closed 5 years ago
The robot is not connecting to the cloud interface of valetudo. Something about the traffic redirection in /etc/hosts and /etc/rc.local
On the web page, it looks good, the status is changing, for example cleaning, idle, returning to home, that part is working. Status/battery stuffs are fine in Xiaomi app as well. Just not appear in mqtt Originally, I've used the original /etc/hosts (not your upstream from the git repo), but after I start using yours, the only difference is, that the robot can't upload the map to the xiaomi cloud, so I can't check the map in the app either... But still no statuses/map in mqtt.
Currently, the status page uses the local interface so thats why that works.
/etc/rc.local & /etc/hosts are exactly the same like from your upstream repository... rc.local runs fine, because I could see the iptables rules
Try rebooting if you haven't done so already. If you reroute on a running system the new rules do not apply.
I think it's network related.
I've rebooted my device, and now it looks working... I don't know, what's the difference... Thanks for help
I assume it's because the connection has already been established or something like that.
@Hypfer can we add a notice to the wiki that the map only works AFTER you added the device to a wifi? I needed many hours to figure out that (for an unknown reasons) the map will not work while I am connected through the default network.
@xoxys I didn't know that it does but that makes sense since we're now using the cloud interface and that obviously requires the robot to be provisioned (wifi configured).
Will you add it to the wiki?
@hypfer sure :) thanks for clarification
@xoxys So.. the webinterface itself did work in AP mode for 0.3.1?
There apparently were some issues with that: https://github.com/Hypfer/Valetudo/issues/181#issuecomment-485423221
@Hypfer Did not test it with 0.3.1 but with 0.3.0 it works. I am using firmware 3.3.9_001810 for gen2. For me, no problems other than the missing map in AP mode.
Hi,
I'm using Valetudo for a while without issues, but unfortunately after upgrading to 0.3.0 I've got several issues. Currently my issues:
I've started with firmware 1720, I just replaced the binary and I've restarted the service... Than I tried to upgrade the firmware to 1748 (used the guide in dustcloud), but the problems are still exists... Any ideas?