How to enable/disable scene triggers using a time schedule

I have a foscam IP cam which has a motion sensor build in.

Using the plugin available in the app store i can use this motion sensor too switch things on/off when motion is detected.

Now it works as follows:

On specified times i set to run a scene set which activates (an other times to deactivate) this motion sensor.
An other scene switches on lights when when motion it detected by the sensor.

This works fine, but i want to extend this function.

What i want is following:

  • motion sensor is ALWAYS on
  • the scene which switches on devices which are triggered by the motion sensor should be time scheduled, not the sensor.
  • the scene must have an option to turn off, when i do not want it that it swicthed on motion (i now do this by turning off the motion senor device in vera)

Why?
I have an other device which i also want to trigger on motion, but this should be completely independent of my already present scene and also using totally other switching times. At the moment in evening hours the motion sensor is switched of because i do not want that the scene is switched.

Can anyone give me some advise how i can set this?

you have 2 options:

  1. use the PLEG plugin, which would allow you to actually time-schedule the scene not the device, and add additional conditions for triggering.
  2. use the “virtual switch” plugin as a way to enable and disable the scene. A close example is described here: http://forum.micasaverde.com/index.php/topic,9897.msg66879.html#msg66879

There’s an example of using a time range as a condition for running a scene here. The same thread also has examples of using a VirtualSwitch to enable/disable a scene and shows how multiple conditions may be handled.