Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant find device Rointe Thermostat device CT2 #16

Open
polpas opened this issue Jun 4, 2024 · 1 comment
Open

Cant find device Rointe Thermostat device CT2 #16

polpas opened this issue Jun 4, 2024 · 1 comment

Comments

@polpas
Copy link

polpas commented Jun 4, 2024

Hi,

I have a Roite CT2 WiFi Thermostat that is detected as described in the log but does not appear.

2024-06-04 14:01:52.939 ERROR (MainThread) [custom_components.rointe] Unexpected error fetching rointe data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 315, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/rointe/coordinator.py", line 44, in _async_update_data
new_devices = await self.device_manager.update()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/rointe/device_manager.py", line 179, in update
new_device = await self._process_api_data(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/rointe/device_manager.py", line 225, in _process_api_data
new_device = self._add_or_update_device(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/rointe/device_manager.py", line 285, in _add_or_update_device
rointe_device = RointeDevice(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/rointesdk/device.py", line 73, in init
self.update_data(device_info, energy_data, latest_fw)
File "/usr/local/lib/python3.12/site-packages/rointesdk/device.py", line 102, in update_data
self.um_max_temp = float(data["um_max_temp"])
~~~~^^^^^^^^^^^^^^^
KeyError: 'um_max_temp'
2024-06-04 14:02:03.310 DEBUG (MainThread) [custom_components.rointe] Device manager updating
2024-06-04 14:02:03.617 DEBUG (MainThread) [custom_components.rointe] Found device ID: xxxxxxxxxxxxxxxxxx0610
2024-06-04 14:02:04.261 DEBUG (MainThread) [custom_components.rointe] Processing data for device ID: 4CAA441C06104CAA441C0610
2024-06-04 14:02:04.261 DEBUG (MainThread) [custom_components.rointe] Found new device CT.2 1C0610 [therm] - v2. FW: 2_1_1
2024-06-04 14:02:04.262 ERROR (MainThread) [custom_components.rointe] Unexpected error fetching rointe data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 315, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/rointe/coordinator.py", line 44, in _async_update_data
new_devices = await self.device_manager.update()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/rointe/device_manager.py", line 179, in update
new_device = await self._process_api_data(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/rointe/device_manager.py", line 225, in _process_api_data
new_device = self._add_or_update_device(
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/rointe/device_manager.py", line 285, in _add_or_update_device
rointe_device = RointeDevice(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/rointesdk/device.py", line 73, in init
self.update_data(device_info, energy_data, latest_fw)
File "/usr/local/lib/python3.12/site-packages/rointesdk/device.py", line 102, in update_data
self.um_max_temp = float(data["um_max_temp"])
~~~~^^^^^^^^^^^^^^^
KeyError: 'um_max_temp'
2024-06-04 14:02:04.263 DEBUG (MainThread) [custom_components.rointe] Finished fetching rointe data in 0.953 seconds (success: False)

Can you check what may be wrong?

@ikk0
Copy link

ikk0 commented Oct 1, 2024

Same issue here. Would love to see support for the CT2. Let us know how we can help! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants