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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for kronoterm_cloud_api-0.1.13.tar.gz
Algorithm Hash digest
SHA256 1624ebb39051d718806dabfbe371ae8ddeb3181afa78855deabdd294e3fa5492
MD5 3f088f8b854c69e840eb92ddd5edd819
BLAKE2b-256 2ab9f6403732d6c27df6c31cfb0793439d04523456fd15668f53bd5c59afcd13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kronoterm_cloud_api-0.1.13-py3-none-any.whl
Algorithm Hash digest
SHA256 22caaca479dbce4c2b483a9eebb58276f56ef90ef42d6fdce4000919e0784518
MD5 bddcdd914ec3972e4cd17230adf46cd8
BLAKE2b-256 d3ec95ec21aa324d0300ab6a3ace29a91d0e6236a6571d7c26f2beb2d231cd59

See more details on using hashes here.

Supported by

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