Hi, been having trouble with setChargeLimit only sets limit to 50%, if i tries to put percent: "80" it resonds with {reason:"", result: true} but nothing happens. If i try som value that is below current set state (in app) i get same response but it sets it to 50% even if the node-red command said ie 60%. been reading this thread that has the same issue but not with node red (https://teslamotorsclub.com/tmc/threads/model-s-rest-api.13410/page-62) and there it's stated that the problem occurs due to content-type not being set correctly.
Found the solution, turns out you have to add msg.commandArgs = {amt: 80}. and not percent as i've read elsewhere. Would it be possible to add a list with all commands and ther respective commandArgs, with examples?
Hi, been having trouble with setChargeLimit only sets limit to 50%, if i tries to put percent: "80" it resonds with {reason:"", result: true} but nothing happens. If i try som value that is below current set state (in app) i get same response but it sets it to 50% even if the node-red command said ie 60%. been reading this thread that has the same issue but not with node red (https://teslamotorsclub.com/tmc/threads/model-s-rest-api.13410/page-62) and there it's stated that the problem occurs due to content-type not being set correctly.