> ## Documentation Index
> Fetch the complete documentation index at: https://docs.khanhng.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 4.6.4 Where My Bot

> Reference for the wheremybot plugin: permissions, settings, events, and service interfaces.

Plan hotel delivery routes and operate a service robot in real time.

| Property | Value |
| - | - |
| Plugin ID | `wheremybot` |
| Version | 1.1.0 (SDK 1.0.0) |
| Category | Robotics |
| Status | `available` |
| Technologies | SVG floor plan, Route simulation, Event bus |
| Route | `/demo/wheremybot`, requires `robot.view` |

## Permissions

| ID | Name | Description |
| - | - | - |
| `robot.view` | View robots | View robot status and location. |
| `robot.control` | Control robots | Execute and stop robot routes. |
| `robot.message` | Message guests | Send a welcome message through the robot. |
| `route.manage` | Manage routes | Draw and save robot routes. |

## Settings

| Key | Type | Default | Notes |
| - | - | - | - |
| `robot.defaultSpeed` | `number` | `115` | Simulation speed in floor-plan units per second. Required. |
| `robot.defaultWelcomeMessage` | `string` | `Welcome to Kcode Hotel` | |
| `robot.showLocationLabels` | `boolean` | `true` | |

## Events

Each lifecycle hook logs and emits `wheremybot.lifecycle.changed` with `pluginId` and a `state` of `registered`, `initialized`, `active`, `inactive`, or `disposed`.

## Service interfaces

```ts theme={"system"}
interface RobotService {
  getRobots(): Promise<readonly Robot[]>;
  getRobot(id: string): Promise<Robot>;
  subscribe(id: string, listener: (robot: Robot) => void): () => void;
  stopRobot(id: string): Promise<void>;
  executeRoute(id: string, route: RobotRoute, speed?: number): Promise<void>;
  sendMessage(id: string, message: string): Promise<void>;
}
interface RouteService {
  getPresetRoutes(): Promise<readonly RobotRoute[]>;
  getSavedRoutes(): Promise<readonly RobotRoute[]>;
  saveRoute(route: RobotRoute): Promise<RobotRoute>;
}
```

The package exports `MockRobotService` and `MockRouteService` implementations under `src/services`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.