Roborock S5Max Error 500 #1261
-
Hello Hypfer, The request ".../api/v2/robot/" still returns a response "{"manufacturer": "Roborock", "modelName": "S5 Max", "implementation": "RoborockS5MaxValetudoRobot"}". The request ".../api/v2/robot/state" already leads into an error 500. Vacuuming in remote mode works fine too. A full cleaning directly at the robot started also. Do you have an idea in which direction I could look for the error? Can I try any commands through the console (I have SSH access)? Thanks for your great piece of software. [DE]Hallo Hypfer, Die Anfrage ".../api/v2/robot/" liefert noch eine Antwort "{"manufacturer":"Roborock","modelName":"S5 Max","implementation":"RoborockS5MaxValetudoRobot"}" Die Anfrage ".../api/v2/robot/state" führt schon in einen Fehler 500. Staubsaugen im Fernbedinungsmodus funktioniert auch problemlos. Eine voll Reinigung direkt am Roboter gestartet auch. Hast du eine Idee in welche Richtung ich nach dem Fehler suchen könnte? Kann man irgendwelche Befehle über die Konsole versuchen (habe SSH Zugang)? Schon einmal vielen Dank für deine tolles Stück Software. |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 13 replies
-
Anything in the log? |
Beta Was this translation helpful? Give feedback.
-
Yes. Again and again [2021-12-05T12:22:02.397Z] [INFO] Miio error response { The log fully ...
|
Beta Was this translation helpful? Give feedback.
-
Yes ... I might have changed something ... f*** ... but all backups have the same content ... language=us I suppose I do not find a backup am owner of e-waste? |
Beta Was this translation helpful? Give feedback.
-
The same bytes ... in the backups it says "language=us", but I have imported it without success and also a try after has brought nothing ... even if I create a \r\n at the end I get the same not good result. CPU ID I just compared ... are both the same (/mnt/reserve/hwinfo) |
Beta Was this translation helpful? Give feedback.
-
Is there a way to give a rooted S5max a factory reset - so that it forgets all changes again? Rooting again would not be a big effort |
Beta Was this translation helpful? Give feedback.
-
I have restored the backups. In the meantime, Valetudo had also displayed my map again. However, this disappeared again after a short time and the errors are back. |
Beta Was this translation helpful? Give feedback.
-
Dieser Text auf deutsch unter [DE] (This text in german under [DE]) [EN] By setting the following parameters to CN (for China) you get access to your vacuum cleaner again. Please make a backup first (Linux function dd -> partition list at https://github.com/dgiese/dustcloud/wiki/Partition-Information) Change entries best from the beginning of the line and then delete superfluous characters with the remove key (<- reason: different line breaks are used) Structure of the following table YES 1.YES | /mnt/data/miio -> device.country => de -> cn 2.(YES) | /mnt/data/rockrobo -> country_info NO Where else is something with "Country, Timezone", but which (currently) does not lead to geoblocking.
+++++++> get read and write permissions for /mnt/default - mount -o remount,rw /mnt/default
(Created on 29.12.2021) **[DE]**Es handelt sich bei diesem Fehler wie Hypfer schon schrieb wohl wirklich um ein Problem mit der "Ländersperre". Aktuell habe ich mal alles was ich für wahrscheinlich gehalten habe auf CN Durch setzten folgender Parameter auf CN (für China) bekommt ihr wieder zugriff auf euren Staubsauger. Bitte macht vorher auf jeden Fall ein Backup (Linux Funktion dd -> Partitionsliste unter https://github.com/dgiese/dustcloud/wiki/Partition-Information) Änderung von Einträgen am besten vom Zeilenanfang und dann überflüssige Zeichen per entfernen Taste löschen (<- Grund: es werden verschiedene Zeilenumbrüche verwendet) Aufbau der folgenden Tabelle JA
NEIN Wo sonst noch etwas mit "Country, Timezone" steht, was aber (aktuell) nicht zu Geoblocking führt ist.
+++++++> Lese- und Schreibrechte bekommen für /mnt/default - mount -o remount,rw /mnt/default
(Erstellt am 29.12.2021) |
Beta Was this translation helpful? Give feedback.
-
So my Roborock is now reachable and controllable again as Chinese, but now it tries to reach "cn.ot.io.mi.com" and "cn.ott.io.mi.com" which are both not in the /etc/hosts-bind/hosts and therefore I get no map at least via the interface (I think). Changing the device.country to e.g. "de" leads back to the initial error. But the /etc/hosts-bind/hosts is "Read only". Is there any way to change this file? Also, I guess it contacts the Alibaba Cloud (161.117.49.2, and 161.117.52.228) Excerpt of the miio.log
|
Beta Was this translation helpful? Give feedback.
-
[EN] I have won :D Okay, I was very close to the solution yesterday. Sometimes it helps to sleep one more night over it. Yesterday I was so far that I could control my robot completely again, but it still didn't show me a map in Valetudo. But also this problem I could solve now :) Continuation of the tutorial from the day before:
mount --bind /mnt/reserve/hosts /etc/hosts With this, we mount our customized hosts file to the file system. Don't worry, if for some reason you don't want to do this anymore, just remove this mount point and the default values will be loaded again. The original hosts file will not be changed by this operation.
[DE] Ich habe gewonnen :DOkay, da war ich gestern schon sehr nahe dran an der Lösung. Mitunter hilft es halt noch einmal eine Nacht darüber zu schlafen. Gestern war ich soweit das ich meinen Roboter wieder vollständig Steuern konnte, er mir jedoch in Valetudo weiterhin keine Karte angezeigt hat. Doch auch diese Problem konnte ich nun lösen :) Fortsetzung der Anleitung vom Vortag:
mount --bind /mnt/reserve/hosts /etc/hosts Damit binden wir unsere angepasste hosts Datei in das Filesystem ein. Keine Angst, wollte ihr dies aus irgendeinem Grund nicht mehr, nehmt ihr diesen mount Punkt einfach raus und es werden wieder die Default-Werte geladen. Die originale hosts Datei wird durch diesen Eingriff nicht verändert.
|
Beta Was this translation helpful? Give feedback.
[EN] I have won :D
Okay, I was very close to the solution yesterday. Sometimes it helps to sleep one more night over it.
Yesterday I was so far that I could control my robot completely again, but it still didn't show me a map in Valetudo. But also this problem I could solve now :)
Continuation of the tutorial from the day before:
copy the hosts file from "/etc/hosts-bind" to "/mnt/reserve".
add the two China servers in the upper area (redirection of requests to "local cloud") - like this ...
mount --bind /mnt/rese…