Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Roborock S50: losing connection with mirobo #507

Closed
Sveat opened this issue May 10, 2019 · 3 comments
Closed

Roborock S50: losing connection with mirobo #507

Sveat opened this issue May 10, 2019 · 3 comments
Labels

Comments

@Sveat
Copy link

Sveat commented May 10, 2019

Hey guys,
I wanted to change my old S50 from EU to CN. I succefully changed to root firmware:
bin sveat$ /Library/Frameworks/Python.framework/Versions/3.7/bin/mirobo --ip=192.168.1.131 --token=41574f4431436c454939396248XXXXXX update-firmware v11_001168_root.pkg Going to update from v11_001168_root.pkg INFO:miio.updater:Serving on 0.0.0.0:51249, timeout 10 INFO:miio.updater:Using local v11_001168_root.pkg (md5: 4289bd3e8bcd34481f4952b938e59e5d) Hosting file at http://192.168.1.114:51249/v11_001168_root.pkg Update started! 0%| | 0/100 [00:00<?, ?it/s]192.168.1.131 - - [07/May/2019 02:10:21] "GET /v11_001168_root.pkg HTTP/1.1" 200 - Downloading: 90%|███████████████████████████████ | 90/100 [00:19<00:02, 4.33it/s]INFO:miio.updater:Got a request, should be downloading now. Downloading: 100%|████████████████████████████████████| 100/100 [00:20<00:00, 5.21it/s]Installation started, please wait until the vacuum reboots

And I want to update it now to new firmware, but roborock is losing connect. When I am trying to
sveat$ /Library/Frameworks/Python.framework/Versions/3.7/bin/mirobo --ip=192.168.1.131 --token=547468546f4d767267364f43765XXXXX info roborock.vacuum.s5 v3.3.9_001168 (78:11:DC:82:0C:87) @ 192.168.1.131 - token: 547468546f4d767267364f43765XXXXX

after
sveat$ /Library/Frameworks/Python.framework/Versions/3.7/bin/mirobo --ip=192.168.1.131 --token=547468546f4d767267364f43765XXXXX update-firmware /Library/Frameworks/Python.framework/Versions/3.7/bin/v11_001748.fullos.pkg Going to update from /Library/Frameworks/Python.framework/Versions/3.7/bin/v11_001748.fullos.pkg INFO:miio.updater:Serving on 0.0.0.0:56905, timeout 10 INFO:miio.updater:Using local /Library/Frameworks/Python.framework/Versions/3.7/bin/v11_001748.fullos.pkg (md5: 4880d2b189d8af567ae96d2073579021) Hosting file at http://192.168.1.114:56905/v11_001748.fullos.pkg ERROR:miio.updater:No request was made.. ERROR:miio.device:Got error when receiving: timed out

and after it I am trying again
sveat$ /Library/Frameworks/Python.framework/Versions/3.7/bin/mirobo --ip=192.168.1.131 --token=547468546f4d767267364f43765XXXXX info ERROR:miio.device:Got error when receiving: timed out Error: No response from the device

Also weird for me is that mihome is don't show anything from roborock after wifi reset.
Screenshot_2019-05-10-00-45-39-598_com xiaomi smarthome
Screenshot_2019-05-10-00-49-15-741_com xiaomi smarthome

I dont know what to do... can somebody help me? thanks

@rytilahti
Copy link
Owner

Hi, is this still a problem? I think the solution is to extract the token again after flashing the firmware, as the token gets reseted every time a new firmware is flashed, or a reset is done.

@Sveat
Copy link
Author

Sveat commented May 21, 2019

I solved myself. Thanks

@Sveat Sveat closed this as completed May 21, 2019
@nic0dk
Copy link

nic0dk commented Jan 16, 2020

@Sveat what was your solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants