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.4.tar.gz
(43.8 kB
view hashes)
Built Distribution
Close
Hashes for kronoterm_cloud_api-0.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 396f82971256e81289e9d59b7e8849d05724c561dba15f1cffe39dd84e97221c |
|
MD5 | fdb8a3fe38f7d2f2eb392e396fc3c661 |
|
BLAKE2b-256 | 88ff2a210be375fb3be61a57d45bd10ead3afd237bfc305f82abcf941c9c72e5 |
Close
Hashes for kronoterm_cloud_api-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 873367a1b090ce7681cfebe0c9057a98a5592ff8f258af7a37ed56edbad8f721 |
|
MD5 | 660a3b99f098b7afd6c005f194345a78 |
|
BLAKE2b-256 | 1569441bbd188687a8e9f4655844d0479cdc18a6768973822cff31a77e0437f4 |