SmartThings Community

[Release] Google Assistant Relay V2.0 - Google Home Audio Notifications!

ohhh this is bad as I had all my pistons already setup and working with the google assistant device in ST :frowning:
Anyway I’m unable to make any announcement work from WebCore using Post command for some reason

Make sure to use your relay host local IP, not the hostname. Smartthings calls hostnames from the cloud and only local IPs schemes (192.168, 172.16, 10…) from the hub itself.

I’m not aware of any command yet to set Nest Home state from Google Assistant. You can control the temperature, but that’s all. I expect in the coming months Nest devices may come in as a “Security system” controllable from Routines.

Then you’d be able to trigger a routine via Assistant Relay.

1 Like

My broadcasts have quit working since about 5/20/2019. It’s not just via Assistant Relay; broadcasts no longer work from the Google Assistant app either. I’m afraid it might be a change for GSuite accounts…
https://support.google.com/googlehome/thread/2964730?hl=en
:frowning:

Is it still working? Somehow i’m getting a error msg, can’t use curl to test… it was working perfectly last time i tried!

SyntaxError: Unexpected token ’ in JSON at position 0
at JSON.parse ()
at createStrictSyntaxError (/home/pi/assistant-relay-2.1.1/node_modules/body-parser/lib/types/json.js:158:10)
at parse (/home/pi/assistant-relay-2.1.1/node_modules/body-parser/lib/types/json.js:83:15)
at /home/pi/assistant-relay-2.1.1/node_modules/body-parser/lib/read.js:121:18
at invokeCallback (/home/pi/assistant-relay-2.1.1/node_modules/raw-body/index.js:224:16)
at done (/home/pi/assistant-relay-2.1.1/node_modules/raw-body/index.js:213:7)
at IncomingMessage.onEnd (/home/pi/assistant-relay-2.1.1/node_modules/raw-body/index.js:273:7)
at IncomingMessage.emit (events.js:194:15)
at endReadableNT (_stream_readable.js:1125:12)
at process._tickCallback (internal/process/next_tick.js:63:19)

Is there any chance that you update the version of NodeJS on your assistant-relay device?

My broadcast are all still working fine and have been. Of corse I still have the ULTRA ANNOYING “Broadcast from Eric” BUG. :crazy_face:

I am trying to call a Google Assistant routine from SmartThings (ActionTiles specifically). Will this still function or is this being affected by the upcoming Google Assistant changes?

Broadcasts have been broken for me for at least a few days, am on a GSuite account…

Still working fine for me.

I am following @ogiewon instructions. I have assistant relay working and I am trying the part to use PM2 to run assistant relay on reboot it is not working for me. I think I am missing a step or maybe I installed the wrong program. First, I could not get “sudo npm install pm2 -g install” to work. I get the following errors:

/usr/local/lib/node_modules/npm/node_modules/npmlog/log.js:57
log.progressEnabled = log.gauge.isEnabled()
^

TypeError: log.gauge.isEnabled is not a function
at Object. (/usr/local/lib/node_modules/npm/node_modules/npmlog/log.js:57:33)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:690:17)
at require (internal/modules/cjs/helpers.js:25:18)
at /usr/local/lib/node_modules/npm/bin/npm-cli.js:22:13
at Object. (/usr/local/lib/node_modules/npm/bin/npm-cli.js:152:3)

I was able to get “npm install pm2 -g” to work. I entered “pm2 startup”
I get to the part where it says “to setup the startup script, copy/paste the following command:” I do not know where to paste the command. Do I actually need to paste it somewhere or is it automatically pasted for me? I would appreciate any help to get this working. Thanks.