Jump to content

Push Notifications Recommendations?


johnmsch

Recommended Posts

johnmsch

 

I have the same as you, an iPhone 6S, iOS 9.3 and AT&T. I use both Pushover and Prowl (but prefer Pushover) and have folders controlled by variables so I can easily switch between them should there be any problems. I also have different sounds assigned to things like doors open/close, motion detected, or entering/exiting my home area with MobiLinc. I still use texts or email but for critical things like dead batteries, water leaks, or motion when away etc.

Link to comment

This post shows some of the 'how to do it"

 

Also this wiki article with instructions on several messaging platforms

 

I looked at all of them and decided to try pushover first and have stuck with it. I'm very happy with it. I use a combination of ISY alerts, and direct email alerts from things like my alarm system... all in one spot.

 

Paul

Link to comment

I use Pushover for all my user directed notifications. Highly recommended!

 

I also tried most out there for writing the Wiki article linked above but ended up sticking with Pushover. I like that the network resource can send to multiple devices, use different icons for different events, send custom sounds etc... It's also cross platform...

Link to comment

Thanks guys.  Only been using MobiLinc for a couple months and didn't realize I could do Push through it via the ISY.  Just did a test and it works perfectly.

 

Pushover looks really good also.  Is there an article/post/thread around here showing how to set it up and how to send a Push from an ISY program?

Link to comment

 

 

Is there an article/post/thread around here showing how to set it up and how to send a Push from an ISY program?

Take a look at post #6 above. Paul linked to the Wiki page on setting this up.

 

Michael.

Link to comment
  • 2 weeks later...

Finally have some time to get back to this little project, but I'm already stuck.

 

In the wiki article mentioned in post #6, it says:

So far, so good.

Here's where I'm stuck.  I don't see any apps at that link that have to do with the ISY994i, so how do I "Create an application"?

Link to comment

Ok, all setup and the first test push went fine.

 

Can someone please post an example of where you are calling the Push notification from an ISY program?

 

Also, do we have to "hardcode" each push message?  In other words, can we setup a generic push, and in the program that calls it, pass it the message to send, or does each message have to be specifically defined in Network Resources?

Link to comment

Ok, all setup and the first test push went fine.

 

Can someone please post an example of where you are calling the Push notification from an ISY program?

 

Also, do we have to "hardcode" each push message?  In other words, can we setup a generic push, and in the program that calls it, pass it the message to send, or does each message have to be specifically defined in Network Resources?

So first obviously you configure your Pushover account. Then yes you need to setup a Push and variables you want for each item. So for example say you want to know every time the alarm is armed, you could do a name "Elk Alarm Armed for Night" then in the configuration body put something like "ELK Alarm was Armed for the night on ${alert.date} at ${alert.time}" and save. Then you can have a program like:

 

ELK Notify Armed Night Instant - [iD 001D][Parent 0027]

 

If

Elk Area '1' 'Armed State' is Armed Night Instant

 

Then

Send Notification to 'Pushover' content 'ELK Alarm Armed for Night'

 

Else

- No Actions - (To add one, press 'Action')

 

 

Make sense? Hope this helps. Nothing needs to be done in the network resources.

Link to comment

 

 

So first obviously you configure your Pushover account. Then yes you need to setup a Push and variables you want for each item. So for example say you want to know every time the alarm is armed, you could do a name "Elk Alarm Armed for Night" then in the configuration body put something like "ELK Alarm was Armed for the night on ${alert.date} at ${alert.time}" and save. Then you can have a program like:

 

ELK Notify Armed Night Instant - [iD 001D][Parent 0027]

 

If

Elk Area '1' 'Armed State' is Armed Night Instant

 

Then

Send Notification to 'Pushover' content 'ELK Alarm Armed for Night'

 

Else

- No Actions - (To add one, press 'Action')

 

 

Make sense? Hope this helps. Nothing needs to be done in the network resources.

That's for email based connectivity - I think OP is asking about network resource pushing....

 

Very similar though. In the 'Then', select the network resource instead of notification.

 

On a recent ISY firmware, you can now use substitutions. Make sure you don't use 'Encode URL' if you expect substitutions to work. Also, you cannot use any # references in substitutions.

 

Michael.

Link to comment

John, here is one. Pick 'Networking' for the action, then "Resource", then the name of the resource you created that you want to use in the program. That will execute the resource at that point... if it has variable or module substitutions, they will have the values they are when you execute the resource.

Sprinkler - 4 - Notify on Dry Area Program Complete - [ID 0038][Parent 0012]

If
        'Yard / Sprinklers / Hot Zones - Manual ISY' Status is Not Running
 
Then
        Resource 'Pushover Sprinkler Log - Completed dry areas schedule'
 
Else
   - No Actions - (To add one, press 'Action')

Paul

Link to comment

That's for email based connectivity - I think OP is asking about network resource pushing....

 

Very similar though. In the 'Then', select the network resource instead of notification.

 

On a recent ISY firmware, you can now use substitutions. Make sure you don't use 'Encode URL' if you expect substitutions to work. Also, you cannot use any # references in substitutions.

 

Michael.

Must have missed that. Is there any advantage doing it via network resources vs email outside of the issues with SSL security issue now not working with email providers?

Link to comment

Must have missed that. Is there any advantage doing it via network resources vs email outside of the issues with SSL security issue now not working with email providers?Co

 

Scott- easier to show it as an example with the Pushover mobile app/service.  Pushover is an alternative to email/text services. The Pushover app/service gives me a report of my house, organized in different views:

 

Pushover main view for my house:

post-5496-0-37915600-1471482908_thumb.png

 

Pushover list of all activities in time order:

post-5496-0-12718200-1471482907_thumb.png

 

Pushover view of my garage door messages only:

post-5496-0-40507000-1471482909_thumb.png

 

Each pushover grouping (they call it an "app") can have multiple message types in it, this is my sprinkler list

post-5496-0-54156000-1471483845_thumb.png

 

The downside is that there is a little bit of a learning curve to get it going.

 

Paul

Link to comment

Thanks so much guys.  This forum is an absolute gold mine of information.

 

On a recent ISY firmware, you can now use substitutions. Make sure you don't use 'Encode URL' if you expect substitutions to work. Also, you cannot use any # references in substitutions.

 

Michael - could you please expand on what you mean by substitutions, or point me to some documentation?

 

Hopefully, the following is a better explanation of what I'm looking for...

 

Let's say that I want a push message whenever a few lights come on.  Call them Barn, Shed and Outhouse.  For each of these, I have to go to the Admin Console -> Configuration tab -> Networking tab -> Network Resources tab and create a resource for each one.  The first one will have the hardcoded message "Barn light is on".  I then make a copy of that one and change the message to "Shed light is on", then another copy and change the message to "Outhouse light (and exhaust fan) is on".  I then create 3 programs, one for each of the lights, and use the corresponding resource to get the push message when that particular light switch is turned on.

 

It would be nice if I could just create one resource, and in the message use something like a string variable such as %MessageString%.  Then, from each one of those 3 programs, I somehow set that variable to the appropriate message I want pushed, or pass it like a command line parameter when I call the resource.  This way, you actually could have just one resource defined and use it by multiple programs/scenes.

Link to comment

John

 

Here is a sample of adding substitution to resources: http://forum.universal-devices.com/topic/19499-pushover-syntax/?p=183270

 

${var.2.27}  -- this means substitute a variable at that point in the network resource.  .2. means its one of the state variables in the admin console.  .27 means it is state variable ID 27 on the list of state variables. Unfortunately you can't use the variable's name.

 

${mod.weather.temp.hi.24h} -- this means substitute something from an ISY module. In this case, I have the ISY climate module, and I want the 24 hour hi temp to be displayed at this point. See my sprinkler picture in my post above to see how it looks in the delivered message.

 

Here are the variable substitution docs in the wiki. You should be able to get started with what's posted above.

Paul

 

 

 

 

 

Link to comment

Thanks so much guys.  This forum is an absolute gold mine of information.

 

 

Michael - could you please expand on what you mean by substitutions, or point me to some documentation?

 

Hopefully, the following is a better explanation of what I'm looking for...

 

Let's say that I want a push message whenever a few lights come on.  Call them Barn, Shed and Outhouse.  For each of these, I have to go to the Admin Console -> Configuration tab -> Networking tab -> Network Resources tab and create a resource for each one.  The first one will have the hardcoded message "Barn light is on".  I then make a copy of that one and change the message to "Shed light is on", then another copy and change the message to "Outhouse light (and exhaust fan) is on".  I then create 3 programs, one for each of the lights, and use the corresponding resource to get the push message when that particular light switch is turned on.

 

It would be nice if I could just create one resource, and in the message use something like a string variable such as %MessageString%.  Then, from each one of those 3 programs, I somehow set that variable to the appropriate message I want pushed, or pass it like a command line parameter when I call the resource.  This way, you actually could have just one resource defined and use it by multiple programs/scenes.

I believe Paulbates (above) has pointed to the same wiki page I would have pointed to.

 

The ISY does not support string variables - so that's not possible. I do know it's on a wish list - but no timeline yet...  if it's even ever accepted.

 

The best you can do is a separate resource for each device you wish to notify...   Set the message to 'Outhouse light is ${sys.node.11 22 AA 1.ST}' (change '11 22 AA 1' for the address of the load device). At runtime, the ${..} will be substituted for the formatted value ("on" or "off"). Caution though - if it's a dimmer it will try sending something like 80% if not full on or off - and the % will cause an error. You cannot do 'URL Encoding' to fix this either ('Encode URL' will prevent the substitution occurring because it encodes at save time - modifying the substitution string). If it's a dimmer, consider 'Outhouse light is ${sys.node.11 22 AA 1.raw}' and you will get a value from 0 to 255 instead - and no characters needing encoding. I've already raised a feature request to defer URL encoding to runtime (rather than rule save time) - but that's also still pending.

 

Michael.

Link to comment

Scott- easier to show it as an example with the Pushover mobile app/service. Pushover is an alternative to email/text services. The Pushover app/service gives me a report of my house, organized in different views:

 

Pushover main view for my house:

attachicon.gifIMG_1188.PNG

 

Pushover list of all activities in time order:

attachicon.gifIMG_1187.PNG

 

Pushover view of my garage door messages only:

attachicon.gifIMG_1190.PNG

 

Each pushover grouping (they call it an "app") can have multiple message types in it, this is my sprinkler list

attachicon.gifIMG_1193.PNG

 

The downside is that there is a little bit of a learning curve to get it going.

 

Paul

Thanks for that but I am well aware of how Pushover works. I actually developed a third party driver for RTI remotes to use the service. I just have NEVER seen a delay between email or API EVER, its ALWAYS been instantaneous. I been using it since it was launched. I love the service and highly recommend Pushover.

Link to comment

Pushover also doesnt allow emergency-level notifications via email, but does via the REST API.

 

There's also some cool stuff you can do via the API, such as read acknowledgements, having Pushover call a callback URL, etc.

 

Sent from my SM-N910W8 using Tapatalk

Link to comment

Pushover also doesnt allow emergency-level notifications via email, but does via the REST API.

 

There's also some cool stuff you can do via the API, such as read acknowledgements, having Pushover call a callback URL, etc.

 

Sent from my SM-N910W8 using Tapatalk

Yep - I use all of that! Regular no noise notifications for garage door up and down, emergency notification when it's been left open. Alarm notifications that are persistent on the device until acknowledged. Doorbell sound when the doorbell is pushed... These things cannot be specified via email I don't think...

Link to comment

Archived

This topic is now archived and is closed to further replies.


×
×
  • Create New...