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 heat pumps that API supports:

  • Thermia Diplomat / Diplomat Duo
  • Thermia iTec

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
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

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

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.1.tar.gz (18.2 kB view hashes)

Uploaded Source

Built Distribution

ThermiaOnlineAPI-2.1-py3-none-any.whl (19.0 kB view hashes)

Uploaded Python 3

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