Automatic lights when home

Trying to think this through:

1 - Living Room light (plugged into wall module) turns on at sunset, stays on for 3 hours.
2 - When I get home at sunset+1 hour, I want to watch TV, so I want the light off (2 hours early).
3 - After 11PM, when I go to bed, I want the motion sensor to turn on the light for 5 minutes, then turn off (task runs until sunrise).

1 and 3 I already have done…

For #2, do I just have to manually turn the light off and then remember to turn it back on before heading to bed?

One possible approach:

http://www.keene.co.uk/multi.php?mycode=KIRAMW

I’ve got one of these that run scenes whenever I turn on or off my TV. In your case you could turn your lamp off when TV turns on.

http://forum.micasaverde.com/index.php/topic,14618.0.html

If you do procure one of these units, you can get either a UK or a world version. They’re the same but come with different wall plugs.

I have this implemented with a state model approach. There is an upper layer of logic that determines the state change behavior, and a seperate layer that determineds the behavior in each state. It can be done with a combination of PLEG / PLTS or utilizing the new state variable concept. Here is the thread discussing the state engine:

http://forum.micasaverde.com/index.php/topic,21850.0.html

I have since rewritten the logic using state variables, just not had the chance to update the documentation.

Cheers!

PD

I think I may have figured out a solution…

If I install the micro switch in the switch receptacle, that would do what I needed - mauall control of switches but still able to be controlled with the vera interface.

Likewise, the wall receptacle.

And turning on “Voltage Sensing” option in the device will allow you to switch the light on with its own switch, versus reaching behind the couch to hit the wall mounted switch.

Wait! How does that work?

"By the Load-Sensing feature. Normally, the Z-Wave module controls the ON/Off state of the connected light and power is either turned On or Off at the module (either manually or by the remote). If the switch on the connected light is used, the Z-Wave control circuitry automatically senses that the light is being turned On and activates the Z-wave controlled outlet, providing power to the connected device. This feature is disabled by default; see the section on advanced operation for instructions on how to enable it.

"Load sensing is disabled when shipped from the factory. This feature can be enabled if desired. Setting parameter 29 to a value of 1 will enable the Load Sense function.

  • Parameter No: 29
  • Length: 1 Byte
  • Valid Values = 0 or 1 (default 0)
    Note: When replacing a burned-out light bulb, the load sensing feature (if enabled) will automatically turn the light ON when the new bulb is installed even if the Z-wave module was previously turned OFF."

From GE lamp module instructions.