Rule Example - Presence Simulator

This application note shows how to create a presence simulation that randomly turns on a Zipato RGBW Light Bulb

Project Aim
The aim of this project is to randomly control a Zipato RGBW Bulb:
- Zipato RGBW Light Bulb turn on or off randomly every ten minutes between 9:00 PM and 3:00 AM when the Presence Simulator switch is on.

Components
- Zipato RGBW Bulb - used to control the light via Z-Wave protocol
- Virtual switch
- Zipato Controller

Setup and Control

The Zipato RGBW Bulb was ‘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 presence simulator would work. For more details see the "Introduction of Rules Creator" section.

This rule works as follows:
1. Main 'When' block wraps the whole rule. The rule is activated every ten minutes.
2. The first 'If' condition is set when the presence simulator virtual switch is on.
3. The second 'If' condition is set when the random number generated is inferior to 33.
4. The third 'If' condition is set only between 9:00 PM and 3:00 AM.
5. The 'Action' block set the Zipato RGBW Light Bulb to 100%.
6. The 'Else' condition is set when the random number generated is not inferior to 33.
7. The 'Action' block set the Zipato RGBW Light Bulb to 0%
8. Don't forget to 'Save' your rule and then to 'Synchronize' it at the end.


Tutorial

Is this article helpful?
0 0 1