Skip to main content

A Python API for Thermia heat pumps using https://online.thermia.se

Project description

Thermia Online API

A Python API for Thermia heat pumps using https://online.thermia.se

Confirmed Thermia profiles that API supports:

  • Thermia Diplomat / Diplomat Duo
  • Thermia iTec

Confirmed Thermia models that API supports:

  • Danfoss DHP-AQ 9

Available functions in Thermia class:

Function Description
fetch_heat_pumps Fetches all heat pumps from Thermia Online API and their data
update_data Updates all heat pump data

Available properties within ThermiaHeatPump class:

Property Description
name Name of the Heat Pump
id Unique ID of the Heat Pump Thermia generates
is_online Boolean value indicating if the Heat Pump is online or not
model Model of the Heat Pump
last_online DateTime string indicating the last time the Heat Pump was online
has_indoor_temperature_sensor Boolean value indicating if the Heat Pump has an indoor temperature sensor
indoor_temperature Indoor temperature in Celsius, if has_indoor_temperature_sensor is False, this value is the same as heat_temperature
is_outdoor_temp_sensor_functioning Boolean value indicating if the Heat Pump has an outdoor temperature sensor
outdoor_temperature Outdoor temperature in Celsius
is_hot_water_active Boolean value indicating if the Heat Pump is heating water
hot_water_temperature Hot water temperature in Celsius
heat_temperature Heat Pump heating target temperature in Celsius
heat_min_temperature_value Minimum temperature value possible for Heat Pump to set
heat_max_temperature_value Maximum temperature value possible for Heat Pump to set
heat_temperature_step Step value for temperature setting
operation_mode Current operation mode of the Heat Pump
available_operation_modes List of available operation modes for the Heat Pump
is_hot_water_switch_available Boolean value indicating if the Heat Pump has a hot water switch
active_alarm_count Number of active alarms on the Heat Pump

Available functions within ThermiaHeatPump class:

Function Description
update_data Refetch all data from Thermia for Heat Pump
set_temperature Set the target temperature for the Heat Pump
set_operation_mode Set the operation mode for the Heat Pump
set_hot_water_switch_state Set the hot water switch state to 0 (off) or 1 (on) for the Heat Pump

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

ThermiaOnlineAPI-2.4.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

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

ThermiaOnlineAPI-2.4-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file ThermiaOnlineAPI-2.4.tar.gz.

File metadata

  • Download URL: ThermiaOnlineAPI-2.4.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for ThermiaOnlineAPI-2.4.tar.gz
Algorithm Hash digest
SHA256 dc64365a624894dd2c9c9f39a76d8c89557093b98542bff05f03848ce08d6737
MD5 8d4b71f68893404b7b89a060dc037d1c
BLAKE2b-256 4fed4ce5e6110dffe6de62aec4c2636f25ba4b989c87cdc717231daf78244e2e

See more details on using hashes here.

File details

Details for the file ThermiaOnlineAPI-2.4-py3-none-any.whl.

File metadata

  • Download URL: ThermiaOnlineAPI-2.4-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.1

File hashes

Hashes for ThermiaOnlineAPI-2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 eba4bd91cf82cc91d95b3ffc361540d6b64e0d8939bfef99fbcf3419e72483ac
MD5 48417891e69d7f205ba8fc411bd68293
BLAKE2b-256 b6acbb6ecc84c8477b8ca08463ecb5c9673ec811b9c4fdf1564f3008b0c45a44

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