Mop intensity support in the card #789
Unanswered
jarekgrzabel
asked this question in
Q&A
Replies: 2 comments 1 reply
-
You can create an |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @PiotrMachowski! I will try with |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I have Roborock S7 MaxV and I'm trying to add the supported vacuum and mopping intensity to the card so I can manipulate the settings and for example set to mop only, intensity or hoover only depending on the need. Currently that isn't directly supported and I can get that setting change through the Xiaomi app.
I'm using Xiaomi Protocol documentation from this link: https://github.com/marcelrv/XiaomiRobotVacuumProtocol/blob/master/water_box_custom_mode.md
Based on the fan speed settings I decided to modify the card code to contain this:
The problem is, that the mop intensity mode is not exposed directly as any entity and requires a service call to get the current mode... and this is where I got stuck and I don't know how to get the current mode. I've run a debug and when I call the service like this:
The result is as follows:
{'id': 581, 'result': {'water_box_mode': 200}, 'exe_time': 11}
I have no idea how to get this result back to the card.
I'd appreciate any hint on how to solve this problem.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions