dsmr-parser
Library to parse Dutch Smart Meter Requirements (DSMR)
Decision gist · record as of 2026-08-14
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
Alternatives
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.
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.
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
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesserialxTailerdlms_cosem |
| Maintenance | Actively maintained 13 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 82,110 / month, #14,184 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None 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
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”
- dsmr-parserParses Dutch Smart Meter Requirements (DSMR) telegram data from…
- telegramify-markdownConverts Markdown to Telegram plain text with MessageEntity pairs for…
- apache-airflow-providers-telegramIntegrates Apache Airflow with Telegram to send notifications and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
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.
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.
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.
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.
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.
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.
See also pysml · dlms-cosem · p1monitor · pydiscovergy · HATasmota · PyCampbellCR1000 · pyemvue · python-homewizard-energy · telegramify-markdown · pymysensors