Jump to content
C4 Forums | Control4

Motion sensing lighting with overrides


shaunb

Recommended Posts

I have an idea and would like to know if there is any advice before i start programming.

I would like to manage the lighting in our bedrooms with better efficiency using the EVO192 PIR's but also want to create and ACTIVE and PASSIVE state, meaning if active the lights trigger on PIR but if passive like when we sleeping they won't trigger. Does this idea make sense?

So in the master suite these are my agent ideas

Timers MS Bedroom Light = 10 minutes.

Variable MS Active Boolean

Programming thoughts to change variable state ACTIVE or PASSIVE

Light dimmer event for double tap top set Master Suite Active VAR = True

Light dimmer event for double tap bottom set Master Suite Active VAR = False

PIR bedroom

When senses motion -

If Var MS active is TRUE

If time is night

Start timer MS Bedroom Lights

If timer MS bedroom lights is running

Reset timer MS bedroom Lights

Timers programming thoughts

MS Bedroom Lights when expires

If VAR MS active is True Ramp to level 0 on MS bedroom Lights over 3 seconds

MS bedroom lights when timer started

If VAR MS active is True Ramp to level 100 on MS bedroom Lights over 2 seconds

Any suggestions and advice would be appreciated.

Link to comment
Share on other sites


This all seems quite reasonable. You may want to add lower levels of dimming depending on time of night. You could also tie ACTIVE / PASSIVE to arming your security system to "Stay", assuming you do this at night. 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.