# Synology surveillance: When cam is on, send snapshot every 30 mins

**URL:** <https://community.homey.app/t/synology-surveillance-when-cam-is-on-send-snapshot-every-30-mins/11313>\
**Category:** Flows\
**Created:** [April 2, 2019, 2:21pm UTC](https://community.homey.app/t/synology-surveillance-when-cam-is-on-send-snapshot-every-30-mins/11313 "2019-04-02T14:21:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jo\_San](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jo_san/32/3732_2.png) [@Jo\_San](https://community.homey.app/u/Jo_San)\
**Post date:** [April 2, 2019, 2:21pm UTC](https://community.homey.app/t/synology-surveillance-when-cam-is-on-send-snapshot-every-30-mins/11313/1 "2019-04-02T14:21:03Z")

</div>

I have a camera connected to surveillance station to watch the dog when there is no one home.  
The camera is only powered when we are away, toggled with an INNR smart plug.  
I would like to set up a flow that does something like this:

- when camera is on (that can be checked by either the INNR or Surveillance station app)
- at each whole and half hour: make snapshot and send it.

What would be the best way to do the “each whole and half hour” part? Do I need to create a counter variable for it? Or is there an easier way that I do not see yet?

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [April 2, 2019, 2:22pm UTC](https://community.homey.app/t/synology-surveillance-when-cam-is-on-send-snapshot-every-30-mins/11313/2 "2019-04-02T14:22:42Z")

</div>

WHEN every 30 minutes AND cam is on THEN send pic

---

<div class="post-metadata">

**Author:** ![Jo\_San](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jo_san/32/3732_2.png) [@Jo\_San](https://community.homey.app/u/Jo_San)\
**Post date:** [April 3, 2019, 8:14am UTC](https://community.homey.app/t/synology-surveillance-when-cam-is-on-send-snapshot-every-30-mins/11313/3 "2019-04-03T08:14:06Z")

</div>

Jeez, that simple 🙂

Thanks for helping me on the correct path! I find that I still am having difficulties on determining what should be the WHEN part, as I tend to think of it as IF. But it is a trigger, so your example is very clear in hindsight 🙂
