Coder Social home page Coder Social logo

gjuhasz86 / webrocky Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 53 KB

A web based client to control RoboRock Vacuums

License: GNU General Public License v3.0

Scala 94.77% HTML 5.23%
xiaomi vacuum miio miio-device scala scalajs roborock control website ui

webrocky's Introduction

WebRocky

Summary

WebRocky is a web-based client for the Xiaomi vacuums.

Motivation

One of the reasons I started this project is that the Android based Mi Home and Roborock applications don't seem to work well on my Android phone. I experienced sudden battery drain issues, so I wanted a way to control the vacuum from my desktop PC. The other reason was to add some features I missed in the app, such as being able to remember certain positions and zones on the map, or saving and restoring preset no-go zone and no-mop zone profiles.

Build & run

Dependecies: git, java, mill, md5sum

$ git clone https://github.com/gjuhasz86/webrocky.git
$ cd webrocky
$ mill proj.dist
$ cp secrets.hocon.sample dist/secrets.hocon # SEE EXAMPLE FOR PASSWORD HASH BELOW
$ $EDITOR dist/secrets.hocon # edit the properties
$ cd dist
$ java -cp out.jar roborock.server.WebServer public # Webserver is started at http://localhost:4201

Example to generate the md5 hash of your password:

$ echo -n "mysecretpassword" | md5sum | tr [:lower:] [:upper:]
4CAB2A2DB6A3C31B01D804DEF28276E6  -

(The above example shows the actual output for the password mysecretpassword. If you generate the hash by any other means, make sure it matches this example.)

Appendix

Legal

Xiaomi is a registered trademark and service mark of Xiaomi Inc., which is not affiliated with the maker of this program and does not endorse, service or warrant the functionality of this product.

webrocky's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.