Welcome to the forum @ThaiMinh120
You will need to provide a lot more information
- What hardware/OS are you running node-red on?
- What version of node-red and of nodejs (use node -v to find that)
- What node have you installed to provide the firebase connection (possibly node-red-contrib-something)?
- Export those two nodes and paste them here. See this post for more details - How to share code or flow json
node red V2.2.2
I tried "add firebase" and "firebase modify on" but still disconnected.
I use node-red of IOT 2050 SIEMENS to connect with FIREBASE
[
{
"id": "e8f171d0c52224be",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": "",
"env": []
},
{
"id": "5f10828627f79098",
"type": "inject",
"z": "e8f171d0c52224be",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 180,
"y": 260,
"wires": [
[
"1f61c4a56460d81a"
]
]
},
{
"id": "1f61c4a56460d81a",
"type": "firebase modify",
"z": "e8f171d0c52224be",
"name": "",
"firebaseconfig": "",
"childpath": "temp",
"method": "set",
"value": "msg.payload",
"priority": "msg.priority",
"x": 540,
"y": 260,
"wires": [
[
"8f7d03985b37e0a6"
]
]
},
{
"id": "97e8d40883a4301c",
"type": "addFirebase",
"z": "e8f171d0c52224be",
"firebaseCertificate": "e30baa99c8afb322",
"client_email": "",
"private_key": "",
"data": "",
"childpath": "temp",
"propertyType": "str",
"method": "get",
"newchildpath": "",
"x": 370,
"y": 380,
"wires": [
[
"6f3cbd357779e9e9"
]
]
},
{
"id": "5725efacef1eebf4",
"type": "inject",
"z": "e8f171d0c52224be",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 180,
"y": 380,
"wires": [
[
"97e8d40883a4301c"
]
]
},
{
"id": "8f7d03985b37e0a6",
"type": "debug",
"z": "e8f171d0c52224be",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 850,
"y": 260,
"wires": []
},
{
"id": "6f3cbd357779e9e9",
"type": "debug",
"z": "e8f171d0c52224be",
"name": "",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 550,
"y": 380,
"wires": []
},
{
"id": "e30baa99c8afb322",
"type": "firebaseCertificate",
"firebaseurl": "iot2050-87b5a-default-rtdb",
"loginType": "none"
}
]
Hi, I suggest you to use an updated Firebase palette because many palettes no longer work or don't support different URLs.
I recommend the following:
You will find the documentation on the Wiki.
PS: I am the maintainer
I can't download node red of you
It would be helpful to know more. What do you mean? Do you have an error in the logs? ...
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.