| layout | default |
|---|---|
| title | Services |
| nav_order | 5 |
| description | Home Assistant services provided by the Yarbo integration |
{: .no_toc }
Disclaimer: This is an independent community project. NOT affiliated with Yarbo or its manufacturer. {: .warning }
All services are registered under the yarbo domain. They require a device_id targeting a Yarbo device.
- TOC {:toc}
Send a raw MQTT command to the robot. For advanced users who want to send commands not yet exposed as entities.
Commands are zlib-compressed automatically by the
python-yarbolibrary. {: .note }
Fields:
| Field | Type | Required | Description |
|---|---|---|---|
device_id |
Device selector | Yes | The Yarbo robot to send the command to |
command |
string | Yes | The MQTT command name (e.g. read_all_plan, cmd_recharge) |
payload |
object | No | JSON payload for the command. Defaults to {} |
Example — read all work plans:
service: yarbo.send_command
data:
device_id: "YOUR_DEVICE_ID"
command: read_all_plan
payload: {}Example — set blade speed:
service: yarbo.send_command
data:
device_id: "YOUR_DEVICE_ID"
command: set_blade_speed
payload:
speed: 2000Example — set chute angle (snow blower):
service: yarbo.send_command
data:
device_id: "YOUR_DEVICE_ID"
command: cmd_chute
payload:
angle: 105Start a saved work plan by its ID.
Fields:
| Field | Type | Required | Description |
|---|---|---|---|
device_id |
Device selector | Yes | The Yarbo robot |
plan_id |
string | Yes | The UUID or numeric ID of the work plan |
percent |
number (0–100) | No | Percentage into the plan at which to start. Defaults to the value of the Plan Start Percent number entity |
Example — start a plan from the beginning:
service: yarbo.start_plan
data:
device_id: "YOUR_DEVICE_ID"
plan_id: "1"Example — resume a plan from 50%:
service: yarbo.start_plan
data:
device_id: "YOUR_DEVICE_ID"
plan_id: "1"
percent: 50Example — start plan in an automation triggered by a calendar event:
automation:
alias: "Start mowing on schedule"
trigger:
- platform: calendar
event: start
entity_id: calendar.mowing_schedule
action:
- service: yarbo.start_plan
data:
device_id: "YOUR_DEVICE_ID"
plan_id: "1"Pause the robot's current work plan.
Fields:
| Field | Type | Required | Description |
|---|---|---|---|
device_id |
Device selector | Yes | The Yarbo robot |
Example:
service: yarbo.pause
data:
device_id: "YOUR_DEVICE_ID"Resume a previously paused work plan.
Fields:
| Field | Type | Required | Description |
|---|---|---|---|
device_id |
Device selector | Yes | The Yarbo robot |
Example:
service: yarbo.resume
data:
device_id: "YOUR_DEVICE_ID"Send the robot back to its charging dock.
Fields:
| Field | Type | Required | Description |
|---|---|---|---|
device_id |
Device selector | Yes | The Yarbo robot |
Example:
service: yarbo.return_to_dock
data:
device_id: "YOUR_DEVICE_ID"Example — return to dock when battery drops below 20%:
automation:
alias: "Return Yarbo to dock on low battery"
trigger:
- platform: numeric_state
entity_id: sensor.yarbo_allgott_battery
below: 20
action:
- service: yarbo.return_to_dock
data:
device_id: "YOUR_DEVICE_ID"Set brightness for all 7 LED channels simultaneously or individually. Useful for automations that change the light pattern.
Fields:
| Field | Type | Range | Description |
|---|---|---|---|
device_id |
Device selector | — | The Yarbo robot |
brightness |
number | 0–255 | Set all channels to this value |
led_head |
number | 0–255 | Head light brightness |
led_left_w |
number | 0–255 | Left fill light brightness |
led_right_w |
number | 0–255 | Right fill light brightness |
body_left_r |
number | 0–255 | Left body accent brightness |
body_right_r |
number | 0–255 | Right body accent brightness |
tail_left_r |
number | 0–255 | Left tail light brightness |
tail_right_r |
number | 0–255 | Right tail light brightness |
Example — turn all lights on at full brightness:
service: yarbo.set_lights
data:
device_id: "YOUR_DEVICE_ID"
brightness: 255Example — turn all lights off:
service: yarbo.set_lights
data:
device_id: "YOUR_DEVICE_ID"
brightness: 0Example — custom channel values:
service: yarbo.set_lights
data:
device_id: "YOUR_DEVICE_ID"
led_head: 255
led_left_w: 128
led_right_w: 128
body_left_r: 0
body_right_r: 0
tail_left_r: 64
tail_right_r: 64Control the snow chute direction and rotation speed (Snow Blower head only).
Fields:
| Field | Type | Range | Description |
|---|---|---|---|
device_id |
Device selector | — | The Yarbo robot |
velocity |
number | −2000 to 2000 | Chute rotation velocity. Negative = left, 0 = stop, positive = right |
Example — rotate chute to the right:
service: yarbo.set_chute_velocity
data:
device_id: "YOUR_DEVICE_ID"
velocity: 1000Example — stop chute rotation:
service: yarbo.set_chute_velocity
data:
device_id: "YOUR_DEVICE_ID"
velocity: 0Send manual velocity commands to drive the robot. Use with caution in open areas.
The robot must be in manual mode. Use the Return to Dock button to stop. {: .note }
Fields:
| Field | Type | Range | Description |
|---|---|---|---|
device_id |
Device selector | — | The Yarbo robot |
linear |
number | −1.0 to 1.0 | Linear velocity (positive = forward) |
angular |
number | −1.0 to 1.0 | Angular velocity (positive = turn left) |
Example — drive forward slowly:
service: yarbo.manual_drive
data:
device_id: "YOUR_DEVICE_ID"
linear: 0.3
angular: 0.0Example — stop:
service: yarbo.manual_drive
data:
device_id: "YOUR_DEVICE_ID"
linear: 0.0
angular: 0.0Navigate the robot to a stored waypoint by index.
Fields:
| Field | Type | Required | Description |
|---|---|---|---|
device_id |
Device selector | Yes | The Yarbo robot |
index |
number | Yes | Waypoint index (0–9999) |
Example:
service: yarbo.go_to_waypoint
data:
device_id: "YOUR_DEVICE_ID"
index: 0Delete a single saved work plan by ID.
Warning: This permanently removes the plan from the robot. There is no undo. {: .warning }
Fields:
| Field | Type | Required | Description |
|---|---|---|---|
device_id |
Device selector | Yes | The Yarbo robot |
plan_id |
string | Yes | Plan ID to delete (must match exactly) |
Example:
service: yarbo.delete_plan
data:
device_id: "YOUR_DEVICE_ID"
plan_id: "1"Delete all saved work plans on the robot.
Warning: This permanently removes ALL plans. There is no undo. {: .warning }
Fields:
| Field | Type | Required | Description |
|---|---|---|---|
device_id |
Device selector | Yes | The Yarbo robot |
Example:
service: yarbo.delete_all_plans
data:
device_id: "YOUR_DEVICE_ID"To use services, you need the device_id for your robot:
- Go to Settings → Devices & Services → Yarbo → [your robot]
- Copy the device ID from the URL (
/config/devices/device/<device_id>)
Or use the Developer Tools → Services UI to select the device visually.
- Entities — for state-based control via entity services
- Automations — ready-to-use automation examples
- Protocol Reference — raw MQTT command reference for
send_command