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

NodeDescription
teslemetry-configConfiguration node for Teslemetry credentials
teslemetry-vehicle-commandSend commands to Tesla vehicles
teslemetry-energy-commandSend commands to energy sites
teslemetry-eventListen for streaming events
teslemetry-signalMonitor specific telemetry signals
teslemetry-energy-historyRetrieve energy history data