Skip to content

About

Home Assistant helper for provisioning, configuring, and calibrating CircuitSetup ESPHome energy meters.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Repository files navigation

CircuitSetup Energy Meter Helper

Installation and updates

Requires Home Assistant 2026.8.0 or newer.

Home Assistant 2026.11 and newer

  1. Open Settings → Marketplace and select Add from link.
  2. Enter https://github.com/CircuitSetup/CircuitSetup-Energy-Meter-Helper and select Add. If prompted for a type, select Integration.
  3. Open CircuitSetup Energy Meter Helper and install it. Restart Home Assistant if requested.
  4. Complete the setup dialog. If it does not open automatically, open Settings → Devices & services → Add integration and select CircuitSetup Energy Meter Helper.

Home Assistant 2026.8–2026.10

Add this repository in HACS → Custom repositories, with category Integration, then download CircuitSetup Energy Meter Helper and restart Home Assistant. Add the integration under Settings → Devices & services.

Open this repository in HACS or the Marketplace.

When upgrading to Home Assistant 2026.11, the Marketplace automatically takes over installed HACS repositories and their update entities. You do not need to reinstall the Helper. Find future updates under Settings → Updates. See Coming from HACS for the migration details.

Guided meter setup

The guided workflow has five phases: Choose meter, Configure meter, Review and install, Calibrate (optional), and Done.

  • New meter: use the existing USB installation controls, then discover/import the meter. Set its electrical settings and CTs, review the changes, and continue through the explicit installation stages. Calibration is optional afterward.
  • Helper-managed meter: open its saved setup directly or resume unfinished configuration or calibration work.
  • Existing external source: explicitly choose Edit setup or Calibrate. Editing requires an editable ESPHome Device Builder source; the helper preserves YAML it does not own.
  • No editable source: use calibration only. Continuing without Device Builder retains an existing meter binding.

Configuration authority and calibration authority are separate. Configuration is authoritative only when the helper can read and safely update the ESPHome source. Calibration can be authoritative in the meter's flash even when configuration cannot be edited.

The configuration footer follows the work being reviewed: Review configuration changes, Save Home Assistant names, or Continue to calibration. Review, write, validation, and installation remain explicit stages.

Choose Calibrate voltage and current to retain current offsets, or open Advanced calibration and choose Include offset calibration to calibrate offsets, voltage, then current. Review the choice and select Continue to calibration; selecting an option alone does not start calibration. Skipping or partially completing offsets keeps the remaining gain calibration available.

After calibration, choose Keep calibration on meter for meter-flash persistence, or Save to ESPHome and install to persist it in the configuration. Installing firmware can replace flash-only calibration values, so review the summary before installing.

Current native offset preparation does not create a configuration transaction. Historical preparation can require a private backup and a reviewed zero-offset installation before an explicit calibration run. Final offset persistence still requires the reviewed installation and reconciliation. Configuration confirmation does not claim register readback; firmware with offset verification can separately report verified register evidence.

Offset preparation requires complete per-chip tables from a fresh diagnostic dump. Stock ESPHome 2026.8.2 omits these tables before the first offset calibration, so first-time preparation is unavailable on that firmware. Missing tables are never treated as zero, and the helper does not press Clear to discover them. Firmware with read-only offset-table reporting is required for this path; Skip offset calibration continues with voltage/current calibration.

Legacy migration is always opt-in. Adopting a legacy configuration marks only the helper-managed parts; unrelated YAML remains untouched.

See Meter totals for default, Mains, and hierarchical total behavior.

ESPHome Device Builder selection

If no supported builder is installed, setup shows installation instructions and links to the ESPHome installation guide. Install and start the app, then submit to retry detection, or explicitly continue without it for calibration-only use. The integration options and unavailable-builder repair also explain where to install it.

The Helper discovers installed official ESPHome Device Builder apps (stable, beta, and dev). With one installed, it uses that app automatically. With multiple installed, choose one during setup or under Settings → Devices & services → CircuitSetup Energy Meter Helper → Configure. The selector shows the installed version and state; saving a different choice reloads the Helper.

Start the selected app before saving your choice. If you install or start a builder after the Helper has loaded, reload the Helper integration to rediscover it. A stopped or removed selection is never silently replaced by another channel. If an existing Helper installation has multiple builders and no saved choice, setup waits until you select one in Configure. Finish any active calibration or build before changing builders.

If a Device Builder connection fails during startup, the Helper retries automatically.

This selection controls configuration, compilation, and OTA uploads. Initial USB installation still uses the prebuilt binaries from CircuitSetup ESPWebInstaller.

About

Home Assistant helper for provisioning, configuring, and calibrating CircuitSetup ESPHome energy meters.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages