SolarEdge - variable / configurable update intervals

The Solaredge integration is currently hardcoded to request API updates every 15 minutes. This is to ensure that the user does not exceed the 300 API access limit per day.

While 15 mins is fine for a lot of people, it would be good to allow a dynamic configuration of update frequency. For example, during 9am-5pm when generation and consumption usage are most important, it would be good to allow 5 min update intervals at the expense of a lower update interval (say 30mins) between 12am and 9am when the inverter is effectively not being used. Alternative the “peak hour” window could be user-defined.

Having more frequent updates will allow better use of automations and alerts to control energy usage (particularly in my case where are a billed based on maximum demand during a 30 min window in peak times).

I would suggest this be allowed to be configured during setup or alternatively via YAML in the configuration.

Or you can base the value on sunrise and sunset. And a logic dynamically calculates the query time interval in order not to query over the 300 API.

1 Like

This one might be better for you

It’s local so no api limit.
There are a few integrations on hacs. Which you can choose from.

Except that requires you to have one of the SE inverters that support local connections. That was supported on earlier models but these have not had local access disabled through FW updates and the newer ones are cloud-only.

If I were you I would check, it can be that you are correct, but I know for a fact that for some models the claim to be cloud only, still you can activate local modbus using
EXEC [salesorders].[Validation]
also you could always convert modbus over 485 to ethernet, but that might be more technical.
your inverter should have modbus at least, else you can never connect it to a battery.

I’ve had an SE12.5K for 2 weeks and I access the signals locally via Modbus every 5 seconds. Can’t be done via the cloud. The optimizer query only works via the cloud. And here an adjustment of the query interval would be desirable.

You could design the queries so that they are queried dynamically between sunrise and sunset. This would significantly increase the level of detail. I tested it. When I restart the integration, new values are always displayed. Also every 5 minutes.

Modbus works fine locally. This is my integration I developed and use on my home system. You do have to go into the inverter to enable Modbus connections first.