klejejs / ha-thermia-heat-pump-integration

Thermia Heat Pump Integration for Home Assistant
GNU General Public License v3.0
30 stars 7 forks source link

Integration seems broken (Thermia Atlas 18) #76

Closed ackjewtn closed 4 months ago

ackjewtn commented 4 months ago

I recently started to get errors from the integration, but i've lost the logs containing the error after i removed configuration to test.

It was a JSON decode error, suggesting that the response from the API was something else (probably some error).

Now I'm trying to set up the integration again, and getting Credentials are invalid. in the config flow. The logs are saying the following:

2024-04-30 15:53:43.225 ERROR (MainThread) [custom_components.thermia.config_flow] Expecting value: line 1 column 1 (char 0)

The Thermia Web App is operational and i'm able to log in there.

Sepulnation commented 4 months ago

Hi, same situation for me.

Nilledog commented 4 months ago

Same situation here, I Can see the Thermia app (Android) is changed, now you have to confirm when you change operation mode.

OldSmurf56 commented 4 months ago

Hi I seem to be in the same boat. After a reboot of HA, I am not receiving data from Thermia (I have a Diplomat G3). Trying to reload the integration and set up a new instance returns this error : Log details (ERROR) This error originated from a custom integration. Logger: custom_components.thermia.config_flow Source: custom_components/thermia/config_flow.py:52 integration: Thermia Heat Pump (documentation, issues) First occurred: 20:05:00 (4 occurrences) Last logged: 20:07:12

.. .and I am able to log in through the Thermia app as well as through web interface. Expecting value: line 1 column 1 (char 0)

PalmSwe commented 4 months ago

I also have problem with this integration.

Logger: homeassistant.config_entries Källa: config_entries.py:551 Inträffade först: 21:34:02 (2 händelser) Senast loggade: 21:50:46

Error setting up entry Thermia (email) for thermia Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 551, in async_setup result = await component.async_setup_entry(hass, self) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/thermia/init.py", line 38, in async_setup_entry thermia = await hass.async_add_executor_job( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/thermia/init.py", line 39, in lambda: Thermia(username, password, api_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/ThermiaOnlineAPI/init.py", line 14, in init self.api_interface = ThermiaAPI(username, password, api_type) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/ThermiaOnlineAPI/api/ThermiaAPI.py", line 78, in init self.authenticated = self.authenticate() ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/ThermiaOnlineAPI/api/ThermiaAPI.py", line 590, in authenticate settings = json.loads(settings_string[0][15:-1]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/json/init.py", line 346, in loads return _default_decoder.decode(s) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/json/decoder.py", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) ^^^^^^^^^^^^^^^^^^^^

klejejs commented 4 months ago

Thank you all for reporting! Please update to the latest 3.4.0 version to fix the issue.

Sepulnation commented 4 months ago

You're best. Thank you for your quick reaction!

Nilledog commented 4 months ago

Thank you!!