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:
python -m unittest discover tests/
Thanks to: