Posted: Tuesday Oct 23rd, 2012 06:39 pm |
|
1st Post |
juwi_uk
Member
back to top
|
OK,
#
I searched quickly across the forum to see if this is already covered but nothing jumped out at me so here goes....
I want my Kitchen light to come on automatically if after dusk and I enter through the door. Sounds easy enough in principle, but how do people set this up and can it just be don't with door sensor or does it need PIR as well?
Thing that is bugging me is how do you distinguish between someone turning off the lights just before they exit and the automation turning it back on as you exit, versus the light already being off and someone enters from outside.
Help......
Julian
|
Posted: Wednesday Oct 24th, 2012 04:43 am |
|
2nd Post |
cleaner
Member
Joined: | Monday Oct 3rd, 2011 |
Location: | China |
Posts: | 23 |
Status: |
Offline
|
back to top
|
Turn on light only if the door and PIR get detected in the correct order, ie Door first then PIR
Like door start timer for 10 second
PIR on- response check timer, if timer is on, switch light on
|
Posted: Wednesday Oct 24th, 2012 07:53 am |
|
3rd Post |
juwi_uk
Member
back to top
|
Thanks, you've answered then; I do need a PIR too in the solution.
Thanks
Julian
|
Posted: Thursday Oct 25th, 2012 11:30 am |
|
4th Post |
wexfordman
UCM Pi Users
Joined: | Monday Jan 1st, 2007 |
Location: | Cork, Ireland |
Posts: | 546 |
Status: |
Offline
|
back to top
|
I have this set up on my two bathrooms. The door activates the light and starts a 1 min timer. The PIR stops the timer if it goes off and the door is closed.
I installed automatic door closers (the 15 euro hidden internal spring/chain ones) so the door is never left open,so if the pir is activated and the door is closed, the room is definately occupied.
|
Posted: Monday Aug 26th, 2013 08:58 pm |
|
5th Post |
andrew@bohnet.co.uk
Member
Joined: | Tuesday Jul 5th, 2011 |
Location: | |
Posts: | 4 |
Status: |
Offline
|
back to top
|
can you include your code that you used in this posting please?
|
|