beautypg.com

Playusersound, Action.playusersound, Parameters – 2N Helios IP Automation Manual v2.8 User Manual

Page 23: Example

background image

23

2N TELEKOMUNIKACE a.s., www.2n.cz

®

Parameters

Event – define the event to execute this action.
Condition – define the condition to be met for the action to be executed. This
parameter is optional.
Command – define the command identifier to distinguish the command types.
The MulticastTrigger block responds to the SendMulticastRequest action only if
the command identifier is the same. Any text containing the A–Z, a–z and 0–9
characters can be used for identification.
Params – define one or more (comma-separated) command parameters to be
included in the UDP message. Keep the “parameter_name=parameter_value”
format.

Example:

Params=“Address=192.168.1.1”, “Port=10000”

The so-sent parameters will be available in the HttpTrigger event responding
to this command as the Address and Port variables and can be used in
HttpTrigger-tied actions, for example.

Password

efine the password to secure the command against unauthorised

– d

access. The parameter is optional. If no password is completed, the command is
not secured. Use any text containing the A–Z, a–z and 0–9 characters.

Example

Send the opendoor command to all devices with the properly set Event.MulticastTrigger
block in the network if the event defined on row 2 arises:

Action.SendMulticastRequest: Command=opendoor; Event=2

Action.PlayUserSound

The

block defines the user sound playing action.

PlayUserSound

Parameters

Event

efine the event to launch this action.

– d

Condition

efine the condition to be met for the action to be executed. This

– d

parameter is optional.
Sound

elect the user sound number (1 – 10).

– s

Destination – define the user sound playing destination.

Valid values:

Speaker – the sound is played on the intercom.
Call – the sound is played into the call.

The parameter is optional, the default value is

.

Speaker