Comments (5)
Hi @Goatlips
Version 5 is fully UI based. The current Alpha is predominantly upgrading the Zone Group feature to be configured in the config flow. Adding a few bells and whistles, and a lot of code clean up and an improved version (I hope everyone agrees) of the custom card. It’s amazing how with every release I manage to find better (hopefully) ways to do things.
You will need to create helpers; input_number, input_select, input_boolean objects to support the features you want to use but this can all be done via the UI now so no YAML. I was playing around with auto creation of the helpers but it is not sustainable as HA is not heading in that direction and it adds to much technical debt as HA evolves (read this as I am to lazy).
As a bare minimum for a simple four zone irrigation system where all zones run on the same schedule:
• 1x Input_datetime for the program start time
• 1x input_boolean for the toggling of the config in the custom card
• 1x input_select for the frequency of the program, assuming they all run every time a program is started, you can define the frequency for each zone, I create one per zone as this my the favoured way to turn off a zone as well. You would need to create an input_boolean to support the disable zone feature anyway so two for the price of one from the custom card perspective.
• 4x input_number for the duration of each zone, you could use one if they all have the same duration, but that is lazy 😊
After that you could add more helpers/sensors to support ECO, adjustments, rain sensors etc. to extend the implementation.
I will be releasing a new alpha soon, I still have work to do on the custom card.
I am always after testers, this is a beast to test now, I have added a simulate service that writes a lot of information to the log that I can check that the calculations etc are accurate but there a so many permutations for the zone configuration now that there are always some surprises.
I hope this helps with your decision.
Cheers
Pete
from irrigation-v5.
Hi @Goatlips ,
alpha 2 is available! 💥
This is a big change under the covers I will release this as version 5.2.0 I think it warrants a major release status. There has been a lot of changes under the covers, every time I add more features I find better ways to structure the code. So I am sure you will find issues with this version.
I would really appreciate any support with testing of this version.
Enjoy
Pete
Custom Control
Expanded config Flow to run of a menu for new programs.
-
Migrate groups from the UI to Config Flow. Existing groups are automatically migrated to config flow
groups can then be added or deleted in the config flow. -
If a zone is deleted or is changed to reference a different switch the affect groups will be deleted
and you will need to add a new group. -
This change has allowed better controls and validation of the running of the program and facilitates improvements to the Custom Card
-
Interlock - you can now turn off the interlock to let multiple programs run simultaneously. This is designed for large implementations where multiple independent irrigations are required. WARNING: be cautious where multiple programs referencing the same zone.
-
Warnings raised in the log when a program is stopped by another program or service call.
-
Additional attributes have been added to the event data for the start of a zone
-
Program/card reacts when a zone switch is turned off manually the zone turns off and the next zone in a running program will run.
-
Refactored the watering timer to support:
- program level total runtime
- interactive changes to adjustment values, water/wait/repeat cycle configuration while a program is running
Custom Card
-
Zones grouped into a single section. Assuming grouped zones have the same attributes. i.e. use the same input objects
-
For large implementations where a single long card is not practical you can now provide a list of zones to show in a card, allowing multiple cards to be displayed for a single program
type: custom:irrigation-card-test
program: switch.test_irrigation
show_program: true
entities:
- switch.dummy_1
- switch.dummy_2
-
Make the card more compact
-
Removed any boiler plate text to improve presentation in languages other than English.
-
display relative time since a program was run on the card, eg 10 minutes, 1 day...
-
Zone stop option provided on the card when a zone is running. If you stop a zone the remaining zones of a program will continue
from irrigation-v5.
Thanks Pete, I will setup alpha2 over the next couple of days and do some testing. My system will certainly test your processes. I will flick any feedback and bugs
from irrigation-v5.
Hi @Goatlips,
I have released V5.2.0-beta, it is stable and waiting for feedback from the early adopters that they have no issues with their implementations.
from irrigation-v5.
Closing this issue, conversion continues in Issue #13
from irrigation-v5.
Related Issues (20)
- Support sensor input to define run frequency HOT 1
- Water switch never turns off HOT 11
- Run time defaults to switch device max HOT 6
- Enable_zone not visible in custom card HOT 16
- Move changing attributes, last ran, remaining time to sensors HOT 2
- Rain Sensor Not Expected Behavior HOT 13
- French is not yet supported may I help? HOT 1
- Frequency sensor issue HOT 10
- Factor in soil humidity to runtime adjustment? HOT 4
- Just a question about time based watering HOT 1
- Watering Adjuster feature not working HOT 3
- Custom card is not visible HOT 1
- Problem with irrigation Frequency / Openweather Map / Unit Type HOT 12
- Question about starting zones one after the other HOT 3
- Manual running when frequency is off HOT 3
- Migration error HOT 2
- Program config not visible HOT 2
- ECO Mode with multiple zones question HOT 2
- Latency issue? HOT 16
- Next run unavailable HOT 3
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-v5.