Skip to main content

CleverTouch - interact with Touch E3-connected radiators

This Python API enables control and monitoring of Touch E3-connected radiators via CleverTouch cloud accounts.

Background

LVI by Purmo is range of radiators manufactured by the Finnish company Purmo. Some models, such as Yali Digital, Parada and Ramo may be monitored and controlled centrally using the optional accessory TempCo Touch E3. The Touch E3 may in turn be controlled remotely via a CleverTouch cloud account and related mobile and web apps.

General usage

All communication with the cloud API is asynchronous using aiohttp. Communication can either use lower-level calls using an ApiSession object with methods for returning unparsed data objects, or a higher-lever object model using the Account with friendly functions and objects for the most relevant properties of homes and devices.

The most useful methods/properties of the most relevant objects are listed below. A full description of the functionality is only available by reading the source code.

Other brands

While untested, a number of other product lines seem to be using the same controller and software with different branding.

Applications using the following URLs might work, fully or partially, by specifying the host argument when creating an Account or ApiSession (see below).

Additionally, Watts Vision (https://smarthome.wattselectronics.com) uses the same app but a different/improved authentication process. Work is needed to support that process within this library.

Other implementations / GitHub repositories

There are available alternative implementations with unknown status of functionality available on GitHub.

Using the higher-level API

See samples/demo.py for a basic but functional example of how to use the higher-level API.

The Account object

Methods Description
Account(email=None, token=None, *, host=None, session=None) Create an account. The host is a bare hostname, such as e3.lvi.eu (the default), without https:// or a path.
authenticate(email, password) Authenticate with the service.
get_user() Returns a refreshable User object containing info about all available homes.
get_home(id) Returns a refreshable Home object for a home with the specific id.
get_homes() Returns a list of all homes registered with the user.

Getters cache successfully fetched user and home objects. Call await user.refresh() or await home.refresh() to fetch current data; repeated getters reuse the cached objects. Successful password authentication clears both account caches. A getter still fetching data for the previous login raises ApiError instead of caching that response.

Use await account.authenticate(email, password) for password login, or create Account(email, token=refresh_token) to use a stored refresh token. Access tokens are refreshed automatically when expired, on the next API request. The server may rotate the refresh token; persist the latest account.api.refresh_token after operations that can refresh it, even if a subsequent data request fails. The library does not persist tokens for you.

An API HTTP 401 raises ApiAccessTokenError (a subclass of ApiAuthError) and marks the rejected access token for refresh on the next request. The failed operation is not replayed. Handle this separately from login or refresh-grant ApiAuthError, which requires checking credentials.

The User object

Properties/Methods Description
homes Dictionary mapping home IDs to HomeInfo objects.
refresh() Refreshes the data from the cloud account.

The Home object

Properties/Methods Description
info Provides an object with basic info about the home.
devices Dictionary mapping device IDs to device objects.
refresh() Refreshes the data from the cloud account.

The Radiator object

Properties/Methods Description
label The user-specified name of the radiator.
zone Info about the zone where the radiator is located.
temperatures A dictionary with temperatures.
heat_mode The current heat mode.
set_temperature(name,value,unit) Send a request to update a temperature setting.
set_heat_mode(heat_mode) Send a request to update the heat mode.

Using the lower-level API

The ApiSession object

Methods Description
ApiSession(email=None, refresh_token=None, *, host=None, manufacturer=None, session=None) Create an API session. Use a bare hostname for host; the default is e3.lvi.eu.
authenticate(email, password) Authenticate with the service.
read_user_data() Return unparsed data about the user associated with the account.
read_home_data(id) Return unparsed data about the home with the specified id.
write_query(id, params) Send a raw update query for a specific home

Integrations

This API was primarily written to be able to integrate Touch E3-radiators in Home Assistant, see https://github.com/hemphen/hass-clevertouch.

Testing

Install the library and test dependencies with python3 -m pip install . pytest pytest-asyncio python-dotenv, then run python3 -m pytest. Live account tests are skipped by default.

To run live tests explicitly, configure CLEVERTOUCH_EMAIL and CLEVERTOUCH_PASSWORD in the environment or .env, then run python3 -m pytest --live -m live.

Metadata

Release files for clevertouch 0.6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for clevertouch 0.6.1
File Size Uploaded Provenance Actions
clevertouch-0.6.1.tar.gz 23.4 kB With provenance Details for clevertouch-0.6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for clevertouch 0.6.1
File Interpreter ABI Platform Actions
clevertouch-0.6.1-py3-none-any.whl Python 3 none any Details for clevertouch-0.6.1-py3-none-any.whl

Total release size: 39.8 kB

Release files / clevertouch-0.6.1.tar.gz

Download URL clevertouch-0.6.1.tar.gz
Size 23.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d25f664be329f70a99a735af7620723d8e749ef93f2aa846cd20e086c9a30356
BLAKE2b-256 checksum
How to use checksums
df03c12240d1ec22f4d5744cfe04d388421c99eafa87b1540dfcf0aec6c8738b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / clevertouch-0.6.1-py3-none-any.whl

Download URL clevertouch-0.6.1-py3-none-any.whl
Size 16.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
aaeee3acfd4c05f0c7516c96da0b776f18237f9c8e1380d28aa4b3a19df376be
BLAKE2b-256 checksum
How to use checksums
4e317ed5659fe8aa7b3c868bf37e37376e880410a29948584dcfb3d48665d291
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Security for clevertouch 0.6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for clevertouch-0.6.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page