Play or loop a selected tone
Play a selected tone uploaded to the device once or on a loop.
Applicable Products: All speakers, paging adapters, 8028(G2), 8201, 8203, 8039
Minimum Firmware Version: 5.4
URI
POST /api/controls/tone/start
Parameters
Element | Description | Type | Required | Notes |
|---|---|---|---|---|
duration | How long the audio plays (in seconds). | Integer | Optional | This parameter is available only on firmware version 5.7 and later. |
path | The file name of the tone to be played | string | Required | Default valid values:
Note: The file name of any file stored under the System → File Manager → tones folder is a valid value. |
interval | When audio file looping is enabled ( | Integer | Optional | |
loop | Set the tone file to loop | boolean | Required | Valid values:
|
mcast | Configure the device to multicast transmit and play a tone or loop a tone on a receiving device. | boolean | Optional | Valid values:
Multicast must be on to use. If multicast is turned on via Note: For firmware version 5.5 and earlier, this parameter is available only on 8301 devices. |
playback | Whether the receiving endpoint plays the multicast message | string | Optional | Valid values:
Note: For firmware version 5.5 and earlier, this parameter is available only on 8301 devices. |
state | The multicast parameters. | string | Optional | Note: For firmware version 5.5 and earlier, this parameter is available only on 8301 devices. |
mode | The multicast mode of the device | string | Optional | Valid values:
|
address | The IP address of the multicast zone. | string | Optional | |
port | The port of the multicast zone. | string | Optional | |
type | The multicast transfer type. | string | Optional | Valid values:
|
group | The Poly group being used. | integer | Optional | Valid values: numbers 1 through 25. Applicable only when “type” is set as “poly”. |
Sample Request: Play an audio file for 10 seconds, and multicast it to a Poly Group
POST https://10.12.123.12/api/controls/tone/start
{
"duration": 10,
"path": "chime.wav",
"loop": true,
"mcast": true,
"playback": false,
"state": {
"mode": "sender",
"address": "101.102.123.12",
"port": "5000",
"type": "poly",
"group": 1
}
}Sample Response
None. The observable outcome is whether the device performs the requested action or not.
Start a strobe light
Turn on a strobe light.
Applicable Products: 8128(G2), 8138, 8190S, 8410, 8420
Minimum Firmware Version: 3.3
URI
POST /api/controls/strobe/start
Parameters
Element | Description | Type | Required | Notes |
|---|---|---|---|---|
duration | How long the strobe light is on (in seconds). | Integer | Optional | This parameter is available only on firmware v5.7 and later. |
pattern | The number of the pattern set. | Integer | Required | Valid values: See Algo Strobe Light Pattern Reference Guide |
color1 | The color to set the strobe | String | Required | Valid values:
|
color2 | The second color for the strobe to use if the pattern uses two colors. | String | Optional | Only applicable to 8138/8410/8420. Valid values:
|
ledlvl | The brightness of the strobe light. | String | Required | For 8190S:
For 8128(G2)/8138/8410/8420:
|
Related Links
Sample Request
POST https://10.12.123.12/api/controls/strobe/start
{
"duration": 10,
"pattern": 1,
"color1": "red",
"color2": "blue",
"ledlvl": 100
}Sample Response
None. The observable outcome is whether the device performs the requested action or not.
Display a single image on the device screen
Display one static image on the device screen.
Applicable Products: 8410, 8420
Minimum Firmware Version: 5.3.4
URI
POST /api/controls/screen/start
Parameter
Element | Description | Type | Required | Notes |
|---|---|---|---|---|
stopAfter | How long the image stays (in seconds). | Integer | Optional | This parameter is available only on firmware v5.7 and later. |
type | The type of background to display | String | Required | Set as “image” |
image1 | The file name of the image | String | Required |
Sample Request
POST https://10.12.123.12/api/controls/screen/start
{
"stopAfter": 10,
"type": "image",
"image1": "school.jpeg"
}Sample Response
None. The observable outcome is whether the device performs the requested action or not.
Display scrolling text over an image on the device screen
Display scrolling text on top of a static image on the device screen.
Applicable Products: 8410, 8420
Minimum Firmware Version: 5.3.4
URI
POST /api/controls/screen/start
Parameter
Element | Description | Type | Required | Notes |
|---|---|---|---|---|
stopAfter | How long the scrolling text stays (in seconds). | Integer | Optional | This parameter is available only on firmware v5.7 and later. |
type | The type of background to display. | String | Required | Set as “image” |
image1 | The file name of the image. | String | Required | |
text1 | The text to be displayed on the device. | String | Required | |
textColor | The color of the text. | String | Optional | Valid values:
For example, use either of the following to set the text color as black: For more information, see HTML Color Names. Default= “black” |
textFont | The font of the text. | String | Optional | Valid values include:
Default= “inter” |
textPosition | Where the text should be displayed on the screen. | String | Optional | Valid values include:
Default= “bottom” |
textScroll | Turn text scroll on or off. | String | Optional | Valid values include:
Default=”true” |
textScrollSpeed | The speed at which the text scrolls. | String | Optional | Valid values include (in increasing speed):
Default= “1” |
textSize | The size of the text. | String | Optional | Valid string values include:
Valid integer values: 50 - 300 Default=”large” (in v5.6 and earlier) |
Sample Request
POST https://10.12.123.12/api/controls/screen/start
{
"type": "image",
"image1": "school.jpeg",
"text1": "Class is in session",
"textColor": "forestgreen",
"textFont": "inter",
"textPosition": "middle",
"textScroll": true,
"textScrollSpeed": "3",
"textSize": "medium"
}
Sample Response
None. The observable outcome is whether the device performs the requested action or not.
Display a clock on the device screen
Display a digital or analog clock on the device screen.
Applicable Products: 8410, 8420
Minimum Firmware Version: 5.3.4
URI
POST /api/controls/screen/start
Parameter
Element | Description | Type | Required | Notes |
|---|---|---|---|---|
stopAfter | How long the clock stays (in seconds). | Integer | Optional | This parameter is available only on firmware v5.7 and later. |
type | The type of clock to display | String | Required | Valid values:
|
clockFormat | Display the time in a 12h or 24h format. | String | Optional | Use if type=digitalClock Valid values:
Default= “24h” |
clockSeconds | clockSeconds | Boolean | Optional | Use if type=digitalClock Default= “false” |
clockSecondsAnalog | Enable or disable displaying clock seconds | Boolean | Optional | Use if type= analogClock Default= “true” |
clockBgColor | The background color of the clock | String | Optional | Use if type=digitalClock Valid values:
|
clockFgColor | The foreground color of the clock | String | Optional | Use if type=digitalClock Valid values:
Default= “white” |
analogBgColor | The background color of the clock | String | Optional | Use if type=analogClock Valid values:
|
analogFgColor | The foreground color of the clock | String | Optional | Use if type=analogClock Valid values:
Default= “black” |
analogSecondsColor | The color of the seconds hand on the analog clock | String | Optional | Use if type=analogClock Valid values:
|
clockFont | The font of the clock text | String | Optional | Use if type=digitalClock Valid values include:
Default= “inter” |
clockBgImage | The file name of the background image to use behind the clock if needed. | String | Optional |
Sample Request for Digital Clock
POST https://10.12.123.12/api/controls/screen/start
{
"type": "digitalClock",
"clockFormat": "12h",
"clockSeconds": "1",
"clockBgColor": "navy",
"clockFgColor": "beige",
"clockFont": "inter",
"clockBgImage": "school-entrance.jpeg"
}
Sample Request for Analog Clock
POST https://10.12.123.12/api/controls/screen/start
{
"type": "analogClock”
}
Sample Response
None. The observable outcome is whether the device performs the requested action or not.
Display flashing images on the device screen
Display multiple images one after another on the device screen.
Applicable Products: 8410, 8420
Minimum Firmware Version: 5.3.4
URI
POST /api/controls/screen/start
Parameter
Element | Description | Type | Required | Notes |
|---|---|---|---|---|
stopAfter | How long the flashing image stays (in seconds). | Integer | Optional | This parameter is available only on firmware v5.7 and later. |
type | The type of background to display | String | Required | Set as “blitz” |
image1 | The image file name to use | String | Required | |
image2 | The image file name to use | String | Required |
Sample Request
POST https://10.12.123.12/api/controls/screen/start
{
"type": "blitz",
"image1": "school_entrance.jpeg",
"image2": "school_logo.jpeg"
}
Sample Response
None. The observable outcome is whether the device performs the requested action or not.
Display a slideshow on the device screen using slide names
Select pre-configured slides to display on the screen by specifying the slide names.
Applicable Products: 8410, 8420
Minimum Firmware Version: 5.3.4
URI
POST /api/controls/screen/start
Parameter
Element | Description | Type | Required | Notes |
|---|---|---|---|---|
stopAfter | How long the slideshow stays (in seconds). | Integer | Optional | This parameter is available only on firmware v5.7 and later. |
duration | Duration of each slide in seconds | Integer | Required | |
slideNames | The file names of the slides to display in the slideshow | Comma-separated values as a string | Required | Format is: “slide1, slide2, slide3, …” |
overrideStrobe | Use specified strobe parameters for the slideshow instead of the strobe parameters of each individual slide. | Boolean | Required | Valid values include:
|
Sample Request
POST https://10.12.123.12/api/controls/screen/start
{
"duration": 10,
"slideNames": "slide1, slide2, slide3",
"overrideStrobe": true
}
Sample Response
None. The observable outcome is whether the device performs the requested action or not.
.png)