Trying to get to grips with Vera Lite and HomeWave, so any thoughts on how I could achieve the following would be great:
I have an occasional need to run a Scene at 5am. How would I go about configuring a Scene/Schedule via HomeWave which I would activate the night before, but only as a one-off/single event: so it would run only once. When required, I would activate the Scene/Schedule again.
I’ve had a look at adding a Vera service through HomeWave but not sure how to achieve this. As the time of activation would vary, a delay of X hours wouldn’t really work…
I would take a look at the PLEG Timer Switch. I’ve not used it myself, but to my understanding, it has a timer function that can be started by ARMing or some other function which should be able to be flipped by HomeWave. It could then BYPASS itself after running it’s course until you ARM it again. This is sort of a self clearing version.
For a simpler solution, you can use the normal PLEG plugin, and set a condition to include the time you want this action to happen as a schedule. When you want it to happen, ARM the PLEG. When you are done and don’t need it, you BYPASS the plugin.
ARM / BYPASS = buttons on the plugin which should be able to be switched from HomeWave.
Easiest way to do this, without having to learn PLEG
Create a virtual switch that you will set to ON the night before if you want it to run.
Schedule the scene to run every day at 5am.
Add to you scene (with a delay, say 15 seconds) to turn off the virtual switch.
Add a line of Luup to cancel the scene execution if the virtual switch is off Example, where the device number of your virtual switch is 66 and VirtualSwitchStatus is just a variable name.
local VirtualSwitchStatus = luup.variable_get(“urn:upnp-org:serviceId:VSwitch1”, “Status”, 66)
if (VirtualSwitchStatus == “0”) then
return false
end
– cancels the scene if you have turned the switch to off
Thanks @Bulldoglowell and @shmixx for explaining the options so clearly. I like the simplicity of the PLEG plugin but it would also be good to make this work with just the Vera, so will try them both out!
Cheers, Christian
Best Home Automation shopping experience. Shop at Ezlo!