Articles on: Energy Products

Powerwall Control and Limitations

This article covers common questions about controlling Tesla Powerwall systems through Teslemetry, including the Tesla Fleet API limitations, workarounds, and troubleshooting tips. For operation modes and the backup reserve, see Powerwall Operation Modes and the Backup Reserve.


Overview


Teslemetry provides control over Tesla Powerwall systems through the Tesla Fleet API. However, there are important limitations to understand, as Tesla restricts certain capabilities.



Common Questions


Can I force my Powerwall to discharge the battery?


No, there is no direct API command to force discharge a Powerwall. This is a Tesla Fleet API limitation, not a Teslemetry limitation.


Only Virtual Power Plants (VPPs) have the ability to force discharge a Powerwall through their special API access.


Workaround - Tariff Price Manipulation:
You can encourage discharge behavior by manipulating the Time of Use (ToU) tariff settings. When the export/sell price exceeds the import/buy price by a sufficient margin, the Powerwall will autonomously decide to export to the grid.


Why does grid charging keep turning off automatically?


There are several possible causes:


  1. VPP Enrollment: If your Powerwall is enrolled in a Virtual Power Plant program, the VPP may be overriding your settings
  2. Tesla System Issues: Tesla occasionally has server-side issues that cause settings to revert
  3. Conflicting Automations: Multiple services or automations may be changing the same setting


How to troubleshoot:

  1. Open the Tesla app
  2. Navigate to your Powerwall > Settings
  3. Tap the clock icon in the top right corner


This shows the command history and reveals which application or service made each change.


What password do I enter for local Powerwall control in Home Assistant?


When you add a local energy site in the Home Assistant Teslemetry integration, enter only the last 5 characters of the Powerwall's Wi-Fi password. You'll find it on the label behind the front cover of a Powerwall 3, or behind the Backup Gateway door on a Powerwall 2. Avoid repeated failed attempts.



Powerwall Entities in Home Assistant


Domain

Name

Description

Number

Backup reserve

Set backup reserve (0-80, 100)

Sensor

Battery power

Current battery power flow

Sensor

Energy left

Remaining energy in kWh

Sensor

Grid power

Current grid power flow

Sensor

Island status

Grid connection status

Sensor

Percentage charged

Battery state of charge

Sensor

Solar power

Current solar production

Select

Allow export

Grid export rule

Select

Operation mode

Self-consumption/Backup/Autonomous

Switch

Allow charging from grid

Enable/disable grid charging

Switch

Storm mode

Enable storm watch



Known Limitations


Tesla Fleet API Limitations


  1. No force discharge capability - Only VPPs can force battery discharge
  2. Backup reserve range - Only 0-80% and 100% are valid values
  3. No individual Powerwall data - The API reports the entire energy site as a single unit


VPP Interference


If you're enrolled in a VPP program (Tesla Virtual Power Plant, Amber SmartShift, etc.), the VPP may override your settings at any time.




Updated on: 16/11/2026

Was this article helpful?

Share your feedback

Cancel

Thank you!