Comments (18)
@DaveMeade It's referring to Step 17 of the Google Cloud Setup section.
from assistant-relay.
@DaveMeade before you start a new thread - endoplasmic/google-assistant#52
Its just not working for some Google users. Its something on Google's end. If you want to make sure your setup is right, just make sure the command shows up here - https://myactivity.google.com/myactivity
If it does, you are good. Just wait (unfortunately) for Google to resolve this.
from assistant-relay.
running on a RP3
Linux version 4.14.52-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611)) #1123 SMP Wed Jun 27 17:35:49 BST 2018
etched from 2018-06-27-raspbian-stretch
from assistant-relay.
I'm having the same/similar issue. I've attached the log file.
2018-07-22T22_59_02_885Z-debug.log
from assistant-relay.
I was experiencing the same problem, but resolved it by following the exact steps from this installation guide: https://github.com/ryancasler/assistant-relay/wiki/Install-Instructions
from assistant-relay.
@churstblock I'm not clear on step 8 of the "update other stuff" section. What username is it asking for here? There doesn't appear to be a username contained within my credentials.json file.
from assistant-relay.
Thanks @churstblock
I seem to have everything setup and the server is running an accepting commands, but there is no resulting broadcasts on my google home speakers.
> [email protected] start /home/pi/assistant-relay
> node index.js
Fired up the SSDP Server for network discovery...
Firing up the Web Server for communication on address 192.168.1.74:3000
Assistant Relay is now setup and running for dave
Received command broadcast Assistant Relay is now setup and running for dave
No user specified, using dave
Received command broadcast Hello World
User specified was dave
I didnt hear either of the "Hello World" or the "Assistant Relay is now setup and running for dave"
Any suggestions as to where to look for the problem?
from assistant-relay.
@DaveMeade Only thing I could think of would be that your Google Cloud project and OAuth key aren't on the same Google account as your existing Google Home.
from assistant-relay.
Hmm, they are on the same account. I checked the Google Cloud project dashboard, and it is receiving and processing the calls, but its returning a 499 Error (Canceled by user). I'm not sure what to do what that, but perhaps I'll start a new thread as it doesn't appear to be "install" related anymore. Thanks for your help, @churstblock .
from assistant-relay.
@phvajjha thanks for that. interesting thread. I'm not sure if its related to my error, but it seems to be a pretty safe bet. I'll post my observations there.
from assistant-relay.
It works (flakily) for me. I always get the 499 Error response on the web console. I guess you can safely ignore it. Many other users reported the same error code on the dashboard, even when it was working fine a few months ago.
from assistant-relay.
I followed the steps from https://github.com/ryancasler/assistant-relay/wiki/Install-Instructions.
I still get a fatal error while npm is running make. I've attached a text file with the output as well as the npm log.
2018-08-09T19_09_16_510Z-debug.log
assistan-relay_npm_error.txt
from assistant-relay.
I noticed it seems to start failing when trying to download from GRPC storage.googleapis.com.
I tried downloading it manually, but wasn't successful:
https://storage.googleapis.com/grpc-precompiled-binaries/node/grpc/v1.8.0/node-v64-linux-arm-glibc.tar.gz
AccessDenied
Access denied.
from assistant-relay.
@Jpereyra316 I had the same issue because, like you (judging by the error log), I had been trying to use the latest version of node. Something about that fails. Try uninstalling nodejs and re-installing it according to the install instructions you linked. (Just below "17. Once downloaded...")
from assistant-relay.
Yeah, I'm trying to use the latest version.
Thanks for the tip. I'll downgrade and see if that resolves my issue.
from assistant-relay.
So I followed step 17 in https://github.com/ryancasler/assistant-relay/wiki/Install-Instructions and was able to install. However, when running node index.js on the RPI through remote desktop connection I get the following error:
pi@raspberrypi:~/assistant-relay $ node index.js
/home/pi/assistant-relay/node_modules/grpc/src/grpc_extension.js:46
throw error;
^
Error: Failed to load gRPC binary module because it was not installed for the current system
Expected directory: node-v64-linux-arm-glibc
Found: [node-v59-linux-arm-glibc]
This problem can often be fixed by running "npm rebuild" on the current system
Original error: Cannot find module '/home/pi/assistant-relay/node_modules/grpc/src/node/extension_binary/node-v64-linux-arm-glibc/grpc_node.node'
at Object. (/home/pi/assistant-relay/node_modules/grpc/src/grpc_extension.js:44:17)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/home/pi/assistant-relay/node_modules/grpc/src/client.js:38:12)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
Any suggestions?
Thanks for all the help!
from assistant-relay.
Never mind.
I restarted the RPI and it worked. I think the node installation wasn't being used for some reason, so it was trying to use the newer one to launch index.js.
I heard "Assistant Relay is now setup and running for ", so I guess it's working. I'll play around with it some more tomorrow.
from assistant-relay.
from assistant-relay.
Related Issues (20)
- throws some api error HOT 1
- TypeError: Cannot read property 'converse' of undefined HOT 4
- 14 UNAVAILABLE: Getting metadata from plugin failed with error: Cannot read property 'access_token' of undefined HOT 11
- Reminders - Permissions Issue HOT 16
- Move "responses" out of config.json into a separate file
- Question - Is it possible to get a response silently HOT 4
- Question - What are you doing in place? HOT 13
- Sending a "custom" commands works fail after 1st command HOT 1
- catt scan failed HOT 5
- Docker image HOT 1
- npm run setup error HOT 1
- npm run setup error HOT 2
- Error creating new user HOT 16
- Broadcast started acting wonky HOT 2
- Someone please fix it (im on last home assistant) HOT 11
- Migrate your OAuth out-of-band flow to an alternative method HOT 25
- New Error HOT 3
- Cannot read properties of undefined (reading 'converse') HOT 1
- Migration from 3.3.2b to 4.0.0b4, can't finish first initilization
- Did anyone else begin experiencing issues? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from assistant-relay.