> For the complete documentation index, see [llms.txt](https://vesta-guide.gitbook.io/vesta-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://vesta-guide.gitbook.io/vesta-guide/svenska/vesta-434.md).

# VESTA-434

## Introduktion

Denna guide förklarar hur integreringen av megafonen med VESTA fungerar. Du kommer att lära dig om installationsprocessen, nyckelfunktioner och hur du maximerar effektiviteten i denna integration.

<figure><img src="/files/4474bb9f79240b7ca5c953142b6046133266f127" alt=""><figcaption></figcaption></figure>

## 🔐 Lokal åtkomst

Följande är de lokala åtkomstuppgifterna till hornet:

<table data-header-hidden><thead><tr><th width="350"></th><th></th></tr></thead><tbody><tr><td>STANDARD IP</td><td>192.168.5.200</td></tr><tr><td>STANDARDANVÄNDARE</td><td>admin</td></tr><tr><td>STANDARDLÖSENORD</td><td>admin</td></tr></tbody></table>

## Ladda ny ljudfil

<figure><img src="/files/c10f9b8951ea3b947926717ba37499e7dada9297" alt=""><figcaption><p>För att ladda ny mp3-fil</p></figcaption></figure>

{% hint style="info" %}
Kom ihåg att aktivera en ALARM -> HTTP URL (Play File Enable)
{% endhint %}

<figure><img src="/files/f166eca831a0630e461cdd1dd83250adcc685926" alt=""><figcaption></figcaption></figure>

## 📢 HTTP-kommandon för att köra ljudspotar i VESTA

### 🔊 **API Play-åtgärdsexempel**

**Stoppa åtgärd:**&#x20;

* <http://192.168.0.155/api/play?action=stop>

**Börja spela bell1:**&#x20;

* <http://192.168.0.155/api/play?action=start\\&file=bell1>

**Börja spela userfile1 en gång med volym 10**:&#x20;

* <http://192.168.0.155/api/play?action=start\\&file=userfile1\\&mode=once\\&volume=10>

**Börja spela userfile1 flera gånger (10 gånger) med volym 20:**

* <http://192.168.0.155/api/play?action=start\\&file=userfile1\\&mode=multiple\\&count=10\\&volume=20>

**Börja spela userfile1 under en specifik varaktighet (10 gånger) med volym 30:**&#x20;

* <http://192.168.0.155/api/play?action=start\\&file=userfile1\\&mode=duration\\&count=10\\&volume=30>

## Aktivera en ljudkil från VESTA

{% hint style="success" %}
Dessa **HTTP** kommandon kan gå direkt in i VESTA-regelåtgärder. Till exempel kan vi programmera en regel som vid larm startar ljudkil 1 på megafonen: Vi skapar en regel med följande:&#x20;

* ***UTLÖSARE:** Larm -> Alla larm*&#x20;
* ***VILLKOR:** Na*&#x20;
* ***ÅTGÄRDER:** HTTP ->* <http://192.168.0.155/api/play?action=start\\&file=><mark style="color:röd;">userfile1</mark>
  * *<mark style="color:röd;">userfile1</mark>*: Detta är den första mp3-filen vi laddade upp på hornet
    {% endhint %}

<figure><img src="/files/33b4f3a3efb5de47bea2a1b179930f1c46c35b75" alt=""><figcaption><p>Regel exempel i VESTA</p></figcaption></figure>

***

## Ladda ner komplett användarmanual

{% file src="/files/4f4a6cb10f2c64bf64a65dc6b366f2af0735e11f" %}


---

# 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://vesta-guide.gitbook.io/vesta-guide/svenska/vesta-434.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.
