Giter Club home page Giter Club logo

Comments (18)

xXCHRSTBLCKXx avatar xXCHRSTBLCKXx commented on May 19, 2024 1

@DaveMeade It's referring to Step 17 of the Google Cloud Setup section.

from assistant-relay.

phvajjha avatar phvajjha commented on May 19, 2024 1

@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.

aaronzandman avatar aaronzandman commented on May 19, 2024

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.

Jpereyra316 avatar Jpereyra316 commented on May 19, 2024

I'm having the same/similar issue. I've attached the log file.

2018-07-22T22_59_02_885Z-debug.log

from assistant-relay.

xXCHRSTBLCKXx avatar xXCHRSTBLCKXx commented on May 19, 2024

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.

DaveMeade avatar DaveMeade commented on May 19, 2024

@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.

DaveMeade avatar DaveMeade commented on May 19, 2024

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.

xXCHRSTBLCKXx avatar xXCHRSTBLCKXx commented on May 19, 2024

@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.

DaveMeade avatar DaveMeade commented on May 19, 2024

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.

DaveMeade avatar DaveMeade commented on May 19, 2024

@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.

phvajjha avatar phvajjha commented on May 19, 2024

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.

Jpereyra316 avatar Jpereyra316 commented on May 19, 2024

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.

Jpereyra316 avatar Jpereyra316 commented on May 19, 2024

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.

Anonymous caller does not have storage.objects.get access to grpc-precompiled-binaries/node/grpc/v1.8.0/node-v64-linux-arm-glibc.tar.gz.

from assistant-relay.

DaveMeade avatar DaveMeade commented on May 19, 2024

@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.

Jpereyra316 avatar Jpereyra316 commented on May 19, 2024

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.

Jpereyra316 avatar Jpereyra316 commented on May 19, 2024

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.

Jpereyra316 avatar Jpereyra316 commented on May 19, 2024

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.

red3recon avatar red3recon commented on May 19, 2024

from assistant-relay.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.