eQ-3/ELV MAX! Cube Python API
Project description
eQ-3/ELV MAX! Cube Python API
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
Release history Release notifications | RSS feed
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.2.tar.gz
(11.4 kB
view hashes)
Built Distribution
Close
Hashes for maxcube_api-0.4.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49bdda2831cf8b803c6e0876d49ffa916ca0309cf810fd47ab2b407e92d0f3fe |
|
MD5 | dd7b4d46972b43e166c57baf12c358e1 |
|
BLAKE2b-256 | 024f1131da1d216dfa4dc2e7940763d0d3c226482d3fb8a0bbbc481dc083b145 |