> 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/norwegian-no/vesta-434.md).

# VESTA-434

## Introduksjon

Denne veiledningen forklarer hvordan integrasjonen av megafonen med VESTA fungerer. Du vil lære om oppsettsprosessen, nøkkelfunksjoner og hvordan du maksimerer effektiviteten til denne integrasjonen.

<figure><img src="/files/1884b72f03cab7176408ce00e9644192d68a22cd" alt=""><figcaption></figcaption></figure>

## 🔐 Lokal tilgang

Følgende er lokal tilgangsinformasjon 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 BRUKERNAVN</td><td>admin</td></tr><tr><td>STANDARD PASSORD</td><td>admin</td></tr></tbody></table>

## Last opp ny lydfil

<figure><img src="/files/85898409891fd387f81f98f55bb3a9cdbdb75925" alt=""><figcaption><p>For å laste opp ny mp3-fil</p></figcaption></figure>

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

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

## 📢 HTTP-kommandoer for å kjøre lydspor i VESTA

### 🔊 **Eksempler på API Play-handlinger**

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

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

**Start avspilling av bell1:**&#x20;

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

**Start avspilling av userfile1 én gang med volum 10**:&#x20;

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

**Start avspilling av userfile1 flere ganger (10 ganger) med volum 20:**

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

**Start avspilling av userfile1 i en bestemt varighet (10 ganger) med volum 30:**&#x20;

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

## Aktivering av et lydspor fra VESTA

{% hint style="success" %}
Disse **HTTP** kommandoene kan gå direkte inn i VESTA regelhandlinger. For eksempel kan vi programmere en regel som ved alarm starter lydspor 1 på megafonen: Vi oppretter en regel med følgende:&#x20;

* ***UTLØSER:** Alarm -> Enhver alarm*&#x20;
* ***BETINGELSER:** Ingen*&#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-filen vi lastet opp på hornet
    {% endhint %}

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

***

## Last ned komplett brukerveiledning

{% file src="/files/00f673e7ea94a9e367a5efe8788b6d92c000e82e" %}


---

# 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/norwegian-no/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.
