Notifications Tab
Setup
Requirements:
ISY Portal Account Required
eisy
The Notification Plugin (Node server) uses existing email/notification framework available in ISY Admin Console and UD Mobile. After Notification Plugin setup, Notifications can be sent from programs similar to sending an email. However the Notification Plugin is found under "Action > My Devices" not "Action > Notify".
Known Node Servers which support notifications to UD Mobile:
- Notification Node Server
ISY994
Plugins not supported on ISY994. Must use Network Resource Method. Note that Network Resource Variable Evaluation occurs on a seperate thread and is evaluate when run. So if the Network Resource is triggered by a program and the Variable changes before evaluation the new value may be in the substitution. This is not the case when using the Notification Plugin (Node Servers) which uses the Notification Customizations.
Node Server Developers
Notifications can be sent via Network Resources or from Plugins (Node Servers). Plugin developers who wish to integrate notifications to UD Mobile can open a ticket to request the full UD Mobile Notification API.
PG3 Node Server Setup
Check out our example videos for simple setup.
Setup: https://youtu.be/KSmx-XIquAw
Upgrade Trial of the Notification Plugin: https://youtu.be/KSmx-XIquAw?t=281
Sending to a specific Group or Device: https://youtu.be/z4pquLcI2Es
Creating your own notification content: https://youtu.be/KSmx-XIquAw?t=165
Written Steps:
For simplicity please create this example using a light switch. This way you can follow the example as outlined.
In UD Mobile find a light switch on the Home Tab (Not the Automations TAB), Select the Menu on the top right of the switch's Tile, Select Notifications (scroll down if needed).
The list should be empty, this list is of PROGRAMS with Notifications containing this switch.
Press the Add button, wait for the Created message, there should now be a notification in the list. DO NOT Attempt to edit the notification as this is our point of truth. Write down the name of this notification for reference in the next step. Back out to the Home Tab and toggle the switch. Do you receive a notification? If you do, then the Notification Plugin is working correctly, any issues from this point are user errors.
Go to the Admin Console > Programs and find the program created by UD Mobile (the name you wrote down). Click Run Then which should send a notification but the variables are missing as a device did not trigger the notification so the variables are not set.
Now copy the program, then disable the original so it is not automatically triggered. Save Changes (bottom left) or your copy is not loaded. Run Then on the Copy, you should receive the same notification with missing variables.
From here on we are only working with the copy, do not change or modify the original. This way if you have issues you can always trigger the original to verify the Notification Plugin is working correctly.
Do not worry about modifying triggers (IF Section) yet, lets focus on the THEN Section and Notification Content Modification.
Select the "Set notification Controller /UD Mobile ...." Line on the Top half of the screen (THEN Section).
On the bottom Half you will see the Notification Details. The only thing you will change is the Content parameter which should currently be "UD Mobile Event Template". When you select this dropdown you will see the Notification/Customizations. For testing select any other Customization (if UD Mobile Event Template is the only option see Notification/Customizations below to create a new Customization). Press Update on the bottom half of the screen to update the top half with the new value. Save Changes on bottom left. Not trigger run then and the new content will be shown in as the Notification in UD Mobile.
If you get to this point, things should be more clear, and you can start modifying the IF Section. Note that STATUS is evaluated when status changes, CONTROL is only evaluated when there is physical control of a device (i.e. touching a switch). BE SURE to SAVE CHANGES before testing anything!
Notification/Customizations
In Admin Console > Configuration > Emails/Notifications > Customizations. Select Add to create a new Customization, be sure to click SAVE at the bottom or the Customization will not be available in programs.
More Information:
A user on our Forum has written a guide from the user's perspective which may answer other questions regarding setup. https://forum.universal-devices.com/topic/42748-notifications-for-dummies/?do=findComment&comment=378524 or https://forum.universal-devices.com/topic/43956-using-push-notifications-triggered-from-change-of-state-of-variable-or-execution-of-programs-then/
Requirements: Polisy or eisy hardware with PG3x.
Notification Plugin Installation
Please refer to our setup video for automatic Plugin installation demonstration. UD Mobile may prompt for System Upgrade, PG3 upgrade, and/or Node Server Upgrade. Please see instructions below for assistance with any upgrade issues. Please direct all other questions to our User Forum or open a ticket.
Notification Delete
Delete a sing notification by swiping the notification from the Notifications Tab. Mac OS requires 2 finger Swipe.
Delete all notifications from the Notifications Tab menu at the top of the screen
Notification Acknowledge
Acknowledge a notification by clicking the notification on the Notifications Tab
View Notification Programs Linked to a Device
Go to the Device's Dashboard which is accessible after clicking the Devices Name on the Home Tab. From the Device's Dashboard click Settings (gear icon) > Notifications. This will launch the Plugin verification screen and if all is functional user will then be directed to a Notification Programs List screen. The Notification Plugin List screen shows all notifications for the Device from the Device's Dashboard.
Simple Notification Setup
Go to the Device's Dashboard which is accessible after clicking the Devices Name on the Home Tab. From the Device's Dashboard click Settings (gear icon) > Notifications. This will launch the Plugin verification screen and if all is functional user will then be directed to a Notification Programs List screen. The Notification Plugin List screen shows all notifications for the Device from the Device's Dashboard. Add a new notification by clicking the Add button at the top right of the screen. Edit Notification Programs by clicking the program in the list.
View All Notification Programs
Go to the UD Mobile Home Tab. If you have more than one system click the system. Click "My Notifications". This will launch the Plugin verification screen and if all is functional user will then be directed to a Notification Programs List screen.
Notification Templates
Notification Templates (Notification Customizations) are shared between programs. UD Mobile creates a generic Template with variable substitution. If users would like customized notifications it is recommended they create a new Template.
Groups
UD Mobile Notification Groups are used to send notifications to a single device or group of devices. Groups can be created or edited from UD Mobile > Notification Tab > Menu (3 dots at top right) > Mobile Devices/Groups > Then in the Groups Section click "Add". NOTE: eisy restart is required after group creation to populate new groups into the Notification Plugin. If using Admin Console restart required (close window). If using UD Mobile synchronization required after eisy is restarted.
-
Single Mobile Device: A group can be used to send messages to a single mobile device by adding a single mobile device in the group. This will assist when replacing your mobile device as you simply need to add the new mobile device to the group then delete/remove the old device from the group.
-
Multiple Mobile Devices: A group can be used to send messages to multiple mobile devices instead of all mobile devices.
-
Default Groups: System Notifications, UD Communications, Plugin Notifications (PG3). Users cannot send messages to these groups but can enable/disable notifications from these groups.
Variable Substitution
System variables can be substituted in Notification Templates (Notification Customizations).
Substitution variables can be found here. See the Notification Template created by UD Mobile for and example (see setup video).
Sounds
Note: Sounds are available in iOS version greater than 0.8.0 and Android version greater than 0.154.
- default (system default)
- clock_radio_alarm.wav
- sms_notification.wav
- dog_bark.wav
- small_resonant_alarm.wav
- software_start_positive.wav
- ui_notification_13.wav
- alarm_burglar.wav
- rooster_crowing.wav
- hawk.wav
Custom Notification Sounds
Android
UD Mobile exposes each of the sounds listed above as a Notification Type. Most Android devices allow users to map their own sounds to an app's Notification Type.
To map your own sounds, first send a notification to UD Mobile. Upon receipt of the notification long click the notification displayed by Android, this will show Android Notification Settings. Press settings (gear icon). Then click on any of the notification types (sound names), then click Sounds, now select a sound from your device.
iOS
iOS does not allow custom sound mapping. Sounds are limited to the sounds listed above.
iOS does appear to have a feature which may allow UD Mobile to play custom sounds. Investigation of this feature is on our to-do list https://github.com/UniversalDevicesInc/UD-Mobile-iOS/issues/94
Controller/Portal Notifications
Portal Notifications
A offline message is sent by ISY portal if the controller is disconnected for more than a few of minutes. An online message is sent when the controller reconnects. Requires UD-Mobile>Notifications-Tab>Menu>Mobile-Devices/Groups>Groups-Section>System-Notifications are enabled for the Mobile Device.

