DIY Z-Wave Security Light

I’ve always found it odd that no one makes a Z-Wave enabled security light (similar to the old X-10 PR511). So I made my own.

  1. Get a 2-relay in-wall Z-Wave switch.

  2. Get a regular motion activated security light. Make sure it uses 120V light bulbs. I had this one kicking around.

  3. Disconnect the output from the motion sensor from the hot wires of the light sockets.

  4. Connect the output from the motion sensor to WALL SW1, and the hot wires of the light sockets to LOAD2. Hooking the motion sensor and the lights up to different channels allows you to control the lights independently from the motion sensor.

  5. Ensure the power is turned off to the junction box where you plan to mount the light. WARNING: Household line voltage can kill you. If you do not have experience working with electricity then find someone who does to help you.

  6. Connect the neutral and hot wires of the security light and the relay to the neutral and hot wires in your junction box.

  7. Mount the relay module in the junction box and fasten the light to the junction box.

  8. Turn the power back on.

  9. Pair the relay to your Z-Wave controller. It should show up as 3 switches in Home Assistant. The _2 switch is the motion sensor state, and the _3 switch controls the lights:

  10. Add a binary_sensor template to track the motion sensor state:

binary_sensor:
  - platform: template
    sensors:
      backyard_motion_sensor:
        device_class: motion
        friendly_name: "Backyard Motion Sensor"
        value_template: "{{ is_state('switch.back_yard_motion_lights_switch_2', 'on') }}"
  1. Write some automation rules! Tip: cover the ambient light sensor with electrical tape so the motion sensor will trigger 24/7.
3 Likes

Try this.