Closed m4rk89 closed 4 years ago
Roborock S50, Valetudo Beta 0.4.0 Could you help me please?
Are you serious? Current version of valetudo RE is 0.8.2.
Roborock S50, Valetudo Beta 0.4.0 Could you help me please?
Are you serious? Current version of valetudo RE is 0.8.2.
Sorry, I have tried with the Valetudo RE 0.8.2 version. Could you help me please?
Line 674 in Vacuum.js belongs to Vacuum.prototype.savePersistentData
function, which doesn't run on opening the Valetudo web inteface. Thus I assume you're not using 0.8.2 version.
This sounds equal to this issue https://github.com/Hypfer/Valetudo/issues/423#issue-559125940 ... oh, wait a second ... ;-)
This sounds equal to this issue Hypfer/Valetudo#423 (comment) ... oh, wait a second ... ;-)
Because I have the same issue with valetudo and valetudo RE.
Line 674 in Vacuum.js belongs to
Vacuum.prototype.savePersistentData
function, which doesn't run on opening the Valetudo web inteface. Thus I assume you're not using 0.8.2 version.
I used the valetudo-re_0.8.2_armhf.deb version on a rooted 1886 and 1810 firmware but I am having the same issue.
Could you help me what am I doing wrong? I am always starting with the factory reset.
Could you help me what am I doing wrong?
You are copying the wrong error message as what you've copied can't be applied to 0.8.2 or previous RE versions because of wrong line numbers. If you're sure you copied correct error message then your binary file is broken, try downloading it again or use different PC/device for downloading.
Could you help me what am I doing wrong?
You are copying the wrong error message as what you've copied can't be applied to 0.8.2 or previous RE versions because of wrong line numbers. If you're sure you copied correct error message then your binary file is broken, try downloading it again or use different PC/device for downloading.
Thank you, will try tonight.
Could you tell me the PATHs for the log files which are relevant for the debugging process?
The only path where node output launched as daemon is written is /var/log/upstart/valetudo.log.
Hi, I have the same problem. why is this happening?
I think it's a punishment for not reading what's written above and not providing necessary information.
from log /var/log/upstart/valetudo.log
/snapshot/Valetudo/lib/miio/Vacuum.js:674 callback(null, res[0]) ^
TypeError: Cannot read property '0' of undefined
at /snapshot/Valetudo/lib/miio/Vacuum.js:674:31
at Object.resultHandler [as callback] (/snapshot/Valetudo/lib/miio/Vacuum.js:125:17)
at Socket.
TypeError: Cannot read property '0' of undefined at Socket.Dummycloud.socket.on (/snapshot/Valetudo/lib/miio/Dummycloud.js:184:93) at Socket.emit (events.js:182:13) at UDP.onMessage [as onmessage] (dgram.js:673:8) 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 /snapshot/Valetudo/lib/miio/Vacuum.js:674 callback(null, res[0]) ^
TypeError: Cannot read property '0' of undefined
at /snapshot/Valetudo/lib/miio/Vacuum.js:674:31
at Object.resultHandler [as callback] (/snapshot/Valetudo/lib/miio/Vacuum.js:125:17)
at Socket.
firmware vacuum_valetudo_1910.pkg | 2019-12-16 10:30 | 121.8M
You definitely didn't read posts above. From provided logs it could be concluded that you're running origin valetudo, and this is issues section for valetudo RE. So you may try installing current RE version and check whether it'll work to you. And if it won't, upload its logs.
I read, just the same situation turns out. Ok, I will put RE, and provide Log later. Do I understand correctly log is located on this path /var/log/upstart/valetudo.log?
Do I understand correctly log is located on this path /var/log/upstart/valetudo.log?
If you really did read, then you may have noticed that I already answered this question in exactly this topic.
But, ok, I have all the time in the world to repeat the same things over and over again: yes, /var/log/upstart/valetudo.log is the only place where valetudo writes logs if launched through init scripts. And the last proviso is required cause if you launch valetudo manually, all the output will be printed only to the console, nothing will go into files.
I clarified, I’ll suddenly do it wrong, sorry (
As a result, installed Valetudo RE 0.8.2 (v11_001898.pkg), using XVacuum.
Here is the part of valetudo.log
Waiting for 30 sec after boot... done. [35m2020-02-11T13:48:18.624Z[39m Loading configuration file: /mnt/data/valetudo/config.json [35m2020-02-11T13:48:18.760Z[39m Dummycloud is spoofing 203.0.113.1:8053 on 127.0.0.1:8053 [35m2020-02-11T13:48:18.763Z[39m Webserver running on port [33m80[39m [35m2020-02-11T13:48:23.708Z[39m Got token from handshake: 3173454632384e4843526f35336e6872 [35m2020-02-11T13:48:23.730Z[39m Probed last id = 1001 using get_status (2 retries) /snapshot/valetudo/lib/miio/Vacuum.js:726 callback(null, res[0]) ^
TypeError: Cannot read property '0' of undefined
at /snapshot/valetudo/lib/miio/Vacuum.js:726:31
at Object.resultHandler [as callback] (/snapshot/valetudo/lib/miio/Vacuum.js:150:9)
at Socket.
TypeError: Cannot read property '0' of undefined
at /snapshot/valetudo/lib/miio/Vacuum.js:726:31
at Object.resultHandler [as callback] (/snapshot/valetudo/lib/miio/Vacuum.js:150:9)
at Socket.
TypeError: Cannot read property '0' of undefined
at /snapshot/valetudo/lib/miio/Vacuum.js:726:31
at Object.resultHandler [as callback] (/snapshot/valetudo/lib/miio/Vacuum.js:150:9)
at Socket.
What am I doing wrong?
Interesting. Looks like the device is sending you some message without the 'result' part, probably some error of unexpected type, and valetudo code is shocked because of that. I'll add some debug code later so it would be possible to read it properly.
Meanwhile I've googled around and it seems there's a chance that you have a chinese version of the device and are trying to use it outside of China. Device has detected it and a bit locked itself, throwing errors instead of normal replies to common requests. Is it right?
If so you need to factory reset the device and try flashing some firmware from vacuumz.info. Those modded images include some workarounds for exactly those issues (or even can switch your vacuum into non-chinese versions), while the image v11_001898.pkg you've downloaded here doesn't have such hacks and thus is compatible only with worldwide versions of the vacuums.
Meanwhile I've googled around and it seems there's a chance that you have a chinese version of the device and are trying to use it outside of China.
the ouput of
cat /mnt/default/roborock.conf
probably could help!
rand256 Thanks for the help. Indeed, the problem was in the region.
pidator
the ouput of cat /mnt/default/roborock.conf probably could help!
Thanks
... Indeed, the problem was in the region.
You solved the issue? How did you do it? Changed the roborock.conf or installed a new firmware?
You solved the issue? How did you do it? Changed the roborock.conf or installed a new firmware?
changed roborock.conf
Hello,
I have the following issue when I am opening the Valetudo web inteface:
The web inteface shows "Connection error" popup.
Roborock S50, Valetudo Beta 0.4.0, 1886 version with root. The basic information such as firmware version etc. is available on the web interface but thats all.
Could you help me please?