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!
Documentation
API documentation available here.
Examples
from kronoterm_cloud_api import KronotermCloudApi
from kronoterm_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.HEATING_LOOP_2)) # Get the mode of heating loop.
# >> HeatingLoopMode.AUTO
print(hp_api.set_heating_loop_target_temperature(HeatingLoop.HEATING_LOOP_2, 24)) # Set heating loop temperature.
# >> True
print(
hp_api.set_heating_loop_mode(HeatingLoop.HEATING_LOOP_2, 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.5.tar.gz
(44.2 kB
view hashes)
Built Distribution
Close
Hashes for kronoterm_cloud_api-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfb444894bed684a749955062300ffc0d0330e31cab92d97bad313e3971e4d8a |
|
MD5 | f0119599a18935fd4a1c8657bd3811a8 |
|
BLAKE2b-256 | 3c3ecf966fa60cb7daa51c2a51ef2f05d5e8049589def0c644661403f150a2c9 |
Close
Hashes for kronoterm_cloud_api-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d87139a18248fbf3d41d199d89a94cced69692a6b3d0cdc8b8177073e716e90 |
|
MD5 | f2d97fecca5c53fabebf956fe1cb0723 |
|
BLAKE2b-256 | 00ba3b36fe364e531b1f593448cc6741ff6571e01062147b6afb22b14917700a |