Control a Dreame robot vacuum through the Dreame cloud.
Tell Stavrobot to install https://github.com/stavrobot/plugin-dreame.
Fill in username and password; set account_type to the app you registered the vacuum in and country to the region the ACCOUNT was created in, not where you live. A wrong region looks like a wrong password, or gives an empty device list.
dreame, mova, or trouver. Region support differs by brand: dreame supports eu, us, cn, sg, ru, kr; mova supports eu, us, cn, sg; trouver supports eu, us, ru, sg.Press a button on the robot to wake it before the first command. A sleeping vacuum drops its WiFi link and the cloud then rejects commands with error 80001.
The plugin handles one vacuum per account. Setup runs in the background for up to a minute after install. Tools report that setup is still running until it finishes.
The cloud protocol code is downloaded at install time from https://github.com/Tasshack/dreame-vacuum (MIT, Copyright (c) 2022 Tasshack), pinned to the commit in UPSTREAM_SHA in init.py. This plugin does not vendor or redistribute it.
The pin also freezes Dreame API endpoint constants, so if login starts failing across the board the fix is to bump UPSTREAM_SHA in init.py, which is the only place the commit is recorded.
sweep and sweep_and_mop may be exchanged, both when set and when reported.