Giter VIP home page Giter VIP logo

Comments (2)

MTry avatar MTry commented on May 30, 2024

Thank you for taking the time to suggest this feature request. I do have a few questions for you though..

Since you are using a device with mechanical auto-switching, how are you planning to control the subsequent zones with this plugin? From what I could understand on the linked device page and google-translate - the device itself offers the option to control the subsequent zone times and that is triggered by the starting and stopping for the first zone in the device. If the watering time of the mechanical auto-switch is determined at the switch itself, this plugin has limited role to play other than making the first trigger and not the watering time? If all you want is a trigger, perhaps the best solution could be a dummy switch which is set on a schedule through Home automation!? Am I missing something here?

Adding configurable delay(between zones as well as between cycles as per some other use cases) is less trivial than it initially sounds since it will involve recoding some calculations at multiple locations - since the plugin aims to conclude watering by a set time rather than simply start at a particular time and then run as long as needed. This is going to take some time unfortunately with my current schedule..

I could suggest a workaround specifically for your case though if my understanding of your situation is correct - intersperse your zones configuration in the plugin with dummy zones - and keep these dummy zones non-adaptive with a prefixed runtime of more than a minute - this could get your device to run properly. However I still don't understand how your mech auto-switching device's subsequent zone time will be controlled by this plugin.. will wait for you to shed some more light on that.

from homebridge-smart-irrigation.

TheRealSimon42 avatar TheRealSimon42 commented on May 30, 2024

Hey Mtry,
thank you for the response and your explanations 🥇

About the switch: It just automatically switches to the next zone, when the water pressure lowers. So, it can't really be controlled, you just need to cycle through all the zones in the exact order as they are attached to the outlets of the "switch".
So, this is how it's working: Start Watering → Zone 1 gets watered → Stop watering (for approx. 1 minute) → The pressure lowers, and it switches to the next zone → Start watering → zone 2 gets watered → Stop watering (for approx. 1 minute) → The pressure lowers, and it switches to the next zone → ...)
If this didn't enlighten you, I would be happy to capture a quick Video for you 👍

But yea, I kind of figured out already, that I might be better off with one valve for each cycle, just because of "logical" operation and individual watering needs for the zones. Not so much because of the features from this plugin, just because of the physics of nature :D

Nevertheless, I figured out a way to add a "delay" via HomeKit Scenes (just switching off the valves when 85 seconds runtime is left).
Because I have sprinklers which require quite a long runtime, the missing seconds shouldn't be a problem.

Enough for a workaround, I guess for a pro-solution you have to have 1 valve for each cycle.

In case anybody needs it:
Turning on:
image

Turning off:
image

Disabling Irrigation if any zone is scheduled for 90 seconds or less:
image

Of course, you also need another automation, which turn the Irrigation back on in case it got disabled by the above ;)

from homebridge-smart-irrigation.

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.