GoogleCloudPlatform / iot-smart-home-cloud

Sample project using Cloud IoT Core and the Google Assistant
Apache License 2.0
116 stars 58 forks source link

Firebase deploy fails #2

Open fabltd opened 5 years ago

fabltd commented 5 years ago

Firebase deploy fails with the following error:

Cannot find module ./service-account.json

const homegraph = smarthome({
  jwt: require('./service-account.json')

Documents don't mention the creation of a service-account key. What IAM scope is required for this?

devunwired commented 5 years ago

Thanks for pointing this out, we'll get the README updated to clarify this. The service account is required for use with the Home Graph API, and you can follow these instructions in the meantime to create a key.

fabltd commented 5 years ago

Thanks

I am finding a number of bugs. Shall i add them here or open an issue for each.

devunwired commented 5 years ago

Open individual issues