-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[solarforecast] suspend API calls over night #16728
Comments
The throttling of the free Solcast account is very strict and contains ~24 calls per day. 2 calls are necessary per plane so this will result into the default update frequency of 2 hours. Community discussion is already raised to find a better strategy like here and here. Also this enhancement was raised in my drop repo and I tranferred it to openHAB addons repo. My proposal:
|
Maybe offer three modes?
|
To be very honest I don't want to offer modes. Too much strategy possibilities and then binding is dependemt on Astro binding plus I've to maintain them.
I'm personally fine with the given |
That is ok, effectively two ‘modes’ (auto vs manual) is already giving a lot of flexibility. |
Copied from weymann/OH3-SolarForecast-Drops#2
Thanks for the great work on the binding. Saves me a ton of JSON fiddling! ;)
Would it be possible to define a period of no polling? So you could spare precious API calls over night, when there's no need to update information? Possible having the chance to either:
ad 1
I could then use whatever means to turn that item ON or OFF (possibly using Astro-binding)
ad 2
I could then just use a fully configured Astro-binding to use for suspending
The text was updated successfully, but these errors were encountered: