# Switching lights randomly//Simulate home presence//Home security

**URL:** <https://community.homey.app/t/switching-lights-randomly-simulate-home-presence-home-security/2901>\
**Category:** Questions & Help\
**Created:** [October 16, 2018, 6:39pm UTC](https://community.homey.app/t/switching-lights-randomly-simulate-home-presence-home-security/2901 "2018-10-16T18:39:48Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Rrrr](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rrrr/32/629_2.png) [@Rrrr](https://community.homey.app/u/Rrrr)\
**Post date:** [January 14, 2026, 3:29pm UTC](https://community.homey.app/t/switching-lights-randomly-simulate-home-presence-home-security/2901/6 "2026-01-14T15:29:52Z")

</div>

Example:

> [@Flows from hour to hour. Why not? How to be able to do it?](https://community.homey.app/t/flows-from-hour-to-hour-why-not-how-to-be-able-to-do-it/96475/16):
>
> @Steve_Nye Here’s an example with a timer which only runs when needed. It looks perhaps a little complicated because it has some virtual devices (Device Capabilities). I prefer those over having physical devices for easy maintenance. I mainly work with zones for the same reason. Hope this helps.

---

_[View the full topic](https://community.homey.app/t/switching-lights-randomly-simulate-home-presence-home-security/2901)._
