Skip to content

HardyBarth: add phase voltages#30490

Merged
premultiply merged 1 commit into
masterfrom
feature/hardybarth-voltages
Jun 4, 2026
Merged

HardyBarth: add phase voltages#30490
premultiply merged 1 commit into
masterfrom
feature/hardybarth-voltages

Conversation

@premultiply
Copy link
Copy Markdown
Member

Stacked on #30489 (which adds the VoltageDemand OBIS codes).

Implement api.PhaseVoltages for the Hardy Barth eCB1 using the demand voltage registers (1-0:32/52/72.4.0) the meter API exposes. The eCB1 provides only demand (D=4) values, so this mirrors how Currents already reads the .4.0 registers.

Once #30489 merges, this PR re-targets to master automatically.

Copilot AI review requested due to automatic review settings June 4, 2026 11:22
@premultiply premultiply added the devices Specific device support label Jun 4, 2026
Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds per-phase voltage reporting for the Hardy Barth eCB1 charger integration by implementing api.PhaseVoltages and reading the meter API’s demand voltage OBIS registers, aligning with the existing “demand-only” behavior used for currents/power in this device integration.

Changes:

  • Implement api.PhaseVoltages for HardyBarth.
  • Add Voltages() that returns L1/L2/L3 values from obis.VoltageDemandL* via meterG().

Base automatically changed from feature/meter-obis to master June 4, 2026 11:25
@premultiply premultiply force-pushed the feature/hardybarth-voltages branch from 66bf292 to 86edf3c Compare June 4, 2026 11:28
@premultiply premultiply merged commit 0c4ce3f into master Jun 4, 2026
7 checks passed
@premultiply premultiply deleted the feature/hardybarth-voltages branch June 4, 2026 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

devices Specific device support

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants