Closed jata1 closed 1 month ago
as requested @jeroenterheerdt.
To be clear what i mean by apply/calculate for a zone, see screen shot below.
ah, that is by design. If you use the 'calculate all' button or service it should work, as in: we make sure to calculate everything only once / use the same weatherdata many times over. If you press the button you highlighted then yes, the weather data is deleted.
haha. That explains why I have been going mad for the last week when one zone calculated fine and the other did nothing.
I think you need to add a note to explain this (or a warning) to say to use the calculate all zones
I need to check what my automations are doing as I could have something that calculates for a specific zone and I assume this will also delete the data
haha. That explains why I have been going mad for the last week when one zone calculated fine and the other did nothing.
I think you need to add a note to explain this (or a warning) to say to use the calculate all zones
that's fair. The UI is just for debugging. We expect users to just use the calculate all service.
I need to check what my automations are doing as I could have something that calculates for a specific zone and I assume this will also delete the data
correct.
haha. That explains why I have been going mad for the last week when one zone calculated fine and the other did nothing. I think you need to add a note to explain this (or a warning) to say to use the calculate all zones
that's fair. The UI is just for debugging. We expect users to just use the calculate all service.
well I guess I am an unexpected user lol
the above is fired when my tap/value stops watering. This was also not working properly until I created a duplicate sensor group.
I wanted this to work like this so I get an estimate of how much more watering a zone 'needs' when the valve turns off. This is so I can manually water and still know how much water is needed
haha. That explains why I have been going mad for the last week when one zone calculated fine and the other did nothing. I think you need to add a note to explain this (or a warning) to say to use the calculate all zones
that's fair. The UI is just for debugging. We expect users to just use the calculate all service.
I have updated the readme to clarify it.
the above is fired when my tap/value stops watering. This was also not working properly until I created a duplicate sensor group.
I wanted this to work like this so I get an estimate of how much more watering a zone 'needs' when the valve turns off. This is so I can manually water and still know how much water is needed
you can then just calculate all zones, right? you'd still have the data you need to manually water?
the above is fired when my tap/value stops watering. This was also not working properly until I created a duplicate sensor group. I wanted this to work like this so I get an estimate of how much more watering a zone 'needs' when the valve turns off. This is so I can manually water and still know how much water is needed
you can then just calculate all zones, right? you'd still have the data you need to manually water?
yep. just need to change the two automations/scripts to calculate all zones.
Overall I think it would be cleaner/better to be able to do the things I wanted for each zone but I get it will be tricky as you'll need to hold sets of calculated data for each zone that is using a sensor group.
Good that you have clarified in the readme / documentation
Yeah, I don't want to keep copies of the data around and it can grow really large very quickly. I mean, I could potentially create a parameter to the calculate services to control deletion after calculating that defaults to true. That would not break existing users but provide flexibility for you, right?
Stale issue message
What happened?
I have 2 zones setup with one sensor group. When I manually update/calculate a zone the sensor data is deleted and is not available for other zones that depend on the same sensor data.
How to reproduce
Relevant log output
No response
Which version are you running?
v2023.12.2
Diagnostics file
Additional information
Not sure what happens if I click the 'calculate all zones' button instead of the calculation for each zone separately.
diagnostic file attached...
config_entry-smart_irrigation-7f7127f4c22a04d1cbd475295c54538c.json.txt