Vera - Smarter Home Control Forum

General => Remote Control => VeraMate (iOS) => Topic started by: veramate on July 01, 2014, 07:50:03 am

Title: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on July 01, 2014, 07:50:03 am
VeraMate Alerts - BETA support for Push Notifications

Version 6.1 now supports push notifications.  I would like to stress this is in BETA mode, and I'll be watching it
carefully over the coming days/weeks.  Please mention any problems in this thread, and we'll try and work through
any wrinkles. 

Known Problems
I have written up some information on how to install this on the FAQ which is a good place to start. 
http://veramate.com/site/veramatefaq (http://veramate.com/site/veramatefaq)

I'll also place some of the information here:

Setting up VeraMate Alerts

There are 4 steps required to setup VeraMate Alerts. You will need to do this for each vera you wish to have alerts from.

VeraAlerts Setup
You may now enable notifications through the web UI for any device you wish to be notified on if you haven't done already.



LUUP code

For more advanced users, you may use the following LUUP code to send a message to VeraMate.

luup.call_action("urn:veramate-com:serviceId:VeraMatePN", "SendAlert",
   {Msg = "My Message"}, deviceid)

where deviceID is the device ID of the VeraMate Plugin.

Optionally, you may also specify the device ID of the device being alerted on, which will then appear in VeraMate showing the correct icon (which will be the current icon at the moment, not what it was). Please append "AlertedDeviceId" to your payload, such as
luup.call_action("urn:veramate-com:serviceId:VeraMatePN", "SendAlert",
   {Msg = "Front Door Opened", AlertedDeviceId = "40"}, deviceid)


More details of this will be forthcoming. Support will hopefully also be enabled in the future to specify different preselected sounds (Apple does not easily allow customization of which sounds to play per APP).
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: aaronsquire on July 06, 2014, 09:56:54 am
Feature Suggestion: Different priority and different sounds.

I currently use another third party push notification which works great and it's free. I have it setup to play different sounds for different functions such as doors, arm, disarm, alarms, and etc... It also has priority levels. Lowest priority doesn't play a sound, normal plays sound, and elevated plays sound and turns message red. If your app supported these features I could eliminate the other app all together.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on July 07, 2014, 06:27:37 am
There is actually some code there to use different sounds, but I couldn't get this working for the 6.1 release.  I'll work on this again once some of the other priorities are out of the way.  Good idea for priority levels though - I'll think about how and try and work this in.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: rsmed1 on October 07, 2014, 12:30:45 pm
Does the push notification work with iOS 8.02?  I am using the luup code method with my vera lite UI7 and it does not seem to work.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on October 07, 2014, 12:42:28 pm
Does the push notification work with iOS 8.02?  I am using the luup code method with my vera lite UI7 and it does not seem to work.

It does, but it looks like the authorization request has changed, meaning VeraMate doesn't get you to confirm this, so you'll need to make sure this is turned on before you can use it (under apple settings/notifications). 
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: rsmed1 on October 07, 2014, 02:00:57 pm
In looking under settings/notifications, I find that the VeraMate app is not listed.  Not sure why.  So, I'm unable to turn on notifications on my iPhone.

Something else I noticed, in the VeraMate app, when I enable 'Alerts', it doesn't keep it enabled.  I can close the settings screen, then go right back in and the Alerts are 'disabled'.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on October 08, 2014, 05:09:54 am
In looking under settings/notifications, I find that the VeraMate app is not listed.  Not sure why.  So, I'm unable to turn on notifications on my iPhone.

Something else I noticed, in the VeraMate app, when I enable 'Alerts', it doesn't keep it enabled.  I can close the settings screen, then go right back in and the Alerts are 'disabled'.

I'm looking into why VeraMate is not giving feedback that it doesn't work, but will get that fixed for the next version.

Are you certain VeraMate isn't appearing in the setting/notifications screen?  Even under the "do not include" section down the bottom?   I can't replicate it not appearing here after a new install. 

There are definitely some "quirks" with iOS8 though - it looks like in the iOS settings you have to disable notifications (if you are able to see it), and then reenable, and it'll start working.   There have been changes in iOS8 that I'll look to have VeraMate have better support for in the next release.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: rsmed1 on October 08, 2014, 08:31:02 am
I am sure it does not show up on the iPhone in settings/notifications. Not even near the bottom of the "do not include" apps.

I rebooted my iPhone to see if it would show up, no luck.  I uninstalled then reinstalled VeraMate...still does not show up in "Notifications" on my iPhone 5s with iOS 8.0.2.

Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: rsmed1 on October 08, 2014, 04:16:40 pm
One other tidbit I noticed...besides not having the VeraMate app showing up in the 'Notifications' of my iPhone...when I go to 'Alerts - Enable alerts for this user' in the app and turn it 'on'...once I get out of the settings menus, the app immediately crashes/closes.  It happens every time I try to enable the alerts on the app.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: peku on October 11, 2014, 06:49:53 am
I have the same problem on my iPhone 5 with IOS 8.02: Veramate does not show in the notification list of applications and the alert switch in Veramate 'does not stick': everytime I return to the screen the switch is in the off position.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on October 14, 2014, 04:30:15 am
I have the same problem on my iPhone 5 with IOS 8.02: Veramate does not show in the notification list of applications and the alert switch in Veramate 'does not stick': everytime I return to the screen the switch is in the off position.

Turns out this is a known problem for iOS8.  I have the next version queued with Apple with a workaround, so please bare with us.  There's a chance you may need to disable, and then reenable notifications in Apple settings after starting the next version, but it will work with the upgrade.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: rsmed1 on October 14, 2014, 10:46:53 am
Thanks for the update.  I am really enjoying this app!
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: waynez1968 on November 29, 2014, 04:03:03 pm
I've installed the app on my iphone (ios 8.1.1) and can't get any notifications.

Have configured VeraAlerts (v6.21) hopefully correctly, created a profile "plugin-forwarding" and named it VeraMate8, installed VeraMate plugin (VeraMate Alerts Plugin v1.0) - I can set the username correctly and when I test send it, message "I love veramate !"  looks like it's been sent, but nothing appears on the phone.

I have uninstalled and reinstalled the app, enabled and disabled the notifications both in veramate and iphone settings... I have a couple of questions

I originally downloaded the free version of veramate8 and the did the in-app purchase, is this the same as the premium app? Or are there differences?

Are there any logs I can check on the Vera to see if the messages are being sent?

Any help appreciated.
 
Just to add to this, I'm running Vera 3 - UI7 - 1.7.439
IOS Version VeraMate 8.3.1.2 (IAP:Premium)
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on November 30, 2014, 06:24:00 am
Have configured VeraAlerts (v6.21) hopefully correctly, created a profile "plugin-forwarding" and named it VeraMate8, installed VeraMate plugin (VeraMate Alerts Plugin v1.0) - I can set the username correctly and when I test send it, message "I love veramate !"  looks like it's been sent, but nothing appears on the phone.

The "I Love VeraMate" should be retrieved if you have entered the username the same as the account you've logged into the app, as well as made sure the "enable alerts" on the alert screen in the app is enabled.

If that's not the case, either the username is different, or perhaps it hasn't registered with the VeraMate servers yet.   If you ping me your username, I can check that.

And lastly, it could be that notifications aren't enabled for the app.  In apples settings, you might want to check that.

I originally downloaded the free version of veramate8 and the did the in-app purchase, is this the same as the premium app? Or are there differences?

The Free/Premium editions are identical, the IAP just removes any limits to make it identical the Premium.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: Bertin on January 15, 2015, 07:58:35 am
Hi,

I installed VeraMate now trying to get a notification to my phone using luup:

luup.call_action("urn:veramate-com:serviceId:VeraMatePN", "SendAlert", {Msg = "Test Test"}, 29)

This is not working?!?

when I go to settings and hit the test button I do get a alert on my phone "I Love Vera". Even setting up plugin forwarding with vera alerts work. But why not luup?

Thanx.

UPDATE:
Got it working with:

luup.call_action("urn:veramate-com:serviceId:VeraMatePN", "SendAlert", {Msg="NoSpace"}, 29)

So no spaces in this message part seems to work?!? Also the Msg text has a limit on the amount of characters.....

Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on January 16, 2015, 04:46:22 am
@Bertin

I can confirm you shouldn't need to remove the spaces in the Msg.  It is just a string, so I can't think of any bug that would cause it to consider spaces in there.  In fact as you've noticed, "I Love Vera" uses the exact same mechanism.

I can only think you perhaps have the free edition of VeraMate, which limits the number of messages you can receive a day?   Otherwise, if you PM me your username, I'll check the push notification server to see if there is anything untowards in the logs.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: Kmitchel on February 01, 2015, 08:40:11 pm
Does this app work in Vera UI5?  I was reading the FAQ and it does not match what is available in the Vera app:

VeraAlerts Setup
1.Install VeraAlerts. http://apps.mios.com/plugin.php?id=3008
2.In your Vera web UI, in the VeraAlerts settings, switch to the Profiles tab.

I don't see a Profiles tab.  I've tried to send test messages, but it doesn't work.  Can you please point me to instructions on installing for UI5?
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: airedale on February 02, 2015, 08:59:20 am
@Kmitchel - I highly doubt this would have only been made for UI5. Most people are still running it and the author of VeraMate considers UI7 to be beta and has recommended against upgrading to it (I can confirm though that it works really well with a VeraEdge & UI7).

All you really have to do is set the username you used to login to Vera with your VeraMate app. You also have to enable alerts within VeraMate.

I don't see a profiles tab either and it is working just fine for me.

Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: Kmitchel on February 02, 2015, 11:58:58 am
@Airedale, I understand that it wasn't ONLY written for one UI, I'm asking if it works in UI5.

I'm on UI5, I don't see the Profiles tab and I'm simply asking how to get this app to work.

I set the user name to my Vera login as well as my VeraMate app and I am not getting the alert.

If anyone has this working in UI5 and can help, I would appreciate it!
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: RichardTSchaefer on February 02, 2015, 12:06:02 pm
The "Profiles" tab is in the Vera Alerts Plugin.

VeraMate has it's own Push Notification Plugin.
This can be invoked from:
 1) LUA Code
 2) The advanced Tab of a Scene.

If you want the EXTRA capability to link a VeraMate Notification to a Vera User, and Use the standard Vera Notification Tab on devices then you
also need to install the Vera Alerts Plugin.
There you can create a profile as described earlier that will forward standard Vera Notifications to the VeraMate plugin for delivery to your mobile device.
But as I said, it's optional. Without it you can create a scene to send a notification.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on February 02, 2015, 12:39:56 pm
@Kmitchel - I highly doubt this would have only been made for UI5. Most people are still running it and the author of VeraMate considers UI7 to be beta and has recommended against upgrading to it (I can confirm though that it works really well with a VeraEdge & UI7).

Just to confirm, that yes definitely VeraMate supports UI5 through to UI7 (though as airedale points out, UI6 and UI7 are effectively beta, but is still supported by VM).

And thanks @RichardTSchaefer who should have cleared up the profiles tab is on the VeraAlerts plugin if you choose to use that as well.   I'll update the FAQ to make this a bit more clearer...
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: Kmitchel on February 02, 2015, 06:20:08 pm
I must be doing something wrong.

I have the VeraMate Alerts Plugin installed.  It says "Alerts are sent to:" and has my correct Vera login name.  I setup a scene where it would notify me at sunset that my lights are on.  The scene ran, the Plugin shows "2015-02-02 18:09:37 Sunset - Lights on", but I never receive a notification.

What I am really looking to do is when my Yale lock has a pin code entered, it sends me a verbose text message full of junk, from a random number.  I really want it to send a more meaningful message like "Housekeeper code entered".  The Yale Lock has a notification page, but it just enters the Vera name and it sends me a text. 

I've never coded anything in the LUA and after crashing my Vera 3 times using the iPhone indicator, I'm a little hesitant to try!

Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on February 03, 2015, 05:03:05 am
I have the VeraMate Alerts Plugin installed.  It says "Alerts are sent to:" and has my correct Vera login name.  I setup a scene where it would notify me at sunset that my lights are on.  The scene ran, the Plugin shows "2015-02-02 18:09:37 Sunset - Lights on", but I never receive a notification.

You also need to register your VeraMate app with my server which pushes the notification, by going to the alerts screen in VeraMate (a tab under settings).  If you've done that, PM me your username, and I'll check it was registered correctly with the server.   (There are no known issues with the registration though).

The LUUP in the FAQ is extremely simple, so wouldn't crash your Vera.  (Even if you need to put in some if statements based on the PIN or something, I can't see it breaking Vera).   If you do want your own message, this is the only way to go though. 
http://www.veramate.com/faq/push-notifications#Push-LUUP
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: Kmitchel on February 07, 2015, 10:04:11 am
THANK you so much for the assistance!

I love VeraMate and just purchased the premium version for my iPad.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: slajgaj on February 28, 2015, 10:02:52 am
Hi!

I trying the Luup code

luup.call_action("urn:veramate-com:serviceId:VeraMatePN", "SendAlert",
   {Msg = "Virtual Dev is Opened", AlertedDeviceId = "40"}, deviceid)

I have a 40 devideID, this is a virtual switch
But i received the message, without device icon...and without alerted device ID.
Was in message only the text : Virtual Dev is Open
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on March 01, 2015, 06:50:17 am
I trying the Luup code

luup.call_action("urn:veramate-com:serviceId:VeraMatePN", "SendAlert",
   {Msg = "Virtual Dev is Opened", AlertedDeviceId = "40"}, deviceid)

I have a 40 devideID, this is a virtual switch

The AlertedDeviceId is used so VeraMate knows what device it is - only used to show the correct icon.  Additionally, the last "deviceid" there should be the id of your VeraMate plugin... this shouldn't work if you haven't put it in.  Could you confirm that's the exact command you're using?
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: slajgaj on March 03, 2015, 05:20:45 am
My luup code is:

luup.call_action("urn:veramate-com:serviceId:VeraMatePN", "SendAlert",
   {Msg = "Virtual Dev is Open!", AlertedDeviceId = "35"}, 34)

Where the 35 ID is the Virtual Dev ID and the 34 is the VeraMate plugin dev ID.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on March 03, 2015, 06:05:13 am
My luup code is:

luup.call_action("urn:veramate-com:serviceId:VeraMatePN", "SendAlert",
   {Msg = "Virtual Dev is Open!", AlertedDeviceId = "35"}, 34)

Where the 35 ID is the Virtual Dev ID and the 34 is the VeraMate plugin dev ID.

I've checked the code and VeraMate should be showing the icon for that device.  It's possible it's not working with the virtual switch - could you confirm the link to the plugin, and I'll see if there's a problem with this.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: slajgaj on March 04, 2015, 10:01:55 am
Yes, thank you with other devices is working, but now i can see with virtual device is working :)
Thanks
Maybe  i was a stupid :)

Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: airedale on March 10, 2015, 10:49:16 pm
Hello,

I have been able to confirm on two different phones that my Alerts button is not showing up, even though I have 146 alerts that need to be viewed according to the badge on the app icon. I am getting the alerts in the notification center, but not in the app.

Also at the same time, as a feature request, I'd like to be able to go back into my alerts and view them from a history perspective. When the button was working, it would only show up when new alerts came in. After I viewed them, the alerts button would go away. I'd like to be able to view the alerts more than once.

Thanks!
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on March 11, 2015, 09:37:21 am
I have been able to confirm on two different phones that my Alerts button is not showing up, even though I have 146 alerts that need to be viewed according to the badge on the app icon. I am getting the alerts in the notification center, but not in the app.

Also at the same time, as a feature request, I'd like to be able to go back into my alerts and view them from a history perspective. When the button was working, it would only show up when new alerts came in. After I viewed them, the alerts button would go away. I'd like to be able to view the alerts more than once.

If you can ping me your username, I'll check the server. 

Could you elaborate more on how you're not seeing them in the app?  If you see them in Apple's notification center, the badge with 146 on VeraMate, then it would appear everything is setup properly and interacting with the push notification server.   Just to clarify - alerts only show a "popup" when you have the app open, or click on it via the notification center.  Otherwise just entering the app, you need to click on the green "Alerts" button.  If it's not there (i.e, you've read all alerts), you need to go into the menu (top right gear icon), and there will be an Alerts tab.

As for the history, VeraMate doesn't actually clear them from the alerts screen unless you press the read all button (the check mark) - new alerts are shown highlighted.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: airedale on March 11, 2015, 06:50:05 pm
The alerts icon will not show up. I'll PM you my username.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: WCunha on June 11, 2015, 03:02:23 pm
I am using VeraMate and using UI5 and there isn't a notification tab for the plug in. Is all I have is Control, Settings, and Advanced tabs. Any help would be appreciated.

Thanks, Wade
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on June 12, 2015, 03:41:58 am
I am using VeraMate and using UI5 and there isn't a notification tab for the plug in. Is all I have is Control, Settings, and Advanced tabs. Any help would be appreciated.

The notifications are setup using the notification on the device/scene you wish to be notified on, not on the plugin (if that's what you mean?).  But those notifications that are setup via Vera's notifications itself require the VeraAlerts plugin (which is separate to VeraMate), otherwise you will need to specify calls in LUUP, which is a bit more advanced.

More information is on the FAQ: http://www.veramate.com/faq/push-notifications
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: WCunha on June 12, 2015, 07:37:54 am
I read the FAQ and I think I am just not getting it. I have a Schlage lock that sends me a text when a code is entered to unlock it. Do I have to crate a scene with the VeraMate plugin and the lock to get push notifications? Also I do not see a "plugin forwarding tab" in settings of the plugin.

Thanks, Wade
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: WCunha on June 13, 2015, 09:04:11 am
I finally figured it out! Works great!
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: wholeflaffer on June 19, 2015, 02:32:30 am
Boy, did it ever take a me a while to figure out how to do this! 

There is some confusion in your FAQ, especially the following observations:

1. You use two terms interchangeably for the same App.  The downloaded module is called "VeraMate Alerts Plug-in" but you also refer to it as "VeraMate Plug-in" and also just "VeraMate Alerts". 

2. The interchangeable terminology caused me NOT to understand that there was a second module, "VeraAlerts" that also had to be installed.  I had thought you were referring to the same downloaded item in each case.

3.  The VeraAlerts 'Notification Configuration' tab (Devices > VeraAlerts > 'Notification Configuration') is not mentioned as a very useful place to check that all notifications are set up and ready to go.

Thanks for working on this!  It's nice to have these notifications, especially when the door locks are used or the garage door is opened/closed.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on June 22, 2015, 12:03:32 pm
Thanks for the feedback on the FAQ.  I know this is a bit confusing due to the similiarity of names - I'll try and update this to be clearer. 
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: asggold on August 04, 2015, 03:26:49 pm
Has anyone actually got this working to send notifications to their iPhone?

I have purchased the premium version of the app.
I have loaded and sent tests from the Vera Alerts plug-in

I can NOT get the "enable alerts" switch to stay on after exiting settings.
I do NOT get any notifications.

Even after upgrading I did see a message saying I only get 2 free alerts. Tried again to "Restore Purchases" but still NOTHING!

Just looking for an answer to get this working. I have tried emailing, tweeting, posting on Facebook, and no response.  ???
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on August 05, 2015, 07:36:41 am
Has anyone actually got this working to send notifications to their iPhone?

I have purchased the premium version of the app.
I have loaded and sent tests from the Vera Alerts plug-in

I can NOT get the "enable alerts" switch to stay on after exiting settings.
I do NOT get any notifications.

Even after upgrading I did see a message saying I only get 2 free alerts. Tried again to "Restore Purchases" but still NOTHING!

Just looking for an answer to get this working. I have tried emailing, tweeting, posting on Facebook, and no response.  ???

I have had the pleasure of seeing every one of your messages across all mediums (it might surprise you not everyone is awake or working 24 hours) - I will take this up in the support area to understand what your problem might be (there are currently no known problem with notifications).
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: JockeB on August 14, 2015, 04:58:33 am
I have the same issue,
I can NOT get the "enable alerts" switch to stay on after exiting settings.
I do NOT get any notifications using VeraMate plugin or VeraAlert

I only manage to get emails using the VeraAltert plugin.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on August 14, 2015, 05:14:51 am
I have the same issue,
I can NOT get the "enable alerts" switch to stay on after exiting settings.
I do NOT get any notifications using VeraMate plugin or VeraAlert

I only manage to get emails using the VeraAltert plugin.

I can confirm there has been a bug in 9.4 which affects some new users - please send diagnostics via the app, and I can provide you with access to the 9.5 beta if you request it.  9.5 is awaiting release by Apple otherwise, and should be out around mid next week.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: agoodman82 on November 09, 2015, 12:06:59 am
VeraMate:

I recently upgraded from a Vera Lite to a Vera Edge. I had to manually re-install my entire z-wave system as the backup/restore function function with Vera UI 7 didn't go smoothly for me.

I re-downloaded the Vera Alerts plugin and the VeraMate Alerts plugin and set them up exactly the way I had before with my Vera Lite in order to restore the VeraMate notifications. I have push notifications enabled in the Vera UI, I have "Enable alerts for this user" enabled in the VeraMate app and I have the Vera Alerts plugin and the VeraMate Alerts plugin set up correctly I believe with my user profiles and the device number and everything (I copied and pasted from your FAQ on getting the alerts and this matches what I had in those fields from my Vera Lite).

When I send a test message in VeraMate Alerts I get it perfectly fine on my iPhone. When I send a test message through the Vera Alerts app to my VeraMate profile I don't get the message but I see that the plugin says it sent the message in the Vera UI 7 dashboard. When I try to send a test message through Vera Alerts via prowl to my iPhone I do get the alert.

What am I missing here?? I feel like I've checked and cross checked everything. It seems like the Vera Alerts plugin sends the message but the VeraMate plugin doesn't get it and push it to my phone. Any ideas?? I'm using VeraMate v9.9.0.11.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on November 11, 2015, 11:31:42 am
Unfortunately it seems to be a common occurrence where the upgrade doesn't go smoothly.

The push notification issue does appear to be a problem with iOS9, and I don't believe it's a VeraMate issue yet (although I am keeping an eye on it).  http://www.ubergizmo.com/2015/09/ios-9-push-notifications-issue/

I can see from the diagnostics you've sent, that it does look to be setup properly, and the messages are getting to the veramate alert server.  So I think it is this issue with iOS9.  Could you try rebooting your device (which apparently does work with this bug), and make sure you're on the latest firmware (although I'm unsure if it's been fixed yet).
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: agoodman82 on November 24, 2015, 03:14:44 pm
VeraMate:

After some more testing and time with my new phone I'm pretty convinced now that my push notification problems only exist with VeraMate. The odd thing is that when geofencing works properly with VeraMate I get a push notification (even on my Apple Watch) that I have entered/left my geofence home area. However, all push notifications in VeraMate for devices, scenes etc don't work. The only push notifications that do in fact work for me is GeoFencing. Under my old Apple iPhone 6 using iOS 8.4 all push notifications worked flawlessly for me, and you in fact confirmed that I still had the correct settings in my iPhone, VeraMate and in Vera UI 7 that I should still be getting them.

With both my iPhone 6s under iOS 9.0.4 and my wife's iPhone 6s with iOS 9.1, we get correct and accurate push notifications for every other app that we have set to use them -- weather, games, Facebook...etc. The only app we're having issues with push notifications unfortunately is VeraMate.

Has anyone else made note to you that they are no longer receiving push notifications? Why would I still get push notifications for the geofence feature in VeraMate? Do this push notifications work differently somehow??
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: anyra on November 25, 2015, 11:08:39 am
Hi,
I would say that geofence was working fine for me up to the last couple of versions. What happens now is that 95% of the times the scene is not activated when I enter my geofence home if the veramate app is not up on the screen.
To be more specific, if the app is running on the background, then the scene activated only if I bring the app back to the front, what it kills all the purpose of the geofence.
If I have to pull up the app, then running the scene myself is just an extra touch.
I was hoping this to be fixed in the last major release, but it didn't.
Any clues?
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on November 26, 2015, 06:39:18 am
Found the problem!  Turns out there has been a change in iOS9 which I'm not handling quite correctly.

I'll get a new 10.1 beta out with this in it today (for beta users), and will resend the 10.1 release to Apple, which will delay it a bit more, but this is fairly critical to warrant it.  So ETA will be 7 - 10 days.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: agoodman82 on November 26, 2015, 12:47:35 pm
Awesome! I can't wait to get the push notifications working again... got my fingers crossed!
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: RichardPHarvey on January 12, 2016, 10:58:27 am
I have this working fine but I'm getting both the Vera and the VeraMate alerts for the same condition.  I really only want the VerMate alert to show up on my iPhone, can that be done...? 
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: agoodman82 on January 12, 2016, 11:14:14 am
I have this working fine but I'm getting both the Vera and the VeraMate alerts for the same condition.  I really only want the VerMate alert to show up on my iPhone, can that be done...?

I'm just curious, you're on an iPhone running iOS 9.x?? My push notifications are set up correctly but they're still not being sent to my phone :/ The only notification I get now is geofencing because it's a separate alert notification. Really miss getting the push notifications because that's the only way I know state changes in my devices without looking at them all constantly throughout the day.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: RichardPHarvey on January 13, 2016, 01:10:50 pm
Did you set up Vera Alerts with the correct settings...? You must setup a profile as shown in the settings from the screen clip attached. The plugin forward to number (575 in my case) is the ID of the VeraMate Alerts Plugin. You then assign users to that profile. What this does is simply forward the alert from the Vera Alerts plugin over to the VeraMate Alerts plugin which then sends the alert to VeraMate running on your iPhone. Like I said, it works for me but I get the alert twice, once from VeraMate and once from Vera directly. I like the VeraMate alert better as using the Vera Alerts plugin you can modify the actual text that gets sent to be more user friendly.

I have this working fine but I'm getting both the Vera and the VeraMate alerts for the same condition.  I really only want the VerMate alert to show up on my iPhone, can that be done...?

I'm just curious, you're on an iPhone running iOS 9.x?? My push notifications are set up correctly but they're still not being sent to my phone :/ The only notification I get now is geofencing because it's a separate alert notification. Really miss getting the push notifications because that's the only way I know state changes in my devices without looking at them all constantly throughout the day.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on January 15, 2016, 11:11:31 am
As far as I know the alerts shouldn't have any problems.   Are you sure you're on iOS9.2 now (which I believe fixes some of the problems)?   If you're not receiving alerts, let me know your user name (pm), and I can make sure the server is picking it up properly... which will likely mean it's a setting on your phone.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: agoodman82 on January 15, 2016, 01:44:54 pm
@RichardPHarvey: Yes I double checked all my setting and everything looks correct (screen shot attached). VeraMate push notifications were working fine for me under my iPhone 6 running iOS 8 but when I was forced by my carrier to upgrade to an iPhone 6s under iOS 9, I immediately lost all push notifications through VeraMate -- no settings were changed and push notifications for all other apps work fine. I can even get push notifications for z-wave device state changes via Prowl set up in the "VeraAlerts" plugin. Everything is set up right to forward push notifications from "VeraAlerts" to "VeraMate Alerts" but yet there is still a disconnect somewhere. When I test "VeraMate Alerts" sending me a test message it works fine and I get the push notification. But when I test "VeraAlerts" to send a test message nothing happens... I can send a test message through the plugin over Prowl but it won't work when I try to do the same forwarded through VeraMate Alerts... I even paid for a license for VeraAlerts.

@VeraMate: Can you please look into this for me? I haven't had general state change notifications for months now and it's driving me crazy. I'll PM you my user name. Everything should be working on my end... I just don't get it.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: RichardTSchaefer on January 15, 2016, 05:26:23 pm
If you think this is a VeraAlerts problem ... Then turn on debugging in he VeraAlerts plugin settings.
Then reload Vera.

Then monitor the Vera Log File while you send an alert. If there is a configuration problem you will probably see an error in the log.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: agoodman82 on January 16, 2016, 02:02:52 pm
Richard,

I'm beginning to think I may be having a problem with VeraAlerts forwarding the notifications to VeraMate Alerts. I did what you said and turned on debugging in VeraAlerts. When I sent a test message to first only myself, then my VeraMate Alerts user profile (my wife and I) I didn't see an error in the log per say but I am definitely not getting the test messages pushed to my iPhone. When I send a test message via Prowl however, it works just fine. I'm assuming that if I'm not getting test messages through my VeraAlerts VeraMate settings then I certainly wouldn't get the notifications forwarded properly to VeraMate alerts to deliver them to my phone. I've attached part of my log which includes multiple attempts to send the test message via VeraAlerts. I don't know if you can point anything out that I might have missed?? Thanks for the help.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: agoodman82 on January 18, 2016, 12:15:45 pm
@VeraMate & Richard,

I got my push notifications working again through VeraMate. I over-looked something very simple and feel rather ridiculous right now... In the VeraAlerts plugin under profiles where I had my VeraMate Alerts profile set up, I was simply missing the final quotation mark at the end of  Msg="{Message}"

I should've double checked the simplest things first. Appreciate the help you two.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on January 18, 2016, 12:23:56 pm
lol :)  The number of times these things come down to a single character mistake!  Glad you got it working.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: albert82 on February 16, 2016, 04:18:01 pm
hi, i installed the veramate plugin, the "send text" button in the device works, i receive the notification. but i cannot receive the real notifications. i receive them on same iphone with the vera app.
the notifications are enable on veramate...
is it an issue in the iu7?
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on February 17, 2016, 06:15:42 am
hi, i installed the veramate plugin, the "send text" button in the device works, i receive the notification. but i cannot receive the real notifications. i receive them on same iphone with the vera app.
the notifications are enable on veramate...
is it an issue in the iu7?

There are no known problems with UI7 that would prevent this.   It depends on what you mean with "real notification" - the inherent notification in Vera don't get picked up in the app - they need to be redirected to go through to VeraMate.  This is done either by hooking into the Vera notifications with the plugin "Vera Alerts", or, manually setting up LUUP code to send a message.  The FAQ has more information:
http://www.veramate.com/faq/push-notifications

Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: Tlex on March 01, 2016, 07:12:53 pm
trying the following code fail for me :

local TriggerName = zzz
local TrigState = xxx
local TrigTime = zzz

luup.call_action("urn:veramate-com:serviceId:VeraMatePN", "SendAlert", {Msg=TriggerName .. " in state " .. TrigState .. " for " .. TrigTime}, 22)

Any idea how to achieve that ?
Should I concatenate a new variable before ? Is there any other way to do that ?

Thanks :)



Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on March 02, 2016, 04:49:08 am
Providing the device id is the correct id of the VeraMatePlugin, I would have thought that would work.  Otherwise I'd recommend try a simple string just to test.....
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: gzappala on June 18, 2016, 12:11:08 am
Hi, how do you select specific users to receive certain notifications?  For example, I have 3 users setup on my plugin-forwarding, but I would like certain scenes to only notify 1 or 2 of the users. 

I've selected only the desired user(s) on the Vera GUI to receive notifications for a given scene and also double-checked that the auto-inserted code into my scene only contains the user name(s) desired to be notified; however, ALL devices receive the notification.

