Reputation: 1
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. I am using node-red-contrib-firebase to connect with firebase
"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?
Upvotes: 0
Views: 149
Reputation: 1
The palette you referred to has not been updated for 9 years.
There used to be only one US database URL (.firebaseio.com
). There are now three database URLs (US, European and Asian).
For this reason, you have to find a palette that allows the entire URL.
The most recent palette which supports your URL is @gogovega/node-red-contrib-firebase-realtime-database.
Upvotes: 0
Reputation: 599601
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:
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.
Upvotes: 0