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.6.tar.gz
(44.7 kB
view hashes)
Built Distribution
Close
Hashes for kronoterm_cloud_api-0.1.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fa61c095bee6051608ab19fb3656609dfe77e49628b09eac121a816d245fb0b |
|
MD5 | d0d90b03bef0b596b1df747b9b586e88 |
|
BLAKE2b-256 | 9c339e008994f2f47e3c3e98fd27d8c0adc13dadfa08203b50647a2e8d06c8fe |
Close
Hashes for kronoterm_cloud_api-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76aee4b131e6f36ec5c74021a30a9a764e0272d6124c2883c07a67b21900896a |
|
MD5 | a8b22f20accac9af20d6d2aa35ae627a |
|
BLAKE2b-256 | 626754642c12f5d19d06eafca8c41cc8211a9c1b86c9ab1d100e8a923afd0498 |