Controller Notifications
PG3 (Plugin Software) will send a notification when it starts (i.e. after reboot). Requires UD-Mobile>Notifications-Tab>Menu>Mobile-Devices/Groups>Groups-Section>Plugin-Notifications are enabled for the Mobile Device.

Software Upgrade
This notification is also sent by PG3 (Plugin Software). Requires UD-Mobile>Notifications-Tab>Menu>Mobile-Devices/Groups>Groups-Section>Plugin-Notifications are enabled for the Mobile Device.
Notification Plugin Troubleshooting
Create a Notification Program
From UD Mobile's Home tab locate a switch (use as switch for testing as it is the easiest to debug). Select the Node's Tile menu, select Notifications.
NOTE: If the Notification Plugin is not installed UD Mobile will install and configure the plugin, please follow prompts, Reboot may be required. After reboot return to these instructions.

UD Mobile will then show a list of Programs containing this device and the Notification Plugin.
If there are no items in the list select the add button at the top and a program will be created automatically. Save the program if prompted, but DO NOT MAKE ANY CHANGES UNTIL AFTER YOU VERIFY EVERYTHING IS WORKING.
A program should now exist. The program name will be "Notification " + Device Name + number. Number may only be present if a program with a similar name exists.

This is how the same program looks in the Admin Console. Note that the Notification Plugin is under My Devices, not Notify. You can manually trigger the Notification by selecting "Run Then" from the Programs Popup Menu. Note that notification variables will not be populated when manually triggering "Run Then" as the If section did not run so variable values do not exist.

