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

[BUG] async error #372

Open
dsmagghe opened this issue Nov 11, 2024 · 9 comments
Open

[BUG] async error #372

dsmagghe opened this issue Nov 11, 2024 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@dsmagghe
Copy link

a couple of days ago since this error occured.
Think it is a modification on the side of the Ariston api

2024-11-11 17:51:54.878 ERROR (MainThread) [custom_components.ariston]
Traceback (most recent call last):
File "/config/custom_components/ariston/init.py", line 91, in async_setup_entry
await device.async_get_features()
File "/usr/local/lib/python3.12/site-packages/ariston/velis_base_device.py", line 91, in async_get_features
await super().async_get_features()
File "/usr/local/lib/python3.12/site-packages/ariston/base_device.py", line 133, in async_get_features
features = await self.api.async_get_features_for_device(self.gw)

@dsmagghe dsmagghe added the bug Something isn't working label Nov 11, 2024
@iamnague
Copy link

Somehting wrong from my side also, starting couple days ago. Moreover I'm not able to use the phone app when HA integration is enable after few minutes. To restore the phone app, need to turn off integration, and turn off my heater wifi for 30min.

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 354, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 271, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ariston/velis_base_device.py", line 48, in async_update_state
self.data = await self.api.async_get_velis_plant_data(self.plant_data, self.gw)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ariston/ariston_api.py", line 617, in async_get_velis_plant_data
med_plant_data = await self._async_get(
^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ariston/ariston_api.py", line 930, in _async_get
return await self.__async_request("GET", path, params, None)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ariston/ariston_api.py", line 906, in __async_request
raise Exception(response.status, content)
Exception: (429, b'Requests are blocked')

@Yann0128
Copy link

Yann0128 commented Nov 12, 2024

Bonjour,
Je rencontre le même problème. Je n’ai plus eu d’accès aux infos ni sur HA ni sur l’appli Ariston. J’ai contacté le SAV d’Ariston et ils m’ont confirmé que c’était lié à l’utilisation d’un service tiers (cette intégration sur HA). J’ai désactivé l’intégration dans HA, patienté 30 minutes et j’avais à nouveau les donnés dans l’application Ariston.
pourvu que cela puisse être corrigé 🤞

IMG_8498
IMG_8484

@iamnague
Copy link

So, this is a decision by ARISTON to block HA integration. Maybe we can try to adjust the polling interval ?

@Manf-DB
Copy link

Manf-DB commented Nov 13, 2024

I have the same problem. No connection with the app for the past week. I conctacted ariston assistence and they told me that from their side it's all ok. They "suggested" me not to use third part app. I have disabled yesterday this integration and now I can access via ariston app.

@Yann0128
Copy link

So, this is a decision by ARISTON to block HA integration. Maybe we can try to adjust the polling interval ?

Did you try it ? Does it works ?

@daouda40
Copy link

I noticed this problem, I had adjusted the polling some time ago.
I only use the Ariston app on my phone on 4g, (not my residential IP), or else both the app and the integration are blocked for some time.

Screenshot_2024-11-15-10-34-35-231_io homeassistant companion android

@iamnague
Copy link

So, this is a decision by ARISTON to block HA integration. Maybe we can try to adjust the polling interval ?

Did you try it ? Does it works ?

Yes it works ! I set the zone scan interval to 1800s and no more issue. Obviously a lower value is possible. I'll try 360 like @daouda40.

@Yann0128
Copy link

I’ll try it too. Thanks for the advice !

@dsmagghe
Copy link
Author

there support told me we shouldn't use homeassistant integration...because it was not supported by them. Isn't there a way to use google home instead and have google home integrate it into homeassistant? Because that is supported from ariston, and as I understand then they would not block it because it came from google ip addresses?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants