Hi there all,
I just make a rule in order to stop my son’s Play Station after 120 min of game time.
I would like to play a voice message like “Attention, 10 minutes remaining until power off” etc…
in order to prepare it to save the game before power off the Play Station.
So I want to ask you… witch can be the simplest way to make a hardware like this
in his room please ?
A “simple” solution would be using a multiroom sound system for which a binding exists. That way any message ( created by a TTS service) can be sent to any of the connected boxes. One example Sonos, not cheap but simple.
A cheaper solution would be to connect a speaker directly to the device running OH.
I think Sonos cost to much for this project.
But I think I’ll buy the new google home mini (I don’t know when will arrive in Italy)
With google home do you think I can embeded it to openhab ? and send a TTS over it from openhab ?
Or… maybe I can buy another raspberry or arduino and put a case on it and connect it to the openhab
I also found how to make a google home using a raspberry (https://aiyprojects.withgoogle.com/voice)
Yes … but I think that another raspberry is better cause you can develop more thinks that for chromecast.
Then, the cromecast here is 39 eu, and the rasp is about 32 eu
…obviously I don’t look this little difference.
Maybe I can instal an MTQQ client into raspberry and a TTS software
Then some rule in order to call the TTS when MTQQ received.
Can be ok in this mode please ?
I think that in the meantime that google home mini will arrive,
I’ll buy a raspberry and install into it the google home api
I so the someone can link some Android TV also at the openhab
My soon have a Sony Android TV in the room… can I send text message to the TV ?
Thanks a lot Daniel,
I just want to ask… I don’t know so much how the chromecast is work…
This one will be connected to the TV right ?
So if I send an audio sink to chromecast, this voice will play on the TV ?
Are you talking about Google Home or are you talking about Chromecast/Chromecast Audio?
Google Home obviously doesn’t need to be plugged into a TV - it’s a standalone device.
However if you wanted to use a Chromecast/Chromecast Audio as an OH2 audio sink then yes you would need to plug it into your TV, and have the TV on and connected to the correct source before you could hear the voice on the TV.
Oh yes… must be on the chromcast input source… I can’t use it for my project.
I must annunce my sun that the Play Station will power off in 10 min.
But if my sun will stay to the Play Station source the chromecast will not work.
Regarding the initial question (using cheap speaker onto which OH can send a sound file created by a TTS service ) I tested a solution with a Google Chrome Audio in conjunction with real cheap active boxes (7€). So the total price is below 50€.
The binding for Chrome allows to send “notifications” via the say command ( after having a TTS configured like VoiceRSS).
Thanks a lot Opus,
I just install the google assistance on the raspberry in order to test it.
But at the end I understand that I need an usb microphone that raspberry don’t have,
in order to use it.
So I just wait to receive it from amazon.
In the meantime, can you show us the code you use in OpenHab
in order to connect it to the Google Chrome Audio please ?
I believe that can be better if I add a new raspberry (that have ± same cost)
cause in this case I can use also for a Google Assistant in future.
Also maybe if in Europe the Google home mini will be 60€ …can be same think.
The connection of Google Chrome Audio is done by the Chrome binding (detected as thing via PaperUI). It can then be addressed as an audio sink just like other sound systems.
Which speakers are connected to the Chrome Audio is completely irrelevant to OH.
Or did I mssunderstand your question?