Comments (3)
the Dreame D9 accepts commands but they use the 'miot' protocol. So they use the same sort of communication/encryption but the commands are differently structured.
See
https://home.miot-spec.com/spec/dreame.vacuum.p2008
It uses service, action and property id's (siid,aiid,piid) to identify the commands & properties rather than the more readable ones you mention. In the above link you can find the right codes for your device.
Openhab has a mapping for your device which covers the majority of available commands.
from xiaomirobotvacuumprotocol.
Thanks, that helped me to find a post from you in the openhab community with an command:
action {"did":"Start-sweep","siid":3,"aiid":1,"in":[]}
I was able to adopt this for my D9:
action {"did":"Start-sweep","siid":2,"aiid":1,"in":[]}
Now I'm working on two questions:
Why do you put the action name in the device id (DID)?
When I want to clean a specific room, what is the syntax to add the rooms to the command? Is it the piid?
action {"did":"start-room-sweep","siid":2,"aiid":3,"piid":4,"in":[]}
from xiaomirobotvacuumprotocol.
The did field appears to be free text, in the sense that the devices don't check if the true did is in it
To ease the reading of the log I enter the intended (readable) command
from xiaomirobotvacuumprotocol.
Related Issues (20)
- Xiaomi 1T (STYTJ02ZHM) Vacuum HOT 6
- Unable to change map HOT 3
- S7 - water level Low HOT 3
- How to use voice command to instruct no of cycles
- Set cleaning "strength"? HOT 1
- Reverse engineering HOT 2
- How can i find coordinates to use in "app_goto_target" and "app_zoned_clean" HOT 3
- Roborock S7 - Command to auto-empty in Dock HOT 6
- How can control the mop_mode HOT 1
- Roborock S7 MaxV Firmware Features HOT 1
- get current coordinates and send to coordinates HOT 2
- Question: Can I make the S5E vacuum say a "ping" sound? HOT 1
- Ability to Empty dustbin. HOT 2
- S6 MaxV - get_room_mapping empty HOT 2
- Unable to get info using vacuum.send_command HOT 4
- S5 max - distance_off not worked as in docu described HOT 1
- Question: Retrieve installed sound pack?
- PROBLEM: Start room cleaning HOT 5
- Not able to clean without water (Roborock S7 MaxV Ultra) HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xiaomirobotvacuumprotocol.