> For the complete documentation index, see [llms.txt](https://docs.sonoransoftware.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sonoransoftware.com/studio/sonoran-studio/desktop-companion/streamer.bot-actions.md).

# Streamer.bot actions

The desktop companion connects outbound to Streamer.bot's local WebSocket server and maps Sonoran events to actions you already created.

## Before you begin

Enable Streamer.bot's WebSocket server. Its common local address is `127.0.0.1` on port `8080`.

## Connect

1. Open **Streamer.bot actions** in the companion.
2. Enter the host, port, endpoint, and optional WebSocket password.
3. Select **Save & connect**.
4. Once connected, Studio loads the available Streamer.bot actions.

## Map events

Choose an action for each Sonoran event, or leave it set to **Do nothing**. Use **Test** to send a sample event before going live.

Available event mappings include unit status changes, panic activation and clearing, call attachment changes, dispatch notifications, and radio transmission activity.

{% hint style="info" %}
The integration reuses the authenticated Studio event stream. It does not add CAD or Radio polling and connects only to the local Streamer.bot server.
{% endhint %}

## Troubleshoot

If the companion shows **Not connected**, verify the WebSocket server is enabled, the port and endpoint match, and the password is correct. Then select **Save & connect** again.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.sonoransoftware.com/studio/sonoran-studio/desktop-companion/streamer.bot-actions.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
