kloggy / HA-Irrigation-Version2

225 stars 55 forks source link

Multiplier doesn't work. #19

Closed thorschtn closed 4 years ago

thorschtn commented 4 years ago

Although the multiplier is around 1.00 and testing mode is off, selecting the temperature correction and / or the rain correction will reduce the watering time from e.g. 30 minutes to 30 seconds or from 60 minutes to 60 seconds. Without correction, 30 or 60 minutes are irrigated correctly.

kloggy commented 4 years ago

I'm having trouble recreating this. Can you tell me in more detail what you are seeing?

thorschtn commented 4 years ago

Sure. Without adjustment: total irrigation time 1:30 h. With adjustment: total irrigation time <2 min.

These values ​​are not only in the display, but also the actual watering time.

Irrigation-Version2 master from last week. HA is 0.113.3.

If you need more information, I will be happy to provide it to you.

with_adjustment without_adjustment
kloggy commented 4 years ago

Well that is a bit strange, I still can't reproduce this.

Can you check the sensors (for example, irrigation_cycle1_zone1_actual_duration_in_seconds) in garden_globals_cycle1.yaml.

The last thing it does in the value_template is to check if it runs 'today' and if it does then it checks if the testing boolean on.

Perhaps you could copy that template into the Template page on the Dev Tools and play with it to try and find out why it is setting the time wrong for you when weather adjustments are on?

It's a bit of a mystery at the moment because turning on or off the weather adjustments shouldn't have that effect... Let me know how you get on.


Here is how it works for me....

image

image

ekkesa commented 4 years ago

@kloggy Isn't this the same issue I raised a while back.

The time displayed is for the current day, and does not look ahead at the following run.

@thorschtn Try setting your schedule to everyday and see if the end time is adjusted as expected.

thorschtn commented 4 years ago

@thorschtn Try setting your schedule to everyday and see if the end time is adjusted as expected.

That didn't change anything.

Perhaps you could copy that template into the Template page on the Dev Tools and play with it to try and find out why it is setting the time wrong for you when weather adjustments are on?

I will play with the dev tools - could last until the weekend, I will report.

At least

input_number.irrigation_cycle1_zone1_duration = 20.0 irrigation_cycle1_zone1_actual_duration_in_seconds = 60

doesn't look ok.....

thorschtn commented 4 years ago

Perhaps you could copy that template into the Template page on the Dev Tools and play with it to try and find out why it is setting the time wrong for you when weather adjustments are on?

That was the crucial clue.

Please close this ticket immediately, the error is in front of the screen.

I hadn't noticed the configuration "Maximum time to run a zone when using weather adjustments" - and it is set to 1 minute by default. Changed to 120 mins and everything works well.

As soon as you do it right, it works. And the module works really well, thank you, I have been looking for it for a long time ....

Please excuse the confusion that caused this. Sorry.