hemphen / hass-clevertouch Goto Github PK
View Code? Open in Web Editor NEWCleverTouch - Home Assistant integration for Touch E3 radiators
License: MIT License
CleverTouch - Home Assistant integration for Touch E3 radiators
License: MIT License
Logger: homeassistant.helpers.entity
Source: helpers/entity.py:353
First occurred: 09:49:35 (7 occurrences)
Last logged: 09:49:35
Entity None (<class 'custom_components.clevertouch.climate.RadiatorEntity'>) is implicitly using device name by not setting its name. Instead, the name should be set to None, please report it to the custom integration author.
I installed the integration, thank you very much for providing it!
It provides entities for the two connected radiators but not for the on/off state of the central floor heating and the boiler which are also available in the Clevertouch app. I believe the electrician used two Tempo Flush components (https://www.radson.com/nl-be/producten/zoneregeling/zoneregeling/bedieningen/bedradingscentra/touch-e3--tempco-flush) to enable this.
Is it normal that they don't show up? If yes, do you have plans to enable them?
In HA the integration shows all presets that the Clevertouch app has. However changing to a preset in the integration doesn’t register in the app or the LCD unit so the radiators won’t change the settings.
Is this expected? I would guess the presets are expected to work?
Since yesterday my integration is no longer working. Home assistant is giving this log.
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/clevertouch/coordinator.py", line 79, in _async_update_data
self.user = await self.api_session.get_user()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/deps/lib/python3.11/site-packages/clevertouch/objects.py", line 58, in get_user
await user.refresh()
File "/config/deps/lib/python3.11/site-packages/clevertouch/objects.py", line 121, in refresh
data = await self._api_session.read_user_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/deps/lib/python3.11/site-packages/clevertouch/api.py", line 148, in read_user_data
result = await self._read(endpoint, payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/deps/lib/python3.11/site-packages/clevertouch/api.py", line 125, in _read
raise ApiCallError(result.status, f"Read failed with {result.status}")
clevertouch.api.ApiCallError: Read failed with ERR_PARAM(3): Wrong parameters
2023-10-28 05:11:59.467 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2023-10-28 05:11:59.467 ERROR (MainThread) [homeassistant] Error doing job: Unclosed connector
2023-10-28 05:12:16.129 ERROR (MainThread) [homeassistant] Error doing job: Unclosed client session
2023-10-28 05:12:38.304 ERROR (MainThread) [custom_components.clevertouch.coordinator] Unexpected error fetching [email protected] data: Read failed with ERR_PARAM(3): Wrong parameters
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/clevertouch/coordinator.py", line 79, in _async_update_data
self.user = await self.api_session.get_user()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/deps/lib/python3.11/site-packages/clevertouch/objects.py", line 58, in get_user
await user.refresh()
File "/config/deps/lib/python3.11/site-packages/clevertouch/objects.py", line 121, in refresh
data = await self._api_session.read_user_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/deps/lib/python3.11/site-packages/clevertouch/api.py", line 148, in read_user_data
result = await self._read(endpoint, payload)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/deps/lib/python3.11/site-packages/clevertouch/api.py", line 125, in _read
raise ApiCallError(result.status, f"Read failed with {result.status}")
clevertouch.api.ApiCallError: Read failed with ERR_PARAM(3): Wrong parameters
Can the API have been changed on e3 side?
The login tokens to the API are very long-lived (more than a year), but nevertheless needs to be refreshed with some regularity. There is currently no way to do this from the intergration and the user is only provided with an unspecific error message when the token expires.
Removing the integration and re-adding is a workaround that triggers a new password prompt and refreshes the token.
The proper reauthentication config flow as described in the HA dev docs should be supported, see Reauthentication.
I was doing some research on the Tempco Touch E3 on my own, and came across the "Watts Water BT-CT02-RF" which looks awfully familiar :D. I almost wonder if that's the original and everyone else just licensed the thing from them.
They seem to be running the CleverTouch backend for what they're calling "WATTS Vision" on: https://smarthome.wattselectronics.com. It seems identical to all the other ones, same demo mode etc. too, API calls look the same. I don't have a way to actually test it since I don't own a central controller by WATTS, but I figured it might be of interest to you.
Hi
as it is soon x-mas, maybe I can place a wish...
would it be possible to add energy consumption or is the Clevertouch API not offering this values?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.