Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

readme out of date #494

Open
LindaLawton opened this issue Jan 27, 2020 · 5 comments
Open

readme out of date #494

LindaLawton opened this issue Jan 27, 2020 · 5 comments
Assignees

Comments

@LindaLawton
Copy link

LindaLawton commented Jan 27, 2020

I am stuck on the section about Connect to Firebase

  • Open your project in the Firebase console, and configure a Cloud Firestore database.
  • Configure a users collection with a default user and a few default fields

Its forcing me over to https://console.cloud.google.com/datastore

image

where i am not seeing anything about users. Where should I add the users?

image

Solution

Click switch to native mode. Then added entities.
Solution was that its not a user you add its an entity Now it looks like this

image

Second issue firebase config

npm run create-firebase-config returns error

Error: No project active. Run with --project or define an alias by
running firebase use --add

linda@linda-ThinkPad-X1-Extreme-2nd:~/development/smart-home-frontend$ firebase use
firebase: command not found
linda@linda-ThinkPad-X1-Extreme-2nd:~/development/smart-home-frontend$ firebase use --add
firebase: command not found

possible solution

It would appear that freebase tools need to be installed ReadMe doesn't mention that. Firebase CLI reference

actions console

start testing Item number 2

From the top menu under Develop, click on Actions (left nav). Click on Add your first action and choose your app's language(s).

left menu doesn't have anything called actions. There is something called prebuilt intents.

number 4

On the left navigation menu under ADVANCED OPTIONS, click on Account Linking.

There is nothing called advanced options its now called account linking. but none of the values appear to be the same for example 4.i doesnt exist.

testing in assistant

Set up Account linking This appears to be working I am getting a decent response back from the authorization process

image

But it appears to stop here. It does not add anything to my phone. Dont i need to configure my smart home device? Tell google what it is? I tried running http://127.0.0.1:8081/ but that says to click the "+" to add something but nothing is added and i cant find any error messages.

basically this isnt working

Assistant will only provide you control over items that are registered, so if you visit your front end and click the add icon to create a device your server will receive a new SYNC command.

@Fleker
Copy link
Contributor

Fleker commented Jan 27, 2020

It looks like the project you're using has already been set up to use "Cloud Firestore / Datastore". You may want to try a new project.

@LindaLawton
Copy link
Author

LindaLawton commented Jan 28, 2020

This is a new project i am following along with your read me now. I am very new to node so i am following your guide step by step to the letter.

@proppy
Copy link
Contributor

proppy commented Aug 3, 2020

@LindaLawton the README could do a better job at linking directly to the firebase console to avoid confusion with the GCP console.

@proppy proppy self-assigned this Aug 3, 2020
@nk-gears
Copy link

nk-gears commented Feb 6, 2021

ReadMe outdated and its doesn't matches with the current console UI

@Michael-Hanley
Copy link

Michael-Hanley commented Mar 11, 2021

Bumping this. The README really needs some work... That or I'm just utterly confused by the whole thing (Definitely possible)...

The start testing section has the setup for account linking and the setup account linking section is confusing...

  1. On a device with the Google Assistant logged into the same account used
    to create the project in the Actions Console, enter your Assistant settings.

What assistant settings?

  1. Click Home Control

where?

  1. Click the '+' sign to add a device.

I'm guessing this is in the front end?

  1. Find your app in the list of providers.

What list of providers?

  1. Log in to your service.

Is this by going to the /login endpoint? and what redirect should we set? the front end?

  1. Start using the Google Assistant in the Actions Console to control your devices. Try saying 'turn my lights on'.

I'm not sure how we ended up here from the previous steps?


Alright, so after some trial and error, I think I have this somewhat figured out.

  1. On a device with the Google Assistant logged into the same account used
    to create the project in the Actions Console, enter your Assistant settings.

Not 100% sure really what this means still but I think this is telling you to go to the app "Google Home" on a device where you are logged into the same account that you created your action on. I did this on the Android Google Home application..

  1. Click Home Control

This seem to be the "Setup a device" section under "add to home". Once you are here, select "Works with Google". This will lead you to the "Home Control" section

  1. Click the '+' sign to add a device.

No '+' sign in sight but if you select the search icon and search for 'test', you'll see your dev actions...

  1. Find your app in the list of providers.

Find your dev actions after searching for 'test'... (see above)

  1. Log in to your service.

Clicking your service/action/provider will begin the linking/login process.

If at any time you need to unlink and relink, you can do so by going here https://myaccount.google.com/u/1/accountlinking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants