A sml (Smart Message Language) energy meter to MQTT bridge. Can read from serial ports or http (e.g. Tibber Pulse).
Project description
sml2mqtt
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
analyzeflag 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90db65fd412dac811bc8de64e9cffc824be8cbc2a7b51e4e24ea10db8ced1239
|
|
| MD5 |
a02a953b1a9af46aaf635049bfd843e8
|
|
| BLAKE2b-256 |
ecf71c27053a0fc12728b621ae1d9882ed7ef11c80b7b6f0f7df28005f49badb
|
Provenance
The following attestation bundles were made for sml2mqtt-3.5.2.tar.gz:
Publisher:
publish-pypi.yml on spacemanspiff2007/sml2mqtt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sml2mqtt-3.5.2.tar.gz -
Subject digest:
90db65fd412dac811bc8de64e9cffc824be8cbc2a7b51e4e24ea10db8ced1239 - Sigstore transparency entry: 662234657
- Sigstore integration time:
-
Permalink:
spacemanspiff2007/sml2mqtt@84d9290916e8991d01345f69ed6d00d2984c6f32 -
Branch / Tag:
refs/tags/3.5.2 - Owner: https://github.com/spacemanspiff2007
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@84d9290916e8991d01345f69ed6d00d2984c6f32 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06bd5cb85d88fb29b10d17bbbb8b9de9c7880beee8a1d667dfd76c39a87c3a71
|
|
| MD5 |
c27d015afe9fd5a8a17efb127443db14
|
|
| BLAKE2b-256 |
188b16d67d33e3bbe14d73e4a8107950e6eeedca7c9ceb58f6bedb4b77309f27
|
Provenance
The following attestation bundles were made for sml2mqtt-3.5.2-py3-none-any.whl:
Publisher:
publish-pypi.yml on spacemanspiff2007/sml2mqtt
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sml2mqtt-3.5.2-py3-none-any.whl -
Subject digest:
06bd5cb85d88fb29b10d17bbbb8b9de9c7880beee8a1d667dfd76c39a87c3a71 - Sigstore transparency entry: 662234660
- Sigstore integration time:
-
Permalink:
spacemanspiff2007/sml2mqtt@84d9290916e8991d01345f69ed6d00d2984c6f32 -
Branch / Tag:
refs/tags/3.5.2 - Owner: https://github.com/spacemanspiff2007
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@84d9290916e8991d01345f69ed6d00d2984c6f32 -
Trigger Event:
release
-
Statement type: