Node Red
Introduction
Build powerful Tesla automations with Node-RED and Teslemetry
Overview
The Teslemetry Node-RED package provides a comprehensive set of nodes for controlling Tesla vehicles and energy products. Build complex automations, respond to real-time events, and integrate your Tesla with other smart home systems.
Features
- Vehicle command nodes for all major Tesla controls
- Energy site command nodes for Powerwall management
- Real-time streaming event nodes
- Signal monitoring for specific telemetry fields
- Energy history data retrieval
Installation
Install the package through the Node-RED palette manager or via command line:
cd ~/.node-red
npm install @teslemetry/node-red-contrib-teslemetry
Then restart Node-RED.
Prerequisites
You must have a Teslemetry account, active subscription, and access token.
Most vehicles require a virtual key to be configured in order to run certain commands.
Available Nodes
| Node | Description |
|---|---|
| teslemetry-config | Configuration node for Teslemetry credentials |
| teslemetry-vehicle-command | Send commands to Tesla vehicles |
| teslemetry-energy-command | Send commands to energy sites |
| teslemetry-event | Listen for streaming events |
| teslemetry-signal | Monitor specific telemetry signals |
| teslemetry-energy-history | Retrieve energy history data |