rand256 / valetudo

Valetudo RE - experimental vacuum software, cloud free
Apache License 2.0
667 stars 73 forks source link

Updating requires at least 20% charge while 100% charged #303

Closed bruvv closed 3 years ago

bruvv commented 3 years ago

Describe the bug When I want to update my robot I move it from my docking station to a place more close to the wifi router to have better speeds. It cannot not update because it needs at least 20% charge. But it is actually 100%.

How to Reproduce

Expected behavior Update the robot since it is 100%

Vacuum Model: Gen 2

Valetudo Version: v0.9.8

User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0

Additional context Log:

2020-09-23T16:43:48.555Z update request response:  [ 'ok' ]
2020-09-23T16:43:48.512Z will try to perform updating from https://github-production-release-asset-2e65be.s3.amazonaws.com/188584220/0c30d200-fcf3-11ea-91b5-e9aaf7ef12a1?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20200923%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20200923T164348Z&X-Amz-Expires=300&X-Amz-Signature=990d339632bb421a20c631777085a6d29c100ba10311ee977c7d5f0bac0086d7&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=188584220&response-content-disposition=attachment%3B%20filename%3Dvacuum_2020_valetudo_re_0_9_8.pkg&response-content-type=application%2Foctet-stream hashed as 00acf254bd95c75c0ff56b6fd1a196cc
2020-09-23T16:41:59.466Z Probed last id = 1003 using get_status (71 retries)
2020-09-23T16:41:59.377Z Timesync packet received
2020-09-23T16:41:59.373Z Robot connected
2020-09-23T16:41:43.850Z Failed to get handshake for message: get_status [] { retries: 0, retriesHS: 100 }
2020-09-23T16:41:19.918Z Connected successfully to mqtt server
2020-09-23T16:41:19.149Z Webserver running on port 80
2020-09-23T16:41:19.136Z Dummycloud is spoofing 203.0.113.1:8053 on 127.0.0.1:8053
2020-09-23T16:41:18.514Z Loading configuration file: /mnt/data/valetudo/config.json
rand256 commented 3 years ago

Actually it wants the device to have at least 20% of charge AND standing on a docking station. This is requirement of base roborock firmware, I doubt it could be changed without some kind of binary patching hack.

And the prerecorded voice message is just wrong.

bruvv commented 3 years ago

Awesome quick response :) will close it thanks.