Homekit: Calculated value to control a lamp’s intensity

Is there any way to use Shortcuts and send a calculated value to control the intensity of a smart bulb in HomeKit?


I want a lamp to slowly fade out after having been on for a while. In an ideal world I would like Shortcuts to set a variable n to the current intensity of the lamp ( 0 to 100% ) and then go round in a loop n times reducing the intensity by 1% and waiting for a while before looping back until it reaches zero.


On an associated topic, can Shortcuts specify the RGB settings of a bulb, or is the only way to set the intensity and colour manually with the sliders and colour pickers for a given setting?

HomePod mini

Posted on Oct 26, 2024 05:51 AM

Reply

Similar questions

3 replies

Oct 26, 2024 07:52 AM in response to Alän

Alän ~ Shortcuts does offer a Wait action and a couple of Repeat actions, so experiment and post back with a screenshot of your shortcut if you have difficulty. Also, some actions with sliders can take a variable if you touch & hold the action's slider.


Consider also asking on this HomeKit subreddit — it has many more HomeKit experts than here on ASC.


Shortcuts User Guide - Apple Support


Shortcuts User Guide for Mac - Apple Support


õ¿õ¬

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Homekit: Calculated value to control a lamp’s intensity

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.