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 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.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.2.tar.gz
(42.7 kB
view hashes)
Built Distribution
Close
Hashes for kronoterm_cloud_api-0.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48aa86f5b5cbf91c8157c047b6ef701baa0fb69a0bb85dadb140ae985b0434fa |
|
MD5 | d7151b89bd610d8f65077cb453cc12a7 |
|
BLAKE2b-256 | b757d6b4c740510151e3528bf3a1f92e902412d8b671e75e9546f54a6aecbb81 |
Close
Hashes for kronoterm_cloud_api-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 708196788babca5234dd06fff2d3074aece961292ef53c0004211b4a90ddfb06 |
|
MD5 | 83d2b12238306410924a9be0e4dac2c6 |
|
BLAKE2b-256 | f531d5b34ca30d8ea66b9b0f8631ac520555173b110e82433a7bd7805d4c933a |