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.7.tar.gz
(44.7 kB
view hashes)
Built Distribution
Close
Hashes for kronoterm_cloud_api-0.1.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d007cf6711ffab9724b146c90729bc8271c1500d5173a6ca443174fa76136f3 |
|
MD5 | e14b741102d384bef4c47215fc2952e2 |
|
BLAKE2b-256 | b029a69cda03617cbfffe80eee008e249c715ff4629f389a19a782d82f5da0d0 |
Close
Hashes for kronoterm_cloud_api-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96d88e085a06963474a641130b717472a2b9c611a2202e614616373a575524a2 |
|
MD5 | 7a03115b43315e8219d295aa5b4f035f |
|
BLAKE2b-256 | 01e25254d9dd3c9f8b0c53ada081ea6a85dcdc0663e634ff35a710175674b7be |