My car has just started charging. What I wanted to do doesnt really work. I think the problem will be tomorrow morning, when payload[0].che is not being sent, like in the first debug I have sent you.
This is a debug for when it has charged today
{"sno":xxx,"dat":"23-08-2023","tim":"11:37:42","ectp1":1534,"ectp2":0,"ectp3":0,"ectt1":"Internal Load","ectt2":"None","ectt3":"None","bsm":0,"bst":0,"cmt":254,"dst":1,"div":1534,"frq":49.93,"fwv":"3562S4.539","gen":2399,"grd":-15,"pha":1,"pri":1,"sta":3,"tz":0,"vol":2451,"che":0.42,"bss":0,"lck":16,"pst":"C2","zmo":3,"pwm":1260,"zs":3078,"rdc":3,"rac":61,"rrac":-55,"zsh":12,"zsl":6,"ectt4":"None","ectt5":"None","ectt6":"None","newAppAvailable":false,"newBootloaderAvailable":false,"beingTamperedWith":false,"batteryDischargeEnabled":false,"g100LockoutState":"NONE","mgl":100,"sbh":17,"sbk":5}