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.