HowTo: Listen & Talk to your Home

Excellent tutorial @Dim, keep up the fine work and Thank You!:fireworks:


Fantastic tutorial! I know I’ve always found TTS to be a bit of a mystery. Thanks for posting!


It’s funny: I was also worried about this, but it was easy to setup. You need to be careful with Google’s Cloud Platform and to perform the steps in the docs to get the JSON. After that, it’s very smooth.

This will be improved according to my understanding, since @wborn is planning to change the API (Ref: Google TTS addon for OH2 & I didn’t use the testing jar for the tutorial since I would have pushed everyone to Snapshots to use it :wink:

1 Like

Damn fine tutorial @Dim
But, I seem to recall something about Google text to speech doesn´t work on Rpi. If thats correct, perhaps it´s worth mentioning in your guide,


@Dim About your FAQ Q3:
Google Assistant (and openhab) also support [ “Outlet” ] and [ “CurrentHumidity” ].


It’s correct. I added a note on top (intro). There is a Snapshot release of the addon that will work on rPis, but you need to run 2.4.0 Snapshot core to run it. Ref: Google TTS addon for OH2

Check (updated). The docs need update also in this case :slight_smile:


1 Like

Great… I really look forward to skip the Voice_RSS. I want Google both ways :grinning:

This is unfortunate yes… This page is more updated that the original is :frowning:


added 2 more FAQs. I think that they are useful in tutorials

1 Like

aha! the openhab documentation bot is slow again :slight_smile:
It should have pulled that version and published it on by now (last update to your link is 26 days ago :slight_smile:

Thanx for the link ! I will further update the supported tags

1 Like

Regarding the [“CurrentHumidty”] there is a small note to catch. It doesn´t show anywhere. It´s part of the thermostat. It confused me some days ago, when I added it to my setup. One simply have to ask for the humidity to know if it works.
Since this guide is is about listen and talk to. I´ll let you decide if it´s worth mentioning :slight_smile:

1 Like

Here’s one you might want to include on the Q&A, or at the top of the topic.

Q: How can I get this to work with Alexa?

A: This tutorial is for Google, not Alexa.

Surprised no ones asked this yet.:smile:


Added :wink: :smile:


Please read this, also located at the end of the tutorial.



Hi Dim…
I have a question. (well, partly an request :slight_smile: ).
My plans is to use several devices for “listen and talk to” spred around all over our house. That include several Google home devices, as well as one android tablet, (main communication device). I have however yet to discover how to use a tablet for both talk to as well as listen…
As far as I understand you´r tutorial, you´re dealing with one device only, which is the default sink? I wonder if you could spred some light about this issue of using more than one device, if that is possible at all?

The default sink in my tutorial is Web Audio. This means: Any Web Browser pointing to either PaperUI or HABpanel URLs.

I used 2 devices: my PC and my mobile to test things out and I had PaperUI always open on the PC, so I was able to listen to the TTS audio.
If you have 2 browsers (or tabs) open to both PaperUI and HABpanel, you will listen to the same audio output twice :slight_smile:

I don’t know if you use a tablet and have the browser in the background, working with the Google Home App in the foreground, if you will be able to receive the Web Audio (most likely no :frowning: ).

The audio feedback is “channeled” only to the browser (not to the GH app)

Since you will have Google Home devices available, you can send the TTS Audio to them (either configure the default to Sink to be the GH device or specify the audio sink in your say command)

Thats smart :smile: Except, in my plans…

… is a bit tricky, cause I will not be using web audio. I will be using chromecast´s devices as “speak to”, as well as “listen to” TTS audio. And even more, I plan on making somekind of presence detection, and only send TTS audio to that/these rooms where presence is detected. I know, this will require rather advance rules. But at least thats an idea. :slight_smile:

I know how to cast TTS audio to chromecast devices. I already do that with the one Google Home Mini I´ve got. My concern is, how to cast TTS audio to an Android tablet. I dont even know if thats possible, unless I´ll be using the web audio. I guess this is a question to be searched for…

It should now work out of the box on Raspberry Pis with 2.4.0-SNAPSHOT Build #1446 or newer.

1 Like

Thanx! I am updating the first post now

Quick clarification question: Everything with regards to the installation instructions posted on: remains the same… Correct? (get JSON, plug it in PaperUI)

1 Like

That’s right! It works exactly the same on any architecture while the addon got a lot smaller. :slight_smile:

1 Like

this thread has started to show up on

It also has 6k views on twitter :stuck_out_tongue:

We need to improve the content on the first post… what about making it a Wiki?