Skip to main content

A luxtronik heatpump controller interface

Project description

Luxtronik

python-luxtronik is a library that allow you to interact with a Luxtronik heatpump controller.

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)

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

luxtronik-0.2.4.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

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

luxtronik-0.2.4-py3-none-any.whl (21.2 kB view details)

Uploaded Python 3

File details

Details for the file luxtronik-0.2.4.tar.gz.

File metadata

  • Download URL: luxtronik-0.2.4.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for luxtronik-0.2.4.tar.gz
Algorithm Hash digest
SHA256 8c03bab1f0a5a2f110a4a185e222d8d13f522d5e7883fa5f23ef65a01d478724
MD5 fc1ced83941f735c18444bb8712b3851
BLAKE2b-256 85e68acf655813c6f22a7c030660e0f7f638b97be79ad5739b58cd71b9dc308e

See more details on using hashes here.

File details

Details for the file luxtronik-0.2.4-py3-none-any.whl.

File metadata

  • Download URL: luxtronik-0.2.4-py3-none-any.whl
  • Upload date:
  • Size: 21.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for luxtronik-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 03dfadee81a85b872626b1bdeee54214ce7ad4cc5b9e58571b7b5cfe12b88e58
MD5 487353765df09d1cebb854ec353482c5
BLAKE2b-256 df382b32827965c625e11bfcfc3184afbc33e1546c8c472d420b80bcb1caba96

See more details on using hashes here.

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