> 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/romanian-ro/vesta-434.md).

# VESTA-434

## Introducere

Acest ghid va explica cum funcționează integrarea megafonului cu VESTA. Vei afla despre procesul de configurare, funcțiile cheie și cum să maximizezi eficiența acestei integrări.

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

## 🔐 Acces local

Următoarele sunt datele de acces local la horn:

<table data-header-hidden><thead><tr><th width="350"></th><th></th></tr></thead><tbody><tr><td>IP IMPLICIT</td><td>192.168.5.200</td></tr><tr><td>NUME UTILIZATOR IMPLICIT</td><td>admin</td></tr><tr><td>PAROLĂ IMPLICITĂ</td><td>admin</td></tr></tbody></table>

## Încărcați fișier audio nou

<figure><img src="/files/857408147552b9a6ee9cabdb0447776e8ded5ec7" alt=""><figcaption><p>Pentru a încărca un fișier mp3 nou</p></figcaption></figure>

{% hint style="info" %}
Amintește-ți să activezi un ALARMĂ -> HTTP URL (Play File Enable)
{% endhint %}

<figure><img src="/files/1bc06e50177451d4061c0e6b973f39627ed42300" alt=""><figcaption></figcaption></figure>

## 📢 Comenzi HTTP pentru redarea spoturilor audio în VESTA

### 🔊 **Exemple de acțiuni API Play**

**Acțiune Stop:**&#x20;

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

**Pornire redare bell1:**&#x20;

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

**Pornește redarea userfile1 o singură dată cu volumul 10**:&#x20;

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

**Pornește redarea userfile1 de mai multe ori (10 ori) cu volumul 20:**

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

**Pornește redarea userfile1 pentru o durată specifică (10 ori) cu volumul 30:**&#x20;

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

## Activarea unui canal audio din VESTA

{% hint style="success" %}
Aceste **HTTP** comenzi pot merge direct în acțiunile regulilor VESTA. De exemplu, putem programa o regulă care, în caz de alarmă, va lansa canalul audio 1 pe megafon: Creăm o regulă cu următoarele:&#x20;

* ***TRIGGER:** Alarmă -> Orice alarmă*&#x20;
* ***CONDIȚII:** Na*&#x20;
* ***ACȚIUNI:** HTTP ->* <http://192.168.0.155/api/play?action=start\\&file=><mark style="color:roșu;">userfile1</mark>
  * *<mark style="color:roșu;">userfile1</mark>*: Acesta este primul fișier mp3 pe care l-am încărcat pe horn
    {% endhint %}

<figure><img src="/files/bd09f23afdda47c0c378076495de934e8473d45c" alt=""><figcaption><p>Exemplu de regulă în VESTA</p></figcaption></figure>

***

## Descărcare ghid manual complet

{% file src="/files/6b1444949d1d6cd36503422496efcf2bd491d9f0" %}


---

# 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/romanian-ro/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.
