Branch: master
Find file History
cryptomilk dummycloud: Fix iptables
This creates a successful connection to dummycloud. With this the wifi
led stops blinking.
Latest commit 67d7088 Jan 19, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc dummycloud: Fix iptables Jan 19, 2019
src Dummycloud initial commit Nov 23, 2018
Makefile Dummycloud initial commit Nov 23, 2018 Cleanup of formatting of Nov 24, 2018

Dummycloud for Xiaomi vacuum robots

Copyright 2018 by Dustcloud Project (Author: S.)

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Enables 100% cloud-free operation of the robot For use e.g. with Valetudo

  • Install binary as 0755 root:root /usr/local/bin/dummycloud (see build/)
  • Install upstart config as /etc/init/dummycloud.conf (see doc/)
  • Modify /etc/hosts to redirect Xiaomi endpoints to reserved IP space (see doc/)
  • Modify /etc/rc.local to redirect packets back to robot (see doc/)
  • You will need a privately provisioned robot with the following files:

See dustcloud for details*

  • Reboot robot
Additional tips:
  • You may want to edit some files on robot:
sed -i -E 's/(UPLOAD_METHOD=)([0-9]+)/\10/' /opt/rockrobo/rrlog/rrlog.conf
sed -i -E 's/(UPLOAD_METHOD=)([0-9]+)/\10/' /opt/rockrobo/rrlog/rrlogmt.conf
sed -i '/^\#!\/bin\/bash$/a exit 0' /opt/rockrobo/rrlog/
sed -i '/^\#!\/bin\/bash$/a exit 0' /opt/rockrobo/rrlog/
sed -i '/^\#!\/bin\/bash$/a exit 0' /opt/rockrobo/rrlog/
sed -i '/^\#!\/bin\/bash$/a exit 0' /opt/rockrobo/rrlog/
  • To use only, edit /opt/rockrobo/watchdog/ntpserver.conf
  #you can add your server line by line  
Compilation using a robot image:

Note: You will need to expand a 512MB factory image and install sources, a C compiler and libs

 mount -o loop disk.img image
 chroot image /usr/bin/qemu-arm-static /bin/bash
 export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"

Used libs/code:

pkcs7_padding.* :
aes.* :
common_socket.* :
hexdump.* : Original author: