Hi -
I’ve got Vera Alerts set up and working great with the Push Notification app. Now I’m trying to customize some of the messaging in the Vera Alerts app. I’m using the Prowl service so I have my setup in Vera Alerts as:
Event=“Alert”,Description=“{Message}”
and everything works great.
Now when I try to put a template in the Message Override field I get an error. The message I’m putting in for testing is:
{DateTime(CurrentTime,%A %B %d, %Y at %H:%M)}
The error that I get is:
01 04/22/13 11:07:50.132 LuaInterface::CallFunction_Job device 31 function SVeraAlert_VeraAlert1_DeviceNotification_run failed [string “module(“veraTemplateDateTime”, package.seea…”]:35: bad argument #1 to ‘find’ (string expected, got nil) <0x2dff1680>
07 04/22/13 11:07:50.135 Event::Evaluate 17 GarageLeftOpenNotification scene GarageLeftOpenNotification is true users:280567 allow:1 <0x2dff1680>
Any help would be appreciated.
Thanks.
Found a bug …
Install this version of J_VeraAlert.js using: Apps → Develop Apps → Luup Files → Upload File
Then reload your browser window!
Then go to Vera Alerts control and the Notification Configuration tab.
Then do a Save.
You should be good to go!
I will update the plugin on the App store soon.
Worked perfect. Thanks much.
Hello
Even with the patch I can not make a different alert
I want to change the “event” with Door eg
for the message is great but for Event imossible if someone has an idea
luup.call_action (“urn: richardgreen: serviceId: VeraAlert1”, “SendAlert”
{Message = “EXAMPLE {DateTime ({device ([5XX] Service [urn: micasaverde-com: serviceId: SecuritySensor1]… LASTTRIP)}% A% B% d% Y% H:% M)}” Recipients = “Forward”}, YY)
Message text = ok
Evenenment = no text OK
and direct with Pushnotification is good
luup.call_action(“urn:upnp-org:serviceId:IOSPush1”, “SendProwlNotification”,{ Event= “ALERTPERSO”, Description=“EXAMPLE”, Priority=1, URL=“”}, YY)
thank you David
@davidd1205
Need a little more details:
What are your settings for Plugin Forwarding ?
Message text = ok
Evenenment = no text OK
What does the above mean ? That the [b]Message[/b] is expanded properly and forwarded through the Push Notification ?
I want to change the "event"
Does this mean you want to be able to use Text expansion in the Event Argument ?
I could run all arguments through the Template expansion.
Note: I have another patch out there: L_VeraAlerts.lua that will allow you to pass additional arguments on to the Forwarded Plugin.
http://forum.micasaverde.com/index.php/topic,14073.msg110267.html#msg110267
[quote=“RichardTSchaefer, post:5, topic:175123”]@davidd1205
Need a little more details:
What are your settings for Plugin Forwarding ?
Message text = ok
Evenenment = no text OK
What does the above mean ? That the [b]Message[/b] is expanded properly and forwarded through the Push Notification ?
I want to change the "event"
Does this mean you want to be able to use Text expansion in the Event Argument ?
I could run all arguments through the Template expansion.
Note: I have another patch out there: L_VeraAlerts.lua that will allow you to pass additional arguments on to the Forwarded Plugin.
http://forum.micasaverde.com/index.php/topic,14073.msg110267.html#msg110267[/quote]
Hi and thank you again
in fact all goes well I transferred with pushnotificaion plugin to prowl
by vera with alert against putting in pushnotification plugin Forward
I do not know precisely what to put in as an argument arg plugin dan veraalert
I put to test
Event = “Alert”, description = “{Message}”, Priority = 1 URL = “”
I get a good test of the transfer complete message but I can not seem to change the message header is always Alert
I would like to customize this t Event redirected to the next event in prowl
thank you for your help because I can not do
With the Patch I reference you should not be able to add arguments like:
Event = “Info”
To the call to luup.call_action (“urn: richardgreen: serviceId: VeraAlert1”, “SendAlert”, …
The plugin will forward them, and override, definitions from the Plugin Forwarding arguments.
[quote=“RichardTSchaefer, post:7, topic:175123”]With the Patch I reference you should not be able to add arguments like:
Event = “Info”
To the call to luup.call_action (“urn: richardgreen: serviceId: VeraAlert1”, “SendAlert”, …
The plugin will forward them, and override, definitions from the Plugin Forwarding arguments.[/quote]
i don"t undersand it’s possible or not ?
sorry for my poor english
That’s not your English … it’s my bad message.
It should have said you should NOW as opposed to what I typed which is you should NOT