Verify Notifications can be received
NOTE: This screen is missing in Android Version 1.2.22 will be fixed in 1.2.23
To verify ISY Portal can communicate with your mobile device with notifications go to UD Mobile > Menu (3 dots on top) > Mobile Devices/Groups. Select your device from the list of Devices.
Verify the Device is Enabled (Switch is on)
Click Send Test Notification under the Device Section. Your device should receive a notification.

Verify Notification Program Exists
Go to the Automations Tab in UD Mobile, the Select Notifications. Verify your program is shown in the list. This list shows all programs which use the Notification Plugin. The program created at the top of the Troubleshooting section should exist here.

Verify Notification Plugin is up to date
Open the PG3 dashboard. If using IoX Finder/Launcher, right click the controller's IP Address and Select PG3

If your browser shows a security error change https to http then press enter

Login using your local credentials if prompted. Defaults are "admin" for both username and password.
Go to the Dashboard Tab then Select "Details" button in the Notification Tile

If there is a new version notice select update, if there is not notice then the plugin is up to date. Select Update if the notice is shown.

From the Available purchase/install options select Update. Note that in the image below the "Standard" version with a "Perpetual" license is installed in Slot 5. To update the plugin to the same version select update. If you have not purchased the Standard version you can update any other version.

Select update now or Reinstall Here.

The plugin will now update and restart. Wait a few minutes then go back to the Dashboard Tab. Note as of writing this document the web page will not update to show the plugin was updated until after returning to the Dashboard Tab.
Download Notification Plugin Logs
Go to the Dashboard Tab then Select "Details" button in the Notification Tile

Select Log, then Download Log Package

Chrome may ask you if you want to keep the file, select yes. The zipped log file should now be in your downloads folder.

Notification Plugin Errors
API Key Mismatch

An API Key mismatch can happen in two scenarios, this may not be an error for users with multiple Portal Accounts.
- API Key Reset
- Multiple Portal Accounts
API Key Reset
The user reset the Notification API Key after configuring the Notification Plugin causing an API Key mismatch. If the user reset the Notification API Key then the Notification Plugin (Node Server) needs to be updated with the new API Key. If the Portal Account linked to eisy in UD Mobile is the user's only Portal Account then follow instructions below to update the Notification Plugin with the users new API Key. If user has multiple Portal accounts then check Multiple Accounts below. If the user is unsure if the API Key was reset then check the created date when viewing the API Key (below).
API Key can be viewed, copied, or reset from UD Mobile > Notification Tab (bottom) > Menu (top)> API Key, then select copy next to API Key.