How do I set this up?  I'm using Vera Alerts and VeraMate Alerts Plugin.

Thanks in advance...
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on June 18, 2016, 07:18:45 am
Hi, how do you select specific users to receive certain notifications?  For example, I have 3 users setup on my plugin-forwarding, but I would like certain scenes to only notify 1 or 2 of the users. 

This question hasn't come up for over a year or more actually - the plugin has a bit of a deficiency where it doesn't allow that customizations (a conscience decision back at the time).  I will see about submitting a new plugin to rectify this and simply allow the user list to be overridden via the LUUP, but for now it's a bit of a hack: you would need to have 3 LUUP commands.  Set the user list to a single user, send the alert, and reset the userlist.

luup.call_action("urn:veramate-com:serviceId:VeraMatePN", "SetAlertUser",  {UserName = "picard"}, [deviceid])

luup.call_action("urn:veramate-com:serviceId:VeraMatePN", "SendAlert",  {Msg = "My Message"}, [deviceid])

luup.call_action("urn:veramate-com:serviceId:VeraMatePN", "SetAlertUser",  {UserName = "picard,kirk"}, [deviceid])

A bit horrible, but will allow you to do it for the short term.

Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: gzappala on June 18, 2016, 11:08:14 pm
Thanks for the prompt response.  Nothing wrong with a work-around for the time being! 

I will code it and keep an eye out for when the plugin is updated.

Cheers!
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: gzappala on June 27, 2016, 03:20:08 am
Hi again...

I'm getting strange behavior on Push Notifications.  When any notification is sent to both my iPhone and my wife's iPhone, I receive it with no issues, but her phone always gets the same notification TWICE (one immediately followed by an exact copy).  I'm currently using Plugin-Forwarding.  Notifications sent by other apps work just fine on her phone.

I've checked configuration on both phones and they are the same regarding Notifications.

Any idea what could be happening?

Thanks in advance!
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on July 04, 2016, 04:45:33 am
I'm getting strange behavior on Push Notifications.  When any notification is sent to both my iPhone and my wife's iPhone, I receive it with no issues, but her phone always gets the same notification TWICE (one immediately followed by an exact copy).  I'm currently using Plugin-Forwarding.  Notifications sent by other apps work just fine on her phone.

If you PM me your username, I can check if there is anything strange happening, but I haven't heard this happen before.  I would perhaps try 2 things; just make sure you haven't entered the username twice on the VeraMate Alerts plugin.  Also, you could try uninstalling the app, and reinstalling - I doubt that will change anything, but perhaps it was registered for both usernames somehow.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: dbmccallum on September 26, 2016, 03:40:43 pm
I receive the push notification no problem with my IPAD (IOS 9.3.4) with no problems, Veramate Premium version 11.1.1.2
Upgraded my phone and my wife's to IOS 9.3.5, Veramate Premium version 11.1.1.2, and they no longer receive push notifications. 
I know the push notification are being sent from the Vera cause I get them on the IPAD. 

Is this a known issue?  Should I upgrade to IOS 10?
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on September 27, 2016, 11:38:22 am
There won't be a need to upgrade to iOS 10, unless I've got a bug.  Please double check alerts are enabled in settings/alerts, otherwise, I'm investigating further.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: dbmccallum on September 27, 2016, 09:47:59 pm
Veramate version 11.1.1.3 fixed my issues.  Wife is still on IOS 9.3.5 and I upgraded to IOS 10.0.2.  Both work.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: dbmccallum on September 27, 2016, 09:58:19 pm
New Question.  How do I add a timestamp to the message in the LUA code
luup.call_action("urn:veramate-com:serviceId:VeraMatePN", "SendAlert", {Msg = "South West Basement"}, 75)
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: wholeflaffer on November 08, 2016, 01:39:37 am
Since the time I set up VeraMate Alerts quite a while ago, I have been receiving both Vera Alert and VeraMate Alert messages for each triggering event.  The Vera alert text is relatively complex (with gateway and notification ID numbers included), while the much nicer VeraMate Alerts simply tell me what just happened ("Garage Door has been opened"). 

