Access Technical Experts

100's of Free Guides

 365 Day Guarantee

Z-Wave & Zigbee Specialists

APNT-12 - Motion activated light using Zipato Rule Creator

This application note shows how to create a motion controlled light that automatically turns on for a predefined period during certain times of the day.

Project Aim

The aim of this project is to automatically control a light:

  • Light turns on when motion is detected
  • Light stays On for 1 minute after the last motion is detected
  • This system only works during a set period of the day (18.45 and 06.30)


For this project I used a Z-Wave system comprising of:

Z-Wave Devices for motion activated light control

Setup and Control

The Fibaro dimmer and Everspring motion detector were ‘Included’ into the Z-Wave network by ‘Adding’ them to the Zipato controller, further information is available in Application Note 7 - Adding Devices to the Zipato Controller.

I then created the following rule in the Zipato ‘Rule Creator’ to control how the motion activated light would work. An introduction to the Rule Creator is available in further information is available in Application Note 9 - Basic Guide to Zipato Rule Creator.

Zipato Rule for Motion activated light


This rule works as follows:

1. Main 'When' block wraps the whole rule. The rule is only activated if the motion detector changes state.

2. The main 'IF' condition only activates the rule if the time is between 18.45 and 06.30.

3. The 'Join' block stops all other executions of the same rule. Without this, the rule would run to the end, even if there was continuous motion in the room.

4. The 'IF' block activates the enclosed action blocks (5 - 8) only if the motion detector sends a 'Motion' alert

5. This 'Action' block turns the light onto 80% brightness

6. The 'ELSE' block is activated when the 'No Motion' alert is received - this is only active once the IF Motion (4) condition has already been activated

7. The 'Wait' block adds a delay so that the lights stay on for 60 seconds after the last motion is detected

8. This 'Action' block turns the light Off

9. Don't forget to 'Save' your rule and then 'Synchronise'


Take a look at the video to see just how quick and easy the Rule Creator is to use.

Related Information


Rated Excellent on