Unfortunately, Assistant-Relay doesnât really support all of the functionality true voice commands seem to support. This is an issue with the NodeJS server/Google SDK, not an issue with the Hubitat side of things.
Itâs been a while, but as I recall commands in the following form sometimes work...
[CC]set volume to 50 on Family Room Mini
But I am pretty sure the volume command above does not work. It does if you use Google Assistant on your phone, though (without the [CC] of course).
I donât recall ever having to use the wake phrase âOK Googleâ when using Assistant-Relay.
Duh, it works without Hey Google. Completely makes sense. I made fun of my friend for pressing the button on his Android phone, but then still saying "Hey Google..." But this IS talking to google assistant, so of course you don't need to say Hey Google
The jokes on me this time!
Thanks for that info What do I use in RM to take advantage of the Chromecast actions. I know I can use the speak/notification function with google relay in RM but cant seem to find the the commands that are available in chromecast devices in RM.
Custom Commands is definitely one way, albeit a bit complicated.
Another way is to use âCustom Actionâ in your True or False Action of a Rule. When you select âCustom Actionâ for a device, you can pick any of its commands and can pass parameters to those commands.
Thanks Dan. I realized as I was putting those instructions together that I hadnât used custom actions in anything yet, and didnât really know how they worked (and was too tired to read up on it at the time).
I have successfully installed Assistant Relay V2 and the V2 HE driver. Everything works as intended.
However, where do I change the username that is broadcast prior to the message? I have changed the username in the driver but it does not work. It always broadcasts "Scott", which is my name, but I want it to say something else.
Is there another setting somewhere or buried deep in RPi?
IIRC, there is a config.json file (or similar) on the RPi which has your google username in it. You'd have to change that entry, maybe? This is really a Google Assistant-Relay NodeJS server question, as the Hubitat v2 driver simply implements the HTTP calls specified by that project's ReadMe on GitHub.
Here's the pertinent section...
Once you have downloaded your client secret file, rename the file to your chosen user name. For example: greg.json . Once renamed, copy your OAuth file to the folder server\configurations\secrets
When Assistant Relay is ran, it will automatically configure itself to according to the files in the secrets folder. These are also the usernames you can now pass with your queries. For example, the username for greg.json is greg
Yeah I saw that but based on the above it is spalexander.json so it should be spalexander. But it's saying Scott instead. Maybe since it can't say spalexander, it is reverting to my Google username.
You talking the config.json file in /home/pi/assistant-relay/server/configurations? If so, I changed mine from spalexander to Test and it still said Scott. Although, I did not reboot.....I'll keep testing.
No need to reboot. Just stop Assistant Relay and start it again. Path is very likely different for me vs you. I'm running version 1 and I'm running it on a Mac laptop.
You should see the same stuff I have in the file though, all in one line. Does it look like that? Should be only one config.json file regardless of the version.
Yep. Changed it. Still does not make a difference. I'll keep messing with it. Having another issue with rPi and I may reinstall it. When I do, I will try Version 1 instead of 2 for Assistant Relay.
Not sure is this was already answered somewhere else...
Can I activate a routine on a specific Google Home device (I have 5, but want the routine to run on only one) with the help of Assistant relay (or something else maybe)