Comments (8)
Glad this project is working out for you. Once you have things up and running there are a number of service calls available. One of these service calls allows you to adjust the watering times you have setup in the yaml file.
HAsmartirrigation provides a number of sensors with the hourly or daily adjusted run times. You need to create an automation that takes the data from the HAsmartirrigation sensor and makes a service call to irrigation_unlimited.adjust_time
.
Personally I have not used this integration and instead use observation data provided by my personal weather station to adjust watering times based on rainfall and temperature. Details can be found in the documentation. There are many thoughts and ideas along with numerous weather services giving a lot of scope for creating adjustments.
from irrigation_unlimited.
Thanks for getting back to me about this. I have no clue how to work with it, since all of my automation so far was done with Node-Red. Also I do not own a weather station since I have not found one yet, which suits my needs and is available on the German market (if you happen to know any, let me know as I would be glad to set something up on the roof).
I think the beauty of the HAsmartirrigation is the fact that they calculate a value out of evaporation, area to cover and how much water the individual sprinklers need. So this is highly custom and even with my own weather station I would still love to have this data integrated.
So could you provide an example how to work with HAsmartirrigation and how it would be set up to adjust time. I only started looking a bit more under the surface and I'm not that much of a programmer so I have my difficulties adjusting your examples to what I want to archive. Any hint or idea would be highly appreciated.
Thank you very much! 😃
from irrigation_unlimited.
Not sure they sell my model of weather station any more but this is very much like it. https://www.ebay.com.au/itm/262073907445. The main thing is it sends the information to weather underground and there is a HA integration https://github.com/cytech/Home-Assistant-wundergroundpws that will pull the data back into HA.
This automation runs at 04:00 and takes the calculated run time from HAsmartirrigation and updates Irrigation Unlimited with the new watering time. It then calls HAsmartirrigation to reset the bucket.
Hopefully this will point you in the right direction.
- alias: Smart Irrigation
description: Adjust watering times
trigger:
- platform: time
at: 04:00
action:
- service: irrigation_unlimited.adjust_time
data:
entity_id: binary_sensor.irrigation_unlimited_c1_z1
actual: >
{% set t = states('sensor.smart_irrigation_daily_adjusted_run_time') | int %}
{{ '{:02d}:{:02d}:{:02d}'.format((t // 3600) % 24, (t % 3600) // 60, (t % 3600) % 60) }}
- service: smart_irrigation.smart_irrigation_reset_bucket
mode: single
from irrigation_unlimited.
It definitely does, thanks a lot for your help. This brings me a huge step forward to automatically have things running! 😃
from irrigation_unlimited.
Example now included in documentation.
from irrigation_unlimited.
There is one question remaining for me.
If I set the watering times based on the data from HAsmartirrigation, what kind of schedule should I configure?
I want to check daily if there is a manual watering time set, if so: start irrigation. If not: do nothing. Is this possible? Or did I miss it in the documentation?
from irrigation_unlimited.
Create a schedule for when you would like to water. For a lot of people this is before dawn but there are many reasons such as local regulations, water pressure, convenience, there are many opinions on this. The duration won't really matter as HAsmartirrigation will override this value so just set it to something sensible. The automation script takes the calculated run time from HAsmartirrigation and transfers it to Irrigation Unlimited via a service call. If the calculated value is 0 then the irrigation won't run.
from irrigation_unlimited.
ah wonderful. I didn't understand how it would respond if there was no override. But if it's set to zero, then it won't run.
Thanks for your great work!
from irrigation_unlimited.
Related Issues (20)
- After cancelling sequence manual run zones keep that schedule HOT 2
- Do not allow "Controller" Run in Manual Modes HOT 4
- Suspend does not suspend irrigation time/duration: add pause/continue or freeze/unfreeze to zones, sequences, controllers HOT 35
- Zone.more parameters HOT 6
- Typo in 5.9 documentation regarding Clock. HOT 1
- Listen to 'external' switch commands of solenoid valves HOT 3
- Companion card possible error in start times for repeat sequences HOT 2
- `from`/`until` field handling does not match documentation HOT 2
- Documentation: More object shall be replaced by User object HOT 2
- Templating error in service call manual_run HOT 6
- Adjustment properties remain empty HOT 1
- Next run information disappeared
- The automation "Irrigation Unlimited Load UI Controls" (automation.irrigation_unlimited_load_ui_controls) has an action that calls an unknown service: irrigation_unlimited.list_config. HOT 4
- Check_back object with manual switching of actuators syncing UI zone objects HOT 2
- Bug after upgrade to HA 2024.3.x HOT 1
- Can't get rename_entities working
- Valve entity error log HOT 5
- Support valve entities available since 2024.1 HOT 5
- future_span does not seem to work when changing schedule over the next few days that lie within future_span HOT 4
- Dynamic Adjustment of Preamble HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from irrigation_unlimited.