Show status of scheduled charge Node-red

Hi All, I am having trouble understanding what is going wrong with my flow which turns the battery on/off by means of activating a scheduled charge but from the Node-red editor there seems no way of knowing whether the scheduled charge is currently active or not so does anybody know a way to show this status ? (The Victron ESS node on the far right).

Thanks,

Hi. To check whether “Scheduled Charge” is currently active or not, you need to create a node:

Custom input: com.victronenergy.hub4 (0)/Overrides/ForceCharge

The result will be:

Thanks for your reply. I have made a node like the one that you have shown but it shows 0 when I have a scheduled charge. I have probably done something wrong but I don’t know what.

You can also use another node:
Custom input: com.victronenergy.system (0)/Control/ScheduledCharge

The result is the same:
1 — if Scheduled Charge is active
0 — if it is not active
image

That node works, thanks very much.

Helllo! I would like to add those flows to my Node Red can you share this config with me ?

[{"id": "89554952120c7595",
    "type": "victron-input-custom",
    "z": "5538c2eab4dd6e97",
    "service": "com.victronenergy.system/0",
    "path": "/Control/ScheduledCharge",
    "serviceObj": {
      "service": "com.victronenergy.system/0",
      "name": "com.victronenergy.system (0)"
    },
    "pathObj": {
      "path": "/Control/ScheduledCharge",
      "name": "/Control/ScheduledCharge",
      "type": "number"
    },
    "name": "Scheduled Charge Status",
    "onlyChanges": false,
    "x": 1207,
    "y": 30,
    "wires": []
  }
]

that’s the node – not sure if it is in the right format for you to import. if not, then it is the Victron Custom input node, Choose for Custom Input: com.victronenergy.sytem (0), and the measurement: /control/ScheduledCharge

(moderated to fix typo)