[Release] [Closed] Google Assistant Relay V1 - Google Home Audio Notifications!

I’m running it on a windows pc using command line

Do you have a firewall on your PC? Have you opened port 3000?
Instead of the ip, in postman use 127.0.0.1 and see what that does. That would set it to localhost rather than trying to go through the network.

http://127.0.0.1/customBroadcast?text=hello+world&user=welcomehome
There was an error connecting to http://127.0.0.1/customBroadcast?text=hello+world&user=welcomehome.
Why this might have happened:
The server couldn’t send a response:
Ensure that the backend is working properly
Self-signed SSL certificates are being blocked:
Fix this by turning off ‘SSL certificate verification’ in Settings > General
Proxy configured incorrectly
Ensure that proxy is configured correctly in Settings > Proxy
Request timeout:
Change request timeout in Settings > General

Can you run the server ‘node index.js’ and post the contents of what is outputted?

OK. Why do you have a user called welcomehome?
I have a feeling this is whats messing it up

Just created it, I can remove that user. Can I modify the config file manually or should I just recreate it?

Just copy the contents from here into your config file:
https://raw.githubusercontent.com/greghesp/assistant-relay/master/config.json

And then run the builder again

Okay, I think you might be right. Went into the file and cut out all the welcome home sections. I think I had it looking to the wrong file names. Reset everything to look to Chris named files.

{“language”:“en-US”,“users”:{“chris”:{“keyFilePath”:“C:\Google Assistant\chris_client_secret.json”,“savedTokensPath”:“C:\Google Assistant\chris-tokens.json”}},“port”:“3000”}

1 Like

That looks correct. Try running, it should work now

Be back soon

That works. The command anyway

Still no broadcast to the Google Home.

Did you hear the startup sequence? Did you remove the welcomehome user? What URL did you use for the Post message?

No start up sequence. I removed the welcome home user.

http://192.168.2.30:3000/customBroadcast?text=hello+world&user=chris

Server spits out : received command broadcast hello world
user specified was chris
conversation complete

Okay, so you didn’t hear the startup, that means there is a relay problem. What are you seeing in the command prompt?

Received command broadcast hello world
user specified was chris
conversation complete

Turn off your firewall. It sounds like something is blocking the command from your relay to the home.

Turned off windows firewall, nothing to the GH. I have a unifi security gateway, do I need to change any settings there to allow the relay to work?

Where is the gateway on your network? Before your router or between your pc and router? I would turn off all security temporarily to see if it’s the problem.