Irrigation Custom Component with Custom Card

Your start time hasn’t got a time entity, but a runtime entity?
My next run attributes seem to be OK?

I installed the entire V5 package and it works well and is also very nice, I just have one problem I can’t select another irrigation program on the card It always selects the last one made, i.e. I see the program but it doesn’t select it.
I hope the translation done with google you can understand the problem.
Thank you.


Thanks, I can see the issue, google did well. I will have a look at this for you and get back to you in a few days

Can you check the log if it does not run on Saturday. I am not experiencing the same issue

1 Like

Hi Peter, thank you for providing this integration and card for irrigation. I’m currently testing this for our garden in Spain and i would like to roll it out beginning next week.
But i can’t get it to start according to the set start time to begin the irrigation. It starts and stops immediately. I have found the following exception in the log:

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/core.py", line 1990, in _run_service_call_catch_exceptions
    await coro_or_task
  File "/usr/src/homeassistant/homeassistant/core.py", line 2011, in _execute_service
    return await target(service_call) 
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/irrigationprogram/__init__.py", line 68, in async_stop_programs
    if hass.states.get(device).state == "on":
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'state'

The program runs when i start it manually and after calling the reset start time service.The exception is also thrown in the that case.

Hi, are you using the alpha version or the version available on HACS?

I just saw the update, and I ran it. I will report back tomorrow (Saturday).

No, installed via HACS, V5.2.10

Hello,
Really well created irrigation control, now configured on stable version, did not tried alpha version.

But one feature I have not found was cycle number. Is it possible to add?

Repeat entity is not very useful at my option, because not every grass is perfect and watering in dry ground for long time will cause flood. Would be good to use entity for picking how many cycles through zones should be done.

Hi @kenlee,

Wise move not moving to the alpha, there are still issues, but I get feedback from those willing to take the chance :slight_smile:

To create multiple short cycles for a zone you need to add two attributes:

  1. Wait time: the amount of time to wait between each cycle
  2. Repeat count: the number of times to run before moving to the next zone.

once configured the zone will run for the defined watering time, for the repeat count and will wait the defined time between each cycle.

Hi @juergenjw,

Can you provide:

  1. A screenshot of the Program Switch attributes
  2. The type of device that you are controlling
  3. A little more detail on the configuration
    a. How many zones
    b. Do you have multiple programs defined

Hopefully that will allow me to replicate the issue.

Cheers
Pete

Didn’t run… what part of the log do you need?

That is not good :frowning:

Any entries that reference the irrigation control from around the time it should have run will be good.

So hard to debug these issues when I can’t recreate them.

Hopefully we will get to the bottom of the problem soon.

Hi @Salvatore_Ruggeri,

I have released a new version of the Alpha Card. If it is not working correctly please refresh the browser cache.

NOTE you will need to move to the stable version in the main repository once this has moved to Beta phase. This will require you to uninstall and reinstall/reconfigure.

no logs at all :frowning:

I just activated “debug loggin”; should have done this earlier, off course…

That is what I already tested, but I prefer other way of making cycles.

E.g. 3 solenoids, each is configured to run for 10min. After last solenoid finished to run, start cycle again and do the same.

Now at the moment I can choose how many cycles zone will run. This makes first solenoid to run firstly configured repeat count times and only then proceed to second solenoid.

Also noticed, that rain sensor wont stop zone solenoid after water time started.

Hi @kenlee

After this upcoming release I will look to add this as an option, it is a sensible requirement.

hello peter, now after the configuration it creates only one entity and not 4 (I configured all the helpers)

Hi Salvatore,

Sorry I have not completed the change to the card as yet it has been a bigger problem to fix.