Execute Workflow Only Once a Day

Execute Workflow Only Once a Day

Sometimes, a workflow should run only once per day. For example, our “Good Morning” scene triggers when motion is detected—but only once each morning. With a simple trick and Hub Mode in Controller for HomeKit, you can easily achieve this.

Start Event

First, add the start event. In our example, this is the motion sensor in the hallway.

Condition

Next, set a time condition between 6:00 AM and 10:00 AM to cover both weekday and weekend wake-up times.

Steps

Add the Step “Execute Scene”

Start by adding “Execute Scene” and select “Good Morning”.

Add the Step "Wait"

Then, add a “Wait” step and set it to match the selected time period. In this case, 4 hours (from 6:00 AM to 10:00 AM).

Settings

Under Settings, ensure that “Restart Workflow” is set to “Keep the current workflow running”. This prevents the workflow from restarting if motion is detected again within the set time period.

Final Overview

When motion is detected in the hallway in the morning, the “Good Morning” scene runs. Thanks to the Wait step, the workflow only executes once during the set timeframe.

Get Inspired

Carbon Dioxide Alert

Get notified when CO₂ levels exceed 1000 ppm.

Location-Based Workflow

Automate your routines based on where you are.

Laundry Done Alert

Receive a notification when your washing machine has finished.

Beat the Heat

Automatically close your blinds on hot days.

Wake-Up Light

Use any Apple Home Lamp as a Wake-Up Light.

Irrigation Schedule

Keep your garden green.

Control Lights with Multiple Motion Sensors

For large or irregularly shaped spaces.

Stepwise Brightness Control via Button

Control light brightness step by step.

Custom Notification with Live Camera Feed

Open the camera stream instantly.

Smart Bathroom Fan Control

Make your fan truly intelligent.

New Mail Notification

Get notified when new mail arrives.

Integrate Speakers into Workflows

Control volume, play music, or pause playback.

Battery Warning

Get battery alerts when they matter.

Sleep Timer

Use a sleep timer with Apple Home.

Execute Workflow Only Once a Day

Ensures the workflow runs only once.

Accessory Values in Notifications

Send notifications featuring real-time accessory values.

NFC Tags

Automate Apple Home Accessories with NFC.

Blink Lights

Make a light blink and effortlessly return it to its original state.

Display Camera When Motion Is Detected

Automatically display the camera livestream whenever motion is detected.

Open Window Reminder

Get a reminder if you forget to close a window after ventilating.

Toggle Lamp

Easily toggle a lamp using a single switch.

Turn Light Off Using Motion Sensor

Efficiently control your lighting with a motion sensor.

Get Inspired

Carbon Dioxide Alert

Get notified when CO₂ levels exceed 1000 ppm.

Location-Based Workflow

Automate your routines based on where you are.

Laundry Done Alert

Receive a notification when your washing machine has finished.

Beat the Heat

Automatically close your blinds on hot days.

Wake-Up Light

Use any Apple Home Lamp as a Wake-Up Light.

Irrigation Schedule

Keep your garden green.

Control Lights with Multiple Motion Sensors

For large or irregularly shaped spaces.

Stepwise Brightness Control via Button

Control light brightness step by step.

Custom Notification with Live Camera Feed

Open the camera stream instantly.

Smart Bathroom Fan Control

Make your fan truly intelligent.

New Mail Notification

Get notified when new mail arrives.

Integrate Speakers into Workflows

Control volume, play music, or pause playback.

Battery Warning

Get battery alerts when they matter.

Sleep Timer

Use a sleep timer with Apple Home.

Execute Workflow Only Once a Day

Ensures the workflow runs only once.

Accessory Values in Notifications

Send notifications featuring real-time accessory values.

NFC Tags

Automate Apple Home Accessories with NFC.

Blink Lights

Make a light blink and effortlessly return it to its original state.

Display Camera When Motion Is Detected

Automatically display the camera livestream whenever motion is detected.

Open Window Reminder

Get a reminder if you forget to close a window after ventilating.

Toggle Lamp

Easily toggle a lamp using a single switch.

Turn Light Off Using Motion Sensor

Efficiently control your lighting with a motion sensor.

Get Inspired

Carbon Dioxide Alert

Get notified when CO₂ levels exceed 1000 ppm.

Location-Based Workflow

Automate your routines based on where you are.

Laundry Done Alert

Receive a notification when your washing machine has finished.

Beat the Heat

Automatically close your blinds on hot days.

Wake-Up Light

Use any Apple Home Lamp as a Wake-Up Light.

Irrigation Schedule

Keep your garden green.

Control Lights with Multiple Motion Sensors

For large or irregularly shaped spaces.

Stepwise Brightness Control via Button

Control light brightness step by step.

Custom Notification with Live Camera Feed

Open the camera stream instantly.

Smart Bathroom Fan Control

Make your fan truly intelligent.

New Mail Notification

Get notified when new mail arrives.

Integrate Speakers into Workflows

Control volume, play music, or pause playback.

Battery Warning

Get battery alerts when they matter.

Sleep Timer

Use a sleep timer with Apple Home.

Execute Workflow Only Once a Day

Ensures the workflow runs only once.

Accessory Values in Notifications

Send notifications featuring real-time accessory values.

NFC Tags

Automate Apple Home Accessories with NFC.

Blink Lights

Make a light blink and effortlessly return it to its original state.

Display Camera When Motion Is Detected

Automatically display the camera livestream whenever motion is detected.

Open Window Reminder

Get a reminder if you forget to close a window after ventilating.

Toggle Lamp

Easily toggle a lamp using a single switch.

Turn Light Off Using Motion Sensor

Efficiently control your lighting with a motion sensor.