Skip to content

Feature Request: Add manufacturer and model configuration options for meters #370

@toml0006

Description

@toml0006

Feature Request

Description

It would be useful to allow users to configure custom manufacturer and model values for meters in the Home Assistant autodiscovery payload. Currently, these values are hardcoded to "RTLAMR2MQTT" and "Smart Meter" respectively.

Use Case

Users may want to specify the actual manufacturer and model of their smart meters for better identification and organization in Home Assistant, especially when managing multiple meters from different manufacturers.

Proposed Solution

Add optional manufacturer and model configuration fields to the meters schema in config.yaml, defaulting to the current hardcoded values if not specified.

Example Configuration

meters:
  - id: 22222222
    protocol: r900
    name: my_energy_meter
    manufacturer: "Sensus"
    model: "iCon A"
    device_class: energy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions