• Home
  • How it works
  • Blog
  • Buy
    • From the Z-Command Store
    • From Amazon
  • Help
    • What’s new
    • Forum
    • How to’s
    • FAQ
    • Contact us
info@intulon.com
Z-Command
  • Home
  • How it works
  • Blog
  • Buy
    • From the Z-Command Store
    • From Amazon
  • Help
    • What’s new
    • Forum
    • How to’s
    • FAQ
    • Contact us

How to link a motion sensor with a light bulb

Home How to How to link a motion sensor with a light bulb

How to link a motion sensor with a light bulb

Mar 4, 2015 | Posted by Sola Abiodun | How to |

One of the most common forms of home automation is linking a motion sensor with a light bulb so that the light comes on when motion is detected and the light goes off when motion hasn’t been detected for a while.

This can be achieved in one of two ways with Z-Command:

  • through device association
  • by creating an automation rule

The former method has the advantage of being somewhat easier to set up, but it is more limited. The latter method requires a little more understanding of automation (not rocket science) but is infinitely more powerful.

Automation through association

In this method, you program the motion sensor to send an “on” instruction to a light switch (bulb) when it detects motion and to send and “off” instruction to the light switch when it has not detected motion for a while.

Navigate to the motion sensor’s device detail page and scroll down to the association section.

Since your motion sensor is most likely battery powered and would be in “sleep” mode, querying it will only yield a queued command. You will need to wake it up by locating the action button on it and holding it down for about 1 second. If your sensor has no button, opening the case and leaving it open for the duration of this operation should do the trick.

Click the query button to get the current association status. You should see something similar to the screenshot below.

association2

In the above example, the sensor has just one association group (Group 1). The single association group is able to control just one device (as indicated by Max. assoc.: 1). Assuming we want the motion to control device 3 (side table lamp in the example above), we will uncheck the checkbox next to Primary controller and check the one next to side table lamp. Finally, click set association to finalize the association.

Automation by rule

For a motion sensor to control a light bulb via automation rule, you need to create an automation event to detect when the motion sensor’s level has changed to a value higher than zero. You can name this “motion detected”.

motion_detected

 

 

Remember to click the create button after completing the form. Next, create another event for when no motion has been detected for a while as shown below.

no_motion

Next, we need actions that the newly created events will trigger in order to actually turn the light on and off.

Create an action to turn the light on as shown below.

light_on

Create another action to turn the light off.

light_off

 

Finally, combine the events and actions into rules. Create a rule that combines the “motion detected” event with the “turn lamp on” action as shown below. Remember to click add event and add action then create.

auto_light_on

 

Create an automation rule to turn the lamp off when no motion is detected.

auto_light_off

 

Don’t forget to click create in each step

 

Remember to enable the newly created automation rules. They are disabled by default.

The advantage to the automation rule method of turning a lamp on and off is that it can be combined with other logic. For example, you can decide that the lamp should only respond to motion between 7 a.m. and 10 p.m. Or you could decide that the lamp should respond to motion during a certain period and only if the light level in the room is below a certain threshold (provided by a luminance sensor).

Facebook
Twitter
Google+
Pinterest
LiveJournal
Tags: automationhome automationhow tolight switchmotion sensorz-wavezwave
0
Share
Sola Abiodun

About Sola Abiodun

This author hasn't written their bio yet.
Sola Abiodun has contributed 22 entries to our website, so far. View entries by Sola Abiodun.

You also might be interested in

How to install a commercial SSL certificate on Z-Command

Mar 7, 2015

Z-Command comes pre-installed with a self-signed certificate that makes secure[...]

Saving energy using Z-Command

Mar 7, 2015

I got into home automation because I love gizmos. I[...]

Massive sale

Mar 13, 2015

There is a massive limited-time Z-Command sale going on right[...]

Contact Us

Send us an email and we'll get back to you, asap.

Send Message
learn more

©2009 - 2015 · INTULON LLC

  • Blog
  • Forum
  • What’s new
  • Contact us
  • How to’s
  • FAQ
Prev Next