Rule Example - Home/Away (Mini Keypad RFiD) activated light

This application note shows how to create a home/away activated light that automatically turn on or off the light when a home or away code is entered on a keypad.

Project Aim
The aim of this project is to automatically control a Zipato RGBW Bulb:
- Zipato RGBW Bulb turn on or off when a code on a keypad is entered.

Components
For this project we have used a Z-Wave system comprising of:
- Zipato RGBW Bulb - used to control the light via Z-Wave protocol
- Zipato Mini Keypad RFiD – used to detect the Home or Away command
- Zipato Controller

Setup and Control
The Zipato RGBW Bulb and Zipato Mini Keypad RFiD were ‘Included’ into the Z-Wave network by ‘Adding’ them to the Zipato Controller, further information is available in "Adding new devices on the Zipato Controller" section.
Then we created the following rules in the Zipato Rules Creator to control how the home/away activated light would work. For more details see the "Introduction of Rules Creator" section.

These rules works as follows:
Away (rule on the left)
1. Main 'When' block wraps the whole rule. The rule is activated if the Away button of the Zipato Mini Keypad RFiD followed by the corresponding code or a RFiD tag is entered.
2. The 'Action'block set the luminosity of the Zipato RGBW Bulb to 0.
3. Don't forget to 'Save' your rule and then to 'Synchronize' it at the end.

Home (rule on the right)
1. Main 'When' block wraps the whole rule. The rule is activated if the Home button of the Zipato Mini Keypad RFiD followed by the corresponding code or a RFiD tag is entered.
2. The 'If' condition is set when the luminance is inferior to 20%.
3. The 'Action'block set the luminosity of the Zipato RGBW Bulb to 100.
4. Don't forget to 'Save' your rule and then to 'Synchronize' it at the end.


Tutorial:

Is article helpful?