I am doing a project on IOT and I’m using Firebase Realtime Database as the database in Node red but I cannot connect these two together.
“My information” gets data from a form in node red including name, student id, class id.
I don’t understand what I did wrong because I tried to copy the URL into Firebase field, change the firepath into My Information but it cannot work. Am I misunderstanding something?
It looks like Node-RED can only accept Firebase Realtime Database URLs that end in firebaseio.com
. This means that you need to ensure that your Firebase database (and possibly the entire project) is created in the US, while the one in your project is in the Asia location.
So step by step:
- Create a new project with a database in the United States (us-central-1) location.
- Copy the project ID from the Project settings.
- Paste it into the Firebase field of your Node.RED setup
If you want to use your existing project, you can also consider reaching out to Firebase support to get your existing database moved to the US.