node-red-contrib-tesla icon indicating copy to clipboard operation
node-red-contrib-tesla copied to clipboard

commandArgs?

Open jgthornburgh opened this issue 3 years ago • 2 comments

Is there a reference for what it is expecting in the msg.commandArgs for the different commands?

jgthornburgh avatar Apr 22 '21 19:04 jgthornburgh

You can look at the docs for the TeslaJs library (where this node is based on). But the list is not long so here it is:

navigationRequest: commandArgs.subject, commandArgs.text, commandArgs.locale remoteStart: commandArgs.password scheduleSoftwareUpdate: commandArgs.offset seatHeater: commandArgs.heater, commandArgs.level setChargeLimit: commandArgs.amt setSentryMode: commandArgs.onoff setTemps: commandArgs.driver, commandArgs.pass setValetMode: commandArgs.pin speedLimitActivate: commandArgs.pin speedLimitDeactivate: commandArgs.pin speedLimitClearPin: commandArgs.pin speedLimitSetLimit: commandArgs.limit steeringHeater: commandArgs.level sunRoofControl: commandArgs.state sunRoofMove: commandArgs.percent windowControl: commandArgs.command

All other commands don't have any arguments.

I'll put it in the readme on next update :)

onokje avatar Apr 22 '21 19:04 onokje

thanks, I couldn't find it.

jgthornburgh avatar Apr 23 '21 17:04 jgthornburgh