Jump to content

Notifications release for iOS


Recommended Posts

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

Posted
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).

Posted

@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!

Posted
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.
Posted

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.

  • Like 2
Posted

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.
Posted
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!

Posted
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.

Posted
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

Posted (edited)

@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
  • Like 1
Posted
1 hour ago, Javi said:

iOS Notification sounds should be working now. 

Confirmed.  They are working.

Appreciate it, @Javi!

  • Like 2
Posted

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.

Posted

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.

  • Like 2
Posted

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

Posted
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.

  • Like 1
Posted

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:

Posted

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 

  • Thanks 1
Posted

Great. I think the delay of device addition may be related to the original issue of expired portal credentials. We'll add a test for this in a future build.

  • Like 2
Posted

@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. 

 

Posted

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.

×
×
  • Create New...