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
from maxcube.connection import MaxCubeConnection

cube = MaxCube(MaxCubeConnection('192.168.0.20', 62910))

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 --port=62910 > backup.json

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

Running tests

python -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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

maxcube_api-0.3.0-py2.py3-none-any.whl (9.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: maxcube_api-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.6.1 requests/2.18.4 setuptools/41.4.0 requests-toolbelt/0.8.0 tqdm/4.17.1 CPython/2.7.17

File hashes

Hashes for maxcube_api-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 98166f0d423f8cff4ff3aaf266daab44ff3300c2139873051f5551c01bb628a9
MD5 2d54693ca11d3e1b163e7c06ca8c2965
BLAKE2b-256 42c33f68a1986e80dd0aab1bd23f8c8c6233666a4089cc7b2152c2a9b1aab764

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