Unable to register Google Assistant Device Model

SudDaBuilder

I am trying ever so hard to get the Google Assistant on my Windows 10 PC. I am up to the "Register Device" part.

Developers.google.com Says to run the following command to register your device.

googlesamples-assistant-devicetool register-model --manufacturer "Assistant SDK developer" \
          --product-name "Assistant SDK light" --type LIGHT --model my-model

Which i conclude for Windows (and me) is:

googlesamples-assistant-devicetool register-model --manufacturer "Assistant SDK developer" --product-name "Assistant SDK light" --type LIGHT --model Sudda2252

But, when i run it, i get the error

Error: Error loading client secret: [Errno 2] No such file or directory: 'client_secret_XXX.apps.googleusercontent.com.json'.
Run the device tool with --client-secrets or --project-id option.
Or copy the client_secret_XXX.apps.googleusercontent.com.json file in the current directory.

So i edit the command to:

googlesamples-assistant-devicetool register-model --manufacturer "Assistant SDK developer" --product-name "Assistant SDK light" --type LIGHT --model 'Sudda2252' --client-secrets "C:\Users\Sudda\Desktop\GoogleAss\client_secret_XXX.json"

Where the error is:

Error: no such option: --client-secrets

Please help where i am going wrong?

P.S.
I have tried launching the Google Assistant directly, but it returns an error

ERROR:root:Option --device-model-id required when registering a device instance.

Refs:

StackOverflow

Reddit

XDA

Google Developers

Thanks, Sudda



Edit: My workaround worked once, but then it was useless. Stopped working.
And thanks @Nick Feller for trying, but didn't work.
So either i have a problematic computer :D, or we're missing something here.

Suda

A very commonly made error - By Google and by the End User - is the naming of your Client Secret file. Google automatically names your CS with a (1) appended to the end of your file name. To setup your G Assistant,

  1. Delete the (1) in the name
  2. Open CMD in the folder with your CS (best in a folder with nothing else)
  3. Run googlesamples-assistant-devicetool register-model --manufacturer "Assistant SDK developer" --product-name "Assistant SDK light" --type LIGHT --model Sudda2252
  4. Now run googlesamples-assistant-pushtotalk --project-id ##MODEL## --device-model-id Sudda2252 Where ##MODEL## = Your project name.
  5. After that, just run googlesamples-assistant-pushtotalk to start G Assistant.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Unable to see Google Map on device

From Dev

WSO2Emm - Unable to register android device

From Dev

Unable to register my application with Google Developers

From Dev

Unable to register Google Play - Developer console

From Dev

Unable to register my application with Google Developers

From Dev

Unable to register Google Play - Developer console

From Dev

Why does PhantomJS on Ubuntu register as a touch device by Google Maps?

From Dev

Modelling Smart Home devices with Google Assistant SDK on a Ubuntu VM - available Device Types?

From Dev

[google-assistant-sdk]-Google Assistant demo

From Dev

Network Register a Headless Device

From Dev

Unable to load spaCy model in Google colab

From Dev

Android Studio (Unable to find Google API Image) In Virtual Device Configuration

From Dev

how to fix ["failed to register ","Device does not have package com.google.android.gsf"]

From Dev

Same model for login and register

From Dev

Unable to register a blueprint

From Dev

Unable to register NSD Service

From Dev

Unable to redirect to register page

From Dev

Unable to register a blueprint

From Dev

Unable to register IRequestPreProcessors with Mediatr

From Dev

Unable to register kprobe

From Dev

How to respond to "help" on Google Assistant?

From Dev

Google Assistant and WorldWeatherOnline API confusion

From Dev

Django, register extended user model

From Dev

Angular model won't register

From Dev

How to detect device model?

From Dev

MvvmCross MvxApplication unable to register types

From Dev

Unable to register Bower package: EINVFORMAT

From Dev

MvvmCross MvxApplication unable to register types

From Dev

Unable to register SIP via WiFi

Related Related

HotTag

Archive