N8n

Vehicle Node

Control your Tesla vehicle with n8n workflows

Teslemetry Vehicle Node

The Teslemetry Vehicle node allows you to control your Tesla vehicle from n8n workflows.

Node Configuration

PropertyDescription
CredentialSelect your Teslemetry credentials
VINSelect from discovered vehicles
OperationThe command to execute

Available Operations

OperationDescriptionParameters
Get Vehicle DataRetrieve current vehicle state-
Wake UpWake vehicle from sleep-
Flash LightsFlash the headlights-
Honk HornSound the horn-
Lock DoorsLock all doors-
Unlock DoorsUnlock all doors-
Remote StartEnable keyless driving-
Actuate TrunkOpen/close trunkWhich Trunk (rear/front)
Start HVACStart climate control-
Stop HVACStop climate control-
Set TemperaturesSet cabin temperatureDriver Temp, Passenger Temp
Set Seat HeaterAdjust seat heaterSeat Position, Level (0-3)
Set Steering Wheel HeaterToggle steering wheel heaterOn/Off
Start ChargingBegin charging session-
Stop ChargingEnd charging session-
Open Charge PortOpen charge port door-
Close Charge PortClose charge port door-
Set Charge LimitSet maximum chargePercent (0-100)
Set Charging AmpsSet charge currentAmps
Set Sentry ModeToggle sentry modeOn/Off
Trigger HomelinkActivate garage doorLatitude, Longitude
Navigation RequestSend destinationDestination address

Seat Heater Positions

  • Front Left
  • Front Right
  • Rear Left
  • Rear Center
  • Rear Right

Output

The node outputs the API response in msg.json. For vehicle data requests, this includes the complete vehicle state object.

Example Workflow

Morning routine that warms up the car:

  1. Schedule Trigger - Trigger at 7:00 AM on weekdays
  2. Teslemetry Vehicle - Wake Up
  3. Wait - 30 seconds
  4. Teslemetry Vehicle - Start HVAC
  5. Teslemetry Vehicle - Set Temperatures (21°C, 21°C)

Error Handling

Enable Continue On Fail in the node settings to handle errors gracefully. When enabled, errors are returned in the output instead of stopping the workflow:

{
  "error": "Vehicle is offline"
}