After the API key is copied go UD Mobile Automations Tab > Notifications> this should cause the API Key Mismatch error message. Click "Yes" when asked "Would you like to view Plugin Settings?".
Scroll Down to Configuration Parameters then click the "portal_api_key" parameter.

Paste the API Key copied from Notification Settings, then press save.

The Node Server should now work with your new API Key. In some cases will need to be restarted. Scroll to the bottom of the screen for restart if needed
Multiple Portal Accounts
If the user has multiple Portal Accounts then they may be logged into UD Mobile with an account which is not linked to the Notification Plugin, so the API Key is different. User can install multiple Notification Plugins if there is a need to send notifications to multiple Portal Accounts.
Updating System Firmware
If updating system Firmware from UD Mobile please wait 30 minutes after upgrade is started then Reboot and wait 5 minutes for system to be fully functional. The system may come back online before 30 minutes in UD Mobile but this does not signify that the update is complete.
Notes:
PG3 Web UI may need catch cleared. Chrome > Settings (3 dots) > Settings > Privacy and security > Clear browsing data > Clear data. If there are still issues please try a hard power cycle by removing power, waiting a few seconds, then connecting power, and wait 5 minutes for system to be fully functional.
PG3 to PG3x Migration
see: https://wiki.universal-devices.com/index.php?title=Polisy:User_Guide#Upgrading_to_PG3x
After following the instructions above please wait 30 minutes, then reboot, then wait 5 minutes for system to be fully functional.
Notes:
PG3 Web UI may need catch cleared. Chrome > Settings (3 dots) > Settings > Privacy and security > Clear browsing data > Clear data. If there are still issues please try a hard power cycle by removing power, waiting a few seconds, then connecting power, and wait 5 minutes for system to be fully functional.
PG3x Remote Provisioning
PG3x (Plugin Software) requires remote provisioning the first time it establishes a remote connection. The System must already be linked to a Portal Account.
If there is a provisioning error please wait 5 minutes, as the System may installing updates. After 5 minutes reboot and allow 5 minutes for system to be fully functional.
Network Resources Setup
Network Resource Method is deprecated and should only be used by ISY994.
Basic Setup
Note: Network Resource creation is currently not available in UD Mobile, so the Admin Console must be used.
Video: See our setup video on YouTube https://www.youtube.com/watch?v=9w-_8AZy4iQ
1) Click the bottom Notifications Tab in UD Mobile.
2) Click the settings (gear icon) at the top of the Notifications Tab main screen. If there is more than one ISY Portal account available (unlikely for most users) a prompt is displayed to select an ISY Portal Account. The screenshot below shows notification settings.

