merdok / homebridge-miot

Homebridge plugin for devices supporting the Xiaomi miot protocol
MIT License
392 stars 61 forks source link

Additional section in robotcleaner.md for dreame.vacuum.mc1808/dreame.vacuum.mb1808 #477

Closed mavoronin closed 1 year ago

mavoronin commented 1 year ago

Describe the idea or improvement Add new section to robotcleaner.md "Room cleaning" for dreame.vacuum.mc1808/dreame.vacuum.mb1808 as their action and params for room cleaning differ from other dreame devices.

Describe the solution you'd like

"actionButtons": [
    {
        "action": "18.1",
        "name": "Clean first room",
        "params": [
            {
                "piid": 1,
                "value": 18
            },
            {
                "piid": 21,
                "value": "{\"selects\":[[1,1,1,1,1]]}"
            }
        ]
    }
]

Additional context Source: this article. Tested on my own dreame.vacuum.mc1808. Works well.

merdok commented 1 year ago

Thanks for the info! That makes sense! If you want you can try to submit a pull request, if not then it is fine and i will add it.

mavoronin commented 1 year ago

Pull request submitted.