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

Resume bucket value if forecast rainfall is not met #423

Open
jlrosssc opened this issue Jul 5, 2024 · 7 comments
Open

Resume bucket value if forecast rainfall is not met #423

jlrosssc opened this issue Jul 5, 2024 · 7 comments
Assignees
Labels
do-not-auto-close Label to make sure it's not auto closed by stale bot enhancement New feature or request

Comments

@jlrosssc
Copy link

jlrosssc commented Jul 5, 2024

I've had a few instances recently where rain was forecast and the integration appropriately took that into account, however the rain never came and it should have watered. It would be great if the integration compared the anticipated, forecasted rainfall vs what my rain gauge actually reads and adjust accordingly. It seems as if once the forecast rainfall is calculated, it's never undone or modified that amount is not met.

@jlrosssc jlrosssc added the enhancement New feature or request label Jul 5, 2024
@jeroenterheerdt
Copy link
Owner

how would this work? a forecast is a forecast, so at the time of calculation the only thing we can do is take into account tomorrow's (or the days after's) forecast(s) and adjust tomorrow mornings irrigation accordingly. I fail to see how we would achieve what you describe. As an example:
let's say on saturday night the irrigation amount is calculated for sunday morning. At that time there is rain forecasted for sunday. So we decide not to irrigate on Sunday morning. At that time the rain gauge reads 0, but we don't know if rain is still coming on Sunday later that day. It doesn't actually rain on sunday so in retrospect you would say we should have irrigated but there is no way of us knowing on Sunday morning. The only thing that happens here is that we skipped Sunday but will most likely irrigate on Monday morning unless again the forecast is way off.

Makes sense? Feel free to provide other options.

@jlrosssc
Copy link
Author

jlrosssc commented Jul 7, 2024

I see your point about the rain possibly falling later in the day. I'm not a coder by any means, but what I was envisioning to make this as accurate as possible, is a placeholder for the anticipated rain impact. For example, if the forecast anticipates .5" rain and the ET calculation takes that into account, place that amount in a placeholder. At the end Sunday in your example, you would "true up" and add anything left in that placeholder. If no rain was detected, all of it would be added back. .25", would mean half of the placeholder would be added back.

@jeroenterheerdt
Copy link
Owner

jeroenterheerdt commented Jul 7, 2024

but ET is not equal to rainfall ,so this is not going to work, unless I am missing something.

@acarlo79
Copy link

What is the current logic? If we get rain forecast, are you just using the amount of rain to calculate the new bucket value? I think it would make more sense to never use forecast value but rather setting a flag to be used in our outomation if there is rain forecast in the next 24hrs.
In this way, your bucket calculation will be always accurate and you avoid to water if there is rain....if the rain won't arrive, the new bucket will be calculated correctly again and you will water again the following day.

@jlrosssc
Copy link
Author

jlrosssc commented Jul 23, 2024 via email

@jeroenterheerdt
Copy link
Owner

What is the current logic? If we get rain forecast, are you just using the amount of rain to calculate the new bucket value? I think it would make more sense to never use forecast value but rather setting a flag to be used in our outomation if there is rain forecast in the next 24hrs. In this way, your bucket calculation will be always accurate and you avoid to water if there is rain....if the rain won't arrive, the new bucket will be calculated correctly again and you will water again the following day.

correct, the amount of forecasted rain is taken into account to calculate the new bucket value.

@acarlo79
Copy link

I would maybe change this part since forecast is just a "guess" and could lead to a wrong bucket beeing calculated.

I would just expose a value to tell (rain is forecasted in the next 24hrs) so you could skip tomorrow watering and then calculate the new bucket correctly (with or without the rain fall of that day).

I think would be possible already now if you take a forecast rain sensor and set the forecast days to 0.

@jeroenterheerdt jeroenterheerdt added the do-not-auto-close Label to make sure it's not auto closed by stale bot label Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
do-not-auto-close Label to make sure it's not auto closed by stale bot enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants