Replies: 2 comments 5 replies
-
Suggestion 1: {
"name": "Deebot Ozmo 950",
"protocol": "MQTT/JSON",
"commands": [
"getSpeed",
"setSpeed": {
"speed:": {
"1000": "quiet",
"0": "standard",
"1": "max",
"2": "max+"
}
}
]
} The advantage is that we can specifies in detail, which command is supported and how the values map. E.g. there exists older models, which only support two fan speeds. |
Beta Was this translation helpful? Give feedback.
-
Suggestion 2: {
"name": "Deebot Ozmo 950",
"protocol": "MQTT/JSON",
"features": [
"fan speed":[
"quiet",
"standard",
"max",
"max+"
],
"water level": [
"low",
"medium",
"high"
]
]
} The advantage of this suggestion is that each user can with the help of the app create a model file. |
Beta Was this translation helpful? Give feedback.
-
Different models have different features and we want only activate features that the specified model supports.
On my knowledge there exist no way to ask the vacuum, which commands it supports. Correct me if I'm wrong :)
So we need to create our own knowledge-database. I was thinking of a json configuration file per model, so also other projects like https://github.com/mrbungle64/ecovacs-deebot.js can use these files.
But the big question is how we specify the layout.
@mrbungle64 @nickw444 and all others what do you think?
I would name the file on the device-class (e.g.
yna5xi.json
for the Deebot Ozmo 950)Beside the more details in the comments below each file would contain the following:
Beta Was this translation helpful? Give feedback.
All reactions