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

# VESTA-434

## Introduction

Ce guide expliquera comment fonctionne l'intégration du mégaphone avec VESTA. Vous apprendrez le processus d'installation, les fonctionnalités clés et comment maximiser l'efficacité de cette intégration.

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

## 🔐 Accès local

Les informations d'accès local au haut-parleur sont les suivantes :

<table data-header-hidden><thead><tr><th width="350"></th><th></th></tr></thead><tbody><tr><td>IP PAR DÉFAUT</td><td>192.168.5.200</td></tr><tr><td>NOM D'UTILISATEUR PAR DÉFAUT</td><td>admin</td></tr><tr><td>MOT DE PASSE PAR DÉFAUT</td><td>admin</td></tr></tbody></table>

## Charger un nouveau fichier audio

<figure><img src="/files/746687dd821879ebfd42e71bae611ee8211c4727" alt=""><figcaption><p>Pour charger un nouveau fichier mp3</p></figcaption></figure>

{% hint style="info" %}
N'oubliez pas d'activer dans ALARM -> HTTP URL (Play File Enable)
{% endhint %}

<figure><img src="/files/6a01ee2e1e5a090b065553dfa60649036a442f9e" alt=""><figcaption></figcaption></figure>

## 📢 Commandes HTTP pour lancer des spots audio dans VESTA

### 🔊 **Exemples d'actions API Play**

**Action Arrêter :**&#x20;

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

**Commencer à jouer bell1 :**&#x20;

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

**Commencer à jouer userfile1 une fois avec le volume 10**:&#x20;

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

**Commencer à jouer userfile1 plusieurs fois (10 fois) avec le volume 20 :**

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

**Commencer à jouer userfile1 pendant une durée spécifique (10 fois) avec le volume 30 :**&#x20;

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

## Activation d'un haut-parleur audio depuis VESTA

{% hint style="success" %}
Ces **HTTP** commandes peuvent être insérées directement dans les actions de règle de VESTA. Par exemple, nous pouvons programmer une règle qui, en cas d'alarme, lancera la piste audio 1 sur le mégaphone : Nous créons une règle avec ce qui suit :&#x20;

* ***DÉCLENCHEUR :** Alarme -> Toute alarme*&#x20;
* ***CONDITIONS :** Na*&#x20;
* ***ACTIONS :** HTTP ->* <http://192.168.0.155/api/play?action=start\\&file=><mark style="color:rouge;">userfile1</mark>
  * *<mark style="color:rouge;">userfile1</mark>* : C'est le premier fichier mp3 que nous avons téléchargé sur le haut-parleur
    {% endhint %}

<figure><img src="/files/4347eae6b9139251a4ebdf88c13d7d06436b643d" alt=""><figcaption><p>Exemple de règle dans VESTA</p></figcaption></figure>

***

## Télécharger le guide manuel complet

{% file src="/files/180a4ea54dab815d1c17cc9842497f309831465d" %}


---

# 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/france/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.
