This article describes how to configure Hanwha SPS-A100M Audio Beacon to load and, via API command, play pre-recorded messages.
Uploading Audio Files
To upload audio files:
Log in to the Audio Beacon Web interface.
Select Settings > Video and Audio > Audio Setup.
Scroll to the Audio Clip section, and click Upload.
Select desired audio clips (.wav and .mp3 supported).
Click Apply.
NOTE: Currently, the file name can contain no special characters or spaces (to be corrected in upcoming firmware release). There is a 6MB limit reserved for total of all audio clips, and up to 5 files can be uploaded.
API Script
Upon completion of file uploads, the files are recognized in the SUNAPI API as Index numbers (1-5) in the top-to-bottom order they appear in the list. The API script format is in HTTP/HTTPS format and as follows:
In the script, replace <IP ADDRESS> with the address of the Audio Beacon. The Index number is the number (1-5) of the file to be played.
To test this command, copy/paste into a web browser.
Using the API Command in WAVE
To create an HTTP(S) command in WAVE:
Log in to WAVE.
Select the device from the menu.
Navigate to System Administration > Event Rules > Add new rule.
In the example, a soft trigger is created on a camera:
When: Soft Trigger At: Select the camera Name: Name the Event Icon: Select icon to be displayed on the camera Action: Do HTTP(S) request Interval: Select interval of time event is not to repeat HTTP(S) URL: Paste the script Login/PW: Credentials of the Audio Beacon
Click Apply.
Open the camera and engage the soft trigger to test.
This site uses cookies, which may be used to understand information that is relevant to you and to provide optimized marketing content.
Non-essential cookies are used only if you choose to accept them. You can change your choice at any time on the Cookie Policy page.
Customize Consent Preferences
This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website.
We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Third-party services used on this site include Google Analytics (GA4), Google Tag Manager (GTM), YouTube, and Vimeo.
Always Active
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie
Duration
Description
cookie_consent
1 year
Stores the visitor's cookie consent preferences for this website. It does not store any personal data.
cookie_consent_answered
1 year
Records whether the visitor has already responded to the cookie consent request, so the dialog is not shown on every visit.
access_token
Session
Authentication cookie that keeps the visitor signed in while using member-only features such as restricted downloads.
NEXT_LOCALE
1 year
Stores the region and language the visitor selected, so the correct regional content is served.
Functional cookies help to perform certain functionalities like storing YouTube and Vimeo video player preferences and other third-party features.
Cookie
Duration
Description
yt-remote-device-id
Never Expires
YouTube sets this cookie to store the visitor's video preferences using embedded YouTube videos.
yt-remote-connected-devices
Never Expires
YouTube sets this cookie to store the visitor's video preferences using embedded YouTube videos.
yt-remote-session-app
Session
YouTube sets this cookie to store preferences and information about the interface of the embedded video player.
player
1 year
Vimeo sets this cookie to store the visitor's video player preferences, such as volume and playback quality, for embedded videos.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Cookie
Duration
Description
_ga
2 years
Google Analytics sets this cookie to calculate visitor, session and campaign data and to keep track of site usage.
_ga_*
2 years
Google Analytics sets this cookie to store and count page views.
_gid
1 day
Google Analytics sets this cookie to store information on how visitors use the website, in an anonymous form.
_gat
1 minute
Google Analytics sets this cookie to limit the rate of requests it sends.
Advertisement cookies may be set by YouTube or Vimeo when interacting with embedded videos. Our site uses YouTube's privacy-enhanced mode, which limits cookie usage until the user actively plays a video. Vimeo videos are loaded only after you give consent.
Cookie
Duration
Description
YSC
Session
YouTube sets this cookie to track views of embedded videos. It is set only after the visitor plays a video.
VISITOR_INFO1_LIVE
6 months
YouTube sets this cookie to measure bandwidth and decide whether to serve the new or old player interface.
vuid
2 years
Vimeo sets this cookie to collect tracking information by setting a unique ID to embed videos on the website.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website, which helps deliver a better user experience for visitors.