Coder Social home page Coder Social logo

Comments (21)

kzajac83 avatar kzajac83 commented on September 22, 2024 1

Seems is working, more than 1 day and no errors, thank you

from homeassistant-fusionsolar.

tijsverkoyen avatar tijsverkoyen commented on September 22, 2024

Are you 100% sure that this is the only integration that is using your OpenAPI credentials?

As the interval is

update_interval=timedelta(seconds=600),
. You could try to increase that to 900

from homeassistant-fusionsolar.

kzajac83 avatar kzajac83 commented on September 22, 2024

Yes, I'm sure. I create one account and connect to your add-on:
image

In Fusion Solar add-on have 3 items:

image
General as I see, update from inverter is every 5 min then 600s=10min seems is good value for refresh

But cannot locate sensor.py file, have only:

image

BTW - should I allow steering update of entities to HA??

image

from homeassistant-fusionsolar.

danielhunt avatar danielhunt commented on September 22, 2024

fwiw I am also seeing this flooding my logfiles since installing the integration

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 250, in _async_refresh
self.data = await self._async_update_data()
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 206, in _async_update_data
return await self.update_method()
File "/config/custom_components/fusion_solar/sensor.py", line 655, in async_update_station_year_kpi_data
response = await hass.async_add_executor_job(api.get_kpi_station_year, station_codes)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/fusion_solar/fusion_solar/openapi/openapi_api.py", line 125, in get_kpi_station_year
response = self._do_call(url, json)
File "/config/custom_components/fusion_solar/fusion_solar/openapi/openapi_api.py", line 194, in _do_call
raise FusionSolarOpenApiAccessFrequencyTooHighError(
custom_components.fusion_solar.fusion_solar.openapi.openapi_api.FusionSolarOpenApiAccessFrequencyTooHighError: Access frequency to high. failCode: 407, message: ACCESS_FREQUENCY_IS_TOO_HIGH
2023-04-21 15:12:14.391 ERROR (MainThread) [custom_components.fusion_solar.sensor] Unexpected error fetching FusionSolarOpenAPIStationYearKpi data: Access frequency to high. failCode: 407, message: ACCESS_FREQUENCY_IS_TOO_HIGH

(this is the only thing that is using that API)

from homeassistant-fusionsolar.

tijsverkoyen avatar tijsverkoyen commented on September 22, 2024

I will need to look into this. Probably I will need to port the delay method.
But I won't have time this week.

from homeassistant-fusionsolar.

danielhunt avatar danielhunt commented on September 22, 2024

Thank you - I appreciate your time on this.
Let me know if there's anything I can do to help, or other information I can gather that might help 👍

from homeassistant-fusionsolar.

tijsverkoyen avatar tijsverkoyen commented on September 22, 2024

@danielhunt can you confirm it is get_kpi_station_year every time in the logs? And can you check if there are 600second (5minutes) in between these log entries?

from homeassistant-fusionsolar.

kzajac83 avatar kzajac83 commented on September 22, 2024

Let's wait for @danielhunt, my frequency of below error msg is

2023-04-22 13:05:10.485 ERROR (MainThread) [custom_components.fusion_solar.sensor] Unexpected error fetching FusionSolarOpenAPIStationYearKpi data: Access frequency to high. failCode: 407, message: ACCESS_FREQUENCY_IS_TOO_HIGH

04.22.2023 13:05:10 Dif time= 00:20:02
04.22.2023 13:25:12 Dif time= 00:10:00
04.22.2023 13:35:12 Dif time= 00:10:00
04.22.2023 13:45:12 Dif time= 00:10:00
04.22.2023 13:55:12 Dif time= 00:20:00
04.22.2023 14:15:12 Dif time= 00:10:00
04.22.2023 14:25:12 Dif time= 00:10:00
04.22.2023 14:35:12 Dif time= 00:10:00
04.22.2023 14:45:12 Dif time= 00:10:00
04.22.2023 14:55:12 Dif time= 00:20:00
04.22.2023 15:15:12 Dif time= 00:10:00
04.22.2023 15:25:12 Dif time= 00:10:00
04.22.2023 15:35:12 Dif time= 00:10:00
04.22.2023 15:45:12 Dif time= 00:20:00
04.22.2023 16:05:12 Dif time= 00:10:00
04.22.2023 16:15:12 Dif time= 00:10:00
04.22.2023 16:25:12 Dif time= 00:10:00
04.22.2023 16:35:12 Dif time= 00:10:00
04.22.2023 16:45:12 Dif time= 00:20:00
04.22.2023 17:05:12 Dif time= 00:10:00
04.22.2023 17:15:12 Dif time= 00:10:00
04.22.2023 17:25:12 Dif time= 00:10:00
04.22.2023 17:35:12 Dif time= 00:20:00
04.22.2023 17:55:12 Dif time= 00:10:00
04.22.2023 18:05:12 Dif time= 00:10:00
04.22.2023 18:15:12 Dif time= 00:10:00
04.22.2023 18:25:12 Dif time= 00:10:00
04.22.2023 18:35:12 Dif time= 00:20:00
04.22.2023 18:55:12 Dif time= 00:10:00
04.22.2023 19:05:12 Dif time= 00:10:00
04.22.2023 19:15:12 Dif time= 00:10:00
04.22.2023 19:25:12 Dif time= 00:20:00
04.22.2023 19:45:12 Dif time= 00:10:00
04.22.2023 19:55:12 Dif time= 00:10:00
04.22.2023 20:05:12 Dif time= 00:10:00
04.22.2023 20:15:12 Dif time= 00:10:00
04.22.2023 20:25:12 Dif time= 00:20:00
04.22.2023 20:45:12 Dif time= 00:10:00
04.22.2023 20:55:12 Dif time= 00:10:00
04.22.2023 21:05:12 Dif time= 00:10:00
04.22.2023 21:15:12 Dif time= 00:20:00
04.22.2023 21:35:12 Dif time= 00:10:00
04.22.2023 21:45:12 Dif time= 00:10:00
04.22.2023 21:55:12 Dif time= 00:10:00
04.22.2023 22:05:12 Dif time= 00:10:00
04.22.2023 22:15:12 Dif time= 00:20:00
04.22.2023 22:35:12 Dif time= 00:10:00
04.22.2023 22:45:12 Dif time= 00:10:00
04.22.2023 22:55:12 Dif time= 00:10:00
04.22.2023 23:05:12 Dif time= 00:10:00
04.22.2023 23:15:12 Dif time= 00:20:00
04.22.2023 23:35:12 Dif time= 00:10:00
04.22.2023 23:45:12 Dif time= 00:10:00
04.22.2023 23:55:12 Dif time= ###############################################################################################################################################################################################################################################################
04.23.2023 00:05:12 Dif time= 00:20:00
04.23.2023 00:25:12 Dif time= 00:10:00
04.23.2023 00:35:12 Dif time= 00:10:00
04.23.2023 00:45:12 Dif time= 00:10:00
04.23.2023 00:55:12 Dif time= 00:10:00
04.23.2023 01:05:12 Dif time= 00:20:00
04.23.2023 01:25:12 Dif time= 00:10:00
04.23.2023 01:35:12 Dif time= 00:10:00
04.23.2023 01:45:12 Dif time= 00:10:00
04.23.2023 01:55:12 Dif time= 00:20:00
04.23.2023 02:15:12 Dif time= 00:10:00
04.23.2023 02:25:12 Dif time= 00:10:00
04.23.2023 02:35:12 Dif time= 00:10:00
04.23.2023 02:45:12 Dif time= 00:10:00
04.23.2023 02:55:12 Dif time= 00:20:00
04.23.2023 03:15:12 Dif time= 00:10:00
04.23.2023 03:25:12 Dif time= 00:10:00
04.23.2023 03:35:12 Dif time= 00:10:00
04.23.2023 03:45:12 Dif time= 00:20:00
04.23.2023 04:05:12 Dif time= 00:10:00
04.23.2023 04:15:12 Dif time= 00:10:00
04.23.2023 04:25:12 Dif time= 00:10:00
04.23.2023 04:35:12 Dif time= 00:10:00
04.23.2023 04:45:12 Dif time= 00:20:00
04.23.2023 05:05:12 Dif time= 00:10:00
04.23.2023 05:15:12 Dif time= 00:10:00
04.23.2023 05:25:12 Dif time= 00:10:00
04.23.2023 05:35:12 Dif time= 00:20:00
04.23.2023 05:55:12 Dif time= 00:10:00
04.23.2023 06:05:12 Dif time= 00:10:00
04.23.2023 06:15:12 Dif time= 00:10:00
04.23.2023 06:25:12 Dif time= 00:10:00
04.23.2023 06:35:12 Dif time= 00:20:00
04.23.2023 06:55:12 Dif time= 00:10:00
04.23.2023 07:05:12 Dif time= 00:10:00
04.23.2023 07:15:12 Dif time= 00:10:00
04.23.2023 07:25:12 Dif time= 00:20:00
04.23.2023 07:45:12 Dif time= 00:10:00
04.23.2023 07:55:12 Dif time= 00:10:00
04.23.2023 08:05:12 Dif time= 00:10:00
04.23.2023 08:15:12 Dif time= 00:10:00
04.23.2023 08:25:12 Dif time= 00:20:00
04.23.2023 08:45:12 Dif time= 00:10:00
04.23.2023 08:55:12 Dif time= 00:10:00
04.23.2023 09:05:12 Dif time= 00:10:00
04.23.2023 09:15:12 Dif time= 00:20:00
04.23.2023 09:35:12 Dif time= 00:10:00
04.23.2023 09:45:12 Dif time= 00:10:00
04.23.2023 09:55:12 Dif time= 00:10:00
04.23.2023 10:05:12 Dif time= 00:10:00
04.23.2023 10:15:12 Dif time= 00:20:00
04.23.2023 10:35:12 Dif time= 00:10:00
04.23.2023 10:45:12 Dif time= 00:10:00
04.23.2023 10:55:12 Dif time= 00:10:00
04.23.2023 11:05:12 Dif time= 00:10:00
04.23.2023 11:15:12 Dif time= 00:20:00
04.23.2023 11:35:12 Dif time= 00:10:00
04.23.2023 11:45:12 Dif time= 00:10:00
04.23.2023 11:55:12 Dif time= 00:10:00
04.23.2023 12:05:12 Dif time= 00:20:00
04.23.2023 12:25:12 Dif time= 00:10:00
04.23.2023 12:35:12 Dif time= 00:10:00
04.23.2023 12:45:12 Dif time= 00:10:00
04.23.2023 12:55:12 Dif time= 00:10:00
04.23.2023 13:05:12 Dif time= 00:20:00
04.23.2023 13:25:12 Dif time= 00:10:00
04.23.2023 13:35:12 Dif time= 00:10:00
04.23.2023 13:45:12 Dif time= 00:10:00
04.23.2023 13:55:12 Dif time= 00:20:00
04.23.2023 14:15:12 Dif time= 00:10:00
04.23.2023 14:25:12 Dif time= 00:10:00
04.23.2023 14:35:12 Dif time= 00:10:00
04.23.2023 14:45:12 Dif time= 00:10:00
04.23.2023 14:55:12 Dif time= 00:20:00
04.23.2023 15:15:12 Dif time= 00:10:00
04.23.2023 15:25:12 Dif time= 00:10:00
04.23.2023 15:35:12 Dif time= 00:10:00
04.23.2023 15:45:12 Dif time= 00:20:00
04.23.2023 16:05:12 Dif time= 00:10:00
04.23.2023 16:15:12 Dif time= 00:10:00
04.23.2023 16:25:12 Dif time= 00:10:00
04.23.2023 16:35:12 Dif time= 00:10:00
04.23.2023 16:45:12 Dif time= 00:20:00
04.23.2023 17:05:12 Dif time= 00:10:00
04.23.2023 17:15:12 Dif time= 00:10:00
04.23.2023 17:25:12 Dif time= 00:10:00
04.23.2023 17:35:12 Dif time= 00:20:00
04.23.2023 17:55:12 Dif time= 00:10:00
04.23.2023 18:05:12 Dif time= 00:10:00
04.23.2023 18:15:12 Dif time= 00:10:00
04.23.2023 18:25:12 Dif time= 00:10:00
04.23.2023 18:35:12 Dif time= 00:20:00
04.23.2023 18:55:12 Dif time= 00:10:00
04.23.2023 19:05:12 Dif time= 00:10:00
04.23.2023 19:15:12 Dif time= 00:10:00
04.23.2023 19:25:12 Dif time= 00:20:00
04.23.2023 19:45:12 Dif time= 00:10:00
04.23.2023 19:55:12 Dif time= 00:10:00
04.23.2023 20:05:12 Dif time= 00:10:00
04.23.2023 20:15:12 Dif time= 00:10:00
04.23.2023 20:25:12 Dif time= 00:20:00
04.23.2023 20:45:12 Dif time= 00:10:00
04.23.2023 20:55:12 Dif time= 00:10:00
04.23.2023 21:05:12 Dif time= 00:10:00
04.23.2023 21:15:12 Dif time= 00:20:00
04.23.2023 21:35:12 Dif time= 00:10:00
04.23.2023 21:45:12 Dif time= 00:10:00
04.23.2023 21:55:12 Dif time= 00:10:00
04.23.2023 22:05:12 Dif time= 00:10:00
04.23.2023 22:15:12 Dif time= 00:20:00
04.23.2023 22:35:12 Dif time= 00:10:00
04.23.2023 22:45:12 Dif time= 00:10:00
04.23.2023 22:55:12 Dif time= 00:10:00
04.23.2023 23:05:12 Dif time= 00:10:00
04.23.2023 23:15:12 Dif time= 00:20:00
04.23.2023 23:35:12 Dif time= 00:10:00
04.23.2023 23:45:12 Dif time= 00:10:00
04.23.2023 23:55:12 Dif time= ###############################################################################################################################################################################################################################################################
04.24.2023 00:05:12 Dif time= 00:20:00
04.24.2023 00:25:12 Dif time= 00:10:00
04.24.2023 00:35:12 Dif time= 00:10:00
04.24.2023 00:45:12 Dif time= 00:10:00
04.24.2023 00:55:12 Dif time= 00:10:00
04.24.2023 01:05:12 Dif time= 00:20:00
04.24.2023 01:25:12 Dif time= 00:10:00
04.24.2023 01:35:12 Dif time= 00:10:00
04.24.2023 01:45:12 Dif time= 00:10:00
04.24.2023 01:55:12 Dif time= 00:20:00
04.24.2023 02:15:12 Dif time= 00:10:00
04.24.2023 02:25:12 Dif time= 00:10:00
04.24.2023 02:35:12 Dif time= 00:10:00
04.24.2023 02:45:12 Dif time= 00:10:00
04.24.2023 02:55:12 Dif time= 00:20:00
04.24.2023 03:15:12 Dif time= 00:10:00
04.24.2023 03:25:12 Dif time= 00:10:00
04.24.2023 03:35:12 Dif time= 00:10:00
04.24.2023 03:45:12 Dif time= 00:20:00
04.24.2023 04:05:12 Dif time= 00:10:00
04.24.2023 04:15:12 Dif time= 00:10:00
04.24.2023 04:25:12 Dif time= 00:10:00
04.24.2023 04:35:12 Dif time= 00:10:00
04.24.2023 04:45:12 Dif time= 00:20:00
04.24.2023 05:05:12 Dif time= 00:10:00
04.24.2023 05:15:12 Dif time= 00:10:00
04.24.2023 05:25:12 Dif time= 00:10:00
04.24.2023 05:35:12 Dif time= 00:20:00
04.24.2023 05:55:12 Dif time= 00:10:00
04.24.2023 06:05:12 Dif time= 00:10:00
04.24.2023 06:15:12 Dif time= 00:10:00
04.24.2023 06:25:12 Dif time= 00:10:00
04.24.2023 06:35:12 Dif time= 00:20:00
04.24.2023 06:55:12 Dif time= 00:10:00
04.24.2023 07:05:12 Dif time= 00:10:00
04.24.2023 07:15:12 Dif time= 00:10:00
04.24.2023 07:25:12 Dif time= 00:20:00
04.24.2023 07:45:12 Dif time= 00:10:00
04.24.2023 07:55:12 Dif time= 00:10:00
04.24.2023 08:05:12 Dif time= 00:10:00
04.24.2023 08:15:12 Dif time= 00:10:00
04.24.2023 08:25:12 Dif time= 00:20:00
04.24.2023 08:45:12 Dif time= 00:10:00
04.24.2023 08:55:12 Dif time= 00:10:00
04.24.2023 09:05:12 Dif time= 00:10:00
04.24.2023 09:15:12 Dif time= 00:20:00
04.24.2023 09:35:12 Dif time= 00:10:00
04.24.2023 09:45:12 Dif time= 00:10:00
04.24.2023 09:55:12 Dif time= 00:10:00
04.24.2023 10:05:12 Dif time= 00:10:00
04.24.2023 10:15:12 Dif time= 00:20:00
04.24.2023 10:35:12 Dif time= 00:10:00
04.24.2023 10:45:12 Dif time= 00:10:00
04.24.2023 10:55:12 Dif time= 00:10:00
04.24.2023 11:05:12 Dif time= 00:10:00
04.24.2023 11:15:12 Dif time= 00:20:00
04.24.2023 11:35:12 Dif time= 00:10:00
04.24.2023 11:45:12 Dif time= 00:10:00
04.24.2023 11:55:12 Dif time= 00:10:00
04.24.2023 12:05:12 Dif time= 00:20:00
04.24.2023 12:25:12 Dif time= 00:10:00
04.24.2023 12:35:12 Dif time= 00:10:00
04.24.2023 12:45:12 Dif time= 00:10:00
04.24.2023 12:55:12 Dif time= 00:10:00
04.24.2023 13:05:12 Dif time= 00:20:00
04.24.2023 13:25:12 Dif time= 00:10:00
04.24.2023 13:35:12 Dif time= 00:10:00
04.24.2023 13:45:12 Dif time= 00:10:00
04.24.2023 13:55:12 Dif time= 00:20:00
04.24.2023 14:15:12 Dif time= 00:10:00
04.24.2023 14:25:12 Dif time= 00:10:00
04.24.2023 14:35:12 Dif time= 00:10:00
04.24.2023 14:45:12 Dif time= 00:10:00
04.24.2023 14:55:12 Dif time= 00:20:00
04.24.2023 15:15:12 Dif time= 00:10:00
04.24.2023 15:25:12 Dif time= 00:10:00
04.24.2023 15:35:12 Dif time= 00:10:00
04.24.2023 15:45:12 Dif time= 00:20:00
04.24.2023 16:05:12 Dif time= 00:10:00
04.24.2023 16:15:12 Dif time= 00:10:00
04.24.2023 16:25:12 Dif time= 00:10:00
04.24.2023 16:35:12 Dif time= 00:10:00
04.24.2023 16:45:12 Dif time= 00:20:00
04.24.2023 17:05:12 Dif time= 00:10:00
04.24.2023 17:15:12 Dif time= 00:10:00
04.24.2023 17:25:12 Dif time= 00:10:00
04.24.2023 17:35:12 Dif time= 00:20:00
04.24.2023 17:55:12 Dif time= 00:10:00
04.24.2023 18:05:12 Dif time= 00:10:00
04.24.2023 18:15:12 Dif time= 00:10:00
04.24.2023 18:25:12 Dif time= 00:10:00
04.24.2023 18:35:12 Dif time= 00:20:00
04.24.2023 18:55:12 Dif time= 00:10:00
04.24.2023 19:05:12 Dif time= 00:10:00
04.24.2023 19:15:12 Dif time= 00:10:00
04.24.2023 19:25:12 Dif time= 00:20:00
04.24.2023 19:45:12 Dif time= 00:10:00
04.24.2023 19:55:12 Dif time= 00:10:00
04.24.2023 20:05:12 Dif time= 00:10:00
04.24.2023 20:15:12 Dif time= 00:10:00
04.24.2023 20:25:12 Dif time= 00:20:00
04.24.2023 20:45:12 Dif time= 00:10:00
04.24.2023 20:55:12 Dif time= 00:10:00
04.24.2023 21:05:12 Dif time= 00:10:00
04.24.2023 21:15:12 Dif time= 00:20:00
04.24.2023 21:35:12 Dif time= 00:10:00
04.24.2023 21:45:12 Dif time= 00:10:00
04.24.2023 21:55:12 Dif time= 00:10:00
04.24.2023 22:05:12 Dif time= 00:10:00
04.24.2023 22:15:12 Dif time= 00:20:00
04.24.2023 22:35:12 Dif time= 00:10:00
04.24.2023 22:45:12 Dif time= 00:10:00
04.24.2023 22:55:12 Dif time= 00:10:00
04.24.2023 23:05:12 Dif time= 00:10:00
04.24.2023 23:15:12 Dif time= 00:20:00
04.24.2023 23:35:12 Dif time= 00:10:00
04.24.2023 23:45:12 Dif time= 00:10:00
04.24.2023 23:55:12 Dif time= ###############################################################################################################################################################################################################################################################
04.25.2023 00:05:12 Dif time= 00:20:00
04.25.2023 00:25:12 Dif time= 00:10:00
04.25.2023 00:35:12 Dif time= 00:10:00
04.25.2023 00:45:12 Dif time= 00:10:00
04.25.2023 00:55:12 Dif time= 00:10:00
04.25.2023 01:05:12 Dif time= 00:20:00
04.25.2023 01:25:12 Dif time= 00:10:00
04.25.2023 01:35:12 Dif time= 00:10:00
04.25.2023 01:45:12 Dif time= 00:10:00
04.25.2023 01:55:12 Dif time= 00:20:00
04.25.2023 02:15:12 Dif time= 00:10:00
04.25.2023 02:25:12 Dif time= 00:10:00
04.25.2023 02:35:12 Dif time= 00:10:00
04.25.2023 02:45:12 Dif time= 00:10:00
04.25.2023 02:55:12 Dif time= 00:20:00
04.25.2023 03:15:12 Dif time= 00:10:00
04.25.2023 03:25:12 Dif time= 00:10:00
04.25.2023 03:35:12 Dif time= 00:10:00
04.25.2023 03:45:12 Dif time= 00:20:00
04.25.2023 04:05:12 Dif time= 00:10:00
04.25.2023 04:15:12 Dif time= 00:10:00
04.25.2023 04:25:12 Dif time= 00:10:00
04.25.2023 04:35:12 Dif time= 00:10:00
04.25.2023 04:45:12 Dif time= 00:20:00
04.25.2023 05:05:12 Dif time= 00:10:00
04.25.2023 05:15:12 Dif time= 00:10:00
04.25.2023 05:25:12 Dif time= 00:10:00
04.25.2023 05:35:12 Dif time= 00:20:00
04.25.2023 05:55:12 Dif time= 00:10:00
04.25.2023 06:05:12 Dif time= 00:10:00
04.25.2023 06:15:12 Dif time= 00:10:00
04.25.2023 06:25:12 Dif time= 00:10:00
04.25.2023 06:35:12 Dif time= 00:20:00
04.25.2023 06:55:12 Dif time= 00:10:00
04.25.2023 07:05:12 Dif time= 00:10:00
04.25.2023 07:15:12 Dif time= 00:10:00
04.25.2023 07:25:12 Dif time= 00:20:00
04.25.2023 07:45:12 Dif time= 00:10:00
04.25.2023 07:55:12 Dif time= 00:10:00
04.25.2023 08:05:12 Dif time= 00:10:00
04.25.2023 08:15:12 Dif time= 00:10:00
04.25.2023 08:25:12 Dif time= 00:20:00
04.25.2023 08:45:12 Dif time= 00:10:00
04.25.2023 08:55:12 Dif time= 00:10:00
04.25.2023 09:05:12 Dif time= 00:10:00
04.25.2023 09:15:12 Dif time= 00:20:00
04.25.2023 09:35:12 Dif time= 00:10:00
04.25.2023 09:45:12 Dif time= 00:10:00
04.25.2023 09:55:12 Dif time= 00:10:00
04.25.2023 10:05:12 Dif time= 00:10:00
04.25.2023 10:15:12 Dif time= 00:20:00
04.25.2023 10:35:12 Dif time= 00:10:00
04.25.2023 10:45:12 Dif time= 00:10:00
04.25.2023 10:55:12 Dif time= 00:10:00
04.25.2023 11:05:12 Dif time= 00:10:00
04.25.2023 11:15:12 Dif time= 00:20:00
04.25.2023 11:35:12 Dif time= 00:10:00
04.25.2023 11:45:12 Dif time= 00:10:00
04.25.2023 11:55:12 Dif time= 00:10:00
04.25.2023 12:05:12 Dif time= 00:20:00
04.25.2023 12:25:12 Dif time= 00:10:00
04.25.2023 12:35:12 Dif time= 00:10:00
04.25.2023 12:45:12 Dif time= 00:10:00
04.25.2023 12:55:12 Dif time= 00:10:00
04.25.2023 13:05:12 Dif time= 00:20:00
04.25.2023 13:25:12 Dif time= 00:10:00
04.25.2023 13:35:12 Dif time= 00:10:00
04.25.2023 13:45:12 Dif time= 00:10:00
04.25.2023 13:55:12 Dif time= 00:20:00
04.25.2023 14:15:12 Dif time= 00:10:00
04.25.2023 14:25:12 Dif time= 00:10:00
04.25.2023 14:35:12 Dif time= 00:10:00
04.25.2023 14:45:12 Dif time= 00:10:00
04.25.2023 14:55:12 Dif time= 00:20:00
04.25.2023 15:15:12 Dif time= 00:10:00
04.25.2023 15:25:12 Dif time= 00:10:00
04.25.2023 15:35:12 Dif time= 00:10:00
04.25.2023 15:45:12 Dif time= 00:20:00
04.25.2023 16:05:12 Dif time= 00:10:00
04.25.2023 16:15:12 Dif time= 00:10:00
04.25.2023 16:25:12 Dif time= 00:10:00
04.25.2023 16:35:12 Dif time= 00:10:00
04.25.2023 16:45:12 Dif time= 00:20:00
04.25.2023 17:05:12 Dif time= 00:10:00
04.25.2023 17:15:12 Dif time= 00:10:00
04.25.2023 17:25:12 Dif time= 00:10:00
04.25.2023 17:35:12 Dif time= 00:20:00
04.25.2023 17:55:12 Dif time= 00:10:00
04.25.2023 18:05:12 Dif time= 00:10:00
04.25.2023 18:15:12 Dif time= 00:10:00
04.25.2023 18:25:12 Dif time= 00:10:00
04.25.2023 18:35:12 Dif time= 00:20:00
04.25.2023 18:55:12 Dif time= 00:10:00
04.25.2023 19:05:12 Dif time= 00:10:00
04.25.2023 19:15:12 Dif time= 00:10:00
04.25.2023 19:25:12 Dif time= 00:20:00
04.25.2023 19:45:12 Dif time= 00:10:00
04.25.2023 19:55:12 Dif time= 00:10:00
04.25.2023 20:05:12 Dif time= 00:10:00
04.25.2023 20:15:12 Dif time= 00:10:00
04.25.2023 20:25:12 Dif time= 00:20:00
04.25.2023 20:45:12 Dif time= 00:10:00
04.25.2023 20:55:12 Dif time= 00:10:00
04.25.2023 21:05:12 Dif time= 00:10:00
04.25.2023 21:15:12 Dif time= 00:20:00
04.25.2023 21:35:12 Dif time= 00:10:00
04.25.2023 21:45:12 Dif time= 00:10:00
04.25.2023 21:55:12 Dif time= 00:10:00
04.25.2023 22:05:12 Dif time= 00:10:00
04.25.2023 22:15:12 Dif time= 00:20:00
04.25.2023 22:35:12 Dif time= 00:10:00
04.25.2023 22:45:12 Dif time= 00:10:00
04.25.2023 22:55:12 Dif time= 00:10:00
04.25.2023 23:05:12 Dif time= 00:10:00
04.25.2023 23:15:12 Dif time= 00:20:00
04.25.2023 23:35:12 Dif time= 00:10:00
04.25.2023 23:45:12 Dif time= 00:10:00
04.25.2023 23:55:12 Dif time= ###############################################################################################################################################################################################################################################################
04.26.2023 00:05:12 Dif time= 00:20:00
04.26.2023 00:25:12 Dif time= 00:10:00
04.26.2023 00:35:12 Dif time= 00:10:00
04.26.2023 00:45:12 Dif time= 00:10:00
04.26.2023 00:55:12 Dif time= 00:10:00
04.26.2023 01:05:12 Dif time= 00:20:00
04.26.2023 01:25:12 Dif time= 00:10:00
04.26.2023 01:35:12 Dif time= 00:10:00
04.26.2023 01:45:12 Dif time= 00:10:00
04.26.2023 01:55:12 Dif time= 00:20:00
04.26.2023 02:15:12 Dif time= 00:10:00
04.26.2023 02:25:12 Dif time= 00:10:00
04.26.2023 02:35:12 Dif time= 00:10:00
04.26.2023 02:45:12 Dif time= 00:10:00
04.26.2023 02:55:12 Dif time= 00:20:00
04.26.2023 03:15:12 Dif time= 00:10:00
04.26.2023 03:25:12 Dif time= 00:10:00
04.26.2023 03:35:12 Dif time= 00:10:00
04.26.2023 03:45:12 Dif time= 00:20:00
04.26.2023 04:05:12 Dif time= 00:10:00
04.26.2023 04:15:12 Dif time= 00:10:00
04.26.2023 04:25:12 Dif time= 00:10:00
04.26.2023 04:35:12 Dif time= 00:10:00
04.26.2023 04:45:12 Dif time= 00:20:00
04.26.2023 05:05:12 Dif time= 00:10:00
04.26.2023 05:15:12 Dif time= 00:10:00
04.26.2023 05:25:12 Dif time= 00:10:00
04.26.2023 05:35:12 Dif time= 00:20:00
04.26.2023 05:55:12 Dif time= 00:10:00
04.26.2023 06:05:12 Dif time= 00:10:00
04.26.2023 06:15:12 Dif time= 00:10:00
04.26.2023 06:25:12 Dif time= 00:10:00
04.26.2023 06:35:12 Dif time= 00:20:00
04.26.2023 06:55:12 Dif time= 00:10:00
04.26.2023 07:05:12 Dif time= 00:10:00
04.26.2023 07:15:12 Dif time= 00:10:00
04.26.2023 07:25:12 Dif time= 00:20:00
04.26.2023 07:45:12 Dif time= 00:10:00
04.26.2023 07:55:12 Dif time= 00:10:00
04.26.2023 08:05:12 Dif time= 00:10:00
04.26.2023 08:15:12 Dif time= 00:10:00
04.26.2023 08:25:12 Dif time= 00:20:00
04.26.2023 08:45:12 Dif time= 00:10:00
04.26.2023 08:55:12 Dif time= 00:10:00
04.26.2023 09:05:12 Dif time= 00:10:00
04.26.2023 09:15:12 Dif time= 00:20:00
04.26.2023 09:35:12 Dif time= 00:10:00
04.26.2023 09:45:12 Dif time= 00:10:00
04.26.2023 09:55:12 Dif time= 00:10:00
04.26.2023 10:05:12 Dif time= 00:10:00
04.26.2023 10:15:12 Dif time= 00:20:00
04.26.2023 10:35:12 Dif time= 00:10:00
04.26.2023 10:45:12 Dif time= 00:10:00
04.26.2023 10:55:12 Dif time= 00:10:00
04.26.2023 11:05:12 Dif time= 00:10:00
04.26.2023 11:15:12 Dif time= 00:20:00
04.26.2023 11:35:12 Dif time= 00:10:00
04.26.2023 11:45:12 Dif time= 00:10:00
04.26.2023 11:55:12 Dif time= 00:10:00
04.26.2023 12:05:12 Dif time= 00:20:00
04.26.2023 12:25:12 Dif time= 00:10:00
04.26.2023 12:35:12 Dif time= 00:10:00
04.26.2023 12:45:12 Dif time= 00:10:00
04.26.2023 12:55:12 Dif time= 00:10:00
04.26.2023 13:05:12 Dif time= 00:20:00
04.26.2023 13:25:12 Dif time= 00:10:00
04.26.2023 13:35:12 Dif time= 00:10:00
04.26.2023 13:45:12 Dif time= 00:10:00
04.26.2023 13:55:12 Dif time= 00:20:00
04.26.2023 14:15:12 Dif time= 00:10:00
04.26.2023 14:25:12 Dif time= 00:10:00
04.26.2023 14:35:12 Dif time= 00:10:00
04.26.2023 14:45:12 Dif time= 00:10:00
04.26.2023 14:55:12 Dif time= 00:20:00
04.26.2023 15:15:12 Dif time= 00:10:00
04.26.2023 15:25:12 Dif time= 00:10:00
04.26.2023 15:35:12 Dif time= 00:10:00
04.26.2023 15:45:12 Dif time= 00:20:00
04.26.2023 16:05:12 Dif time= 00:10:00
04.26.2023 16:15:12 Dif time= 00:10:00
04.26.2023 16:25:12 Dif time= 00:10:00
04.26.2023 16:35:12 Dif time= 00:10:00
04.26.2023 16:45:12 Dif time= 00:20:00
04.26.2023 17:05:12 Dif time= 00:10:00
04.26.2023 17:15:12 Dif time= 00:10:00
04.26.2023 17:25:12 Dif time= 00:10:00
04.26.2023 17:35:12 Dif time= ###############################################################################################################################################################################################################################################################

from homeassistant-fusionsolar.

tijsverkoyen avatar tijsverkoyen commented on September 22, 2024

So there is exactly 10 minutes in between, which is expected
Could you try to change the following code on custom_components/fusion_solar/sensor.py line 76 from

update_interval=timedelta(seconds=600),

to

update_interval=timedelta(seconds=630),

from homeassistant-fusionsolar.

kzajac83 avatar kzajac83 commented on September 22, 2024

Done, should I restart HA ?

from homeassistant-fusionsolar.

danielhunt avatar danielhunt commented on September 22, 2024

get_kpi_station_year

Yup, every instance of the log entry refers to get_kpi_station_year

And on the topic of frequency:

...
2023-04-28 17:57:41.305
2023-04-28 18:17:41.313
2023-04-28 18:27:41.309
2023-04-28 18:37:41.343
2023-04-28 18:47:41.309
2023-04-28 18:57:41.297
2023-04-28 19:17:41.289
2023-04-28 19:27:41.307
...

... so it looks pretty identical to the samples given by @kzajac83

from homeassistant-fusionsolar.

kzajac83 avatar kzajac83 commented on September 22, 2024

Do not get answer should or not restart add-on or HA after change refers form 600 to 630 but I restart due to upgrade OS and after more then one day:

image

And for today (half of day) is

2023-05-01 00:38:22.576
2023-05-01 00:48:22.585
2023-05-01 00:58:22.625
2023-05-01 01:18:22.596
2023-05-01 01:28:22.597
2023-05-01 01:38:22.636
2023-05-01 01:48:22.607
2023-05-01 01:58:22.596
2023-05-01 02:18:22.586
2023-05-01 02:28:22.620
2023-05-01 02:38:22.619
2023-05-01 02:48:22.611
2023-05-01 03:08:22.609
2023-05-01 03:18:22.594
2023-05-01 03:28:22.628
2023-05-01 03:38:22.619
2023-05-01 03:48:22.634
2023-05-01 04:08:22.605
2023-05-01 04:18:22.627
2023-05-01 04:28:22.612
2023-05-01 04:38:22.630
2023-05-01 04:58:22.613
2023-05-01 05:08:22.689
2023-05-01 05:18:22.624
2023-05-01 05:28:22.611
2023-05-01 05:38:22.609
2023-05-01 05:58:22.601
2023-05-01 06:08:22.602
2023-05-01 06:18:22.620
2023-05-01 06:28:22.594
2023-05-01 06:38:22.609
2023-05-01 06:58:22.604
2023-05-01 07:08:22.612
2023-05-01 07:18:22.591
2023-05-01 07:28:22.590
2023-05-01 07:48:22.596
2023-05-01 07:58:22.601
2023-05-01 08:08:22.595
2023-05-01 08:18:22.602
2023-05-01 08:28:22.605
2023-05-01 08:48:22.595
2023-05-01 08:58:22.599
2023-05-01 09:08:22.599
2023-05-01 09:18:22.592
2023-05-01 09:38:22.632
2023-05-01 09:48:22.599
2023-05-01 09:58:22.611
2023-05-01 10:08:22.597
2023-05-01 10:18:22.584
2023-05-01 10:38:22.589
2023-05-01 10:48:22.597
2023-05-01 10:58:22.598
2023-05-01 11:08:22.608
2023-05-01 11:28:22.607
2023-05-01 11:38:22.599
2023-05-01 11:48:22.633
2023-05-01 11:58:22.611
2023-05-01 12:08:22.594
2023-05-01 12:28:22.609
2023-05-01 12:38:22.591
2023-05-01 12:48:22.610
2023-05-01 12:58:22.599
2023-05-01 13:18:22.593
2023-05-01 13:28:22.568
2023-05-01 13:38:22.773
2023-05-01 13:48:22.591

image

from homeassistant-fusionsolar.

tijsverkoyen avatar tijsverkoyen commented on September 22, 2024

Could you contact [email protected] and ask them what the actual rate limit is for you. As it seems that it is less then 10minutes.

from homeassistant-fusionsolar.

mrkscn avatar mrkscn commented on September 22, 2024

Hi,

Just to note that I am receiving the same ACCESS_FREQUENCY_IS_TOO_HIGH on the FusionSolarOpenAPIStationYearKpi call. I just got a new Northbound API account setup and have a fresh installation of HA and the plugin. Some of the information is populating - total current day energy (and month) and total lifetime from the plant, but the year is unknown. None of the values from the inverter, battery or meter are populating and all show "unknown".

from homeassistant-fusionsolar.

tijsverkoyen avatar tijsverkoyen commented on September 22, 2024

The warning "ACCESS_FREQUENCY_IS_TOO_HIGH" is not related to data not being shown.
Check, or let your installer check, that you have the correct access, see https://github.com/tijsverkoyen/HomeAssistant-FusionSolar#northbound-api--openapi

from homeassistant-fusionsolar.

danielhunt avatar danielhunt commented on September 22, 2024

@mrkscn I also had a fresh Northbound API account and plug-in install and experienced the same missing-entity and missing-data problem. I restarted HA and everything was working correctly more or less immediately after that.

Give a turn-it-off-and-on-again and see if that helps

from homeassistant-fusionsolar.

kzajac83 avatar kzajac83 commented on September 22, 2024

iMaster NetEco V600R023C00 Northbound Interface Reference-V6(SmartPVMS)_19.01.2023.pdf
iMaster NetEco V600R023C00 Northbound Interface Reference-V7(SmartPVMS)_19.01.2023.pdf
Dear All.

As suggest @tijsverkoyen I creat service request on Huawei portal and today got two PDF describling API , most important part is section "Traffic Limiting Policy"

from homeassistant-fusionsolar.

tijsverkoyen avatar tijsverkoyen commented on September 22, 2024

For "Yearly Plant Data Interface" (/thirdData/getKpiStationYear):

Traffic limiting is performed based on the number of plants managed by northbound API users. Number of northbound API calls per user per day = Roundup (Number of plants/100) + 24
Only one concurrent request is supported per minute.
If the access frequency exceeds the limit, the interface returns error code 407.

Example:

  • If a user manages 20 plants, the maximum number of API calls per day = Roundup (20/100) + 24 = 1 + 24 = 25.
  • If a user manages 120 plants, the maximum number of API calls per day = Roundup (120/100) + 24 = 2 + 24 = 26.

In essence this means that most people will have 1 plant = Roundup (1/100) + 24 = 1 + 24 = 25. So to be on the safe side the delta will need to change to 3600 instead of 600.

I will look into it. As there is also /thirdData/getStationRealKpi. But give me some time.

from homeassistant-fusionsolar.

kzajac83 avatar kzajac83 commented on September 22, 2024

Takie your time. In meantime ask if Huawei can increase updated rate and got answer:

For the moment is like this, but the RD team in the future work to make better this

from homeassistant-fusionsolar.

tijsverkoyen avatar tijsverkoyen commented on September 22, 2024

The total for the current year is only available in getKpiStationYear not in any other calls.
The only solution is to retrieve the data less, and according to the traffic limiting, so roughly once per hour.

See #93 for more details. I will do a release later today.

from homeassistant-fusionsolar.

tijsverkoyen avatar tijsverkoyen commented on September 22, 2024

Release https://github.com/tijsverkoyen/HomeAssistant-FusionSolar/releases/tag/v2.5.2 has been made.

from homeassistant-fusionsolar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.