Custom Component - Powerwall Control

Adjust the configuration of your Tesla Powerwall via Home Assistant automations. This simple integration uses the Netzero Developer API to control the Powerwall configuration.

This integration does not attempt to provide entities for Powerwall state - those should come from the core Tesla Powerwall integration. Similar functionality is available via the Tesla Fleet API and/or Teslemetry. However the setup for this integration is IMO simpler. It just needs the user to login to Netzero (with Tesla username+password), allow access to the Tesla account, and then add the API token and System ID into the integration.

Entities:

  • Battery backup reserve (0-100%)
  • Operational mode (autonomous or self consumption)
  • Grid export mode (never, PV only, battery ok)
  • Grid charging enabled

Changes to parameters are debounced (15s) to consolidate the requests to the API.

This is my first attempt at an integration. It’s quite simple, but I’m sure there’s room for improvement.

Do let me know if anyone finds this useful. There’s overlap with existing integrations, so I’m not sure if there’ll be much interest…

Dave.