Luxtronik
python-luxtronik is a library that allow you to interact with a Luxtronik heatpump controller.
Installation
Installation is siply using this pip command:
pip install luxtronik
Examples
Reading values
from luxtronik import Luxtronik
l = Luxtronik('192.168.1.23', 8889)
t_forerun = l.calculations.get("ID_WEB_Temperatur_TVL")
# alternatively get by id:
t_forerun = l.calculations.get(10)
print(t_forerun) # this returns the temperature value of the forerun, 22.7 for example
print(t_forerun.unit) # gives you the unit of the value if known, °C for example
# l.calculations holds measurement values
# check https://github.com/Bouni/luxtronik/blob/master/luxtronik/calculations.py for values you might need
# l.parameters holds parameter values
# check https://github.com/Bouni/luxtronik/blob/master/luxtronik/parameters.py for values you might need
# l.visibilitys holds visibility values, the function of visibilities is not clear at this point
check https://github.com/Bouni/luxtronik/blob/master/luxtronik/visibilities.py for values you might need
Writing values
from luxtronik import Luxtronik
l = Luxtronik('192.168.1.23', 8889)
heating_mode = l.parameters.set("ID_Ba_Hz_akt", "Party")
l.write()
# If you're not sure what values to write, you can get all options:
print(l.parameters.get("ID_Ba_Hz_akt").options) # returns a list of possible values to write, ['Automatic', 'Second heatsource', 'Party', 'Holidays', 'Off'] for example
By default a safeguard is enabled that prevents writing of parameters whose purpose is unknown.
You can disable that safeguard by passing safe=False to the Luxtronik class.
from luxtronik import Luxtronik
l = Luxtronik('192.168.1.23', 8889, safe=False)
Metadata
Release files for luxtronik 0.3.14
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 |
|---|---|---|---|---|
| luxtronik-0.3.14.tar.gz | 21.4 kB | Without provenance | Details for luxtronik-0.3.14.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| luxtronik-0.3.14-py3-none-any.whl | Python 3 | none | any | Details for luxtronik-0.3.14-py3-none-any.whl |
Total release size: 44.0 kB
Release files / luxtronik-0.3.14.tar.gz
| Download URL | luxtronik-0.3.14.tar.gz |
|---|---|
| Size | 21.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ba465497ba9f57ef5dcc1ecca293d4bc9777471a7e350ee7721997dc45d9982
|
|
BLAKE2b-256 checksum How to use checksums |
250788614c0abf9cfa28cee51770569579d36754d6f14a8212b2aa74b5dc2862
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / luxtronik-0.3.14-py3-none-any.whl
| Download URL | luxtronik-0.3.14-py3-none-any.whl |
|---|---|
| Size | 22.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f75696ff483e30c9dcb08f01c05747c32584e7a0cd4f433a38c8c6969d99d3b4
|
|
BLAKE2b-256 checksum How to use checksums |
9f99c35f509ca00bdf3982993fdeac69188aa81ca0bbd9d815ddb3b76e6df019
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for luxtronik 0.3.14
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.