Hello everyone,
I would like to request an app for the LVI / Purmo Clevertouch E3 radiators.
With the help of an assistant, I have done a lot of research into the API and I believe all the necessary information to build an app is now available. We have determined that a simple HomeyScript is not enough because the login process seems to be a multi-step flow that requires cookie handling.
Here is the information we found by reverse-engineering the web portal:
Authentication Endpoint (POST): https://auth.e3.lvi.eu/realms/purmo/protocol/openid-connect/token
Form Data:
-
client_id: web -
grant_type: password -
username: (the user's email) -
password: (the user's password)
Required Request Headers:
-
Origin: https://e3.lvi.eu -
Referer: https://e3.lvi.eu/ -
Content-Type: application/x-www-form-urlencoded -
(And a full set of browser-like headers, as a simple request was rejected with a 401 “invalid_client” error).
I hope this information is useful for any developer willing to take on this project. It seems very close to a solution!
Thank you!