3) Use the COPY button to copy your API key. Then send a copy of the key to your PC (i.e. email to yourself).
4) Now open the Admin Console and go to the Network Resources Tab (Click Configuration-Tab -> Networking-Tab -> Network-Resources-Tab)
5) Follow instructions #6, #7 and #8 for automatic import of example resources. Skip #6, #7 and #8 for manual setup.
6) Download the Network Resources Push examples zip file to your computer (https://github.com/UniversalDevicesInc/UD-Mobile-iOS/raw/main/ISY-NetRules-Push-Notification-Examples.zip), DO NOT UNZIP. Click the Import button at the bottom of the Network Resources Window, then select the downloaded file.
7) Click on the URL column for the first example resource, then click the row "x-api-key: ADD_YOUR_API_KEY_HERE" in the Details > Header section, then the "Edit" button at the bottom of the Headers section. Delete "ADD_YOUR_API_KEY_HERE in the Value section then paste your API Key (from #3) in the Value section, then click the OK Button. Click the Save button at the bottom of the Resource Editor Window. Click the Save button at the Bottom of the Network Resources Tab. Replace ADD_YOUR_API_KEY_HERE for the other examples following the same process. Finally click the name of one of the Example Resources and then press the "Test" button at the bottom.
8) Now that the test notifications are working you can copy the example by clicking the the Example Resource Name, then click the copy button at the bottom. Click the copied resource URL column then in the Body Section replace "My Test Title" with your desired notification title and "My Test Body" with your desired notification Body.
Notes: The save button on BOTH the Resource Editor and at the bottom of the list of network resources must be pressed before testing. The "&" and "=" characters can not be used when replacing "My Test Title" or "My Test Body".
This is the end of instructions for automatic import. If you would like a more detailed explanation of using Network Resources with UD Mobile push notifications see manual instructions (#9).
9) From the Admin Console Click Configuration-Tab -> Networking-Tab -> Network-Resources-Tab. Then Add a new Network Resource.
- Protocol: https | POST | Host = my.isy.io | Port = 443 | Path = /api/push/notification/send | Mode = Raw Text- Header: Add x-api-key with the value as your API Key copied from UD Mobile. This is a manual entry not available from the dropdown menu.

*Body: title=message_title&body=message_body where message_title and message_body are replaced by your desired title and body values.
- Click update then save, then save all network resources. Finally press TEST to send the notification.
The network resource should look similar to the image below, with required replacements. NOTE: TIMEOUT IS TOO LOW IN THE SCREENSHOT. PLEASE USE AT LEAST 5000 TO PREVENT ERRORS.

Group Setup
UD Mobile Notification Groups are used to send notifications to a single device or group of devices. To send to a single device only enable the the device which should receive the notification in the group. A group is used for single devices to make device replacement easier. When replacing your mobile device enable the new device in the group, there is no need to edit network resources.
-
Follow instructions above to create a notification.
-
From the Notification-Settings in UD Mobile click ADD next to groups and create a new group. After saving the group the Group ID will be shown.
-
Add devices to the group from the Device or Group screen. From the Device Screen click any device in the Devices section then enable the group in the Group Membership section. From the Group screen click the group then enabled devices.
-
Write down the Group Id from UD Mobile. The group ID is under the group name in UD Mobile when clicking a group from the list. The group name and id may be the same.
]
- In the Admin Console add "&groupid=group_name" to the body of the network resource, where group_name is replaced with the group ID.

- Save the network resource, then save all network resources, then test.
Sound Setup
Add the sound parameter to the body with the sound file name. i.e title=Test Title&Body=Test Body&sound=sms_notification.wav
See sounds for sounds included in UD Mobile.
Variable Substitution
System variables can be substituted in Network resources and Email/Notification framework. Network resource variable evaluation is on a seperate thread and is evaluated when run. So if the resource is triggered by a program and the variable changes before evaluation the new value will be shown. This is not the case when using the Node Servers which support notification framework.
Substitution variables can be found here. The following is an example of the Network Resource body with variable replacement.
title=Test Title&body=Test Body ${sys.time}
Notes
If your API key is compromised, the RESET button will invalidate the current API key and return a new key. The Devices section will list all mobile devices linked to the Portal Account. Clicking on a Device will allow users to enable/disable/delete the mobile device, enable/disable device membership in groups, and send test notifications. Clicking on a group will allow group deletion. The instructions above will send notifications to all Active devices.
The "UD Notifications" group can not be deleted from UD Mobile and is intended for sending notifications from UD, such as notifying the user when their ISY is no longer communicating with ISY Portal. UD Notifications have not been implemented as of 06/10/22.
When a Device is deleted from ISY Portal and has an active UD Mobile installation the device will be re-added automatically. This feature is intended to delete old devices, to exclude a device from receiving notifications please click the device in Notification Settings then disable.
The UD Mobile Notification-Tab must be clicked once before the device is available to ISY Portal, so please instruct all family members to click this tab after updating to a version supporting this feature.