NOTE: With MARZIMA’s permission I am closing this thread to new posts. For future issues or requests for assistance with Google Assistant, please open a new thread. @rlkoshak
I am happy to announce that the openHAB 2 Google Assistant Action has been certified by Google today and is now live. This integration allows you to connect your openHAB through the myopenHAB.org cloud service to Google Assistant and control your openHAB by voice control. With this Action you can control items that respond to on/off and e.g. brighten your lights. The Action was tested with the languages English & German, but should support other languages, too (depending on Google Assistant language support).
Some sample commands are:
Light Bulbs and Plugs:
Turn on the <light name> Turn off the <light name> Dim the <light name> Brighten the <light name> Dim the <light name> 20% Brighten the <light name> 20% Set the <light name> to 50% Set the <light name> to <color> Is the <light name> on? Is the <light name> off? Turn on the <plug name> Turn off the <plug name> Turn on the lights Turn on all the lights Turn on the lights in the <room name> Turn on the <room name> lights Turn on the <device nick name> <blind nick name> down / up <blind nick name> 80% down / 80% up <blind nick name> 80% up Stop <blind nick name>
Items that you wish to expose to Google Assistant will need to be tagged. Lighting and switchable tags are currently supported (although not limited to those types of items).
Some examples of tagged items are:
Switch KitchenLights "Kitchen Lights" <light> (gKitchen) [ "Lighting" ] Dimmer BedroomLights "Bedroom Lights" <light> (gBedroom) [ "Lighting" ]
Currently the follwoing Tags are supported (also depending on Googles API capabilities):
["Lighting"] ["Switchable"] ["CurrentTemperature"] ["Thermostat"] ["Blinds"]
To use the openHAB integration for Google Assistant on your smartphone, you will need the Google Assistant or Google Home app (iOS or Android) and follow these steps:
Usage and setup of openHAB in Google app
If you are interested in the code for this action or want to contribute to its functionality, check out openhab-google-assistant and be sure, contributors are always welcome!
It was not an easy way (since we found some issues with Google), but we did it!
Thanks to all who helped to make this happen and many thanks to
the cmmunity for the patience. I hope you will enjoy the integration!!!