i got some Jasco/GE 45609 and they work perfect and look awesome.
Also have some scenes configured to turn lights on or off depending on movement detection.
I want to configure a manual override so light keeps on no matters if there is movement or not, However I can’t find any way to detect if a human is touching the switch or its Vera sending the on/off command.
Anyone have tried this before?..how to detect if human is pressing the switch?
i got some Jasco/GE 45609 and they work perfect and look awesome.
Also have some scenes configured to turn lights on or off depending on movement detection.
I want to configure a manual override so light keeps on no matters if there is movement or not, However I can’t find any way to detect if a human is touching the switch or its Vera sending the on/off command.
Anyone have tried this before?..how to detect if human is pressing the switch?[/quote]
Well in vera’s eyes it only sees the switch on or off. You need to come up with other ways.
Is it a dimming light or on/off only? Dimming you can have scene run to 95% then if you change it to anything else override.
To over ride a on/off you might have to flip off then on.
Also if your using motions to flip on switches then have the motion re trigger the timer so as long as there is movement it will keep resetting a stay on. Or after sensing so much movment in few min. it cancels the auto shut off and just leaves it on.
What i got now is:
if motion sensor detects movement it turns on light.
if no movement is detected in last 5 minutes it turns light off
What i want is…keep the same as above but
if human hits the switch…no matters if the 5 minute mark pass with no movement…stays on.
VS that turns on if switch is on by motion detection
VS off with 5 mins no motion detection…but only if its already on.
this way…if some1 hits the switch…VS will not go on…after 5 mins if no mov…no turn ff(bc vs was not on).
At this point i partially answered my own question…
However…if light is already on (by motion detection)…no matter what…after 5 mins it will go off (bc vs was on)…this is where i need to detect human action so i can set flag off.
I’ll give a try to smart witch plugin…but what i read so far…isn’t too clear how it works, specially the manual override.
Sure -if you use PLEG, there are plenty of examples of how to do this. You check to see if the light turned on within 30 seconds of the time your PLEG logic indicated it should have been turned on. Otherwise you assume it was human switched.
I think posting in PLEG sub-forum of plug-ins forum (after searching for the answer yourself) would get you on the right path.
[quote=“otolosa, post:4, topic:185960”]45609 its only on/off switch.
What i got now is:
if motion sensor detects movement it turns on light.
if no movement is detected in last 5 minutes it turns light off
What i want is…keep the same as above but
if human hits the switch…no matters if the 5 minute mark pass with no movement…stays on.
VS that turns on if switch is on by motion detection
VS off with 5 mins no motion detection…but only if its already on.
this way…if some1 hits the switch…VS will not go on…after 5 mins if no mov…no turn ff(bc vs was not on).
At this point i partially answered my own question…
However…if light is already on (by motion detection)…no matter what…after 5 mins it will go off (bc vs was on)…this is where i need to detect human action so i can set flag off.
I’ll give a try to smart witch plugin…but what i read so far…isn’t too clear how it works, specially the manual override.[/quote]
This would work with in PLEG.
Triggers:
LightSwitch
VirtualSwitch
MotionSensor
Condition:
LightOn = MotionSensor
LightOff = !VirtualSwitch and !MotionSensor and (!MotionSensor; Now >5:00)
VirtualSwitchOn= MotionSensor and LightSwitch and (MotionSensor; LightSwitch < 10)
VirtualSwitchOff = !LightSwitch
Actions:
Light On= Turn On Light
Light Off = Turn Off Light
VirtualSwitchOn = Set Virtual Switch to On
VirtualSwitchOff = Set Virtual Switch to Off
These days I don’t use NOW and instead use Self Re-Trigger Schedules…[/quote]
I have just started to us the schedules myself. Maybe you know what the big advantage is?
I know the NOW is not that accurate as far as time goes since it only re evaluates every min or so, but is there anything else? The timer needs to be made, usually it takes an extra condition. one to start the timer and one to show timer is off and turn off the light. So seems like it adds more inputs/conditions/actions but doesn’t seem to be any better beside precise timing. For me turning off a left on light doesn’t require to the sec. accuracy tho.
I have my front door light set up to turn on with motion. What do I need to do to only turn on at night? Right now it’ll turn on when tripped, day or night.
[quote=“Comeby, post:9, topic:185960”]I have my front door light set up to turn on with motion. What do I need to do to only turn on at night? Right now it’ll turn on when tripped, day or night.[/quote]Drifting off topic here, but there are a few options.
Create scheduled scenes to Arm and Disarm the motion sensor at night.
Place the following code in the LUUP tab of your scene so that the scene will run only between sunset and sunrise: return luup.is_night() == true
Currently I use PLEG for this kind of stuff. There is built in days/time of the week. There is also built in sunrise and sunset times. Or outside of PLEG there is day or night app. You can any of these three to your condition so it only fires at night.
Best Home Automation shopping experience. Shop at Ezlo!