{"categories":[{"label":"Monitoring","url":"https://skillfed.io/packages/category/system-monitoring/5"}],"enrichment":{"capability":"Reads and parses Smart Message Language (SML) data from EDL21 smart meters via serial ports, serial-over-TCP, or HTTP connections.","skillfed_tags":["smart-meter","energy-monitoring","iot-integration"],"use_cases":["Read energy consumption data from EDL21 meters in Home Assistant or other home automation systems.","Build an MQTT bridge to publish smart meter OBIS values to a message broker for real-time monitoring.","Collect meter readings over serial-over-TCP links in remote or networked meter deployments.","Parse and log SML protocol data from HTTP-accessible meter endpoints for analytics or billing systems.","Integrate smart meter data into custom Python applications for demand-side energy management."],"what_it_does":"pysml is a Python library that reads and decodes Smart Message Language (SML) protocol data from EDL21 smart electricity meters. It abstracts away low-level SML parsing and provides access to OBIS meter values. The library supports multiple transport mechanisms\u2014direct serial connections, serial-over-TCP bridges, and HTTP endpoints\u2014making it flexible for different deployment scenarios.\n\nThe package is actively used by Home Assistant's EDL21 integration and includes example code for publishing meter readings to MQTT. It depends on aiohttp, bitstring, and serialx for async HTTP, binary protocol handling, and serial communication. With MIT licensing and support for Python 3.11 through 3.14, it suits home automation, energy monitoring, and utility data collection workflows.","worth_installing":"Yes, if you need to read EDL21 smart meters. The library is actively maintained, has low install friction, carries no known vulnerabilities, and is proven in Home Assistant. MIT license is unrestrictive. Main consideration: ensure your meter model and transport method are supported, and your Python environment is 3.11 or later."},"id":"pysml","links":{"html":"https://skillfed.io/packages/pysml","md":"https://skillfed.io/packages/pysml.md","pypi":"https://pypi.org/project/pysml/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-05-31","license_spdx":"MIT","license_treatment":"permissive","name":"pysml","python_support":"supports_current","summary":"Python library for EDL21 smart meters using Smart Message Language (SML)"},"popularity":{"monthly_downloads":77848,"position":14488,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.8"}
