Skip to content

[bug] esphome-dsmr: per-phase fuse data missing on ESPHome name-derived object_ids #613

Description

@tommylindgren

What happened?

The fuse row falls back to a PV-based amp estimate (~22 A) instead of real per-phase current when esphome-dsmr is the site meter on ESPHome DSMR firmware that exposes name-derived object_ids (e.g. current_phase_1, power_consumed_phase_1).

/api/status returns phase_amps: [] even though the ESPHome device serves current_phase_1..3 over HTTP. The driver only probed Sourceful-style ids (current_l1, power_consumed_l1, …) and got 404.

Steps to reproduce

  1. Configure esphome-dsmr as site meter against ESPHome DSMR YAML with friendly entity names (current_phase_1, not current_l1).
  2. Confirm http://<device>/sensor/current_phase_1 returns a value.
  3. Open dashboard fuse row or curl /api/status.
  4. Observe phase_amps: [] and a single aggregate fuse estimate from PV.

Expected behavior

phase_amps and phase_powers populated from the meter; fuse row shows L1/L2/L3 with real amperage and per-phase W.

Version

master (pre-fix)

Deployment

Local dev (make dev)

Hardware / drivers in use

SlimmeLezer+ (ESPHome DSMR 2022.10.1), drivers/esphome_dsmr.lua as is_site_meter.

Root cause

ESPHome object_id derived from entity name: vs Sourceful Zap explicit ids. Not SlimmeLezer-specific.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions