Trying to trigger Home/Night/Away

Hello Community,

I’m hoping someone can help me out. I’m trying to create a scene that will put Vera into the appropriate Home/Night/Away mode based on a trigger from my DSC alarm panel (using Envisalink 4).

In the scene, I’ve tried all the detailed Alarm states as a trigger, but no matter what mode I use to set my alarm, it goes into Away mode. For night mode, on my Alarm panel I press “Stay, *1”. The *1 activates the motion sensors on the ground floor.

Has anybody had any success with this?

Thanks,

Jason

Hi Jason,

I use the HouseModes plugin to change the mode of the Vera…

This is what one of my scenes look like (no Luup code)
Step 1: Select a Trigger
1 Device Trigger
dsc partition 1 is armed Stay
Step 2: Device Actions
What do you want to have happen?
Immediately House Modes Plugin Night…

Here is another scene, using Luup to change the mode of the Vera:
Step 1: Select a Trigger

1 Device Trigger

dsc partition 1 is Armed

This scene runs…

When I’m in the mode Home

When this scene runs…

Also, execute the following Luup code:

function lights_on() if (luup.is_night()) the…
luup.call_action(‘urn:micasaverde-com:serviceId:HomeAutomationGateway1’, ‘SetHouseMode’, { Mode=2 }, 0)

(this switches the Vera into AWAY mode)

Hope that helps.

Andre

Best Home Automation shopping experience. Shop at getvera!

© 2020 Vera Control Ltd., All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules