Skip to content

Polling time 15 min is to long - Need current data in shorter intervall for evcc #38595

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

Open
RG130 opened this issue Apr 17, 2025 · 3 comments
Open

Comments

@RG130
Copy link

RG130 commented Apr 17, 2025

Feedback

I want to use the data about the api to use it in evcc to control the charging of my car. First I tried to get the actual data from my inverters (I have 2 Inverters with seperate batteries) by Modbus TCP, but I only get the data from the master inverter. The data from the slave inverter are not available.
So I intend to use the data about the API connection.
The polling time 15 min is to long at day. At night it is ok and be longer, but at day (app. from 6am to 8pm) I need data minimum in 5 minutes.
Is it possible to shorten the polling intervall? If yes, how can I do it?

URL

https://www.home-assistant.io/integrations/solaredge/

Version

2025.4.2

Additional information

No response

@home-assistant
Copy link

Hey there @frenck, @bdraco, mind taking a look at this feedback as it has been labeled with an integration (solaredge) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of solaredge can trigger bot actions by commenting:

  • @home-assistant close Closes the feedback.
  • @home-assistant rename Awesome new title Renames the feedback.
  • @home-assistant reopen Reopen the feedback.
  • @home-assistant unassign solaredge Removes the current integration label and assignees on the feedback, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information) to the feedback.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information) on the feedback.

@Unostot
Copy link

Unostot commented Apr 22, 2025

Feedback

I want to use the data about the api to use it in evcc to control the charging of my car. First I tried to get the actual data from my inverters (I have 2 Inverters with seperate batteries) by Modbus TCP, but I only get the data from the master inverter. The data from the slave inverter are not available. So I intend to use the data about the API connection. The polling time 15 min is to long at day. At night it is ok and be longer, but at day (app. from 6am to 8pm) I need data minimum in 5 minutes. Is it possible to shorten the polling intervall? If yes, how can I do it?

URL

https://www.home-assistant.io/integrations/solaredge/

Version

2025.4.2

Additional information

No response

Hi,

I have a similar setup like you with two inverters. I use in addition to the solaredge api/app modbus tcp and the "solaredge multi" integration.
As stated in the documentation of "solaredge multi", the modbus device id is usually for all invertes 1 in the beginning, if the installateur does not already 'repair' this. Thats why you only see the first inverter via modbus. (since each modbus device needs to have its own id).
I was able at my site to change the modbus device Id of the second inverter, and now I can see both inverters.
Some of the example template sensors need to be adapter for multiple inverters, but this was not too difficult...

since the solaredge API has a rate limit, I don't think you can reduce the time between API calls to a level which you want or need for evcc. ("Data is updated every 15 minutes to stay within the daily rate limit of 300 requests per day.")

So depending on your use case I think either some clamp sensor on your power line e.g. to measure live outgoing power or getting all inverters via modbus is the more desireble and robust solution...

Greetings,
Uno

@RG130
Copy link
Author

RG130 commented Apr 22, 2025

Thank you for your answer. I solved the problem to use the dates from slave-inverter by modbus tcp. The slave-inverter has now id2 und the master-inverter id1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants