[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!