Jump to content

X-10 Motion Sensors Watchdog


kcshipley

Recommended Posts

Posted

These programs monitor EagleEye MS14A motion sensors and scream if any of the batteries go dead. It is assumed that at the time 'Setup' is run, nearby lights are off (which is assured in an 'All off' program triggered by Last Run Time for 'Setup').

 

'Notify' rings an X-10 buzzer and supposedly sends email. Unfortunately, I've never been able to get the email "notify" function to work...

 

I originally ran these programs at night within a 10 second timeframe, forcing lights on/off and monitoring the "darkness" signal from the motion sensors. But I later decided that if the light bulbs were dead, the motion sensors would be blamed for it, so I let Mama Nature handle the lighting instead.

 

If it were known from below, that the motion sensors were all functional, one could unleash a watchdog on the light bulbs...

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

Program Content for 'Setup'

 

If

Time is Sunrise - 1 hour

 

Then

Run program '*Driveway sensor okay?' (Else Path)

Run program '*Sidewalk sensor okay?' (Else Path)

Run program '*Patio sensor okay?' (Else Path)

Run program '*Stairwell sensor okay?' (Else Path)

Run program '*LivingRoom sensor okay?' (Else Path)

Run program '*Door sensor okay?' //not installed yet so true

 

Else

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

 

 

Assume the motion sensors don't work - if they are working, they will complain later...

 

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

Program Content for '*Stairwell sensor okay?'

 

If

X10 'C6/Off (11)' is Received //this is the "not dark" signal from C5

 

Then

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

 

Else

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

 

 

Stairwell motion sensor is working

 

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

Program Content for 'Check batteries!'

 

If

Time is Last Run Time for 'Setup' + 3 hours

And (

Program '*Driveway sensor okay?' is False

Or Program '*Sidewalk sensor okay?' is False

Or Program '*Patio sensor okay?' is False

Or Program '*Stairwell sensor okay?' is False

Or Program '*Door sensor okay?' is False

Or Program '*LivingRoom sensor okay?' is False

)

 

Then

Run program 'Notify'

 

Else

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

 

 

If any of the motion sensors are not working, raise a stink.

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

 

Program Content for 'Notify'

 

If

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

 

Then

Send Notification to All

Send X10 'B6/On (3)' // ring the buzzer

 

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...