node-red-contrib-tesla
node-red-contrib-tesla copied to clipboard
setScheduledCharging format
I am not sure how to send a message to the setScheduledCharging. I am sending this via a function: // msg.command = 'setScheduledCharging'; msg.commandArgs = { enable: 1, time: "2 AM" }; return msg;
It does seem to kind of work, but no matter what I send, in the app it changes it to 00:00. I tried different time formats (02:00, 2:00AM, 02:00 AM etc.), but same result. Any ideas what I am doing wrong? Also tried enable: true, didnt work either. Thanks in advance!