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
- Install using
pip
python -m pip install kronoterm_cloud_api
- Enjoy!
Examples
from kronoterm_cloud_api.kronoterm_cloud_api import KronotermCloudApi
from kronoterm_cloud_api.enums.hp_enums 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_target_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.1.0.tar.gz
(43.2 kB
view hashes)
Built Distribution
Close
Hashes for kronoterm_cloud_api-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 50fc9811b0f0674cdb2d12f1b48c93a9fa8edd70197dbf7926a649e7514a7e5a |
|
MD5 | 93581d61aa9f5924be349c42e6d294bc |
|
BLAKE2b-256 | 95525608435999c43e62453697cc59687b0236b00d48b219da1f4faeae57b068 |
Close
Hashes for kronoterm_cloud_api-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9467693224558aeaf4b23e6fadd33c623f8cfe5797469abed5649bbb457418c |
|
MD5 | 3ec170e2f97db77d4e728c009ea99cf6 |
|
BLAKE2b-256 | 24cef92f53735136f615c9fc5f42e713ba6532565c08f0c4aeecfe845260a1c0 |