Git Product home page Git Product logo

Comments (7)

petergridge avatar petergridge commented on June 17, 2024

Hi, I guess you have the frequency set using a numeric e.g. every 2 days. If the program has run successfully and you change the time it will still be calculating the number of hours until that frequency allows it to run again. i.e. it sill only completed 2 hours ago and your setting is to run every 24 hours.

You have two options:

  1. change to days of the week for your testing
  2. use the irrigationprogram.reset_runtime service to reset the last run time

from irrigation-v5.

Loic691 avatar Loic691 commented on June 17, 2024

Thanks
Should I have to launch in manual before test ?
Here's an other test fails :
Frequency is set to 1 (every day)
Time is 21h30.
I set program to run at 21h35.
I called the reset_runtime.
At 21h35 the progam hadn't been launched

I tried too to change the runtime time just after service reset_runtime ( to 1 or 2 minutes after now).
Always non program starting...

When is calculated the new starting date ?

  • When changing time in starting-runtime ?
  • At the end of the programm runs sucessfully ?
    PS : the calling of service reset runtime reset correctly the field in the frontend (if i have a value du to before manual launch)

from irrigation-v5.

Loic691 avatar Loic691 commented on June 17, 2024

Hi again
Program working now
I forget to ceate the time_date Pre-requisite ;-(

from irrigation-v5.

jschroeter avatar jschroeter commented on June 17, 2024

I had exactly the same problem and missed the time_date integration. Not sure if it would be possible to display a error message in this case.
Anyway, thanks a lot for your great work, seems to work as expected now!

from irrigation-v5.

petergridge avatar petergridge commented on June 17, 2024

Hi @jschroeter,
I will remove that dependency, I have been meaning to code that in for sometime now but it never got very high on my to do list, it worked even though I knew I could do better. Anyway the change will be in the next release.

from irrigation-v5.

petergridge avatar petergridge commented on June 17, 2024

Release 5.2.6 (beta) has removed the dependency on time-date sensor. I would appreciate if you could install the beta and verify the release.

from irrigation-v5.

jschroeter avatar jschroeter commented on June 17, 2024

Thanks a lot, just tried it, works like expected without the time-date sensor 🥳

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.