Display Camera When Motion Is Detected

Camera preview on wall display

With Controller Hub in Controller for HomeKit, your iPhone or iPad can automatically open a camera livestream when motion is detected or a switch is pressed.

Start Event

Create a workflow and add a motion sensor, button press, or any other trigger as the start event.

Workflow start event for motion or button trigger

Steps

Add the Step "Call URL"

Use the "openURL" action and Controller for HomeKit URL scheme to open the desired camera. Replace camera and home placeholders with your own names and replace spaces with %20.

controllerforhomekit://v1/cameras/[Camera Name]?home=[Home Name]

Example for camera "Entrance Camera" in home "Controller Headquarter":

controllerforhomekit://v1/cameras/Entrance%20Camera?home=Controller%20Headquarter

Add a Wait Time

Add a wait step, for example one minute, to keep the camera stream visible for a defined duration.

Add Another "Call URL" Step

Use "openURL" again to navigate back to your preferred view, such as the accessories overview.

controllerforhomekit://v1/accessories/?home=[Home Name]Workflow steps for opening camera and returning to accessories

Final Overview

When motion is detected, the camera livestream opens automatically. After the wait time, the workflow returns to your default view.

Final overview of camera-on-motion workflow
Download on the App Store

Get Inspired

Meeting Light

Meeting Light

Uses light color to show whether you’re in a meeting.

Waste Calendar

Waste Calendar

Never forget the bin again – with colored light and speech.

Carbon Dioxide Alert

Carbon Dioxide Alert

Get notified when COβ‚‚ levels exceed 1000 ppm.

Location-Based Workflow

Location-Based Workflow

Automate your routines based on where you are.

Laundry Done Alert

Laundry Done Alert

Receive a notification when your washing machine has finished.

Beat the Heat

Beat the Heat

Automatically close your blinds on hot days.

Wake-Up Light

Wake-Up Light

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

Irrigation Schedule

Irrigation Schedule

Keep your garden green.

Control Lights with Multiple Motion Sensors

Control Lights with Multiple Motion Sensors

For large or irregularly shaped spaces.

Stepwise Brightness Control via Button

Stepwise Brightness Control via Button

Control light brightness step by step.

Custom Notification with Live Camera Feed

Custom Notification with Live Camera Feed

Open the camera stream instantly.

Smart Bathroom Fan Control

Smart Bathroom Fan Control

Make your fan truly intelligent.

New Mail Notification

New Mail Notification

Get notified when new mail arrives.

Integrate Speakers into Workflows

Integrate Speakers into Workflows

Control volume, play music, or pause playback.

Battery Warning

Battery Warning

Get battery alerts when they matter.

Sleep Timer

Sleep Timer

Use a sleep timer with Apple Home.

Execute Workflow Only Once a Day

Execute Workflow Only Once a Day

Ensures the workflow runs only once.

Accessory Values in Notifications

Accessory Values in Notifications

Send notifications featuring real-time accessory values.

NFC Tags

NFC Tags

Automate Apple Home Accessories with NFC.

Blink Lights

Blink Lights

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

Display Camera When Motion Is Detected

Display Camera When Motion Is Detected

Automatically display the camera livestream whenever motion is detected.

Open Window Reminder

Open Window Reminder

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

Toggle Lamp

Toggle Lamp

Easily toggle a lamp using a single switch.

Turn Light Off Using Motion Sensor

Turn Light Off Using Motion Sensor

Efficiently control your lighting with a motion sensor.