5 Star Service
The PLEG and PLTS plugins for VERA enable you to more easily create complex scenes than is possible in the standard VERA scene editor. This guide introduces them and shows how to install them in VERA.
One of the most common ways to control your home automation system in VERA is by using scenes. These enable you to make a variety of things happen from a single trigger or event.
For instance you may have a simple scene to turn on a light.
Next you might want this scene to trigger when there's motion in the house (Motion1) or an exterior door is opened (DoorOpen2).
And then you only want the light to turn on if it's dark outside.
For VERA, this is considered 'Advanced' programming, and until recently, the only way to create these types of scene was to use LUA code.
VERA only supports the Logical OR of its input triggers.
Normally you would need to use LUA scripts to create this type of scene - which can become extremely complex and involved.
An easier solution is to use the Program Logic Event Generator (PLEG) and Program Logic Timer Switch (PLTS) plugins.
These plugins enable you to:
The last point is important.
Without the PLEG, or PLTS plugins, Vera would require one scene to turn on the light, and a second scene to turn off the light. Each with their own triggers and logic. Using the plugins allows you to make scene control much easier to create and maintain
PLEG enables you to create complex conditional scenes without having to use LUA coding.
PLTS provides a resettable timed switch that can be used to trigger events and scenes.
For further information take a look at the excellent Introduction Guide to PLEG - VERA Plugin and Introduction Guide to PLTS - VERA Plugin, or take a look at the VERA forum's Program Logic Plugins section.
Installing the PLEG or PLTS plugins is very similar to installing any VERA Plugin.
PLEG and PLTS share a lot of common programming logic, this is contained in a separate plugin called Program Logic Core. You must download this as well as PLEG or PLTS.
PLEG and Program Logic Core Pin VERA's 'My Apps'.
PLEG Plugin in the VERA UI.