Jump to content

Notifications release for iOS


Recommended Posts

Posted
1 hour ago, Geddy said:

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

 

Added delete all to the list, on iOS there is also a third option of swiping all the way to the left which takes it down to one step.  @Steve L's  issue is common, for this reason history exists.

Notifications older than 3 months will be deleted automatically.   There is also an acknowledgement parameter, if the notification in the list has a filled circle by the icon the notification has not been acknowledged.

  • Thanks 2
Posted
4 minutes ago, Steve L said:

Thanks, but what I wanted to know is WHY I would want to use a group - what's it for? When would using a group be appropriate? 

To send a notification to a group of devices instead of all devices.

or

Although not included on the wiki you can send a notification to an individual device. The issue with this is when you change phones the device id changes, so you would have to change all the notification to match the new id. If you create a group for your device, when you get a new phone you will just have to add the device to the group instead of changing all notification to match the new id.

  • Like 1
  • Thanks 1
Posted

Feature request (if not already done). Is it possible to add variables to the body of the message? For example, I have a notification for "Door unlocked by keypad". I'd love to be able to add the user number to the message.  I know I can set up separate conditions (and notifications) for each user with if..and.., but it would be nice to not have to do that for multiple users.

Posted

This is possible with both network resources or using a Node Server. Both options require Admin Console setup as this has not yet been added to mobile UI.

EDIT:

Added instructions to our wiki here:

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

Network Resources:

Network resource variable evaluation is on a seperate thread and is evaluate when run. So if this 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 Server

https://wiki.universal-devices.com/index.php?title=ISY-994i_Series:EMail_and_Networking_Substitution_Variables

title=My Test Title&body=My Test Body ${sys.time}

 

Node Server:

Node Server developers can use the subject line of the current Notification framework.  The Notification Node Server recently added UD Mobile notifications with this parameter. See the following post for an example.

The notification node server allows users to use the Notification Subject Line. This is evaluated during program run so does not have the same issues as network resources.

  • Like 1
Posted

Thanks - so if I understand this correctly, the following body should work? It may be a bit before I can test this.

title=Door Unlock KP&body=Door unlocked by user $(sys.node.ZW007_1.USRNUM)&sound=sms_notification.wav

 

Posted
22 minutes ago, Steve L said:

Thanks - so if I understand this correctly, the following body should work? It may be a bit before I can test this.

title=Door Unlock KP&body=Door unlocked by user $(sys.node.ZW007_1.USRNUM)&sound=sms_notification.wav

 

Looks correct,  you can test the network resource and see the result.

Posted

It didn't do the substitution. I thought maybe I needed to specify the node for Access Control (ZW007_306N001), but still no substitution. I get the literal text.

This is what Admin shows:

503184150_Screenshot2022-07-01133217.png.996f611e4895fe70882d800aa8bc1243.png

I then tried using $(sys.time), as in the example, and got no substitution either, so I'm obviously missing some key thing.  Here's the resource for that test:

254431810_Screenshot2022-07-01133743.thumb.png.88749095a7a2d0e4be14565de8d2aabf.png

 

Posted
3 minutes ago, Steve L said:

It didn't do the substitution. I thought maybe I needed to specify the node for Access Control (ZW007_306N001), but still no substitution. I get the literal text.

This is what Admin shows:

503184150_Screenshot2022-07-01133217.png.996f611e4895fe70882d800aa8bc1243.png

I then tried using $(sys.time), as in the example, and got no substitution either, so I'm obviously missing some key thing.  Here's the resource for that test:

254431810_Screenshot2022-07-01133743.thumb.png.88749095a7a2d0e4be14565de8d2aabf.png

 

This is only substituted when sent.  Update -> Save (single resource) -> Save (all resources) -> Click the name of the resource -> Test

Posted

I did do the test, as well as actually triggering the notification from a program - no difference.

Tried a couple of other things. $(sys.time) works in an email notification, but USRNUM doesn't. Perhaps USRNUM is not the right thing to use here, but I don't know what else would be. Is there a way from admin to see what values are available?

Door was unlocked by user $(sys.node.ZW007_1.USRNUM) $(sys.node.ZW007_306N001.USRNUM) at  1:58:32 PM

$(sys.time) doesn't work in a resource notification.

 

Posted

@Javi just want to say what a wonderful job you have done with the notifications (sound, delete, groups!!!).  I am slowly moving from my prowl push service (over 10years with it) to the app.

One 'low level' request.  I use the notifications a lot to let me know what is going on.  would me 'nice' if when you looked at the notification it would become 'not new'.  Means you do not need to ack every notifications just go into the app every so often to view them and scroll through them.  Now I tend to delete them as its quick but I lose my history then.

Again, great job.   This app keeps getting better faster than I can implement the improvements!

 

 

  • Like 2
Guest
This topic is now closed to further replies.

×
×
  • Create New...