« Back to Product

Documentation

VISU_PostNotificationEx

Require: IP-Symcon >= 7.0

 variant VISU_PostNotificationEx (int $InstanceID, string $Title, string $Text, string $Icon, string $Sound, int $TargetID) 

Parameters

InstanceID

ID of the tile visualization

Title

Title of the message (maximum 32 characters). Can also be empty.

Text

message text (up to 256 characters).

Icon

If not empty, then the icon is displayed. See Icons

Sound

Sound played when receiving the message. (alarm
bell, boom, buzzer, connected, dark, digital, drums, duck, full, happy, horn, inception, kazoo, roll, siren, space, trickling, turn)

TargetID

The ID of the object that will be opened when tapping the message

Returns

If the command could be executed successfully, it returns the ID of the notification as the result, otherwise FALSE.

Description

Sends a push message with Title, Text, Icon, Sound to all devices assigned to the visualization with the ID InstanceID.

Warning

The TargetID object must be available within the specified tile visualization!

Warning

If messages should be sent to further groups (special case: also single devices), another page frame visualization must be created per group

Warning

Please note that push notifications are forwarded encrypted via the IP-Symcon server to Apple/Google, and this implies a certain delay time. If there are too many messages in a row, Apple/Google's services will automatically delay the deliveries, which IP-Symcon cannot influence

Warning

The use of this feature requires, as already described in the description of the visualization, a valid subscription. You can renew this at any time via our Shop. In addition, the device must be registered in IP-Symcon. You can find more information about this under the item Notification Control

Example

VISU_PostNotification(12345, 'Front Door', 'Movement detected', 'Alert', 'alarm', 54321);
Any questions?