question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Valetudo not able to reach the robot

See original GitHub issue

Describe the bug

Valetudo starts up all fine with the following output:

[2021-02-03T14:34:04.609Z] [INFO] Loading configuration file: /mnt/data/valetudo_config.json
[2021-02-03T14:34:04.640Z] [INFO] Autodetected RoborockS6PureValetudoRobot
[2021-02-03T14:34:04.807Z] [INFO] Starting Valetudo 2021.01.1
[2021-02-03T14:34:04.808Z] [INFO] Robot: Beijing Roborock Technology Co., Ltd. S6 Pure (RoborockS6PureValetudoRobot)
[2021-02-03T14:34:04.809Z] [INFO] JS Runtime Version v14.4.0
[2021-02-03T14:34:04.810Z] [INFO] Max Heap Size: 33.5 MiB
[2021-02-03T14:34:04.810Z] [INFO] Node Flags: --max-old-space-size=32
[2021-02-03T14:34:04.812Z] [INFO] DeviceId 322058607
[2021-02-03T14:34:04.812Z] [INFO] IP 127.0.0.1
[2021-02-03T14:34:04.813Z] [INFO] CloudSecret *********************
[2021-02-03T14:34:04.814Z] [INFO] LocalSecret ********************
[2021-02-03T14:34:04.983Z] [INFO] Dummycloud is spoofing 203.0.113.1:8053 on 203.0.113.1:8053
[2021-02-03T14:34:04.985Z] [INFO] Webserver running on port 80
[2021-02-03T14:34:04.992Z] [INFO] Map Upload Server running on port 8079

But after connecting to the Web interface it shows the following errors:

[2021-02-03T14:34:19.183Z] [WARN] Token is okay, however we're unable to reach the vacuum { retries: 10, method: 'get_status', args: {} }
[2021-02-03T14:34:19.206Z] [WARN] Token is okay, however we're unable to reach the vacuum { retries: 20, method: 'get_status', args: {} }
.
.
.
[2021-02-03T14:34:21.188Z] [WARN] Token is okay, however we're unable to reach the vacuum { retries: 10000, method: 'get_status', args: {} }
[2021-02-03T14:34:21.341Z] [ERROR] Unable to reach vacuum
[2021-02-03T14:34:21.343Z] [INFO] exiting with code 1...
[2021-02-03T14:34:21.346Z] [ERROR] Stacktrace that lead to the process exiting: Error
    at process.<anonymous> (/snapshot/Valetudo/index.js:34:70)
    at process.emit (events.js:315:20)
    at process.exit (internal/process/per_thread.js:167:15)
    at Timeout._onTimeout (/snapshot/Valetudo/lib/miio/RetryWrapper.js:125:29)
    at listOnTimeout (internal/timers.js:549:17)
    at processTimers (internal/timers.js:492:7)
[root@rockrobo ~]# rr_boot_flags -s

To Reproduce

  1. Install latest image from Dustbuilder
  2. Open the Web interface
  3. Read the logfile

Vacuum Model

Roborock S6 Pure

Valetudo Version

2021.01.1

Firmware Version

ver 0938, 10/2020

User-Agent

Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0

Expected behavior

Valetudo should connect to the robot and should show the information about it on the Web interface instead of crashing.

Additional context

The config file is the default one of Valetudo

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:20 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
ebrithiljonascommented, Feb 11, 2021

Ok, I haven’t built it myself I used the prebuilt release binary, I will try building it myself later this day, thank you a lot so far for your valuable help.

0reactions
ebrithiljonascommented, Feb 16, 2021

I just recompiled it with the current master branch, then it gave the same error but didn’t crash. Then I di a Wifi reset and everything worked. Thanks for all the help here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Valetudo Web interface is not reachable after WiFi disconnect ...
Valetudo interface is not reachable on local IP address after robot has been disconnected from WiFi access point for about 4-5 minutes.
Read more >
Getting Started - Valetudo
With your robot rooted and Valetudo installed, the next step is to join your robot to your Wi-Fi network so that you can...
Read more >
FAQ | Valetudo
Frequently asked questions. Why the name? Valetudo is the roman name for the greek goddess Hygieia, which is the goddess of health, cleanliness...
Read more >
Supported Robots - Valetudo
There may be no one that can help you if something goes wrong. You might even end up with a permanently bricked robot....
Read more >
Valetudo Newcomer Guide Late 2021 Edition
Valetudo is a cloud replacement for vacuum robots enabling local-only operation. It is not a custom firmware. That means that it cannot change...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found