Git Product home page Git Product logo

hass-clevertouch's People

Contributors

hemphen avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

hass-clevertouch's Issues

Homeassistant log

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.

Access to Tempo Flush relais

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?

Presets are not syncing with app/LCD

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?

Wrong parameters

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?

Support reauthentication in the config flow

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.

WATTS Vision

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.

Energy consumption

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.