Git Product home page Git Product logo

Comments (16)

petergridge avatar petergridge commented on September 24, 2024 1

Hi Version 5.4.1 has been released that applies these rules.

If the Program is disabled it can still be initiated manually to run all enabled zones.

  • If the Program is disabled and the Zone is enabled the zone will run if manually started,
  • If the Program is disabled and the Zone is disabled the zone will not run,

If the Zone is disabled it will/can not run until it is enabled.

Cheers

from irrigation-v5.

petergridge avatar petergridge commented on September 24, 2024

Hi,

Can you give me an overview of your configuration. Some screenshots of your configuration will help also the values of the helpers and sensors used in the program and zones.

Also can you run the service call to determine if the lag is in there. This will help me narrow down the problem.
image

from irrigation-v5.

maxoss avatar maxoss commented on September 24, 2024

Edit:
I did found this in the log:
Logger: custom_components.irrigationprogram.irrigationzone
Source: custom_components/irrigationprogram/irrigationzone.py:577
Integration: Irrigation controller (documentation, issues)
First occurred: 12 september 2023 om 15:13:36 (68 occurrences)
Last logged: 23:28:05

Switch has excesive latency, exceding 10 seconds, cannot confirm switch.sproeier_gras is off
Switch has excesive latency, exceding 10 seconds, cannot confirm switch.sproeier_border is off

To explain, I have 3 zones. One I try to run, the other 2 plugs are not plugged in so offline (error in the log). Maybe this is the cause of the big delay in the first zone?
----‐---------------------
Actually nothing fancy in the config.
With service call exactly same problem.

Screenshot_20230914_232342_Home Assistant
Screenshot_20230914_232407_Home Assistant

from irrigation-v5.

petergridge avatar petergridge commented on September 24, 2024

if you try adding the following to your configuration, this should prevent the program from attempting to run the zones that are offline.

enable_zone input_boolean Optional Disabling a zone, prevents it from running in either manual or scheduled executions, adding 'Off' or similar text value to the run_freq helper will have the same result

from irrigation-v5.

petergridge avatar petergridge commented on September 24, 2024

Can you also send me the status of the offline switches i.e a screenshot of the developer tools state section for a offline switch. The program is already trying to determine if a device is offline and ignoring it but I am not sure how your device is presenting.

from irrigation-v5.

maxoss avatar maxoss commented on September 24, 2024

if you try adding the following to your configuration, this should prevent the program from attempting to run the zones that are offline.

enable_zone input_boolean Optional Disabling a zone, prevents it from running in either manual or scheduled executions, adding 'Off' or similar text value to the run_freq helper will have the same result

This doesn't work

Screenshot_20230915_071515_Home Assistant

from irrigation-v5.

maxoss avatar maxoss commented on September 24, 2024

I can confirm that when all 3 switches are online there is no delay. So there is a bug when one or more switches are offline

from irrigation-v5.

petergridge avatar petergridge commented on September 24, 2024

Hi I have found the issue and am working on a resolution. Thanks for providing this information

from irrigation-v5.

petergridge avatar petergridge commented on September 24, 2024

Hi Beta 5.4.0 is available on HACS that resolves this issue. Let me know how you go.

Cheers
Pete

from irrigation-v5.

maxoss avatar maxoss commented on September 24, 2024

Tried 5.4.0. I removed the power on 2 of 3 zones so they are unavailable state. Now I don't get any response when I manually start zone 1. So it will not start at all

from irrigation-v5.

petergridge avatar petergridge commented on September 24, 2024

Can you send me the errors from the log

Cheers
Pete

from irrigation-v5.

maxoss avatar maxoss commented on September 24, 2024

I can't find any error in the log

from irrigation-v5.

maxoss avatar maxoss commented on September 24, 2024

Found the issue. The program itself need to be enabled to run manually a zone.

from irrigation-v5.

petergridge avatar petergridge commented on September 24, 2024

That's great, I was worried when it did not work could not think of what could cause it. Thanks for letting me know. I will close the issue now.

from irrigation-v5.

maxoss avatar maxoss commented on September 24, 2024

That's great, I was worried when it did not work could not think of what could cause it. Thanks for letting me know. I will close the issue now.

But I'd like to start the zone without enabling the program. Is that possible?

from irrigation-v5.

petergridge avatar petergridge commented on September 24, 2024

I can change the behaviour, I'm about to head off on Holidays so it will be a 6-8 weeks before I can make the change unless I get it done in the next few days.

The logic I will apply is:
If the Program is disabled and the Zone is enabled the zone will run if manually started,
If the Program is disabled and the Zone is disabled the zone will not run,
If the Program is disabled it can still be initiated manually to run all enabled zones.

Cheers
Pete

from irrigation-v5.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.