fustom / ariston-remotethermo-home-assistant-v3

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

custom_components.ariston error HA 2024.4.1 #324

Closed aleeeee5 closed 4 months ago

aleeeee5 commented 4 months ago

Traceback (most recent call last): File "/usr/local/lib/python3.12/site-packages/ariston/ariston_api.py", line 493, in async_connect response = await self._async_post( ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/ariston/ariston_api.py", line 918, in _async_post return await self.async_request("POST", path, None, body) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/ariston/ariston_api.py", line 904, in async_request return await self.async_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/ariston/ariston_api.py", line 907, in async_request raise Exception(response.status) Exception: 403

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/config/custom_components/ariston/init.py", line 74, in async_setup_entry reponse = await ariston.async_connect( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/ariston/init.py", line 49, in async_connect return await self.api.async_connect() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/site-packages/ariston/ariston_api.py", line 506, in async_connect raise ConnectionException() from error ariston.ariston_api.ConnectionException

Is anyone else getting this error after updating?

Patbonamy commented 4 months ago

Same for me.

mikesjogren commented 4 months ago

Same here.

fustom commented 4 months ago

same here :computer:

lnx85 commented 4 months ago

Same here.

dfranceschelli commented 4 months ago

Same on HA 2024.3.3 Maybe it's not related to the last update

romanovdavid commented 4 months ago

Same on 2024.3.1.

Johan1971 commented 4 months ago

Same here

Rikirevolver88 commented 4 months ago

Hi gents,

same for me. Made a quick test, seems to me that URL string is not found. If you try to configure it from scratch seems that they removed temporarily the page: https://www.ariston-net.remotethermo.com/api/v2/ Guess that they will publish again API web page again later or on another URL string.

kilroy83 commented 4 months ago

Same here HA 2024.4.1

dtalens commented 4 months ago

Same here, ariston server issue? HA 2024.4.1

fustom commented 4 months ago

Ok I found the issue. Ariston blocked the python client. I don't know why.

Dear Ariston, Please send me an email if you have a problem with this integration. Thanks!

Sorry, but I have a workaround.

vlad36N commented 4 months ago

Ok I found the issue. Ariston blocked the python client. I don't know why.

Dear Ariston, Please send me an email if you have a problem with this integration. Thanks!

Sorry, but I have a workaround.

Hi, What is workaround?

Thank you

dtalens commented 4 months ago

Hi @fustom,

Would it be possible to do local integration to avoid blocking? I guess it must require reverse engineering. I'm not a developer but I can help with testing.

fustom commented 4 months ago

Fixed.

vlad36N commented 4 months ago

Hi @fustom,

Would it be possible to do local integration to avoid blocking? I guess it must require reverse engineering. I'm not a developer but I can help with testing.

Hi @dtalens

Check https://github.com/fustom/ariston-remotethermo-home-assistant-v3/issues/272

lakusz1github commented 4 months ago

fixed, thx!

vlad36N commented 4 months ago

Fixed.

Working. Thank you

dtalens commented 4 months ago

Working again, thx!

lnx85 commented 4 months ago

Great! Thank you!

Patbonamy commented 4 months ago

Hi @fustom, Would it be possible to do local integration to avoid blocking? I guess it must require reverse engineering. I'm not a developer but I can help with testing.

Hi @dtalens

Check https://github.com/fustom/ariston-remotethermo-home-assistant-v3/issues/272

Link is not working The good one: https://github.com/fustom/ariston-remotethermo-home-assistant-v3/issues/272#issue-2076095816

Patbonamy commented 4 months ago

Fixed.

😊