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?
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:
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.
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.
"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.
Best Home Automation shopping experience. Shop at Ezlo!