Alarm on

I like to have a (scene) to enable or disable my alarm scene until I decide to enable or disable it again. Currently I have to disable the timer everytime for the scenes, but I would be more happy to use a master ON/OFF scene when away. I have failed to create this so I ask from the forum.

Looks like you need to Install the virtual switch device from the following thread:
http://forum.micasaverde.com/index.php/topic,2138.msg9104.html#msg9104
Then follow the instructions below to add the code snippet into the luup tab of your alarm alarm/disarm scene:
http://forum.micasaverde.com/index.php/topic,8023.msg51862.html#msg51862

Tried it but it does not seem to affect the scene in any way.

You could also use this plugin (basically the same as proposed by strangely, but installs automatically from apps.mios.com):
MiOS Apps

Then add this code to the luup section in your scene:

run = luup.variable_get("urn:upnp-org:serviceId:VSwitch1","Status",DeviceID) if(run=="1")then return true else return false end

You have to replace “DeviceID” with the ID of your Virtual Switch.

So once the scene is triggered, this code will stop the scene if the virtual button is off. If the virtual switch is on the scene will run.

It works! Thanks a lot!
This is the #1 thing I have tried to do. Now I can feel that it’s smarter than most other systems.

Glad you got it working.

Some more ideas you can realize with a virtual switch: :o
http://forum.micasaverde.com/index.php/topic,9304.0.html