Back
Google Assistant Activate scene. openHAB Send a command.

Send openHAB command when Google Assistant scene activates

Connect

How this automation works

Control your openHAB smart devices hands-free using Google Assistant voice commands. This Applet runs when you say a specific scene phrase to Google Assistant, triggering an openHAB command to perform your chosen action. Perfect for automating your home lighting, heating, or any other connected devices with simple voice control.

If
Google Assistant icon
Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger activates a named scene when you say "Ok Google, activate [Scene Name]".
SceneName ActivatedAt
Then
openHAB 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 send a command to one of your openHAB items.
item command

Services used in this Applet

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

7 triggers, queries, and actions

Activate scene

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger activates a named scene when you say "Ok Google, activate [Scene Name]".

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 5 minutes for Pro and Pro+ users, and every hour for Free users.
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 5 minutes for Pro and Pro+ users, and every hour for Free users.
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 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time an item's state raises above a value you specify and works with any number item.

History of item state changes

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

History of item state drops below

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

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.

Activate scene

Realtime trigger
Realtime Applets run after the trigger service notifies IFTTT of a new trigger event. Since IFTTT is notified proactively of new trigger events, realtime Applets normally run within a few seconds of a trigger event occurring.
This Trigger activates a named scene when you say "Ok Google, activate [Scene Name]".

History of item state changes

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

History of item state drops below

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 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 5 minutes for Pro and Pro+ users, and every hour for Free users.
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 5 minutes for Pro and Pro+ users, and every hour for Free users.
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 5 minutes for Pro and Pro+ users, and every hour for Free users.
This Trigger fires every time an item's state raises above a value you specify and works with any number item.

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 next step!

More on openHAB and Google Assistant

About openHAB

openHAB - a vendor and technology agnostic open source automation software for your home.

Explore openHAB

More integrations with openHAB

About Google Assistant

Create custom voice commands for your Google Assistant. Available on Android, iOS and Google Home devices. Get more details here.

Explore Google Assistant

More integrations with Google Assistant

IFTTT helps all your apps and devices work better together

Get started for free