Sendmulticastrequest, Playusersound, User sound playing – 2N Helios IP Automation Manual v2.7 User Manual

Page 23: Action.sendmulticastrequest, Action.playusersound, Parameters, Example

Advertising
background image

23

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

®

Action.SendMulticastRequest

The

block defines the action necessary for user command

SendMulticastRequest

sending to multiple devices. The sent command can be processed by the
MulticastTrigger block. The command is a message sent by UDP to a multicast address
(235.255.255.250:4433) and can thus be received by multiple devices at the same
time. The message includes the command ID (Command parameter) and additional
optional parameters (Params parameters). The message can be password-secured
(Password parameter).

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

Advertising