this is my code flow.
[
{
"id": "51c6499e43ce6873",
"type": "tab",
"label": "Flow 1",
"disabled": false,
"info": "",
"env":
},
{
"id": "224cb7d30bd7fb8e",
"type": "inject",
"z": "51c6499e43ce6873",
"name": "Data",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "3",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "5",
"payloadType": "num",
"x": 230,
"y": 180,
"wires": [
[
"065257d2bdae4eef",
"109815f67a129df7"
]
]
},
{
"id": "109815f67a129df7",
"type": "debug",
"z": "51c6499e43ce6873",
"name": "debug 1",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "false",
"statusVal": "",
"statusType": "auto",
"x": 560,
"y": 280,
"wires":
},
{
"id": "065257d2bdae4eef",
"type": "tcp out",
"z": "51c6499e43ce6873",
"name": "",
"host": "192.145.1.",
"port": "3306",
"beserver": "client",
"base64": false,
"end": true,
"tls": "",
"x": 580,
"y": 180,
"wires":
}
]
i want to store this output 5 in local storage when the internet is disconnected ,once the device reconnect to the internet it should send the stored data
please help sir,
this only i have to do with node red please sir