Skip to content
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

Modify wather-forecast-cache behavior #420

Open
radim2tej opened this issue Jan 5, 2025 · 0 comments
Open

Modify wather-forecast-cache behavior #420

radim2tej opened this issue Jan 5, 2025 · 0 comments

Comments

@radim2tej
Copy link
Contributor

I understand that calling weather-forecast-cache does not load new data while the interval is in the cache and the Solcast forecast changes frequently during the day, wouldn't it be better to completely load the forecast cache when calling it manually? So far, I've worked around this by calling:

shell_command:
  weather_cache: "rm /share/weather_forecast_data.pkl ;curl -i -H \"Content-Type:application/json\" -X POST -d '{}' http://localhost:5000/action/weather-forecast-cache"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant