Setting priority and sound for pushover

Hi Guys,

How do you set the priority and sound in a veraAlert that uses pushover?

luup.call_action(“urn:richardgreen:serviceId:VeraAlert1”, “SendAlert”, {Message = “Door open {tone:1}”, Recipients = “”}, 21)

… I just receive a message with {tone:1} in the message.

I cant seem to search the right thing to find the answer. Thanks!

{tone:1} is the syntax for the Vera Alerts Mobil app.

There is some help info on the bottom of the PushOver profile editor in the Vera Alerts Plugin.

[quote=“tdubbs, post:1, topic:184710”]Hi Guys,

How do you set the priority and sound in a veraAlert that uses pushover?

luup.call_action(“urn:richardgreen:serviceId:VeraAlert1”, “SendAlert”, {Message = “Door open {tone:1}”, Recipients = “”}, 21)

… I just receive a message with {tone:1} in the message.

I cant seem to search the right thing to find the answer. Thanks![/quote]

I’ve found how to call for specific sounds while reading the API documentation on the pushover website.

[url=https://pushover.net/api#sounds]Pushover: API

I’m using VeraAlerts to send pushover notifications to iOS or Android similar to the example below (posted from a PLEG status report, so syntax may vary)

Message={device=GalaxyS4}{sound=bike}Left Home Recipients=Pushover-DebFace

There are priority settings in the API page linked above (I don’t use priorities, so I’ve never tested)

Hope this helps

Chris

Her’s the code for sound that works for me.

 luup.call_action("urn:richardgreen:serviceId:VeraAlert1", "SendAlert", {Message = "Door opened at {DateTime(CurrentTime,%H:%M on %A %B %d, %Y)}{sound=spacelarm}",  Recipients = "Pushover"}, 16)