Guys - I am sure this is possible, but not sure how… ???
so, I use this on several actions in luup:
luup.call_action(“urn:richardgreen:serviceId:VeraAlert1”, “SendAlert”,
{Message = “{tone:2} HI It’s Vera, Letting you know the front door is still unlocked!”, Recipients = “”}, 85)
is it possible it to create a variable, or some code, where I can replace front door with “open trigger” and avoid a separate action code for each entry point.
I am doing one for my attic door as well, and was planning on a whole new trigger, of course, but a new condition, and a new action…
luup.call_action(“urn:richardgreen:serviceId:VeraAlert1”, “SendAlert”,
{Message = “{tone:2} HI It’s Vera, Letting you know the ATTIC door is still unlocked!”, Recipients = “”}, 85)
And what if multiple are open at the same time, is it possible to say Front door and attic door in the same action event?
I can figure out the condition , if front door, or attic , etc, but not sure how to handle the LUUP action code.
Thanks!