ggraef
Senior Member
Senior Member
Posts: 142
Joined: Fri Oct 24, 2003 11:00 am
Contact: Send private message

Re: Google Home

Tue May 22, 2018 6:40 pm

If you don't mind a little DIY, you can set up Voxcommando (a front-end for Windows built in speech recognition) and EventGhost to send http requests to run commands in myServer. Not as simple as Alexa/Google because of the hardware, but easier to integrate without developer access (and you can completely control syntax).

Hisma
Newbie
Newbie
Posts: 15
Joined: Fri Mar 31, 2017 1:31 pm
Contact: Send private message

Re: Google Home

Sat Jun 16, 2018 11:30 am

If you don't mind a little DIY, you can set up Voxcommando (a front-end for Windows built in speech recognition) and EventGhost to send http requests to run commands in myServer. Not as simple as Alexa/Google because of the hardware, but easier to integrate without developer access (and you can completely control syntax).
I am going to attempt to do this now. Admittedly, this is quite complex. I think I could eventually figure it out if I tinker enough, but finding time to tinker and troubleshoot is not easy for me. If you could provide a baseline, it would not only be helpful to me, but the community at large here.

Could you provide an example of one of the commands you use? Assuming you use this setup? It appears that it requires that you first build the command in vox commando to send an event to eventghost. Then in eventghost it'd listen for that event, then execute a command, which could be the http request, as you mentioned.

Again, there's so many moving parts in all of this, it would be great if you could share some screenshots of your commands you've built to say, play audio from a zone. Could be anything really, once we see some sort of baseline, I think changing the commands to suit our needs would be easy.

Dave/David also if you have done anything with vox/eventghost, this would be useful to have as a tutorial on your website.

ggraef
Senior Member
Senior Member
Posts: 142
Joined: Fri Oct 24, 2003 11:00 am
Contact: Send private message

Re: Google Home

Mon Jun 18, 2018 9:17 am

I set up Voxcomando and Cinemar several years ago (works the same with myServer) though I admit voice has never caught on in my house. The quality of this depends entirely on the choice of microphone (there are good discussions on the Voxcommando web-site). It can be a bit of a challenge to setup mics for whole house use.

There are three pieces to this:
1. Setup a new command macro in myServer for an action. For example, I have "voice.theater.disc" to set everything in my theater for playing bluray.
2. In VoxCommando, setup a new command with an action of "EventGhostSend" and parameter, e.g. "HT.Play.BluRay", which will be sent to EventGhost for this particular command
3. In EventGhost, add a configuration item with an event corresponding to the parameter in vox, e.g. "Broadcast.HT.Play.BluRay". Add an action of "eventghost, python script". The script looks like this, sending a http request to myServer with the command macro from step 1.

import urllib
dtv2 = "http://192.168.1.110:6246/command?Voice.Theater.BluRay"
urllib.urlopen(dtv2)

Another possibility, which would require more work to write a skill (likely just a simple http to myServer), would be Mycroft-- which is an open-source version of Alexa/google home that can be run on a Raspberrry Pi. I haven't tried this but it's on my list of things to tinker with. Maybe voice would catch on in my house this time :)

ggraef
Senior Member
Senior Member
Posts: 142
Joined: Fri Oct 24, 2003 11:00 am
Contact: Send private message

Re: Google Home

Tue Jun 19, 2018 8:50 am

Another possibility: I've recently started using Node-red and found there are nodes for Alexa and Google Home. Using these nodes along with http to send commands, you can use Alexa or Google Home to control myServer. I have not tried this but there are videos showing it on youtube.

Hisma
Newbie
Newbie
Posts: 15
Joined: Fri Mar 31, 2017 1:31 pm
Contact: Send private message

Re: Google Home

Tue Jun 19, 2018 8:56 pm

thank you! I am going to take some of your suggestions and try them out soon. thx

Return to “General Home Automation Topics”

Who is online

Users browsing this forum: No registered users and 1 guest