py-smart-gardena / hass-gardena-smart-system

Home Assistant custom component integration for Gardena Smart System
Apache License 2.0
208 stars 52 forks source link

Water Control - Dynamic Watering duration #19

Open dueltschi opened 4 years ago

dueltschi commented 4 years ago

Dear team

This is a feature request for dynamic watering duration for the Gardena Water control. It would be amazing if the duration could be set dynamically through the UI or automations. Is it possible to add this feature?

Thanks a lot,

northpower25 commented 4 years ago

I think thats not a question for a change of the integration.

In automations is that possible see the following example

`

northpower25 commented 4 years ago

At first i calculate the needed watering time for the lawn and after i have done this i choose the timeframes for my watering intevals.

The connecting to an weater prediction integration was great but until now i have no service found that are realy accurate for those thinks.

The only problem that i have per now, is thats the timer no save his state over an HA restart but i gues that time_pattern as trigger for many hours (many days) have the same problem with this. For this problem i search currently for an solution. I test the following (https://community.home-assistant.io/t/resume-timers-after-reboot/144963 ) but have per now the issue that a high hour setting bring this to break

northpower25 commented 4 years ago

The developer from the Pytonscript ((https://community.home-assistant.io/t/resume-timers-after-reboot/144963 ) to persists timers over restart could reproduce my problem and i‘m hopefully that i‘ve got an solution in near time.

northpower25 commented 4 years ago

Thanks the fast work of the developer of the timer workaround for the day issue that i have yesterday report now the timer integration works like a charm even the HA was restartet in the between of a timer timeframe

https://community.home-assistant.io/t/how-to-make-active-timers-survive-a-restart/146248/35?u=northpower25

northpower25 commented 4 years ago

@dueltschi did this help you? If yes please close the issue.

Balou067 commented 4 years ago

@northpower25: Thank you for the automation example, however, I support the request from @dueltschi

The difference between defining the watering duration via automation or setting the watering duration dynamically (the same watering duration as you currently can set via the integration options) is, if you use also the Gardena App (why using HA and the Gardena App? … just because the integration was not available before and I have the watering schedule set up in the Gardena App and … just because I do it) you would see in the Gardena App the time left of the currently running irrigation cycle (the one started via HA) (at the moment the time set via the integration options is displayed in the Gardena App as the remaining irrigation time). And potently, you could also see the same information of the remaining irrigation time in HA of irrigations started via the Gardena App (if the Integration and Gardena API would provide access to this information).

Therefore, it would be very nice if the request from @dueltschi would be implemented.

northalpha commented 3 years ago

i would like to bump this request, it would be very nice to get time dynamic watering durations because combined with automation in HA we have everything to get rid of the gardena app and make our own "watering shedule" and "enhancement" settings.