question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

readme out of date

See original GitHub issue

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

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.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
proppycommented, 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.

0reactions
Michael-Hanleycommented, 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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

message if README.md is out of date · Issue #685 - GitHub
Now that pkgdown doesn't render README.md from README.Rmd, I am constantly forgetting to do ... message if README.md is out of date #685....
Read more >
T262933 data/README.md seems out of date
So the following seems to be incorrect/out of date. This directory contains scripts that gather page-view, article-count and translation data about all the ......
Read more >
README is out of date [#3280969] | Drupal.org
Problem/Motivation The instruction when trying to download the MathJax library locally is out of date! Steps to reproduce 1.
Read more >
RStudio README.Rmd and README.md should be both ...
When you're editing your README.Rmd file, your README.md file is not automatically synchronized. Since GitHub will display your README.md ...
Read more >
[#CONTRIB-1756] Out of date readme instructions, arrow and ...
Readme instructions are slightly out of date refering to non-existent files. I am told that config.php requires chmod 755 on Unix based systems,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found