Jump to content
View in the app

A better way to browse. Learn more.

Universal Devices Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Notifications release for iOS

Featured Replies

Posted

@Javi ,
 
This is wonderful. Could a special destination for regular notifications (like is done to write to a log file on ISY web server) be assigned for UD Mobile? That would enable same notification to be sent through multiple channels at same time.
 
Thanks,
 
Paul

1 hour ago, hart2hart said:

@Javi ,
 
This is wonderful. Could a special destination for regular notifications (like is done to write to a log file on ISY web server) be assigned for UD Mobile? That would enable same notification to be sent through multiple channels at same time.
 
Thanks,
 
Paul

Not sure I understand this request, can you give an example.

The API is open and can be incorporated into an existing/new Node Server (i.e. Notification Node Server).  IoP supports sending existing Admin Console notifications (i.e. email notification) to node servers. This feature will allow notifications to be sent via ISY Programs. The same notification can be sent to other channels (i.e  email).

@Javi,

I added a network resource for UD Mobile notifications and was able to get a test notification on my iPhone, but there is no sound with the notification.  My notification settings for UD Mobile show Sound is on.  Not sure what I'm missing.

Notifications are a welcome addition.  Thanks to you and the team!

  • Author
Not sure I understand this request, can you give an example.
The API is open and can be incorporated into an existing/new Node Server (i.e. Notification Node Server).  IoP supports sending existing Admin Console notifications (i.e. email notification) to node servers. This feature will allow notifications to be sent via ISY Programs. The same notification can be sent to other channels (i.e  email).

Using standard notification with customizations setup with the destination being UD Mobile. Eg The To: would be UD_Notifications.

I’m guessing this would require IoP firmware update.

Hi @mbking,  Appears to be a bug, will look into this later this week. 

18 hours ago, hart2hart said:


Using standard notification with customizations setup with the destination being UD Mobile. Eg The To: would be UD_Notifications.

I’m guessing this would require IoP firmware update.

Hi @hart2hart,

When implemented in a Node Server it will use the "Emails/Notifications -> Customizations", so these can be shared between email and push notifications.

The destination ("Emails/Notifications -> Settings/Groups") is specific to Email Settings so would require firmware change.  We are moving away from modules included in firmware to modules as PG3 Node Servers. Email in firmware causes issues as it requires a firmware update when the CERT expires, so I would not be surprised if this module moved to PG3 for Polisy to allow CERT updates without firmware update requirement.   With that said, I can foresee a Node Server which combines Email/Push/Text as a group.

  • Author

Hi @hart2hart,
When implemented in a Node Server it will use the "Emails/Notifications -> Customizations", so these can be shared between email and push notifications.
The destination ("Emails/Notifications -> Settings/Groups") is specific to Email Settings so would require firmware change.  We are moving away from modules included in firmware to modules as PG3 Node Servers. Email in firmware causes issues as it requires a firmware update when the CERT expires, so I would not be surprised if this module moved to PG3 for Polisy to allow CERT updates without firmware update requirement.   With that said, I can foresee a Node Server which combines Email/Push/Text as a group.


Thanks for explaining.
On 6/18/2022 at 4:40 PM, mbking said:

@Javi,

I added a network resource for UD Mobile notifications and was able to get a test notification on my iPhone, but there is no sound with the notification.  My notification settings for UD Mobile show Sound is on.  Not sure what I'm missing.

Notifications are a welcome addition.  Thanks to you and the team!

@Javi I am also having the silent push issue.  Was able to push a test from the Admin with Prowl and it made noise.  Checked my push settings & the sound slider is on.

Feature request as well:  with Prowl I can use a &priority=-2 to +2 which then has settings in the prowl app for an appropriate sound.  I use notifications extensively which this priority setting lets me have an alarm level notification for something big and a little ping for something like the perimeter is closing at the house.

Excited about the opportunity to drop Prowl after almost 10years and consolidate to UD !!!  Thanks so much for your work, this app really rocks!

6 minutes ago, sjenkins said:

@Javi I am also having the silent push issue.  Was able to push a test from the Admin with Prowl and it made noise.  Checked my push settings & the sound slider is on.

Feature request as well:  with Prowl I can use a &priority=-2 to +2 which then has settings in the prowl app for an appropriate sound.  I use notifications extensively which this priority setting lets me have an alarm level notification for something big and a little ping for something like the perimeter is closing at the house.

Excited about the opportunity to drop Prowl after almost 10years and consolidate to UD !!!  Thanks so much for your work, this app really rocks!

Thanks,  I think our server missing the sound parameter when sending to Firebase , will update as soon as the sound param is added.

With regards to sound, I'll see what we can do in the future.

Took me a bit to figure out what you all were talking about. I didn't realize recent update for iOS did this.

https://wiki.universal-devices.com/index.php?title=UD_Mobile#Notifications_Tab

I currently use Pushover with Notification Node server which works good, but to have something native UD would be preferable.

I just posted in the notification PG3 forum asking if they can add support.

On 6/22/2022 at 12:30 PM, brians said:

I just tried setting up a network resource and get error. Net Module Rule: 2:400

 

 

Does the test Network Resource look like the image below with x-api-key value replaced with your key?   I was able to replicate a 400 error by using Mode: URL-Encoded instead of Raw Text.

NOTE: The image below shows timeout at 500 this should be increased to 5000 to avoid failures.

1000px-NotificationNetworkResource.png

@Javi it works now... what I did is delete the body, saved, then entered a new body and saved and now it works. I checked it several times and nothing was wrong with it.

 

Edited by brians

1 hour ago, Javi said:

iOS Notification sounds should be working now. 

Confirmed.  They are working.

Appreciate it, @Javi!

I tried to follow the instructions to add notifications. When I go to the Notifications tab in the iOS UI. I get "ERROR Could not renew access token. Invalid refresh token. Please login." and an OK button. The app connects to my ISY and can see all the devices, etc. I don't know where it wants me to login.

Hi @Steve L,

This is usually caused on devices which are using the Local Connection settings and have not logged into ISY Portal in quite a while.  Please go to Settings-Tab > ISY Portal Accounts > Your Account, the app should prompt for login.

We will try to push to the login page in the future when this error is encountered.

Thanks, I found that.

Next problem - I configured a test notification as instructed (screenshot attached). When I click Test, I get: "TCP client request failed. [Net Module Rule 1:400]"

Interestingly, in the Actual box the = and & are URLencoded, which doesn't match what is shown in the instructions.

Screenshot 2022-06-26 115149.png

Just now, Steve L said:

Thanks, I found that.

Next problem - I configured a test notification as instructed (screenshot attached). When I click Test, I get: "TCP client request failed. [Net Module Rule 1:400]"

Interestingly, in the Actual box the = and & are URLencoded, which doesn't match what is shown in the instructions.

Screenshot 2022-06-26 115149.png

Use Mode "Raw", update, save , then save all network resources before testing.

Ah, missed that. Thanks. No notification received. Output box has:

HTTP/1.1 200 OK
X-Powered-By: Express
Access-Control-Allow-Origin: *
Vary: Origin
Cache-Control: no-cache
Content-Type:

It looks like it was sent, please check the notification tray.   There is a bug in the current version of UD Mobile, notification are not shown in app until refresh (click another tab, then return).

Also verify the device is working by clicking notification settings -> device name -> send test notification 

I got it working. Needed to various resets and saves, and mysteriously the device showed up. Notifications now come through. Thanks.

@Javi - is it possible to add the option to select all notifications on the app history log and delete them? Currently you have to swipe them out individually (two steps) or if you hit the trashcan then hit the minus then delete (three steps). Would love if you hit the trash can and a select all option came up or instead of each notification having the minus sign make a check box then trash all selected. 

Other side of that...is it even necessary to have the notification history in the app? If I've cleared it out of the notification area on the phone it's been received. Why must it also be kept in the app?

Just like to clean them out and I don't get many notifications...I feel the pain for those that gets lots of notifications. 

 

For myself, I like the history as iOS has this nasty habit of disappearing notifications that show as banners and then I can't find them again. A "delete all" button would be fine.

Guest
This topic is now closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.