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.1

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.1
File Size Uploaded Provenance Actions
p1_dsmr_common-0.1.1.tar.gz 8.0 kB With provenance Details for p1_dsmr_common-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 15.5 kB

Release files / p1_dsmr_common-0.1.1.tar.gz

Download URL p1_dsmr_common-0.1.1.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
2c81d75a62ac2c07294173a61460d0cd3507b5c2939774b5edf70b8a79e1e728
BLAKE2b-256 checksum
How to use checksums
9e21d9046e05a332b686641aa7a4c2b6753e12b1214d14019b1625e16401fd11
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.1-py3-none-any.whl

Download URL p1_dsmr_common-0.1.1-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
da1badbe9baaa63f142f6aff8b950553093cda982d3a56a42c2156b5ee9653bc
BLAKE2b-256 checksum
How to use checksums
dc2dcddd304e80b02e49208c09200553a755b8021847ee243a9d22b6dd0d99eb
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.1

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.1.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