> 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/danish-dk/vesta-434.md).

# VESTA-434

## Introduktion

Denne guide forklarer, hvordan integrationen af megafonen med VESTA fungerer. Du vil lære om opsætningsprocessen, nøglefunktioner og hvordan du maksimerer effektiviteten af denne integration.

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

## 🔐 Lokal adgang

Følgende er de lokale adgangsoplysninger til 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>STANDARD BRUGERNAVN</td><td>admin</td></tr><tr><td>STANDARD ADGANGSKODE</td><td>admin</td></tr></tbody></table>

## Indlæs ny lydfil

<figure><img src="/files/1e9d0463c170a0dac5620792744fb51815a2c534" alt=""><figcaption><p>For at indlæse en ny mp3-fil</p></figcaption></figure>

{% hint style="info" %}
Husk at aktivere en ALARM -> HTTP URL (Play File Enable)
{% endhint %}

<figure><img src="/files/162c84475a306d885a6582565c325621682e6728" alt=""><figcaption></figcaption></figure>

## 📢 HTTP-kommandoer til afspilning af lydspots i VESTA

### 🔊 **API Play-handlingseksempler**

**Stop-handling:**&#x20;

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

**Start afspilning af bell1:**&#x20;

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

**Start afspilning af userfile1 én gang med lydstyrke 10**:&#x20;

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

**Start afspilning af userfile1 flere gange (10 gange) med lydstyrke 20:**

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

**Start afspilning af userfile1 i en bestemt varighed (10 gange) med lydstyrke 30:**&#x20;

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

## Aktivering af et lydstykke fra VESTA

{% hint style="success" %}
Disse **HTTP** kommandoer kan gå direkte ind i VESTA-regelhandlinger. For eksempel kan vi programmere en regel, der i tilfælde af alarm lancerer lydstykke 1 på megafonen: Vi opretter en regel med følgende:&#x20;

* ***TRIGGER:** Alarm -> Enhver alarm*&#x20;
* ***BETINGELSER:** Na*&#x20;
* ***HANDLINGER:** 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>*: Dette er den første mp3-fil, vi uploadede på hornet
    {% endhint %}

<figure><img src="/files/1c436e8bc5b0ab6182389796b4996d66305ef43b" alt=""><figcaption><p>Regel eksempel i VESTA</p></figcaption></figure>

***

## Download komplet manualguide

{% file src="/files/c7d1fde73409633c33ae8439dcfd49f66c541e1a" %}


---

# 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/danish-dk/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.
