question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Dreame D9 & L10 Pro specific room cleaning

See original GitHub issue

Hello! I tried to follow other issues to setup specific room cleaning in Home Assistant for my robots (D9 and L10 Pro) without any success. I am only able to create scripts to start, stop whole floor cleaning and return to docking station.

For example:

service: xiaomi_miot.call_action
data:
  entity_id: vacuum.dreame_p2029_2133_robot_cleaner
  siid: 3
  aiid: 1
  throw: true

is successfully returning to the base, but this does nothing:

service: xiaomi_miot.call_action
data:
  entity_id: vacuum.dreame_p2029_1882_robot_cleaner
  siid: 2
  aiid: 3
  params:
    - piid: 1
      value: 18
    - piid: 10
      value: '{"selects":[[3,1,3,3,1]]}''

__Originally posted by @xBourner in https://github.com/al-one/hass-xiaomi-miot/issues/449#issuecomment-1050818124__

and I can’t understand where are those params took from…

I tried to use Vevs’ modded MiHome APK, but I’m missing something because I can’t find room ids in my logs. What should I do and what should I look for? Thank you!

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

4reactions
Sim0cYzcommented, Apr 16, 2022

Ok so it was a connection issue between Home Assistant Core and my device, solved as in the issue linked above. Now the script to clean a specific room works, without that extra quotation mark. This works fine:

entity_id: vacuum.dreame_p2029_2133_robot_cleaner
siid: 4
aiid: 1
params:
  - piid: 1
    value: 18
  - piid: 10
    value: '{"selects":[[4,1,2,2,1]]}'
force_params: true
throw: true

Thank you for your kind support! 👍

I’m leaving this here, may be useful for somebody like me. Inside square brackets, these are the values you should specify:

1) room id
     - 1-… (I have 6 rooms and they are numbered consecutively from 1 to 6)
2) number of repetitions
     - 1-… (I don't know if there's a maximum number of repetitions)
3) vacuum power
     - 0 = silent
     - 1 = standard
     - 2 = high
     - 3 = turbo
4) water quantity 
     - 1 = low
     - 2 = medium
     - 3 = high
5) mopping/wash mode
     - 1 = daily wash
     - 2 = deep wash

to clean multiple rooms with one script, you can add other groups of parameters in square brackets, separated by commas, just like this:

entity_id: vacuum.dreame_p2029_2133_robot_cleaner
siid: 4
aiid: 1
params:
  - piid: 1
    value: 18
  - piid: 10
    value: '{"selects":[[5,1,2,3,3],[3,1,2,3,3]]}'
force_params: true

(translated roughly, sorry!)

1reaction
al-onecommented, Mar 28, 2022

You can show me the vevs logs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Dreame L10 Pro Robot Vacuum FAQ
Dreame L10 Pro Robot Vacuum FAQ · 1. The robot vacuum is used for daily home cleaning. · 2. Try to increase the...
Read more >
Z10 Pro, L10 Pro L10s D9 or D9 Max Robot Vacuums - YouTube
If you need some help understanding how to setup and work your new Dreame D9, D9 Max L10 Pro, Z10 Pro this video...
Read more >
Dreame L10 Pro: Next-Generation Obstacle Avoidance
Another improvement over the D9 is cleaning sand, and this robot picked up 98.9% – an 8.2% increase. Passes were cleaner thanks to...
Read more >
Dreame L10 Pro Review: a Robot Vacuum With 3D ...
The room menu allows sending the robot to clean a specific room or a few and change the cleaning cycle up to two....
Read more >
Dreametech L10 Pro Robot Vacuum Cleaner with Dual- ...
Accessories Kit for Dreame D9, L10 Pro Vacuum Cleaner Parts, Include 1 Main Brush ... Select Room, NO-go Zone, Compatible with Alexa and...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found