Apologies - I did not make myself entirely clear.
I’m successfully using the soc feature you have mentioned. It’s the current soc of the EV and so a fact that should not be altered.
In my json download, it appears as current_soc.
What I’m trying to achieve is to set the target_soc by script rather having to use the DemandShaper webpage to drag the light green bar to the desired target_soc.
target_soc is the level which DemandShaper will charge the EV to overnight at cheap rates.
My frustration is that whilst I can make my desired change to the DemandShaper json, I cannot write this change to target_soc back to the OS so that DemandShaper acts accordingly.
Thx