Smartmeter Energy Austria
Library for connecting to Austrian Smart Meters of Salzburg Netz, TINETZ and EVN Retrieves the data from the M-BUS connector using a serial to USB converter.
Only tested on a Kaifa MA309 and Salzburg Netz (Salzburg AG). Some technical informations: The device uses Wired M-Bus (RJ 12) at 2400 baud. (1 start bit, 8 data bits, 1 parity bit, even, 1 stop bit. Communication is push only, every 5 seconds.
Usage
- Install this package
pip install smartmeter_austria_energy - Connect to your inverter using the correct COM port and fetch the data. Possible COM port settings: /dev/ttyUSB0, eg. using Linux COM5, eg using Windows
from smartmeter_austria_energy.supplier import (SupplierSALZBURGNETZ)
from smartmeter_austria_energy.smartmeter import(Smartmeter)
def main():
supplier = SupplierSALZBURGNETZ
key_hex_string = "-- this is your key --"
port = "COM5"
smartmeter = Smartmeter(supplier, port, key_hex_string)
my_obisdata = smartmeter.read()
print(f"RealEnergyIn: {my_obisdata.RealEnergyIn.ValueString}")
print(f"RealEnergyOut: {my_obisdata.RealEnergyOut.ValueString}")
if __name__ == '__main__':
main()
Script was tested on Linux (Ubuntu, Debian, Raspberry OS) and Windows (Windows 10, Windows 11).
Usage
Credits to Stefan who had done a cool work that was used in this implementation. https://github.com/tirolerstefan/kaifa
Metadata
Release files for smartmeter-austria-energy 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| smartmeter_austria_energy-1.5.0.tar.gz | 30.9 kB | Without provenance | Details for smartmeter_austria_energy-1.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| smartmeter_austria_energy-1.5.0-py3-none-any.whl | Python 3 | none | any | Details for smartmeter_austria_energy-1.5.0-py3-none-any.whl |
Total release size: 43.6 kB
Release files / smartmeter_austria_energy-1.5.0.tar.gz
| Download URL | smartmeter_austria_energy-1.5.0.tar.gz |
|---|---|
| Size | 30.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
430da88a3500433ace319120e2b3708bee4c013fda8ce7ae70b28c46d0a8ccf7
|
|
BLAKE2b-256 checksum How to use checksums |
ff1fd99129616471f0ec305c27cc9d958c5e9fda91fb500a6f3ada8c9c3af4af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Release files / smartmeter_austria_energy-1.5.0-py3-none-any.whl
| Download URL | smartmeter_austria_energy-1.5.0-py3-none-any.whl |
|---|---|
| Size | 12.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68a771fd0ad66f3500a916bf777df5eddde83798be2bf2b8e909b74d745dc769
|
|
BLAKE2b-256 checksum How to use checksums |
19f1185dd97d49b07c2c45192bd8b3acf2d25230bcf9ce199f25d0dc13082d5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.23
|
Security for smartmeter-austria-energy 1.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.