Coder Social home page Coder Social logo

rm3l / xiaomirobotvacuumprotocol Goto Github PK

View Code? Open in Web Editor NEW

This project forked from marcelrv/xiaomirobotvacuumprotocol

0.0 3.0 0.0 65 KB

Attempt to describe the Xiaomi Robot Vacuum Protocol

License: GNU General Public License v3.0

Java 100.00%

xiaomirobotvacuumprotocol's Introduction

Xiaomi Robot Vacuum Protocol

Attempt to describe the Xiaomi Robot Vacuum Protocol

These commands are send using the Xiaomi mi-home protocol

Applications implementing this protocol

Vacuum Commands

Type Command Description
START_VACUUM app_start Start vacuuming
STOP_VACUUM app_stop Stop vacuuming
START_SPOT app_spot Start spot cleaning
PAUSE app_pause Pause cleaning
CHARGE app_charge Start charging
FIND_ME find_me Send findme
CONSUMABLES_GET get_consumable Get consumables status
CONSUMABLES_RESET reset_consumable Reset consumables
CLEAN_SUMMARY_GET get_clean_summary Cleaning details
CLEAN_RECORD_GET get_clean_record Cleaning details
CLEAN_RECORD_MAP_GET get_clean_record_map Get the map reference of a historical cleaning
GET_MAP get_map_v1 Get Map
GET_STATUS get_status Get Status information
GET_SERIAL_NUMBER get_serial_number Get Serial #
DND_GET get_dnd_timer Do Not Disturb Settings
DND_SET set_dnd_timer Set the do not disturb timings
DND_CLOSE close_dnd_timer Disable the do not disturb function
TIMER_SET set_timer Add a timer
TIMER_UPDATE upd_timer Activate/deactivate a timer
TIMER_GET get_timer Get Timers
TIMER_DEL del_timer Remove a timer
TIMERZONE_GET get_timezone Get timezone
TIMERZONE_SET set_timezone Set timezone
SOUND_INSTALL dnld_install_sound Voice pack installation
SOUND_GET_CURRENT get_current_sound Current voice
SOUND_GET_VOLUME get_sound_volume -
LOG_UPLOAD_GET get_log_upload_status -
LOG_UPLOAD_ENABLE enable_log_upload -
SET_MODE set_custom_mode Set the vacuum level
GET_MODE get_custom_mode Get the vacuum level
REMOTE_START app_rc_start Start remote control
REMOTE_END app_rc_end End remote control
REMOTE_MOVE app_rc_move Remote control move command
GET_GATEWAY get_gateway Get current gatway

Robo Vacuum v2 and v1 with firmware versions 3.3.9_003194 or newer

Type Command Description
START_ZONE app_zoned_clean Start zone vacuum
GOTO_TARGET app_goto_target Send vacuum to coordinates

Generic MiIO Commands

Type Command Description
INFO miIO.info Get device info
ROUTER miIO.config_router Set Wifi settings of the device
OTA miIO.ota Update firmware over air
OTA_PROG miIO.get_ota_progress Update firmware over air Progress
OTA_STATE miIO.get_ota_state Update firmware over air Status

Suggestions & improvements very welcome!

xiaomirobotvacuumprotocol's People

Contributors

marcelrv avatar simonswine avatar rytilahti avatar honcheng avatar

Watchers

Armel Soro avatar James Cloos avatar  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.