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.
π Local access
The following is the local access data to the horn:
Load new audio file
Remember to enable en ALARM -> HTTP URL (Play File Enable)
π’ HTTP commands for running audio spots in VESTA
π API Play Action Examples
Stop Action:
http://192.168.0.155/api/play?action=stop
Start playing bell1:
http://192.168.0.155/api/play?action=start&file=bell1
Start playing userfile1 once with volume 10:
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:
http://192.168.0.155/api/play?action=start&file=userfile1&mode=duration&count=10&volume=30
Activating an audio wedge from VESTA
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:
TRIGGER: Alarm -> Any alarm
CONDITIONS: Na
ACTIONS: HTTP -> http://192.168.0.155/api/play?action=start&file=userfile1
userfile1: This is the first mp3 file we uploaded on the horn
Last updated