I am using node-red-contrib-ui-time-scheduler and I have created a number of schedules/events in the dashboard that it provides to turn on and off my Starlink via the relay. When node red resets, I lose all of those schedules I created. Is there a way to save these so they are persistent across resets? I was looking into Context storage to teh filesystem and thought that might be the way to do it, but i’m not sure. This is my nodered code. Any help is greatly appreciated.
[
{
"id": "fb11d451b13f0b69",
"type": "victron-output-relay",
"z": "8815f6b73cd1b281",
"service": "com.victronenergy.system/0",
"path": "/Relay/1/State",
"serviceObj": {
"service": "com.victronenergy.system/0",
"name": "Venus device"
},
"pathObj": {
"path": "/Relay/1/State",
"type": "enum",
"name": "Venus relay 2 state",
"enum": {
"0": "Open",
"1": "Closed"
},
"writable": true
},
"initial": "",
"name": "GX Relay 2",
"onlyChanges": false,
"x": 650,
"y": 180,
"wires": []
},
{
"id": "49934b6b3397bd02",
"type": "victron-input-relay",
"z": "8815f6b73cd1b281",
"service": "com.victronenergy.system/0",
"path": "/Relay/1/State",
"serviceObj": {
"service": "com.victronenergy.system/0",
"name": "Venus system"
},
"pathObj": {
"path": "/Relay/1/State",
"type": "enum",
"name": "Venus relay 2 state",
"enum": {
"0": "Open",
"1": "Closed"
}
},
"initial": "",
"name": "Relay 2 State",
"onlyChanges": true,
"x": 110,
"y": 60,
"wires": [
[
"d165f80ccc339dde"
]
]
},
{
"id": "7e142f385596f032",
"type": "debug",
"z": "8815f6b73cd1b281",
"name": "debug 5",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 560,
"y": 320,
"wires": []
},
{
"id": "d165f80ccc339dde",
"type": "debug",
"z": "8815f6b73cd1b281",
"name": "debug 6",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 400,
"y": 60,
"wires": []
},
{
"id": "95069c97a2d97303",
"type": "ui_time_scheduler",
"z": "8815f6b73cd1b281",
"group": "62a0b3eb02c91449",
"name": "",
"startDay": "1",
"refresh": 60,
"devices": [
"Starlink Nightly Disable"
],
"singleOff": false,
"onlySendChange": false,
"customPayload": false,
"eventMode": true,
"eventOptions": [
{
"label": "On",
"event": "on"
},
{
"label": "Off",
"event": "off"
}
],
"sendTopic": true,
"lat": "",
"lon": "",
"customContextStore": "",
"outputs": 2,
"order": 0,
"width": 0,
"height": 0,
"x": 110,
"y": 140,
"wires": [
[
"7e142f385596f032"
],
[
"7e142f385596f032",
"be4bcc615785df86"
]
]
},
{
"id": "2bd40fb00c94043d",
"type": "ui_time_scheduler",
"z": "8815f6b73cd1b281",
"group": "62a0b3eb02c91449",
"name": "",
"startDay": "1",
"refresh": "60",
"devices": [
"Starlink Away Mode"
],
"singleOff": true,
"onlySendChange": true,
"customPayload": false,
"eventMode": false,
"eventOptions": [],
"sendTopic": true,
"lat": "",
"lon": "",
"customContextStore": "",
"outputs": 2,
"order": 0,
"width": 0,
"height": 0,
"x": 110,
"y": 220,
"wires": [
[
"7e142f385596f032"
],
[
"7e142f385596f032",
"bfe3a0e1d2b01778"
]
]
},
{
"id": "be4bcc615785df86",
"type": "change",
"z": "8815f6b73cd1b281",
"name": "",
"rules": [
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "on",
"fromt": "str",
"to": "1",
"tot": "num"
},
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "off",
"fromt": "str",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 320,
"y": 140,
"wires": [
[
"7e142f385596f032",
"fb11d451b13f0b69"
]
]
},
{
"id": "bfe3a0e1d2b01778",
"type": "change",
"z": "8815f6b73cd1b281",
"name": "Convert Boulean to Numbers for Relay",
"rules": [
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "true",
"fromt": "bool",
"to": "1",
"tot": "num"
},
{
"t": "change",
"p": "payload",
"pt": "msg",
"from": "false",
"fromt": "bool",
"to": "0",
"tot": "num"
}
],
"action": "",
"property": "",
"from": "",
"to": "",
"reg": false,
"x": 290,
"y": 380,
"wires": [
[
"7e142f385596f032",
"fb11d451b13f0b69"
]
]
},
{
"id": "62a0b3eb02c91449",
"type": "ui_group",
"name": "Cavu Dashboard",
"tab": "a07b5d7c4821ddba",
"order": 1,
"disp": true,
"width": "6",
"collapse": false,
"className": ""
},
{
"id": "a07b5d7c4821ddba",
"type": "ui_tab",
"name": "Home",
"icon": "dashboard",
"disabled": false,
"hidden": false
}
]