Skip to main content

p1-dsmr-common

Shared compatibility helpers for Home Assistant P1/DSMR integrations.

This package does not implement a DSMR parser. Standard telegram parsing remains the responsibility of upstream dsmr-parser, as used by Home Assistant.

The purpose of this project is to keep compatibility behaviour shared between integrations such as homey-p1-ha and ecoflow-p1-ha:

  • shared semantic mappings for upstream dsmr-parser values;
  • local-mapping override support for backwards-compatible integration keys;
  • temporary OBIS/spec extensions that are not yet available upstream;
  • capability discovery, including measurements that appear after startup;
  • common M-Bus normalization/classification helpers;
  • shared fixtures and regression tests.

Boundary

The shared package describes what the meter reports. Individual integrations remain responsible for:

  • device transport (WebSocket, HTTP, etc.);
  • Home Assistant entity descriptions and registration;
  • translations and user-facing names;
  • unique IDs and entity migrations;
  • device-specific diagnostics.

Mapping resolution is local-first:

resolved = resolve_mapping(upstream_name, local_mapping)

A local integration mapping wins when present; otherwise the shared global mapping is used.

Status

Initial shared compatibility layer. The first consumers are expected to be:

  • chill-uk/homey-p1-ha
  • chill-uk/ecoflow-p1-ha

Metadata

Release files for p1-dsmr-common 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for p1-dsmr-common 0.1.0
File Size Uploaded Provenance Actions
p1_dsmr_common-0.1.0.tar.gz 8.8 kB With provenance Details for p1_dsmr_common-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for p1-dsmr-common 0.1.0
File Interpreter ABI Platform Actions
p1_dsmr_common-0.1.0-py3-none-any.whl Python 3 none any Details for p1_dsmr_common-0.1.0-py3-none-any.whl

Total release size: 17.1 kB

Release files / p1_dsmr_common-0.1.0.tar.gz

Download URL p1_dsmr_common-0.1.0.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
87e7a0f1dac58839910d2fb8d0bbfae0aa1a4f3acd0b44b34285fad56633f207
BLAKE2b-256 checksum
How to use checksums
972fb385a4f7a1bb3b3ec20d04405a78f2a932074a55161c4163eca3ae4d2ceb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / p1_dsmr_common-0.1.0-py3-none-any.whl

Download URL p1_dsmr_common-0.1.0-py3-none-any.whl
Size 8.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fdccd48c667f77638e6ecc9d038386fd126863ea32375b74fa6e2903a86a1b25
BLAKE2b-256 checksum
How to use checksums
31f0437907c98ea849a31bba77d4d34b408b12ad19ea6c7370a0977dac9e7a84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Security for p1-dsmr-common 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for p1_dsmr_common-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page