API for Kronoterm heat pumps cloud
Project description
Kronoterm cloud API (unofficial)
API client for controlling Kronoterm heat pumps via their cloud (cloud.kronoterm.com/).
Installation
- Download latest release
- Install using
pip
python -m pip install kronoterm_cloud_api
- Enjoy!
Examples
24.0 23.4 11.4 WorkingFunction.HP_FUNCTION_SLEEP HeatingLoopMode.AUTO True True 11.4
from kronoterm_cloud_api import KronotermCloudApi
from kronoterm_cloud_api import HeatingLoop, HeatingLoopMode
hp_api = KronotermCloudApi("your-kronoterm-cloud-username", "your-kronoterm-cloud-password")
hp_api.login()
print(hp_api.get_room_temp()) # Current room temperature.
# >> 24.0
print(hp_api.get_outside_temperature()) # Current outside temperature.
# >> 23.4
print(hp_api.get_reservoir_temp()) # Current reservoir temperature.
# >> 11.4
print(hp_api.get_working_function()) # Currently set HP working function
# >> WorkingFunction.HP_FUNCTION_SLEEP
print(hp_api.get_heating_loop_mode(HeatingLoop.LOW_TEMPERATURE_LOOP)) # Get the mode of heating loop.
# >> HeatingLoopMode.AUTO
print(hp_api.set_heating_loop_temperature(HeatingLoop.LOW_TEMPERATURE_LOOP, 24)) # Set heating loop temperature.
# >> True
print(hp_api.set_heating_loop_mode(HeatingLoop.LOW_TEMPERATURE_LOOP, HeatingLoopMode.AUTO)) # Set the mode of heating loop.
# >> True
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
kronoterm_cloud_api-0.0.5.tar.gz
(42.5 kB
view hashes)
Built Distribution
Close
Hashes for kronoterm_cloud_api-0.0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b86725bfee215b01870a3af8ab2224a825ea0484f695d8c8e91c4b963f16089b |
|
MD5 | 513699baad61f4357870aaba456e8597 |
|
BLAKE2b-256 | 5366c3c65f7f5127b6ebef286fdbaad333e75cde576c566675a81ca32abf84c7 |
Close
Hashes for kronoterm_cloud_api-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdeb5769bae5ddf0ad7031e6457eb8e2bbbf402b228fa059edd49976ca4ea3eb |
|
MD5 | a5f1b630416b95ce8b195683c7e7435e |
|
BLAKE2b-256 | fa06c37b2c31825b7f1e9178425bca3e5e687a3d566cdbf40ae14d6abb25db7e |