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
| Property | Description |
|---|---|
| Credential | Select your Teslemetry credentials |
| VIN | Select from discovered vehicles |
| Operation | The command to execute |
Available Operations
| Operation | Description | Parameters |
|---|---|---|
| Get Vehicle Data | Retrieve current vehicle state | - |
| Wake Up | Wake vehicle from sleep | - |
| Flash Lights | Flash the headlights | - |
| Honk Horn | Sound the horn | - |
| Lock Doors | Lock all doors | - |
| Unlock Doors | Unlock all doors | - |
| Remote Start | Enable keyless driving | - |
| Actuate Trunk | Open/close trunk | Which Trunk (rear/front) |
| Start HVAC | Start climate control | - |
| Stop HVAC | Stop climate control | - |
| Set Temperatures | Set cabin temperature | Driver Temp, Passenger Temp |
| Set Seat Heater | Adjust seat heater | Seat Position, Level (0-3) |
| Set Steering Wheel Heater | Toggle steering wheel heater | On/Off |
| Start Charging | Begin charging session | - |
| Stop Charging | End charging session | - |
| Open Charge Port | Open charge port door | - |
| Close Charge Port | Close charge port door | - |
| Set Charge Limit | Set maximum charge | Percent (0-100) |
| Set Charging Amps | Set charge current | Amps |
| Set Sentry Mode | Toggle sentry mode | On/Off |
| Trigger Homelink | Activate garage door | Latitude, Longitude |
| Navigation Request | Send destination | Destination 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:
- Schedule Trigger - Trigger at 7:00 AM on weekdays
- Teslemetry Vehicle - Wake Up
- Wait - 30 seconds
- Teslemetry Vehicle - Start HVAC
- 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"
}