$npx skillfedfor your agent

dsmr-parser

Library to parse Dutch Smart Meter Requirements (DSMR)

Worth itPyPI UtilitiesReleased Aug 202682.1K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — dsmr_parser-1.11.2-py3-none-any.whl
v1.11.2 · released 2026-08-01 · Python >=3.10 · 3 runtime deps: serialx, Tailer, dlms_cosem

Yes. The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It directly solves a specific, well-defined problem (DSMR parsing) with multiple integration patterns. Install it if you need to read Dutch smart meter data; skip it if you don't have a P1 port or DSMR source.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • For serial client usage, a physical serial port or ser2net proxy must be available.
  • Low friction: pure Python wheel with only three runtime dependencies (serialx, Tailer, dlms_cosem).

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2026-08-01 (13 days) · last repo commit 2026-08-01 · 129 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 82,110 downloads/mo, #14,184 on PyPI

Verify before relying

from dsmr_parser import telegram_specifications
from dsmr_parser.parsers import TelegramParser

parser = TelegramParser(telegram_specifications.V4)
telegram = parser.parse(telegram_str)  # telegram_str is a raw DSMR telegram
print(telegram.electricity_used_tariff_1.value)  # access parsed meter value
  • Whether all three runtime dependencies (serialx, Tailer, dlms_cosem) are themselves actively maintained and secure.
  • Whether the asyncio implementation fully supports all DSMR versions or has version-specific limitations beyond what the description states.
Same gist for agents: .md · .json

What it is and what it does

dsmr-parser is a library for reading and parsing Dutch Smart Meter (P1 port) data. It provides both low-level parsing of raw DSMR telegram strings and high-level client implementations for reading directly from serial ports, TCP sockets, or remote serial servers. The library normalizes meter readings (electricity usage, tariffs, gas consumption, current draw) into structured Telegram objects with typed values and units.

The package supports three usage patterns: synchronous serial or socket clients (blocking, suitable for dedicated processes), a parsing module for pre-captured telegram strings, and an asyncio-based TCP client for non-blocking integration. It handles multiple DSMR protocol versions transparently, allowing you to specify the version when creating a reader or parser. Telegrams are returned as objects with named attributes for each meter value, though the legacy dictionary interface is preserved for backwards compatibility.

Use it for

  • Read electricity and gas consumption from a Dutch smart meter connected via serial port and log or store the data.
  • Parse raw DSMR telegram strings captured from a meter or ser2net proxy into structured meter readings.
  • Build an asyncio-based home automation or monitoring service that consumes meter data from a remote TCP endpoint.
  • Extract specific meter values (current usage, tariff counters, timestamps) from parsed telegrams for real-time dashboards.
  • Support multiple DSMR protocol versions in a single application by switching telegram specifications at runtime.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It directly solves a specific, well-defined problem (DSMR parsing) with multiple integration patterns. Install it if you need to read Dutch smart meter data; skip it if you don't have a P1 port or DSMR source.

Install

dsmr-parser on PyPI

Before you install

Low friction: pure Python wheel with only three runtime dependencies (serialx, Tailer, dlms_cosem). Actively maintained with a recent release (13 days old) and steady commit history.

Requires Python 3.10 or later. For serial client usage, a physical serial port or ser2net proxy must be available.

License in practice

MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

from dsmr_parser import telegram_specifications
from dsmr_parser.parsers import TelegramParser

parser = TelegramParser(telegram_specifications.V4)
telegram = parser.parse(telegram_str)  # telegram_str is a raw DSMR telegram
print(telegram.electricity_used_tariff_1.value)  # access parsed meter value

Verify before relying

  • Whether all three runtime dependencies (serialx, Tailer, dlms_cosem) are themselves actively maintained and secure.
  • Whether the asyncio implementation fully supports all DSMR versions or has version-specific limitations beyond what the description states.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
serialxTailerdlms_cosem
MaintenanceActively maintained 13 days since the last release
Last repo commit
First released
Downloads82,110 / month, #14,184 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: dsmr_parser-1.11.2-py3-none-any.whl

Tags

Capabilities
DSMR telegram parserDutch smart meter dataP1 port readerelectricity meter parsingsmart meter serial clientDSMR protocol parsermeter data extraction
Topics
smart-meterdsmriot-data

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “DSMR telegram parser”

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also pysml · dlms-cosem · p1monitor · pydiscovergy · HATasmota · PyCampbellCR1000 · pyemvue · python-homewizard-energy · telegramify-markdown · pymysensors