# VESTA-434

## Introduction

This guide will explain how the integration of the megaphone with VESTA works. You'll learn about the setup process, key features, and how to maximize the effectiveness of this integration.

<figure><img src="https://1580875003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZJzpNocHhYVmD43GZobR%2Fuploads%2FK0uuS4a4TDcCWwppht6F%2Fimage.png?alt=media&#x26;token=62c1d362-c642-413b-8aa1-5ce204b05606" alt=""><figcaption></figcaption></figure>

## 🔐 Local access

The following is the local access data to the horn:

<table data-header-hidden><thead><tr><th width="350"></th><th></th></tr></thead><tbody><tr><td>DEFAULT IP</td><td>192.168.5.200</td></tr><tr><td>DEFAULT USER NAME</td><td>admin</td></tr><tr><td>DEFAULT PASSWORD</td><td>admin</td></tr></tbody></table>

## Load new audio file

<figure><img src="https://1580875003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZJzpNocHhYVmD43GZobR%2Fuploads%2F6pvSCjJrhZ28YlNroSdp%2Fimage.png?alt=media&#x26;token=cda823b1-9eed-4b95-a486-9f6d8f558704" alt=""><figcaption><p>To load new mp3 file</p></figcaption></figure>

{% hint style="info" %}
Remember to enable en ALARM -> HTTP URL (Play File Enable)
{% endhint %}

<figure><img src="https://1580875003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZJzpNocHhYVmD43GZobR%2Fuploads%2F7zsbm7YIjsX6y3obmXRw%2Fimage.png?alt=media&#x26;token=8cef06fa-9b54-497a-ae49-9e17570825e5" alt=""><figcaption></figcaption></figure>

## 📢 HTTP commands for running audio spots in VESTA

### 🔊 **API Play Action Examples**

**Stop Action:**&#x20;

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

**Start playing bell1:**&#x20;

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

**Start playing userfile1 once with volume 10**:&#x20;

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

**Start playing userfile1 multiple times (10 times) with volume 20:**

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

**Start playing userfile1 for a specific duration (10 times) with volume 30:**&#x20;

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

## Activating an audio wedge from VESTA

{% hint style="success" %}
These **HTTP** commands can go directly into VESTA rule actions. For example, we can program a rule that in case of alarm will launch audio wedge 1 on the megaphone: We create a rule with the following:&#x20;

* ***TRIGGER:** Alarm -> Any alarm*&#x20;
* ***CONDITIONS:** Na*&#x20;
* ***ACTIONS:** HTTP ->* <http://192.168.0.155/api/play?action=start\\&file=><mark style="color:red;">userfile1</mark>
  * *<mark style="color:red;">userfile1</mark>*: This is the first mp3 file we uploaded on the horn
    {% endhint %}

<figure><img src="https://1580875003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZJzpNocHhYVmD43GZobR%2Fuploads%2FAWbKp0Sm9sDHZOOAN34b%2Fimage.png?alt=media&#x26;token=bdb51d67-bea6-433c-9f4a-7a066f0de245" alt=""><figcaption><p>Rule example in VESTA</p></figcaption></figure>

***

## Download complete Manual guide

{% file src="<https://1580875003-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZJzpNocHhYVmD43GZobR%2Fuploads%2Fq1hisH9127VB6ewx0Z9J%2FVESTA%20IP%20Speaker%20User%20Manual.docx?alt=media&token=c6a5c3d6-0178-477f-aa32-45aa24e7f8c2>" %}


---

# Agent Instructions: 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:

```
GET https://vesta-guide.gitbook.io/vesta-guide/vesta-434.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
