chomupashchuk / ariston-remotethermo-home-assistant-v2

Ariston NET remotethermo integration for Home Assistant based on API
MIT License
92 stars 22 forks source link

HA errors 500 and 590 #9

Closed avvalex closed 3 years ago

avvalex commented 3 years ago

Hi, great work, but in HA logs i had tons of 500 and 590 (or 599, i don't remember) errors (warnings). Is there a way to fix the problem? It's not related with sensors, since i've tried with only one sensor in config.yaml and errors start appearing the same... For the rest the integration seems to work well... Thanks

chomupashchuk commented 3 years ago

All 500 and higher errors are reported when issues is identified as fault on server side. Sometimes it is due to connection errors between boiler and Ariston server (usually https://www.ariston-net.remotethermo.com is affected as well) and sometimes the issue is with specific requests that some data is incompatible with specific model. If Ariston server is affected then nothing can be expected from the integration. Unfortunately I have no data to go with as I have not updated integration to store html replies for faulty cases (usually some hints can be there) and it is hard to get someone to provide me with required data without describing steps to get the data or requesting login and password to do it myself or creating prototypes which gather more data in specific cases.

Do you get those fault for different types of requests (there is often "_get_xxxxxx" included in the log) or a specific request?

chomupashchuk commented 3 years ago

You may try uploading ariston.txt (rename to ariston.py), which should store additional files when setting store_config_files to true in configuration.yaml.

ariston.txt

The result should be files ending with _[reply code]_error.txt among many other. If to open then as html files a fault description might be present.

chomupashchuk commented 3 years ago

You may also try to set polling to 1.2 in configuration.yaml. Usually i had no problems with connection but recently i got more errors with code 500 and many timeouts and by setting that value higher than 1 makes integration slower but generates less errors (gives more time for the server to process and thus less "overload" and timeouts).

chomupashchuk commented 3 years ago

Issue closed due to no activity and no data to work with. In case of faults set store_config_files to true in configuration.yaml to gather more data so that details could be analyzed. Issue can be reopened if more data is provided.

Stefano201 commented 8 months ago

You may also try to set polling to 1.2 in configuration.yaml. Usually i had no problems with connection but recently i got more errors with code 500 and many timeouts and by setting that value higher than 1 makes integration slower but generates less errors (gives more time for the server to process and thus less "overload" and timeouts).

polling it refers to period_set e period_get?