make a timer?

I have Vera3 and now a smartswitch zwave. I want to put on the light on 08:00 and put it off on 20:00 . so i go to automation new scene > name paludarium immediately (no delay there must be an exact time setting!) and room Bob thats where the paludarium with the light is. I have now made the scene but whitin the scene i can not choose for the smartswitch? and i even can not made a schedule. I have made 2 schedues paludarium on and paludarium off. Now there is just one schedule paludarium on (off isnt there?) and i have the scene paludarium. The only thing i can do is start the schedule paludarium on, no more. There is a youtube for vera2 and lights on but the software is other (and a lot easier) than the software my Vera3 uses.

Yes, where you see immediate. Have a look at the attachment here

http://forum.micasaverde.com/index.php/topic,13305.msg98962.html#msg98962

I have already made a timer, with 2 scenes paludarium on (with a schedule every day 08:00 uur switch on) and 2nd scene paludarium off (with schedule everyday 20:00 uur switch off). This works but only disadvantage: when power is off by accident, the scene paludarium on is not restarted. So there must be a way to trigger scene paludarium on when the power had been lost for a while.

I would suggest you look at the alternatives such as using virtual switch, combination virtual switch, program logic timer. The basic function will not work given the scenario you provided without additional plugins. That is why things like smartswitch were developed.

In addition, is it you turning the power off or it is failing because you might consider running your Vera on a UPS (uninterrupted power supply).

Here an example using one of the additional plugins to apply logic.

http://forum.micasaverde.com/index.php?topic=14197

I have stopped for a few weeks but now i’m back. What is pleg and where do i find documentation?

I have found the plug pleg. I have made 2 triggers Palu_On and Palu off and of course 2 schedules t1 weekly 1234567 08:00 hour and t2 weekly 1234567 20:00 hour.

But how to connect the t1 and t2 to the triggers palu_on and palu_off?
At condition i could make 1 choice t1 or palu but there is no parameter saved.

I may be missing something … but you do not need the Palu_On and Palu_off triggers … I thought.
these are for the light you are trying to control (Output of logic, not input).

[hr]
I think the following will do:
Since you have the same schedule every day … you do not need any inputs or schedules.

You have the following two conditions:

LightsOn 08:00:00; NOW; 20:00:00
LightsOff Not LightsOn

Then you create actions for each of these conditions:
LightsOn Turn on your paludarium light(s)
LightsOff Turn off your paludarium light(s)

Tried this and hit my palu off event (one of the two old events on automation. Of course light went off but not came on. the system gives:

Program Logic : LightsOff Not LightsOn: Invalid Expression Operator: NOT in:LightsOff Not LightsOn

Frustrating at times, isn’t it?

Try placing the expression in brackets.

LightsOff (Not LightsOn)

I am sorry … what seems obvious to me is not obvious to all the users.
When I indicated:

LightsOff Not LightsOn

The BOLD part is the name of the condition … and not a part of the condition definition.
The condition definition is just the last two words … If you put all three words in the definition of a condition it is invalid … That’s because Not is not a binary operator. I know this sounds technical … but in order to use the PL plugins you will still know how to express your problem in logical constructs … using the provided operators.

Most of the operators provided are common to all computer languages … The exception to that are the Sequence and Multi Trigger operators. The common operators allow you to make a logical expression about a single point in time. These additional two operators allow you to extend the logic to handle intervals in time … and greatly enhance the capability for Home Automation.

Has anyone ever seen a good Binary or Mathematical Expressions for Dummies guide that they can recommend for people lacking the expertise ?

Chances made, removed the power so restarted Vera but no response, no error but the lights won’t get on. This is also the problem with traditional events as i run now, When start event is started and after that the power fails, the system never starts again. (yes of course the next day (i hope so).

See the png’s here’s wat i have filled in

Did you arm the PLEG device ? If you do not ARM the PLEG device … it will not execute the Actions

The logic is setup to only change at the specified intervals. If you want the light to always come on even if you manually turn off the light … Add another input:

LightIsOff - When your paludarium light indicates off.

Modify you condition lights on condition as:

LightsOn LightIsOff and (08:00:00; NOW; 20:00:00)

Then if the Light is turned off … it will get turned back on … to disable this … disarm the PLEG.

Nope, powered off and on, never came on. Also not if i hit the event paludarium off

And the 3th

Have you setup your Timezone information in Vera ?

Yep, Amsterdam, My place Diemen is just at the east of Amsterdam and in Holland we all have the same timezone.
My 2 events that i run now are exactly on time.

Chances are your switch does not have instant status reporting … So it will not notice it is off until the next poll interval …

I coded up with a switch with instant status … I only get a flicker when I turn of the light … as Vera/PLEG turns it right back on.

Of course, in this case i have an AN158 zwave switch but i have waited for about 8 minutes.