Skip to main content

A sml (Smart Message Language) energy meter to MQTT bridge. Can read from serial ports or http (e.g. Tibber Pulse).

Project description

sml2mqtt

Tests Status PyPI - Python Version PyPI Downloads Docker Image Version (latest by date) Docker Pulls

A simple yet extremely flexible sml to mqtt bridge

sml2mqtt is a asyncio application that can read multiple sml (Smart Message Language) streams from energy meters and report the values through mqtt. The meters can be read through serial ports or through http(s) (e.g. Tibber devices)

To read from the serial port an IR to USB reader for energy meter is required.

Documentation

The documentation can be found at here

Changelog

3.5 (2025-11-03)

  • Updated dependencies

3.4 (2024-12-03)

  • Allow rounding to the multiple of a value
  • Updated dependencies

3.3 (2024-11-26)

  • Updated dependencies and docs
  • Allow rounding to the tenth

3.2 (2024-11-05)

  • Automatically select CRC e.g. for Holley DTZ541

3.1 (2024-08-05)

  • Updated dependencies
  • Added some small log messages

3.0 (2024-04-24)

BREAKING CHANGE

  • Almost complete rewrite, requires at least Python 3.10
  • Extensive value processing which can be configured -> Config file changed
  • Support for tibber pulse out of the box
  • The analyze flag can also be set through an environment variable which makes it easier for docker users

2.2 (2023-03-31)

  • Small config improvements

2.1 (2023-03-27)

  • Additional obis id for serial number matching
  • Improved serial reading a bit

2.0.0 (2023-03-22)

  • Release rework

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sml2mqtt-3.5.2.tar.gz (48.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sml2mqtt-3.5.2-py3-none-any.whl (61.2 kB view details)

Uploaded Python 3

File details

Details for the file sml2mqtt-3.5.2.tar.gz.

File metadata

  • Download URL: sml2mqtt-3.5.2.tar.gz
  • Upload date:
  • Size: 48.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sml2mqtt-3.5.2.tar.gz
Algorithm Hash digest
SHA256 90db65fd412dac811bc8de64e9cffc824be8cbc2a7b51e4e24ea10db8ced1239
MD5 a02a953b1a9af46aaf635049bfd843e8
BLAKE2b-256 ecf71c27053a0fc12728b621ae1d9882ed7ef11c80b7b6f0f7df28005f49badb

See more details on using hashes here.

Provenance

The following attestation bundles were made for sml2mqtt-3.5.2.tar.gz:

Publisher: publish-pypi.yml on spacemanspiff2007/sml2mqtt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sml2mqtt-3.5.2-py3-none-any.whl.

File metadata

  • Download URL: sml2mqtt-3.5.2-py3-none-any.whl
  • Upload date:
  • Size: 61.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sml2mqtt-3.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 06bd5cb85d88fb29b10d17bbbb8b9de9c7880beee8a1d667dfd76c39a87c3a71
MD5 c27d015afe9fd5a8a17efb127443db14
BLAKE2b-256 188b16d67d33e3bbe14d73e4a8107950e6eeedca7c9ceb58f6bedb4b77309f27

See more details on using hashes here.

Provenance

The following attestation bundles were made for sml2mqtt-3.5.2-py3-none-any.whl:

Publisher: publish-pypi.yml on spacemanspiff2007/sml2mqtt

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page