Skip to main content

eQ-3/ELV MAX! Cube Python API

Project description

eQ-3/ELV MAX! Cube Python API Build Status Coverage Status

A python api to control the Max! Cube thermostats:

  • get basic info about the cube itself

  • get info about the max thermostats connected to the cube (mode, temperatures …)

Basic usage:

from maxcube.cube import MaxCube

cube = MaxCube('192.168.0.20')

for device in cube.devices:
    print(device.name)
    print(device.actual_temperature)

This api was build for the integration of the Max! thermostats into Home Assistant and mostly only covers the functions needed for the integration.

It does also include functions needed to save and restore thermostat programmes. For example:

# dump programmes (and other data) to a JSON file
python3 prog.py dump --host=192.168.0.11 > backup.json

# load programmes (not other data!) from a JSON file
python3 prog.py load --host=192.168.0.11 < backup.json

Running tests

python3 -m unittest discover tests/

Acknowledgements

Thanks to:

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

maxcube-api-0.4.1.tar.gz (11.8 kB view details)

Uploaded Source

Built Distribution

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

maxcube_api-0.4.1-py2.py3-none-any.whl (17.4 kB view details)

Uploaded Python 2Python 3

File details

Details for the file maxcube-api-0.4.1.tar.gz.

File metadata

  • Download URL: maxcube-api-0.4.1.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.9.1

File hashes

Hashes for maxcube-api-0.4.1.tar.gz
Algorithm Hash digest
SHA256 3c493a8fc5f918076f3eb75b745f0394fde92876206007d247c0ea1700ee28bf
MD5 a69fa7a87f3124d56d8c05f65408a507
BLAKE2b-256 407de24e202e23849e381087caa535596ef6fce51b9889a803bbb201b3b19201

See more details on using hashes here.

File details

Details for the file maxcube_api-0.4.1-py2.py3-none-any.whl.

File metadata

  • Download URL: maxcube_api-0.4.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.9.1

File hashes

Hashes for maxcube_api-0.4.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4b35746f3ce0c52c10195a7679a9e5a098b823a2d0bd5fe0ebc69629b0fd80a2
MD5 30d12a80b91427c7a6195ceeb083958f
BLAKE2b-256 cfd28364a21445bdc16d031fc266af823598622b7000f4a183cc9817d5a282fb

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