ManualControlCapability for MQTT? #1781
-
So I started looking at the API for REST and MQTT to learn how I could tell my vacuum to "take a step forward" so that I can empty its dust bin (my vacuum lives below a cupboard) on a button press from home assistant. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
To use the What you'd want here would be a robot that has a firmware that supports the The basic idea there is:
If that's something you'd want to implement in your home automation setup as well, you may want to consider doing it as a blueprint and opening a PR here: https://github.com/mundschenk-at/ha-valetudo-blueprints |
Beta Was this translation helpful? Give feedback.
To use the
ManualControlCapability
, you need a human with a direct line of sight to the robot. It is not possible to use that to reliably automate routes or any movement for that matter. The reason why it is part of the REST API is just because it needs to be so that it can be controlled via the Web UI. It is not meant for automation.What you'd want here would be a robot that has a firmware that supports the
GoToLocationCapability
.If your robot doesn't support that, some people also reported that they are using the
ZoneCleaningCapability
+ a Home Assistant (or similar) automation to achieve somewhat similar results.The basic idea there is: