Wanna make a scene that can reload vera after an alarm has been tripped

is there any luup code that i could use to reload the vera? or more specifically luup to stop a scene from running.

i have a scene that when activated by either a fire or burgular alarm, will flash the lights in the house. it’s a fantastic code but unfortunatly the only way to stop it is to let it time out or login to the vera webpage and manually reload it.

can i have a luup code do this?

Below should work if you put it in the LUUP tab of a scene called eg ‘Reload’ :slight_smile:

luup.call_action(“urn:micasaverde-com:serviceId:HomeAutomationGateway1”, “Reload”, {}, 0)

[quote=“fencing49, post:1, topic:184949”]is there any luup code that i could use to reload the vera? or more specifically luup to stop a scene from running.

i have a scene that when activated by either a fire or burgular alarm, will flash the lights in the house. it’s a fantastic code but unfortunatly the only way to stop it is to let it time out or login to the vera webpage and manually reload it.

can i have a luup code do this?[/quote]

What scene code are you using to blink the lights? There may be a simple LUA code that can be added to the blink loop that stops the loop.

I used the code in this thread (2nd post) to trigger all the lights in the house to flash on and off after door entry alarm. It has a loop count and delay you can set. It returns everything to it’s original state at the end.

http://forum.micasaverde.com/index.php/topic,5127.msg52585.html#msg52585