Firebase Raspberry Pi
- Ang Yong Xiang Adwin

- Jan 27, 2019
- 1 min read
The implementation for Firebase on python on Raspberry Pi faced a few issues. One of the articles online suggest me to use Python-firebase, however the library was no longer supported and very outdated.

As you can see the update was many years ago which means it is no longer maintained and supported
I found another library that we can use, which is the firebase-admin-python. It is supported even by the Google Documentation, however I also had a few problems with it.
I could not import db from Firebase_admin which is an important part as it forms the connection to the Database in firebase.

I posted an issue on github, which the owner of the SDK replied and tried to troubleshoot it. But in the meantime I solved the problem by install an older version of the firebase-admin.

I looked through the commits to find out the previous version of Firebase-Admin, which was 2.14.0. After which, I had no more problems with it.
Resources
Python-firebase: https://github.com/ozgur/python-firebase
Python firebase documentation: https://firebase.google.com/docs/admin/setup
Firebase-admin-python:https://github.com/firebase/firebase-admin-python


Comments