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.1.tar.gz
(43.1 kB
view hashes)
Built Distribution
Close
Hashes for kronoterm_cloud_api-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 491d3d927f9aa7e626d02379a3564c96deb6adb6c98649ec164f3cba07608631 |
|
MD5 | a59c47d38b0dca28898c51b8335243d6 |
|
BLAKE2b-256 | c6afc5568df74e8f9c49bc57b3cf92fbe9800ceccbe4dba2c6f85200240dbad3 |
Close
Hashes for kronoterm_cloud_api-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b719ec5d8eadfe90c9692420a177cee327c72b598d0d2d9b4d233d559d909de6 |
|
MD5 | f65b627f7a0633a551b66e56b89a61dc |
|
BLAKE2b-256 | 094efcb18670d7c30d9da2de8a4eea8a494714d178cde067d3da53b3bf153eb3 |