Official Google Assistant Integration for openHAB

awesome news, thank for all the hard work, i’ve been monitoring this thread daily and now all my 8 lights are all working great through google home!!

Couple things just to add here about my experience:

  1. Tagging the items. All my items were added through PaperUI which does not yet appear to support tagging. As per a post in another thread, I used the rest API to add the tags which went smoothly. Sample rest call:

curl -X PUT --header “Content-Type: application/json” --header “Accept: application/json” “http://localhost:8080/rest/items/[itemname]/tags/Lighting

I also just noticed you can add tags using the console:

openhab> items
Usage: smarthome:items addTag - adds a tag to the given item
Usage: smarthome:items rmTag - removes a tag from the given item

  1. I had similar issues with others where google said it couldn’t sync the devices. I re-linked openhab through the home app and then everything started working correctly. Not sure if it was since the first time I did not have any items tagged yet… either way, working fine now.

  2. just a general comment, I was a little surprised I did not have to expose the items to myopenhab through the configure openhab cloud services in paperui for them to show up in google home. I assume this was intentional given we have to tag them.

3 Likes