Send Accessory Values in Notifications

With Controller for HomeKit you can include live accessory values in your notification text. This makes notifications far more useful because you immediately see the exact reading that triggered the workflow.
Start Event
Create a start event based on an accessory value. In this example, the workflow starts when a carbon dioxide threshold is exceeded.

Steps
Add the Step "Get Accessory State"
Read the current value from the accessory and store it in a variable. Rename the variable to a clear name so it is easier to reuse in later steps.
Add the Step "Send Notification"
Create a notification and include your variable in the message text by using the dollar-sign placeholder format.
When the workflow runs, Controller replaces the variable with the current accessory value automatically.

Final Overview
Once the threshold is reached, the workflow sends a notification that contains the live value. For fully automatic execution, keep Controller Hub enabled in Controller for HomeKit.


Get Inspired

Meeting Light
Uses light color to show whether youβre in a meeting.

Waste Calendar
Never forget the bin again β with colored light and speech.

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.