TubeSum ← Transcribe a video

Complete Guide Connect Google Home (Ok Google) To OpenHAB 2: Official OpenHAB Action

0h 07m video Published Jul 23, 2018 Transcribed Aug 1, 2026 M MK-SmartHouse
Intermediate 9 min read For: Smart home enthusiasts and OpenHAB users who already have basic configuration experience and want to add Google Home voice control.
AI Trust Score 68/100
⚠️ Average / Some Fluff

"Delivers a genuine step-by-step guide, but includes several minutes of promotion and assumes viewers already know OpenHAB basics."

AI Summary

This video is a step-by-step tutorial showing how to connect a Google Home device to an OpenHAB 2 smart home system. The host, Matt, explains how to add Google Home-compatible tags to OpenHAB item files, create rules for garage door voice control, and link everything through the Google Home app via myopenhab.org. The video also demonstrates several voice commands to control lights, garage doors, sprinklers, and LED strips.

[00:30]
Prerequisites

You need a device running iOS or Android, a computer (Windows or MacOS), an OpenHAB 2 server, and a Google Home device. The guide assumes Google Home is already set up and you have an items file and a rules file in OpenHAB.

[02:07]
Adding Google Home tags to items

Use 'sudo nano /etc/openhab2/items/home.items'. Google Home supports tags: 'Switchable' (Switch, Dimmer, Color, Rollershutter), 'Lighting' (for lights), 'CurrentTemperature' (temperature reporting devices), and 'Thermostat' (a Group with CurrentTemperature, TargetTemperature, and homekit:HeatingCooling).

[03:06]
Tagging items in practice

Matt's example items file shows 'Switchable' tags on Switch items and Rollershutter dummy items, and 'Lighting' on color LED strips. Save the file with Ctrl+X, then Y, then Enter.

[03:25]
Dummy switches for garage doors

A dummy Rollershutter item is created for garage doors because Chamberlain MyQ does not like the command Google Home sends. The dummy items use the 'Switchable' tag.

[04:06]
Optional rule for Rollershutter on/off

If a Rollershutter item needs on/off control, edit the rules file with 'sudo nano /etc/openhab2/rules/home.rules'. The rule takes the percent value from the dummy items and sends ON/OFF (or UP/DOWN if needed). Save with Ctrl+X, Y, Enter.

[05:03]
Connecting via the Google Home app

Open the Home app on your mobile device, tap the plus sign, scroll down and select OpenHAB. You will be taken to a web browser page where you enter your myopenhab.org username and password, then press Allow.

[05:31]
Discovering devices and voice control

The app shows all the items found by OpenHAB. After pressing Done, you can control devices with voice commands like 'Ok Google, turn on MK Light', 'Ok Google, set Garage Door 1 to 0%', 'Ok Google, set Desk LED Strip to Blue', and 'Ok Google, set MK Blinds to 100'.

[06:35]
Conclusion and additional resources

The device is now connected and working. The video description contains links to all parts, guides, and mksmarthouse.com/shop for smart home kits.

Connecting Google Home to OpenHAB 2 requires adding specific tags to your items, optionally creating rules for special devices like garage doors, and linking the systems through the Google Home app. Once set up, you get full voice control over your smart home devices.

Mentioned in this Video

Tutorial Checklist

1 00:30 Make sure you have a Google Home device, an OpenHAB 2 server, a mobile device, and a computer. Verify your items file and rules file exist.
2 01:37 SSH into your OpenHAB server using Terminal on Mac or Putty on Windows.
3 02:07 Open the items file: run 'sudo nano /etc/openhab2/items/home.items'.
4 02:07 Add Google Home supported tags to your items: 'Switchable', 'Lighting', 'CurrentTemperature', or 'Thermostat' depending on the item type.
5 03:54 Save the items file by pressing Ctrl+X, then Y, then Enter.
6 04:06 If you have Rollershutter items that need on/off control, open the rules file: run 'sudo nano /etc/openhab2/rules/home.rules'.
7 04:20 Add a rule for each garage door that converts the percent command to ON/OFF or UP/DOWN, then save with Ctrl+X, Y, Enter.
8 05:03 On your mobile device, open the Google Home app, tap the plus sign, select OpenHAB, and sign in with your myopenhab.org credentials.
9 05:19 Press Allow on the web page to authorize access, then review the discovered items and press Done.
10 05:31 Test voice commands like 'Ok Google, turn on MK Light' or 'Ok Google, set Garage Door 1 to 0%'.

Study Flashcards (8)

What tags does Google Home support in OpenHAB 2?

easy Click to reveal answer

Switchable, Lighting, CurrentTemperature, and Thermostat.

02:07

Which item types can use the 'Switchable' tag?

medium Click to reveal answer

Switch, Dimmer, Color, and Rollershutter item types.

02:07

What should you do before starting the setup as described in the video?

easy Click to reveal answer

Ensure Google Home is installed and working, and that you have an items file and a rules file in OpenHAB.

01:08

Why did Matt create dummy Rollershutter items for his garage doors?

medium Click to reveal answer

Because Chamberlain MyQ does not like the command Google Home sends, so dummy items are used to handle the conversion.

03:25

What command opens the OpenHAB items file for editing?

medium Click to reveal answer

sudo nano /etc/openhab2/items/home.items

02:07

How do you save a file after editing with nano?

easy Click to reveal answer

Press Ctrl+X, then Y, then Enter.

03:54

What step is required to link Google Home to OpenHAB via the mobile app?

medium Click to reveal answer

Open the Google Home app, tap the plus sign, select OpenHAB, and sign in with your myopenhab.org username and password, then press Allow.

05:03

What voice command example was given to set an LED strip color?

easy Click to reveal answer

Ok google, set Desk LED Strip to Blue.

06:06

💡 Key Takeaways

🔧

Google Home supports four OpenHAB tags

This is the core configuration requirement for connecting Google Home to OpenHAB, making it the key technique for the entire process.

02:07
💡

Dummy switch workaround for MyQ garage door

Shows a practical problem-solving approach when a third-party service does not respond well to Google Home commands.

03:25
⚖️

Rules convert percentages to ON/OFF commands

Demonstrates how OpenHAB rules can bridge the gap between Google Home's voice commands and device-specific control protocols.

04:06
📊

Voice control is confirmed with examples

Provides concrete, testable voice commands that users can immediately try, proving the integration works.

05:31

[00:00] Hey guys Matt here from MKSmartHouse.com and in this video I am going to show you how to connect the Google Home to your OpenHAB 2 System. I love the Google Home and think it is an awesome device that makes controlling smart

[00:18] You can be in another room and yell to google and tell it to turn on a device for you. In this video we will be connecting google home to our openhab 2 system so it can control

[00:30] For this video we are going to need a device running IOS or android, a computer running Windows or MacOS, an openHAB server and the star of the show a google home device.

[00:42] The links to all the devices, parts and guides mentioned are in the video description. Speaking of links in the description, follow @mksmarthouse on twitter, instagram and snapchat because those are the place where I give sneak peaks on when videos are releasing and also

[00:55] where I ask for your input on topics and future videos. Lately I have also been posting things that only a true smart home enthusiast would appreciate. For this guide I am going to assume you already have the google home installed and it is running

[01:08] perfectly using the setup instructions google provides and you can control it and can access I am also going to assume that you have a items file and a rules file. If you do not then go take a look at my video where I explain how to setup the configuration

[01:23] I will not be making two separate videos using Mac and PC because the process is really similar the only difference is that on mac you use Terminal to ssh and on PC you use putty.

[01:37] of the smart home community then check out smarthousesociety.com for premium quality Supplies are limited so check out the link in the description now!

[01:51] I recommend having my website guide open when you do this so that way you can just copy Now type in sudo nano /etc/openhab2/items/home.items and press enter.

[02:07] Now we are going to add the tags that the Google Home supports to the items. The Google Home supports the following tags. [ “Switchable” ] This tag is used with the Switch item type, Dimmer item type, Color

[02:20] item type, as well as the Rollershutter item type, but you would not use this for a light [ “Lighting” ] This tag is used for lights with the Switch item type, Dimmer item type, [ “CurrentTemperature” ] This tag would be used with a device that reports temperature

[02:37] [ “Thermostat” ] This tag is used with an item that has a Group item type and has the following devices in the Group [ “CurrentTemperature” ] [ “TargetTemperature” ] [ “homekit:HeatingCooling”

[02:50] ] I personally do not use the tags associated with the Thermostat and have never used them but if you want more information on them then check it out the github, link is on my website, I just use the Lighting and the Switchable one, in the future we may be using the Current

[03:06] Alright let's take a look at my items file because I have already put in the tags. As you can see I put the Switchable tag next to the items that are the Switch item type I also put the switchable tag into the GarageDoorShutterDummy items because they are of the Rollershutter

[03:25] Rollershutter GarageDoorShutter1Dummy "Garage Door 1" <garagedoor> [ "Switchable" ] I created a dummy switch for the garage doors because chamberlain myq does not like the command it receives when the google home talks to it so I created the dummy Rollershutters

[03:39] I will talk more about this later. I also used the lighting tag for my color led strips. If you guys have any questions on these tags leave them in the comments because chances

[03:54] are someone else probably has it too. Anyway once all your tags are in place, press control x then y and enter to save.

[04:06] it uses percents so let’s fix it. This step is optional and only if you have a Rollershutter item that needs on and off Type in sudo nano /etc/openhab2/rules/home.rules and press enter.

[04:20] rule "Garage Door 1 Voice Control" when sendCommand(GarageDoorSwitch1, ON) } I pasted it in twice and modified it because I have two garage doors.

[04:35] All this rule is doing is taking the percent from the dummy items and then either sending If your device requires up or down then change the ON to UP and OFF to DOWN. Now press control x then y and enter to save.

[04:50] The items are now ready, so the next thing we are going to do is connect the Google Home. So grab your mobile device that already has the Home app installed and open the app. 10.

[05:03] In the bottom right click on the plus sign. It will bring up a list smart devices you can add to the google home, scroll down and It will open up a web browser page, so type in your myopenhab.org username and password

[05:19] It will load a new page, press allow. Once that is finished it will say something like authorized or connected. After it will show you all of the items it found, if you want you can go through and

[05:31] Then hit done. The google home now has access to all your devices and you can control them with voice “Ok google, turn on MK Light” “Ok Google, set Garage Door 1 to 0%” “Ok Google, turn

[06:06] on Sprinklers Zone 1” “Ok google set Desk LED Strip to Blue” “Ok google set MK Blinds

[06:35] to 100” Great! The device is connected and working! That concludes this complete guide to connecting the google home to openhab 2.

[06:51] In the description you will find links to all the parts and devices used in the video as well as a link to mksmarthouse.com/shop where I have a wide range of smart home kits that you can put together such as blinds, led strips, sprinkler system and door sensors.

[07:06] section below or head over to mksmarthouse.com/forum. Good Bye!

More from MK-SmartHouse

View all

⚡ Saved you 0h 07m reading this? Transcribe any YouTube video for free — no signup needed.