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
- Download latest release
- Install using
pip
python -m pip install kronoterm_cloud_api
- Enjoy!
Examples
24.0 23.4 11.4 WorkingFunction.HP_FUNCTION_SLEEP HeatingLoopMode.AUTO True True 11.4
from kronoterm_cloud_api import KronotermCloudApi
from kronoterm_cloud_api 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_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.0.4.tar.gz
(42.6 kB
view hashes)
Built Distribution
Close
Hashes for kronoterm_cloud_api-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1e551dd8e794efbe9f64753d6d7dbc046b970cd3295bc63a8f0ca8713ff4695 |
|
MD5 | 74b3b0b1805415d0917620d0c82ef5ec |
|
BLAKE2b-256 | 17c13294909bf83512a7f0cbcce1be392c79a7fa3271a6c36c161689727cea87 |
Close
Hashes for kronoterm_cloud_api-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b42afc559f33311d2765bd87026ac4501fcf5ff0f17dcab97b5385f749ec671f |
|
MD5 | 6af20b1f37f9786472d9e3c1e27e8465 |
|
BLAKE2b-256 | a9fba3f0a5b13fdad7e9e118e1ea9a621407cedb29ce852ad12fbc7878ff086d |