readme out of date
See original GitHub issueI 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
where i am not seeing anything about users. Where should I add the users?
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
Second issue firebase config
npm run create-firebase-config returns error
Error: No project active. Run with --project <projectId> 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
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.
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
@LindaLawton the README could do a better job at linking directly to the firebase console to avoid confusion with the GCP console.
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…
What assistant settings?
where?
I’m guessing this is in the front end?
What list of providers?
Is this by going to the /login endpoint? and what redirect should we set? the front end?
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.
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…
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
No ‘+’ sign in sight but if you select the search icon and search for ‘test’, you’ll see your dev actions…
Find your dev actions after searching for ‘test’… (see above)
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.