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.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.2.tar.gz (47.8 kB view details)

Uploaded Source

Built Distribution

sml2mqtt-3.2-py3-none-any.whl (60.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sml2mqtt-3.2.tar.gz
  • Upload date:
  • Size: 47.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for sml2mqtt-3.2.tar.gz
Algorithm Hash digest
SHA256 d50bff3dcaf28049ec896d6bc356979852ed4ba2412da96a23a2f899f73a366a
MD5 6e99167ecef001f808d947d8b723b721
BLAKE2b-256 78b4885cb477ba1d9aab80e532af8820f369d2eabde3ef30c15fb44b54bbca24

See more details on using hashes here.

Provenance

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

Publisher: publish-pypi.yml on spacemanspiff2007/sml2mqtt

Attestations:

File details

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

File metadata

  • Download URL: sml2mqtt-3.2-py3-none-any.whl
  • Upload date:
  • Size: 60.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for sml2mqtt-3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 dea079298833e3ae56fe1a503fc34f78ac93372f513b5cbfb3b9f9e712bd3eb2
MD5 3d5c6e049957cb3e571ab257fda2cf30
BLAKE2b-256 0b77c0c495f2fe7d8c4a82f66c1e2808bc12d8d8593530e7696550e3f1aa1768

See more details on using hashes here.

Provenance

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

Publisher: publish-pypi.yml on spacemanspiff2007/sml2mqtt

Attestations:

Supported by

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