Back
Adafruit Monitor a feed on Adafruit IO. MagicHue Change color.

Change MagicHue light color when Adafruit feed value falls below threshold

Connect

How this automation works

Automatically change your MagicHue light color when your Adafruit feed value drops below or equals a set number. This Applet runs whenever your Adafruit feed data meets the specified condition and instantly changes your connected MagicHue light to a chosen color. Perfect for visual alerts or smart home automations based on sensor readings.

If
Adafruit icon
Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires anytime it validates the data that you send to your feed. Example: If Feed Temperature > 80, fire Trigger.
FeedName FeedValue CreatedAt Operator TriggerValue
Then
MagicHue icon
Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will change your lights to a specified color.
which_lights color brightness

Services used in this Applet

Create your own MagicHue and Adafruit workflow

Create custom workflows effortlessly by selecting triggers, queries, and actions. With IFTTT, it's simple: “If this” trigger happens, “then that” action follows. Streamline tasks and save time with automated workflows that work for you.

13 triggers, queries, and actions

Any new data

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires any time there is new data in your feed.

Monitor a feed on Adafruit IO

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires anytime it validates the data that you send to your feed. Example: If Feed Temperature > 80, fire Trigger.

History of a feed on Adafruit IO

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of events when you sent data to your feed. Example: If Feed Temperature > 80

History of data

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of any time there is new data in your feed.

Activate Scene

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will activate your scene.

Blink lights

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will make your lights quickly blink the color of your choice.

Change brightness

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will change your light's brightness to the specified level.

Change color

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will change your lights to a specified color.

Send data to Adafruit IO

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will send data to a feed in your Adafruit IO account.

Switch to dynamic mode for your Lights

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will change your lights to the requested dynamic mode such as light flashing, jumping, gradual change and strobe.

Toggle lights on/off

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will turn your lights off if they are on, and turn them on if they are off.

Turn lights off

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will turn your lights off.

Turn lights on

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will turn your lights on.

Activate Scene

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will activate your scene.

Any new data

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires any time there is new data in your feed.

Blink lights

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will make your lights quickly blink the color of your choice.

Change brightness

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will change your light's brightness to the specified level.

Change color

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will change your lights to a specified color.

History of a feed on Adafruit IO

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of events when you sent data to your feed. Example: If Feed Temperature > 80

History of data

Pro plus icon
Query
A query lets your Applet retrieve extra data that isn't included in the trigger, so that your automation can include more complete or useful information.
This query returns a list of any time there is new data in your feed.

Monitor a feed on Adafruit IO

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires anytime it validates the data that you send to your feed. Example: If Feed Temperature > 80, fire Trigger.

Send data to Adafruit IO

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This Action will send data to a feed in your Adafruit IO account.

Switch to dynamic mode for your Lights

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will change your lights to the requested dynamic mode such as light flashing, jumping, gradual change and strobe.

Toggle lights on/off

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will turn your lights off if they are on, and turn them on if they are off.

Turn lights off

Action
An action is the task your Applet carries out after the trigger occurs. It defines what happens as the result of your automation and completes the workflow.
This action will turn your lights off.

Build an automation in seconds!

You can add delays, queries, and more actions in the next step!

More on MagicHue and Adafruit

About MagicHue

MagicHue service will let you connect and automate your bulbs and wifi led controller. Just enjoy the fun of lights. Supported Magic Home WiFi smart light.

Explore MagicHue

More integrations with MagicHue

About Adafruit

Adafruit was founded by MIT engineer, Limor “Ladyada” Fried. Her goal was to create the best place online for learning electronics and making the best designed products for makers of all ages and skill levels.

Explore Adafruit

More integrations with Adafruit

IFTTT helps all your apps and devices work better together

Get started for free