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-parservalues; - 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-parserdoes 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-hachill-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)
| 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)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| 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 logRelease 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 logSecurity 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.
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 logA 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.