Is there a way I can suppress the more complex notifications?  I don't need two apps telling me the same thing each time!  Thanks!
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on November 16, 2016, 03:04:25 pm
Since the time I set up VeraMate Alerts quite a while ago, I have been receiving both Vera Alert and VeraMate Alert messages for each triggering event.  The Vera alert text is relatively complex (with gateway and notification ID numbers included), while the much nicer VeraMate Alerts simply tell me what just happened ("Garage Door has been opened"). 

Is there a way I can suppress the more complex notifications?  I don't need two apps telling me the same thing each time!  Thanks!

I'm not entirely sure what you mean by an extra Vera Alert - VeraAlert is used to forward to VeraMate, which means you've setup an additional push notification there.   I'd recommend perhaps asking on the Vera Alerts board:
http://forum.micasaverde.com/index.php/board,21.0.html
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: RichardTSchaefer on November 16, 2016, 04:39:43 pm
Quote
Vera alert text is relatively complex (with gateway and notification ID numbers included)
It get's confusing .... but what you are describing is NOT from the Vera Alerts Plugin ... it's from Vera's itself.
You can turn these off by logging on to the Vera Servers and disabling the text and email notifications for your Vera account.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: wholeflaffer on November 16, 2016, 11:50:19 pm
You can turn these off by logging on to the Vera Servers and disabling the text and email notifications for your Vera account.

This sounds like what is happening. Thanks!
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: dbmccallum on December 08, 2016, 11:37:30 am
Having troubles.....
I migrated my system from a Vera 3 to a Vera Edge.
Running
VeraMate Plugin 1.0
Vera Firmware 1.7.2139
IOS
Veramate App 11.4.1.1

Everything worked with my older Vera system, with the new system I can not get the VeraMate alerts.  Set ups are identical except Vera Firmware.

Any thoughts?
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on December 08, 2016, 03:47:01 pm
Having troubles.....
I migrated my system from a Vera 3 to a Vera Edge.
Running
VeraMate Plugin 1.0
Vera Firmware 1.7.2139
IOS
Veramate App 11.4.1.1

Everything worked with my older Vera system, with the new system I can not get the VeraMate alerts.  Set ups are identical except Vera Firmware.

Any thoughts?
What about the VeraAlerts plugin?   Remember VeraMate plugin uses that to forward on alerts.

http://www.veramate.com/faq/push-notifications
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: dbmccallum on December 08, 2016, 05:48:54 pm
Hi I use the luup coding option for triggering the alerts.  The test alert "I love VeraMate" doesn't even work.  The only thing different between the two is the vera firmware
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on December 08, 2016, 06:42:18 pm
It's likely VeraMate itself isn't recognising the upgrade.  Try logging out and back in, just to be sure you're connecting to the right system properly, and turn off and back on the alerts (settings/alerts).

If that doesn't work, please follow each instruction in the FAQ and double check all the setup is done, eg the right device id etc.   And lastly, remember the Free version limits the alerts that can be sent (if this hasn't been upgraded).
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: dbmccallum on December 09, 2016, 12:28:17 pm
Alerts on my wife's and my phone started working again midday, dont know why....

I have purchased the premium version.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on December 12, 2016, 05:13:32 am
Alerts on my wife's and my phone started working again midday, dont know why....

Could you PM the userid used?   I can check the server to see if anything went awry.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: Xian on January 04, 2017, 08:35:14 am
Maybe a stupid question, but where to put the luup code for Vera Mate Alerts?
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on January 05, 2017, 09:35:19 am
Not stupid, as the web UI for Vera is pretty atrocious :)   But Vera setup is done via the web UI, which is where the LUUP goes.

1) Go to home.getvera.com and login to your vera. 
2) Select or create a scene you want the LUUP associated with (eg, create a scene when a light turns on). 
3) From within the scene editor, you can add LUUP code.

For more details about LUUP, try the developers forum: http://forum.micasaverde.com/index.php/board,23.0.html
And LUUP specifically for VeraMate alerts, here: http://www.veramate.com/faq/push-notifications
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: Ghostm on February 14, 2017, 06:26:46 pm
Figured I would post here as well since I have not heard back yet from my ticket or new thread i created.

I am new to vera but would greatly appreciate any advice or help, i purchased veramate, I am simply trying to add a voice notification to vera when i set it to home or away using a scene.

So do I put the code in the scene in the lupp section? I tried that as a test using the exact code outlined on veramate website but it wont work as a simple test.

luup.call_action("urn:veramate-com:serviceId:VeraMatePN", "SendAlert",
   {Msg = "My Message"}, [64])

I should mention i am getting voice alerts when i ask a device to notify my veramate will speak on my ipad, but that code in vera UI7 beta is throwing an error message "in lua scene or events".

Any help would be appreciated, must be missing something.
Title: Re: VeraMate Push Notifications (Version >= 6.1)
Post by: veramate on February 15, 2017, 08:09:17 am
Taking this to the topic rather then duplciating - http://forum.micasaverde.com/index.php/topic,47482.0.html