Jump to content

Automatic doorbell


kcshipley

Recommended Posts

Posted

I live in an earth house, with no windows downstairs except for the "front door" in the back yard :)

 

So there is no view of visitors coming in from the driveway out front. So I bought 4 X-10 motion sensors, for the driveway, the sidewalk, the patio and just above the "front door".

 

The program below doesn't have a "visitors4?" for the front door yet - I haven't installed that, facing straight down. With just the other 3 sensors, I occasionally get misfires when schoolkids cut through the back yard on their way to the bus stop, or the lawn care guy drives the lawnmower through, or the neighbor short-cuts to the cul-de-sac mailbox.

 

An 8-button KPL in a tabletop enclosure, linked to the X-10 motion sensors has been really nice for "seeing" what's going on outside.

 

The "Visitors buttons group" is a scene with KPL buttons (responders - indicators) all over the house, that flash when a visitor arrives, then stays on for a few minutes.

 

In the Home Theater with the 8 speakers blasting, I originally had a "blink the ceiling lights" program, augmenting the X-10 chime. I might put that back in eventually...

 

Notice that this is what Electrical Engineers call a "State Machine", where specified things must happen in the proper sequence (and in this case, within a certain timeframe) in order to get to the final "state", which rings the doorbell.

 

This (uh...) filters out such occurrences as large dogs and neighborhood kids scampering about, every-which way near the motion sensors, and visitors LEAVING.

-------------------------------------------------------------

 

 

Program Content for 'Visitors1?'

 

If

X10 'A15/On (3)' is Received

 

Then

- No Actions - (To add one, press 'Action')

 

Else

- No Actions - (To add one, press 'Action')

 

 

Driveway motion sensor

-----------------------------------------------

 

Program Content for 'Visitors2?'

 

If

Program 'Visitors1?' is True

And From Last Run Time for 'Visitors1?'

For 30 seconds

And X10 'A13/On (3)' is Received

 

Then

- No Actions - (To add one, press 'Action')

 

Else

- No Actions - (To add one, press 'Action')

 

 

Sidewalk motion sensor AFTER driveway motion

-----------------------------------------------

 

Program Content for 'Visitors3?'

 

If

Program 'Visitors2?' is True

And From Last Run Time for 'Visitors2?'

For 10 seconds

And X10 'A11/On (3)' is Received

 

Then

Run program 'Visitors'

 

Else

- No Actions - (To add one, press 'Action')

 

 

Patio motion sensor AFTER (driveway, then sidewalk motion)

-----------------------------------------------

 

Program Content for 'Visitors'

 

If

- No Conditions - (To add one, press 'Schedule' or 'Condition')

 

Then

Send X10 'B7/On (3)' //ring chime

Repeat 15 times

Set Scene 'Visitors buttons group' Fast Off

Set Scene 'Visitors buttons group' Fast On

 

Else

- No Actions - (To add one, press 'Action')

-----------------------------------------------

 

Program Content for 'Visitors timeout'

 

If

Time is Last Run Time for 'Visitors' + 3 minutes

 

Then

Set Scene 'Visitors buttons group' Off

 

Else

- No Actions - (To add one, press 'Action')

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...