Hi all,
I was looking for something to use in lovelace for a rainmachine irrigation setup. I was hoping for more than just switches so i decided to create my own. There are a lot of moving parts in here including declutter cards, custom button-cards, a bit of javascript etc but its working quite well. Big thanks to @bachya for the help on some of the integration pieces.
This is what i have come up with:
I have an overview of buttons for zones and programs.
in the zones, if you click on the card, it will toggle it on and off for the duration shown in the embedded square card on the right. If you click on the square card on the right it will bring up a popup which you can change the default duration of the zone. Now to store this info i am also using a variable integration so that each zone has a variable assigned to it to store this value.
So you can set a default duration of each zone.
Then if you click on the embedded square button on the program cards, it will toggle the program as to being enabled or disabled.
When a zone is activated, there is a countdown clock that updates every 10 seconds or so.
I also created a smaller version of this using slightly different buttons. This way i can get them all on one screen on my phone. I find this interface way more responsive than the rainmachine IOS app itself.
Anyway im going to try to pull all the config together in one place. Ive created similar buttons for lights and locks and covers etc to make my dashboard work great on mobile devices.
I can say at a minimum though im using several integrations to achieve this.
More to come on the actual config just wanted to share what I came up with and see if there is any interest. Thx