Author Topic: Z-wave Outdoor Motion Sensor  (Read 868 times)

Offline ehertz

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Z-wave Outdoor Motion Sensor
« on: January 22, 2017, 10:09:54 pm »
One of my frustrations has been the lack of a reliable outdoor z-wave motion sensor. Less than two years ago, I purchased a commercially available sensor and mounted it on my garage. It lasted a few months. I replaced it under warranty, and the new sensor lasted about another year before failing. I have trouble understanding this because in three places on my house, I have inexpensive motion sensors lights that I purchased for less than $15 at a major home improvement superstore. All of these lights have worked reliably for over a decade. One is mounted very close to the position of z-wave motion sensor, so it is exposed to the same conditions as the much more costly motion sensor that failed.

I decided to try to convert an outdoor motion sensor light from that superstore into a z-wave motion sensor. To do this, I added a Vision ZL7431 z-wave relay. (I selected the Vision relay because it was the smallest I could find. There is another similar relay on the market which is slightly larger. I assume it will work fine, but I did not test it.) The wiring I used is as follows:
- Connect white wires from power mains, motion sensor, ZL7431 relay, and lights.
- Connect black wires from power main, ZL7431 relay, and motion sensor.
- Connect green wire ZL7431 relay, red wire from motion sensor, and black wires from lights.
- Cap off yellow wire from ZL7431 relay.
- Cap off red wire from ZL7431 relay.
- Cap off blue wire from ZL7431 relay.

The resulting light is mounted on the corner of my garage, pointed so that if there is motion detected in my driveway, the motion sensor lights turn on. Then, the ZL7431 sends a signal to my Vera controller, which turns on other lights around the outside of my house. The On time of the motion sensor lights is controlled by the timer on the motion sensor, while the On time of the other lights is controlled by the Vera.

The attached wiring diagram and pictures show what I did.

DISCLAIMER: If you do not have confidence in your ability to work with 120 volt wiring, do not attempt this. This is enough voltage to kill someone, so you must take appropriate precautions, such as turning off the circuit before installing a light, and triple checking your work before turning power back on. Also, while this has worked fine for me for about a month now, I cannot provide any assurance that it will work at your house.

Offline FireBird

  • Jr. Member
  • **
  • Posts: 94
  • Karma: +2/-0
Re: Z-wave Outdoor Motion Sensor
« Reply #1 on: January 23, 2017, 04:04:44 pm »
Nice job! Thanks for posting this and the instructions on how to wiring everything.

Offline BOFH

  • Sr. Hero Member
  • ******
  • Posts: 2220
  • Karma: +102/-132
Re: Z-wave Outdoor Motion Sensor
« Reply #2 on: January 23, 2017, 05:31:03 pm »
I have an existing LED motion sensor light from Costco on my drive. I may have to take that down and see if I can modify that one using your schematics and have it tell Vera when it goes on.

I recall seeing motion sensors at ACE hardware a while back to add to existing external lights like the one you show without that sensor. That would make it even easier as I don't have to try and open my existing light which I may not be able to do but can just hook up that 2nd sensor to the mains and the relay. 
Vera3 UI5 UI7 Edge Plus
Trane TZEMT400AB32 | Schlage BE369 FE599 | GE 45601 45602 45603 45604 45606 45609 45631 | Intermatic HA01C HA03C HA05C HA07C CA600 CA3000 | Aeon DSC06106 | Telguard GDC1 | Foscam FI8910W FI8905W FI9821W | D-Link 930L | Wanscam JW0011 | ZModo ZPIBH13W

Offline ehertz

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Z-wave Outdoor Motion Sensor
« Reply #3 on: January 23, 2017, 09:00:27 pm »
Yes, BOFH, I am thinking of mounting a motion sensor set up just this way in one part of my house where I don't want a light, just a sensor. I am pretty sure it would work fine without having a light attached. But I have not tried it yet.

Offline REKEMP10

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Z-wave Outdoor Motion Sensor
« Reply #4 on: February 01, 2017, 08:10:48 pm »
I'm interested in this approach - but doesn't the motion detection only occur at night?   I assume that when it daylight the lights do not come on even with motion - so if the lights don't come on how does the relay detect that motion has occurred?....


Offline REKEMP10

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Z-wave Outdoor Motion Sensor
« Reply #5 on: February 12, 2017, 09:45:48 pm »
Ehertz, when I first understood what you were doing I said the guy is a genius!     I took what you provided and built on to it in such a way that Vera has total control over the lights AND the motion detection works 7X24.   This is what I did:

I ordered the ZL7432 relay - it has 2 switches.  I disconnected the  2 red wires (load) to  the lamps and connected them to the LOAD output for switch #2.  The HOT input for switch #2 is connected directly to the HOT side of the line.   In this setup VERA would - as before - be able to detect the motion detection module outputing voltage to SW#1 input (in my case connected to the BLUE wire  for a 7432) - and Vera could trigger on that status change and turn on the light via switch #2.  Light stays on until Vera turns it off.   I just tested this out and it works (using a very primitive PLEG script)....The 2nd great advantage to having Vera control the lights is now you can leave the motion detector in TEST mode.  TEST mode was only used for initial setup of the flood lamp - so you could adjust your motion "zone" during the day - but the lights stayed on for only 4 seconds.   But now that Vera controls how long to leave the lights turned on (or even IF to turn them on if it during the day) - we can take advantage of the 7X24 motion detection that the TEST mode provides.   
.   
On a related subject if it was possible (and I don't know without risking damaging the detector) to take a 2nd motion detector - and connect it in parallel with the other - you could have close to a 180 degree coverage.    Does applying 110 volts to the "output" wire on the detector when it is not "enabled" cause a current flow?   These motion detector flood lamps  I'm using are only $15 - so I may check that out this weekend.   

One note while I'm thinking about it.  Use switch #1 to connect to the motion detector - and #2 to the lamps.  I don't think you get a status message if you use #2 connected to the motion detectors....

All of this was to provide a way for me to take a Zwave event (motion) and turn on a specfic camera on my zoneminder server.   I still have to figured out how to do that but from what I've read others are doing it...and I can get away from having zoneminder trying to detect motion in the video feed...thanks Ehertz for your help on this.  I doubt that I would ever have thought about putting the relay in-line with the motion detector....

REK


Offline ehertz

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Z-wave Outdoor Motion Sensor
« Reply #6 on: February 13, 2017, 08:19:14 am »
REKEMP10, first, thanks for your very kind words.

But much more important, thanks for your great extension of my method. I really, really like the idea you presented of using the motion sensor as a trigger, and then letting the Vera actually set the timing on the lights. A fantastic idea!

As for your earlier comment that the motion sensor only works after dark using my method, that is correct. That is exactly what I wanted to achieve in this particular location. As I mentioned, I had a different motion sensor originally, and because of its limitations, I had it triggering lights on the front of my house whenever motion was detected, which meant that my lights were turning on even at noon. I did not like that. So I wanted to use the commercial motion detector that did have very good light sensing capabilities and did not worry about getting a more general solution. But, as with many things, now I can see uses for both a solution that works both when it is dark in some locations, and a general solution to detect a "presence" in other locations, so thanks for figuring out how to do that.

Offline REKEMP10

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
Re: Z-wave Outdoor Motion Sensor
« Reply #7 on: February 19, 2017, 04:14:06 pm »
I just installed a modified flood light using the 2 relay Zware switch as described above.  I also added a 2nd motion detection - at least with the ones I'm using it does not appear to be an issue to connect the outputs of the sensors together (and connect that to the input of switch 1 so Vesa can detect that voltage input change when motion is detected).  So motion is triggered - either detector - sends status change to Vesa - PLEG logic turns on switch 2 (which makes the flood lamps go on).  Lights stay on for X minutes.  This allows me to cover both access points to my rear deck.  In addition the status changed kicks off a telnet session to my Zoneminder camera server - telling it to turn on Deck camera for 60 seconds.  I've left both detectors in TST mode so motion is detected all the time...PLEG logic keeps the lights from turning on if daytime.  So far working well.   See how reliable it is - all of this depends on the status message making it to Vesa.  Anyone knows if this is a "send and forget" - or does the switch  depend on an acknowledgement from Vesa that signal was received? 

REK


Offline Jamr

  • Hero Member
  • *****
  • Posts: 527
  • Karma: +17/-8
    • 007 Systems
Re: Z-wave Outdoor Motion Sensor
« Reply #8 on: February 21, 2017, 02:18:29 pm »
Great job. Nice installation.
We have been selling these with a UL certified relays installed in them for almost 4 months now and they really seem to be a popular item.
Unfortunately the Vision relay is not UL certified and because of this it does not have the testing done to it on UL certified products.
Be careful using the Vision relay as even Monoprice has quit selling them.
« Last Edit: February 21, 2017, 02:24:55 pm by Jamr »

Offline Jamr

  • Hero Member
  • *****
  • Posts: 527
  • Karma: +17/-8
    • 007 Systems
Re: Z-wave Outdoor Motion Sensor
« Reply #9 on: February 21, 2017, 03:12:15 pm »
I have an existing LED motion sensor light from Costco on my drive. I may have to take that down and see if I can modify that one using your schematics and have it tell Vera when it goes on.

I recall seeing motion sensors at ACE hardware a while back to add to existing external lights like the one you show without that sensor. That would make it even easier as I don't have to try and open my existing light which I may not be able to do but can just hook up that 2nd sensor to the mains and the relay.

I have tried many different LED motion lights and have found all of the ones I tested to NOT work.
Their voltage exiting the motion detector that powers the LED lights is different than the 110VAC used by these relays.
I have found it better to buy the 110VAC motion floods and get LED bulbs to install in them as they still use about 24 watts total and I can use these relays to communicate with my Z-Wave system.

Offline JohnRob

  • Full Member
  • ***
  • Posts: 171
  • Karma: +9/-4
Re: Z-wave Outdoor Motion Sensor
« Reply #10 on: February 23, 2017, 08:39:16 pm »
Another suggestion would be to use a "typical" 120VAC sensor module with a relay having a 120VAC coil, use the relay contacts to trigger your favorite Z-Wave module.

I would think the sensor and relay could mount in a watertite electrical box (you can find all sorts of sizes at Home Depot).
I've mounted such a box inside the overhang and run a threaded pipe to the sensor under the overhang, then mounted the relay in the box.  Only a relay contact connection would exit the box, going to the Z Wave module. And yes I know 120Vac has to enter the box as well.


I've attached a "typical" connection diagram.  It might help some understand the simplicity of this approach.  If you need more info on specific situation please ask.

The below link is the first sensor I found on Amazon. It is for illustration only and not something I've even investigated.

IMPORTANT
There is a risk a motion sensor output requires a current draw in excess of the relay coil requirements.  This varies by mfg and the information may or may not be available. In the sensor link below, one reviewer stated the output is a contact.  If true there would not be a problem powering a relay coil.


JohnRob

Typical Motion sensor:
https://www.amazon.com/dp/B0002YPKVS/ref=psdc_14107631_t1_B01IU8CT0M


Possible relay choice: (in my experience Omron makes a quality product)
https://www.amazon.com/Relay-OMRON-MK2P-I-MK2P-110V/dp/B01N3TW4TC/ref=sr_1_12?ie=UTF8&qid=1487897826&sr=8-12&keywords=120Vac+relay

OR perhaps"

https://www.amazon.com/Relay-Omron-LY2J-110VAC-120VAC/dp/B00YAQ9T9I/ref=sr_1_27?ie=UTF8&qid=1487898006&sr=8-27&keywords=120Vac+relay

Offline Rcube

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
Re: Z-wave Outdoor Motion Sensor
« Reply #11 on: March 08, 2017, 08:14:20 am »
@ehertz - Great post. This is exactly what I would like to do. Thanks for posting the method and connections.
Would it also be possible for you to highlight what the wire colors that you have connected on the vision micro switch, motion sensor, flood lights represent (i.e. load or line or neutral etc).

Reason is I am unable to find the VISION microswitch and am planning to get another one (ENERWAVE ZWN-RSM1) instead. And that micro-switch does not have as many wires. So want to make sure that I am connecting the right wires together.

Greatly appreciated.

thank you
- Rc