GoogleCloudPlatform/iot-smart-home-cloud

Devices stuck on Pending in Firebase

Jedd3 opened this issue · 1 comments

Jedd3 commented

I believe I was able to jump through most if the authentication hoops. but now when I scan a QR code the information is added to the pending collection in firebase, but it appears the function to process it does not run (module.exports = functions.firestore.document('pending/{device}').onWrite(async (change, context) =>) What could be causing this?
(Sorry I'm new to firebase and cloud)

Also the link is broken under
Testing your action
Follow these instructions (https://developers.google.com/actions/smarthome/testing-deploying)
Thanks

Jedd3 commented

An npm install overwrote a file. replacing the file fixed the issue.