[size=14pt]VeraMate Alerts - BETA support for Push Notifications[/size]
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
[ul][li]If you have VeraMate open when an alert comes in, you may receive multiple popups.[/li][/ul]
I have written up some information on how to install this on the FAQ which is a good place to start.
[url=http://veramate.com/site/veramatefaq]http://veramate.com/site/veramatefaq[/url]
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.
[ol][li]Install the VeraMate Plugin on your vera. [url=http://apps.mios.com/plugin.php?id=6826]MiOS Apps
[li]On the VeraMate Plugin, specify the username you will wish to receive alerts - this can be comma delimited, and use “guest” if logged in as guest.[/li]
[li]Open VeraMate, and under settings/alerts, enable push notifications.[/li]
[li]Change your devices/scenes on Vera to notify user. How? Both ways require you to modify the configuration on your Vera box itself:
[list]
[li]VeraMate is able to work with the plugin VeraAlerts. This is the simplest way - simply specify a notification by using the notification tab in the Vera web UI.[/li]
[li]Alternatively you are able to add some “LUUP” code to any device or scene. This enables greater flexibility as you are also able to specify which device the notification belongs to.[/li]
[/list]
[/li][/ol]
VeraAlerts Setup
[ol][li]Install VeraAlerts. [url=http://apps.mios.com/plugin.php?id=3008]MiOS Apps
[li]In your Vera web UI, in the VeraAlerts settings, switch to the Profiles tab.[/li]
[li]Select “Plugin-Forwarding” from the drop down[/li]
[li]In the fields, add the following:
[tt]
ForwardedPluginDeviceID : [The device ID of your VeraMate Plugin (this can be found in the settings screen of the plugin]
ServiceID : urn:veramate-com:serviceId:VeraMatePN
Action : SendAlert
DefaultArgs : Msg=“{Message}”
[/tt]
[/li]
[li]In the settings tab, select this profile for your default recipients[/li][/ol]
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.
[tt]luup.call_action(“urn:veramate-com:serviceId:VeraMatePN”, “SendAlert”,
{Msg = “My Message”}, deviceid)[/tt]
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
[tt]luup.call_action(“urn:veramate-com:serviceId:VeraMatePN”, “SendAlert”,
{Msg = “Front Door Opened”, AlertedDeviceId = “40”}, deviceid)[/tt]
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).