drc38 / Fronius_solarweb

Home Assistant integration for cloud-based Fronius Solar.web api
MIT License
5 stars 5 forks source link

API Interval smaller than 10 min? #268

Open dietlman opened 3 months ago

dietlman commented 3 months ago

I have integrated Fronius_solarweb in my HA, looks like it refreshes only every 10 minutes, I could of course restart the integration using an automation if I wanted to have the numbers updated more frequently, but I was wondering if it is possible to set the interval shorter, like every 30 secs? Any ideas?

Thanks

drc38 commented 3 months ago

You can change SCAN_INTERVAL = timedelta(minutes=5) before doing so I suggest checking if Fronius has api call limits

dietlman commented 3 months ago

Ok thanks, could you please provide information where I need to add this parameter? I have a subscription with Fronius for api access, so there should be no limit. It looks like that the Solarweb integration only updates values randomly, but when I click on "Reload Integration" then it updates values immediately . I am also seeing quite many missing updates in the chart (screenshot attached) but this applies only to some sensors. Any ideas on what I could do to make this more reliable? Thanks

On Fri 28. Jun 2024 at 22:20, drc38 @.***> wrote:

You can change SCAN_INTERVAL = timedelta(minutes=5) before doing so I suggest checking if Fronius has api call limits

— Reply to this email directly, view it on GitHub https://github.com/drc38/Fronius_solarweb/issues/268#issuecomment-2197588279, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALQU5GWUNBCFBUEMNADCXQTZJXAQJAVCNFSM6AAAAABKBPYWTSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOJXGU4DQMRXHE . You are receiving this because you authored the thread.Message ID: @.***>