-
Notifications
You must be signed in to change notification settings - Fork 40
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] Requests are blocked for xx seconds #362
Comments
|
ariston answered me like this: Gentile utente, il problema è causato dall'utilizzo delle API per un software di terze parti. E' necessario evitare di utilizzarlo. Cordialmente, Support TEam |
Same problem here ilgio.. did you find any solution? Also the mobile app is not working.. Ho lo stesso problema.. ma anche l'app da cellualare non va nonotante abbia disattivapo l'integrazione da giorni, ancora non si collega. |
turn off the boiler for an hour, then turn it back on |
Same problem. remote thermo web page is working but mobile app and homeassistant integration not working. |
Someone try to use some specific user-agent o python request to "emulate" a browser o similar? Probably in that way we can avoid to have ip blocked for non standard user agent. |
Same (from Spain). |
I think, this issue should be raised to Ariston, becaus if they start to decline Home Assistant, then I will never buy again Ariston products. |
Aristo not support today and will not support home Assistant, as already shared in all reply email present in this issue and other. |
same here (portugal). My ariston app also says "device online but cannot retrieve info" Edit: Ariston support was useless but I managed to get it working, I disabled ariston integration on HA, unplugged my Velis wifi from the wall, waited all night, turned on this morning, activated the integration and it's now working normally. I belive my ip was indeed blocked due too many requests. |
It is not a blocked IP, it seems that it is a user block because if you change your public IP it does not work. You must stop the HA integration for a while and then start it again. I bought Ariston because I could integrate with HA but it is not compatible with Ariston... The support has a prototype answer... "only with official APP, Google, Alexa..." |
If i change my ip at home and stop the integration, all thing Return to works as expected. Now I'm testing a "custom" user agent inside the python library used by thin integration, manually change the python conde. |
Changed user-agent locally into python library (with browser user agent) fix the issue on my home. |
@tanganellilore Thanks for making that available to us all. What custom user agent did you use? Just some random string? |
Hi @nevadascout, I want to reduce the seconds but is enought to me those infor |
Dear, GRAZIE! At first thank you for making this possible. I found this section in const.py DOMAIN: Final[str] = "ariston" DEFAULT_SCAN_INTERVAL_SECONDS: Final[int] = 300 Should I change this line -> API_USER_AGENT: Final[str] = "api_user_agent" ? Last but not least, are these scan / energy / errors scan intervals ok if set to 300 / 30 / 600 ? Thank you again |
@Oneshotblu reconfifuring integration will prompt you the Username, password and user agent. So change it from the form. For params i used 300/60/2400 (no much important to me the error bus info). |
@tanganellilore Thank you very much. it works now. Saluti |
Hi, Use this site to retrieve your user agent: https://user-agent-generator-220418.netlify.app/ Moreover, che ha logs, to see ifrequest go in timeout. This is a real problem that ariston don't wont resolve and this is why the Force us to use app, homekit or webapp |
First of all please check my wikipage: https://github.com/fustom/ariston-remotethermo-home-assistant-v3/wiki and the previous issues (included the closed ones) before you create a new one.
Describe the bug
I m getting blocked by api because of an error
Expected behavior
Screenshots
This error originated from a custom integration.
Logger: custom_components.ariston.coordinator
Source: helpers/update_coordinator.py:312
integration: Ariston (documentation, issues)
First occurred: September 23, 2024 at 3:37:24 PM (130 occurrences)
Last logged: 12:11:37 AM
Unexpected error fetching ariston-WaterHeater-coordinator data
Unexpected error fetching ariston-WaterHeater-bus_errors_coordinator data
Unexpected error fetching ariston-WaterHeater-energy_coordinator data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 312, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 268, in _async_update_data
return await self.update_method()
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ariston/galevo_device.py", line 105, in async_update_state
(self.data, self.menu_items) = await asyncio.gather(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/ariston/ariston_api.py", line 637, in async_get_menu_items
items = 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 for 66 seconds')
Environment (please complete the following information):
Additional context, debug log
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: