Oops sorry to all, completely forgot to update my post due to Corona/Covid19 rampage.
What have I done
I’ve looked into several github forks of this particular card. Some forks were very interesting and therefore I edited those changes back into my own forked card of the original card.
Also Im working on an automated irrigation system, using a regular hose tap to convert the outlet in a four tap outlet. Then a solenoid valve on each one, followed by a water flow meter & into drip irrigation.
Is there a way to set it up that once the moisture readings are below green, it could then active the valve?
Unfortunately I am unable to sow the tooltips, any idea what the cause could be?
(I had the “original” ThomasLoven card and just replaced your .js code, maybe I forgot something?)
What I would do in these sort of cases is to use the following tool: WinMerge. See https://winmerge.org/.
With this tool you can see the exact visual difference/delta between two or more files. That is what I have done. After some hacking and pasting I combined the various interesting source codes into my “own” card version.
Do note however I’ve looked at each fork and checked any delta’s/comments/issues. Especially issues is always imho the way to go. It will mostly give you new interesting directions.
I just copied over your entire code and now it works.
How can I use the “limits” in an automation? We are now auto-retrieving the limits from the database while still having to manually enter them in the “plant” sensor.
Any success with irrigation system integrated into HASS? I’d like to build similar thing. Would you be able to share your hardware setup details?
Thanks!
That is something that annoys me as well. Not really looked into it yet to be honest.
My idea in the long run with this card was to add:
Variable notification service for when it is the right time to give the “exact” amount of water, nutrition, etc… based on miscellaneous additional parameters (time of year, humidity, temperature, location, etc., etc…).
Holiday notification service + various additional cards. When I’m on a holiday that any of my neighbours, friends, family can take care of my plants as well without guessing what amount and when exactly to give water.
Bugs fixes, e.g. the double naming
Github issue list
HACS integration
For now I’ve postponed it given the pending crises with China and the economic meltdown worldwide. My priorities has shifted quite a bit.