Tidone / homeassistant_eta_integration

Integration of ETA (Heating) sensors and switches to home assistant
MIT License
21 stars 1 forks source link

Unknown error occured #10

Closed Tomson124 closed 6 months ago

Tomson124 commented 6 months ago

I was switch from another ETA integration to this, but unfortunatly cannot get to work like I imagined.

I am on ETA-Integration 1.1.2 HomeAssistant: 2024.2.5 The Api version is 1.2 <api xmlns="http://www.eta.co.at/rest/v1" version="1.2" uri="/user/api"/>

grafik

Tidone commented 6 months ago

Hi, This error may be caused by a general error in Home Assistant. Please check the HA logs in Settings -> System -> Logs -> Load Full Logs (Einstellungen -> System -> Logs -> Vollständige Protokolle Laden) There may be a critical error unrelated to this integration.

If you can't find any error there you can update the integration to the latest version (1.1.3) and retry setting it up. On the first dialog box you can then enable verbose logging.

If the error still persists you can then go to Settings -> System -> Logs and click on Download Full Log. Please upload the file here or on Pastebin.

Tomson124 commented 6 months ago

Thanks for the quick answer. I could not really see a unrelated problem in the logs, and after more testing I found that forcing the "old API version" does work, so it would appear the problem is related to the new API stuff... I did install the latest version for the Integration and for the pellet heater software itsself, too. I did attach the log like you asked. home-assistant_2024-02-29T22-36-48.965Z.log

Tidone commented 6 months ago

Thanks for the log. It looks like the integration just suddenly stops querying the ETA endpoints after almost exactly 90 seconds, without throwing any kind of error. That looks suspiciously like some kind of timeout.

I will do some tests and see if I can find the problem.

Tidone commented 6 months ago

Hi, Unfortunately I can't reproduce the issue here. According to your logs the integration just stops doing anything after some time without throwing any kind of error. This leads me to believe that there is some external component which terminates the integration. Home Assistant itself does not have this kind of feature, so I think that one of your other integrations interferes with the eta one.

If you want to help me pinpoint the problem you can do the following:

If not, you can force the old API version, which you already confirmed to be working. The only difference between the two API versions is how the sensors are discovered. So if all necessary sensors are discovered, you can just stay in old API mode.

Tomson124 commented 6 months ago

Thanks for the help and testing it. I did some testing myself, but could not really figure out what causes it, but since the old API isnt that much different according to you, I will just use that since that works fine.