Ook! Thanks
Btw i’ve seen another “glitch”…if I try to enter inside the dashboard and I’m in morning or evening cycle at first startup…then if I try to switch to manual cycle i don’t see times:
Yeah, I get that too. It is something to do with Lovelace or one of the custom cards. There isn’t anything I can do about it I’m afraid. I was going to ask on the forum but the config uses so many components that I don’t think anyone will be able to say what is actually causing this to happen let alone fix it.
But it is on my list of things to investigate. Maybe I’ll be able to reproduce it with a simpler config…
Good question.
It is created by the sun2 custom component which can be installed from HACS although you could easily create your own binary_sensor using the core Sun component. The state of sun.sun is either above_horizon or below_horizon.
Just to let you know, I have made some really tiny changes to a couple of the Lovelace files. They are purely cosmetic.
I have also made a slightly more significant change to the file garden_weather_rainfall.yaml because the rainfall history was not cycling correctly. it was only one line of code that changed and I don’t know how that error slipped through . It doesn’t affect the running in any way, only the rainfall weather adjustments, but you will get an annoying error in the log every night if you don’t make the update.
I will probably only report significant changes here in future but I think if you follow (or maybe star?) the repo then GitHub will notify you of changes?
I’ve set morning cycle at 10.10, but only on monday and what I see (before 10.10 today, sunday) is that Next cycle is set to 10.10 .
My afternoon cycle is set today at 22.45, so it should be correct to see next real cycle.
I’ve also set, in Node Red, a trigger that check when input_boolean.irrigation_cycleX_running state changes and I see that when it’s the correct time, but not the planned date, the boolean changes from off to on and immediately to off again.
Is there a way to avoid that in Next Run is showed a cycle that is not going to be run and that the boolean does not change its state if not scheduled that day?
I think you mean this when a cycle has it’s schedule on but no zone will run on certain days, yes?
That is a very good point…
Let me look into that.
As for stopping the cycle running boolean turning on then off again, that might be harder to change as I think it might impact some other things but I will take a look at that too.
Maybe, there should be a check with the field input_boolean.irrigation_cycle{{ cycle }}_zone{{ zone }}_{{ dow }}
(I’ve added {{ dow }} standing for day of the week) and checking if for next {{ cycle }} for all the {{ zones }} and for the actual {{ dow }} all are set to off, do not consider next cycle.
i’ve already tried the /www/community path instead of /hacsfiles, because its the real path of these modules. If UI generates lovelace yaml it puts /www/community path, in UI in resources list /hacsfiles can be found.
To make sure, i created a symlink so both paths must be ok.
In ui-lovelace.yaml which was generated by HA, i removed the resources list (of course i have already tried with and without resources list in ui-lovelace.yaml, and put
here is my whole ui-lovelace.yaml
its a chaos because started to use home assistant few days ago so i’m still learning it, so i just put a simple include at the end.
If i paste the code from view_garden_version2.yaml into this, the problem still the same.
Some small changes uploaded to hopefully prevent this error when installing the package.
No need to get the new files if you’ve already worked around it unless you just want to keep the current files.
Unfortunately the icon and state won’t flash when unavailable unless the screen is refreshed. This due to something in one f the cards I use and I have a feature request in to change it. I’m not sure if it will happen though.
Just a quick question where do i define the information with the sun symbol and information under the afternoon cycle, i just notice that on the github page screenshot, and it jogged my memory that in the previous version i had that showing but not in the latest one …
You create a sensor anywhere in your config and call it sensor.irrigation_weather_outlook.
This will be displayed on that screen.
It used to be based on DarkSky but I decided to make it user definable for flexibility. The one you see in that screen shot is based on some complicated REST api sensors that I have been playing around with…