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

NowCast reading doesn't change over to ready when countdown reaches zero #61

Open
ex-nerd opened this issue May 24, 2024 · 1 comment
Open

Comments

@ex-nerd
Copy link

ex-nerd commented May 24, 2024

There appears to still be an issue with the NowCast (and probably AQI) calculations not showing data even when the calculation reaches zero. This looks like a rounding error or order of operations issue within the internal async loop because it does seem to clear up within an hour of reaching zero.

I'll try to find some time this weekend to poke at the code and find out what's going on, and submit a PR. Hopefully it just needs something to trigger the calculations as soon as the timer reacher zero so it doesn't leave the user confused why the countdown stays at zero for an hour.

@MallocArray
Copy link
Owner

Thanks. I'll keep an eye out for a PR.

If an order of operations, I wonder if changing the 1h interval that starts the scripts should be changed to something like 61 minutes so they don't overlap much. It would drift more over time, but might be something to consider.

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

2 participants