Git Product home page Git Product logo

irrigation-unlimited-card's Introduction

Irrigation Unlimited Card by @rgc99

A companion card for he Irrigation Unlimited integration

GitHub Release License hacs_badge

Project Maintenance GitHub Activity

Community Forum

Support

BuyMeCoffee

Options

Name Type Requirement Description Default
type string Required custom:irrigation-unlimited-card
name string Optional Card name Irrigation Unlimited
controllers string Optional CSV list of controllers to display
always_show_zones boolean Optional Force the zones to always be displayed false
always_show_sequences boolean Optional Force the sequences to always be displayed false

irrigation-unlimited-card's People

Contributors

dependabot[bot] avatar dimagoltsman avatar georgesg avatar iantrich avatar jsteunou avatar ljmerza avatar ludeeus avatar marksie1988 avatar nlighteneddesign avatar piotrmachowski avatar rgc99 avatar zsarnett avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

vioneta

irrigation-unlimited-card's Issues

Unable to expand sequence in Android Companion app

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue:
Card 2022.4.1

Last working release (if known):
N/A

Browser and Operating System:
Android companion app

Description of problem:
On PC, I am able to expand sequences by clicking small arrow:
image

However on Andorid phone and companion app, (or even in Chrome browser on Android phone), I am not able to click that icon. It is either too small that I can't hit it, or too close to the edge+being too small.

I would like to suggest if icon could be made larger, or if clicking on the sequence name would expand it.
image

Irrigation Unlimited Card: Filter over main controller entity

Is your feature request related to a problem? Please describe.
The Irrigation Unlimited Card works well for multiple controllers. A friend of mine is running Home Assistant on one central machine but servicing 19 different remote sites that are all linked on UI with individual controllers, and each user responsible for these 19 remote sites has a dedicated Home Assistant dashboard. It would be nice to use the UI companion card but be able to filter over each controller on the card.

Describe the solution you'd like

type: custom:irrigation-unlimited-card
always_show_zones: false
always_show_sequences: false
show_controller: #this will only show those controllers that are within the target entity list
  target:
      entity_id: 
        - binary_sensor.irrigation_unlimited_c1_m
        - binary_sensor.irrigation_unlimited_c2_m
        - binary_sensor.irrigation_unlimited_c6_m

Describe alternatives you've considered
The only other way is to use other custom cards which is obviously an option. However, since UI is so flexible and the companion card really matching the functionality of the UI integration, it would be preferred to use the actual companion card and make it more flexible.

Additional context
Thanks Robert for looking into this - I would assume that this filter option is relatively simple to add since you already have card options integrated and custom display of zones and sequences.

Add option `show_paused_sequences`

Is your feature request related to a problem? Please describe.
Add option show_paused_sequences which, if set to true, automatically expands those sequences that are paused by a service call.

Describe the solution you'd like
Martin_Testing_–_Home_Assistant

Additional context
See issue 142

Thanks,
Martin

Problem with zones and sequences when more than one controller is present

Release with the issue:

2022.4.1

Last working release (if known):

First version tried

Browser and Operating System:

Google Chrome Versión 100.0.4896.127 (Build oficial) (64 bits)

Description of problem:

I have two controllers in my configuration. The problem in the card is that if I show zones and sequences in second controller, it's shown information (zones and sequences) of the first controller. If I show zones and sequences in the first controller, the behaviour is the correct one.

Apart from that, the card is great. Thanks!

Card overhaul

The card is getting a bit of work over. Might take you up on the offer for some testing or input @evercape.

First thing is to upgrade to Irrigation Unlimited 2024.7.0 or pull the latest from the repository. The existing card should still work as before.

Next copy irrigation-unlimited-card.js from the repository which is under the dist directory. This should go in config/www/community/irrigation-unlimited-card folder on your system. Backup/delete the existing .js and .gz files. You will need to clear the browser cache.

Any problems restore the original file or reinstall from HACS.

Allow cancelling a running sequence

Hi,

I would like to be able to cancel a running sequence. At the moment there seems to be no way to cancel it. I tried disabling the sequence, disabling or cancelling the controller, disabling the zones in the sequence and even restarting home-assistant. All to no avail.

I can cancel the individual zones when they become active, but that doesn't stop the sequence form activating them again.

Disabling the individual zones directly under the controller seems the only way to stop them, but the sequence still continues.

I suggest adding a cancel button to the sequence dropdown.

Controller id optional string

Is your feature request related to a problem? Please describe.

Not related to any problem

Describe the solution you'd like

It could be a good idea to have an optional string with the id of a controller, so only the information of that controller is shown in the card.

GUI Enabling/Disabling zones/sequences confused

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue:
2022.4.1

Last working release (if known):
N/A

Browser and Operating System:
Android Companion App and Windows 10/Chrome

Description of problem:

I have both companion card and standard lovelace card for monitoring of the state of the irrigation in the Gui.
Problem is with using the toggle for disabling the controller. When I am toggling it on either of the cards, the state is not always correctly reflected in companion card, until I refresh the browser (after toggling it). Old lovelace card is always showing true state.

Here is example:
All zones are enabled:
image

I toggle it in the old card and this happens, which seems OK:
image

Now I toggle it again in the old card:
image
As you can see, companion card still says "off" for the controller, and 3 of 5 zones show "enabled"

Now if I just refresh my browser, everything is correctly displayed:
image

When I toggle just main controller in companion card, old card always reports status OK, however companion card does not (e.g. controller stays disabled, some of the zones under it show enabled, some disabled, until I refresh).
I am not observing such issues if I toggle zones in any of the cards, it is always with main controller only.

Possibility to show card as always expanded

Is your feature request related to a problem? Please describe.
This is not related to any bug, just nice to have

Describe the solution you'd like
While there are toggles for displaying zones and sequences, it would be nice if it could be configured to preserve options. I would like to have "zones" and "sequences" always expanded. Right now, if I toggle it, they get expanded, but when I refresh/close browser/companion app, and navigate back, it is collapsed again.
Maybe it could be configured in a way:
Zones:
show toggle: yes/no
always expanded: yes/no

Sequences:
show toggle: yes/no
always expanded: yes/no

image

Possibility to show/hide controller in the card parameters

Is there an option to specify which controllers appear in the card?
My use case is, I have two controllers. Would like to configure one card with controller1 and a second card with controller2.
And then show a dashboard to user1 with the card configured with the contoller1 and the same for user2/controller2.

Meaning, user1 should not see the card/dashboard thas has the controller2, and the other way around to user2.

Irrigation card does not display zones or sequences anymore

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue:
2024.1.0
HAOS: 2024.2.1
Last working release (if known):
2024.1.0
Browser and Operating System:
Win10, Edge, Brave, Firefox

Description of problem:

Card does not display anymore on the production machine. Exact same configuration loaded on my test machine as this screenshot shows is correctly displayed
image

Javascript errors shown in the web inspector (if applicable):
No specific error. I clearly see that the card content is not populated, ie card content is empty, whereas on the test machine the content is indeed populated. I tried numerous ideas, like adding the card on a newly created dashboard, restarted HA, restarted PC, cleared cache, private navigation, etc.
It just happened all of a sudden.
I'm just out of any idea and I'm at lost
Help will be much appreciated.

Cannot enable/disable controller from card

Checklist:

  • I updated to the latest version available
  • I cleared the cache of my browser

Release with the issue: Home Assistant 2022.11.2, Irrigation Unlimited 2022.11.0, Irrigation Unlimited Card 2022.10.0

Last working release (if known): Not sure, but I believe it was working a few months ago.

Browser and Operating System: Firefox 106.0.5, Linux (Endeavour OS). Issue also occurs from the Home Assistant iOS companion app.

Description of problem: Cannot "Enable" irrigation controller from the card. When I try to enable the controller, the toggle button changes state and makes it look like it is enabled, but none of the schedules/timers update. Then if I refresh the page, the toggle button no longer indicates it is enabled. I can enable the controller by calling the Enable Service, and once I do this, the rest of the card will update with the schedules/timers. And vice versa if I then call the Disable Service. Redownload the card through HACS has not helped.

Javascript errors shown in the web inspector (if applicable):


Additional information:

Allow Pause and Resume

When there is some issue with the pump or valves I'm using new Pause service in the automation to hold the irrigation until I fix the issue. Currently I need to go to Developer tools and run the Resume service to continue in the irrigation. It would be nice to have an option in the "..." drop down menu to Resume the irrigation on a controller or sequence level.

Also when the irrigation is in progress and I see something wrong in the garden I would like to quickly Pause the controller/sequence and then Resume from this card.

Thanks! I absolutelly love Irrigation Unlimited ❣️

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.