Explore Plans

openHAB to Sonos integrations

When a sensor in openHAB detects a change, IFTTT can control your Sonos speakers. Trigger music to play when you arrive home, pause it when you leave, or adjust the volume based on what's happening around you.
Get started todayGet started today

Automate openHAB and Sonos from your AI assistant

Ask ChatGPT to create openHAB applets that run commands based on your home's state changes, with IFTTT MCP.

Set up IFTTT MCP

Create your own openHAB and Sonos 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.

18 triggers, queries, and actions

Item state changes

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every hour on Free, every 15 minutes on Starter, and every 5 minutes on Pro and Pro+.
This Trigger fires every time an item changes its state to a value you specify.

Item state drops below

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every hour on Free, every 15 minutes on Starter, and every 5 minutes on Pro and Pro+.
This Trigger fires every time an item's state drops below a value you specify and works with any number item.

Item state raises above

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every hour on Free, every 15 minutes on Starter, and every 5 minutes on Pro and Pro+.
This Trigger fires every time an item's state raises above a value you specify and works with any number item.

Current playback in a room

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 whether a Sonos room is playing right now, and what it's playing.

History of item state changes

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 when an item changes its state to a value you specify.

History of item state drops below

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 when an item's state drops below a value you specify. Note: this query will only return future events after this Applet is created.

Mute

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.
Mutes a Sonos Player or Group

Pause

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 pause playback.

Play Favorite

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 play a Sonos Favorite.

Play Stream

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 stream audio, such as a radio station, from a URL.

Resume

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 resume playback.

Send a command

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 a command to one of your openHAB items.

Set Volume

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.
Set Volume of Sonos Player or Group

Skip to Next Track

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 skip to the next track, if Sonos is playing a queue.

Skip to Previous Track

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 skip to the previous track, if Sonos is playing a queue.

Unmute

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.
Unmutes a Sonos Player or Group

Volume Down

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 decrease the volume by a small amount.

Volume Up

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 increase the volume by a small amount.

Current playback in a room

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 whether a Sonos room is playing right now, and what it's playing.

History of item state changes

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 when an item changes its state to a value you specify.

History of item state drops below

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 when an item's state drops below a value you specify. Note: this query will only return future events after this Applet is created.

Item state changes

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every hour on Free, every 15 minutes on Starter, and every 5 minutes on Pro and Pro+.
This Trigger fires every time an item changes its state to a value you specify.

Item state drops below

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every hour on Free, every 15 minutes on Starter, and every 5 minutes on Pro and Pro+.
This Trigger fires every time an item's state drops below a value you specify and works with any number item.

Item state raises above

Polling trigger
Polling Applets run after IFTTT reaches out to the trigger service and finds a new trigger event. These trigger checks occur every hour on Free, every 15 minutes on Starter, and every 5 minutes on Pro and Pro+.
This Trigger fires every time an item's state raises above a value you specify and works with any number item.

Mute

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.
Mutes a Sonos Player or Group

Pause

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 pause playback.

Play Favorite

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 play a Sonos Favorite.

Play Stream

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 stream audio, such as a radio station, from a URL.

Resume

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 resume playback.

Send a command

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 a command to one of your openHAB items.

Build an automation in seconds!

You can add delays, queries, and more actions in the chat.

GET STARTED

How to connect to a openHAB automation

Find an Applet using openHAB and Sonos

Find an automation to connect to, or create your own!

Connect IFTTT to your accounts

Securely connect the Applet services to your respective accounts.

Finalize and customize your Applet

Review trigger and action settings, and click connect. Simple as that!
Get started

Make more happen with your credits

  • Connect to more Applets

    More credits, more possibilities

    Get more credits per month to power more automation activity.
  • If a new calendar event is added, with an AI prompt, then an AI agent runs actions across your services

    Power more advanced automations

    Use credits to power your automations, including actions that require more processing.
  • Get access to faster speeds

    Access faster speeds and higher rate limits

    Get faster updates and more actions with increased rate limits and more frequent checks.

More on openHAB and Sonos

About openHAB

openHAB and IFTTT let you trigger automations based on your smart home device states and send commands to control them.
Explore openHAB

More integrations with openHAB

About Sonos

Sonos and IFTTT let you control what's playing in your rooms, adjust volume, and trigger your favorite music or streams from other apps.
Explore Sonos

More integrations with Sonos

IFTTT helps all your apps and devices work better together

Get started for free