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;
  • compatibility helpers only where upstream dsmr-parser does not already model the data;
  • 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.2

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.2
File Size Uploaded Provenance Actions
p1_dsmr_common-0.1.2.tar.gz 9.0 kB With provenance Details for p1_dsmr_common-0.1.2.tar.gz

Built distribution (wheel)

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

Total release size: 16.9 kB

Release files / p1_dsmr_common-0.1.2.tar.gz

Download URL p1_dsmr_common-0.1.2.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b0c5f0907e668756a81509ec44f2fac9ffdedf740f73c991e686a951ab4ec20f
BLAKE2b-256 checksum
How to use checksums
4467ad2a6c7a0a42a1d9184b3b3c8f15ea852ca398ab263a5398586b776d7f60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 26, 2026.

Transparency log

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

Download URL p1_dsmr_common-0.1.2-py3-none-any.whl
Size 7.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ba8f2b69642b286018618fefef55e00ebf3c9341231dc27f70978e617eb02818
BLAKE2b-256 checksum
How to use checksums
81a3cc0db1dad548ba01e1b92f705aada99a80ad123c038594911dfee105aecf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 26, 2026.

Transparency log

Security for p1-dsmr-common 0.1.2

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.2.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 26, 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