Skip to main content

API for Kronoterm heat pumps cloud

Project description

PyPI - Version ruff

Kronoterm cloud API (unofficial)

API client for controlling Kronoterm heat pumps via their cloud (cloud.kronoterm.com/).

Installation

  1. Install using pip
    python -m pip install kronoterm_cloud_api
    
  2. 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

print(hp_api.get_theoretical_power_consumption())
# >> HPConsumption(heating=0.7924833333333334, cooling=0, tap_water=0, pumps=0.12339583333333334, all=0.9158791666666668)

Project details


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.12.tar.gz (44.9 kB view details)

Uploaded Source

Built Distribution

kronoterm_cloud_api-0.1.12-py3-none-any.whl (31.5 kB view details)

Uploaded Python 3

File details

Details for the file kronoterm_cloud_api-0.1.12.tar.gz.

File metadata

  • Download URL: kronoterm_cloud_api-0.1.12.tar.gz
  • Upload date:
  • Size: 44.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.3

File hashes

Hashes for kronoterm_cloud_api-0.1.12.tar.gz
Algorithm Hash digest
SHA256 81b24052710cdefd5c1a8c8e1167ab037f09945df121b58952e195898d457e25
MD5 367e3150b3f6a7dd1fac8757a3d4bd6a
BLAKE2b-256 49eab1b4ab254f82907812bd0341ec06081e8830cb8941f8a36bc28f35951861

See more details on using hashes here.

File details

Details for the file kronoterm_cloud_api-0.1.12-py3-none-any.whl.

File metadata

File hashes

Hashes for kronoterm_cloud_api-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 22a6eabab7fa7855a081c1559e0a3821fe056d1b9031588fe97549617b5f3a4c
MD5 e463ca8915a10c1d542f4c7925ef0af2
BLAKE2b-256 25b63a5c487a601839d91077a1215fe8ed6e59ed0705c61e549d41b5f15a2dd1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page