If the assistant-Relay server is running, in the terminal window, you should have a big colorful ascii text graphic on the screen, right? It will keep running until you use the “ctrl-c” key sequence on the keyboard. Afterwards you’ll be back at the command prompt.
Yes, should be the same name you used for assistant-Relay.
I actually closed this window, so I guess I killed the application and that is my error right ?? I thought that it can run anyways if it was closed as this way is how works with the cast-web-api. I guess I have to reopen it. Let me try
That would be a better question for someone like @Ryan780 or @SmartHomePrimer. I really don’t know what the problem is is how to troubleshoot it. PM2 has always just worked for me.
with google assistant relay is not possible to have specific devices to cast right? it will just cast to all devices available for what I am just testing
PM2? That's for auto-startup correct? I don't use that. Sorry. I run all my apps on a MacBook Pro. Lots of horse power to spare. It's on a UPS and runs 24/7. I just open another terminal window and start the next app. I have 5 running simultaneously right now.
I see a lot of value in the assistant relay as well because my music in spotify will resume after a TTS and that was something that I was looking for. Will try the [CC] as well. Thanks
Cast-web-api let's you send a TTS message to an individual speaker but it is not a broadcast. It will interrupt whatever is playing. The only way to do a broadcast to individual devices is to create dummy Google account and link each one to only one speaker. Then when that user broadcasts it only goes to that speaker. However, this is only a theory developed by Greg, the developer for AR. I tried it and couldn't get it to work.
Did you figure out your PM2 problem? If not, and you have installed cast web, just reinstall your version of node using the script I linked to above. Even if you reinstall the same version it will repair all the linking to PM2 that got broken. That's how I fixed mine.
Just use the script I linked to to reinstall the same version. That will automatically reinstall all of your global node libraries (installed with - g) and fix the linking to PM2.
Working through the process. Had some trouble with v10 of of nodejs being loaded instead of v8 but managed to downgrade it. In case it's of use to anyone else, this helped...
Got to the npm install and it worked away but now seems stuck here...