The Vera Community forums have moved!

Advanced => Programming => Topic started by: Dyer07 on March 25, 2018, 03:14:05 pm

Title: Panic Button - repeat Luup code?
Post by: Dyer07 on March 25, 2018, 03:14:05 pm
Hi,

I use a VeraLite in conjunction with HomeWave to manage my z-wave environment. I've rigged up a panic button for my kids using a door/window sensor, so that when activated, it send me a push notification via HomeWave that says "----PANIC BUTTON----PANIC BUTTON----".

I use the following code:

luup.call_action("urn:intvelt-com:serviceId:HWPush1", "SendMessage", {Msg = "----PANIC BUTTON----PANIC BUTTON----"}, 15)

This works fine, but my problem is that its easy to miss a single push notification during a busy day. Is there a way to make the push notification repeat say 10 times, once every 20 seconds. I'm hoping that receiving 10 notifications in a row will help get my attention :)

Thanks in advance - Dyer