![]() If you don’t, I recently wrote a an OpenSprinkler installation guide you can reference. This guide assumes that you already have OpenSprinkler installed and working. My Home Assistant instance is configured on a raspberry pi 3B+. By the end of this guide, you will be able to turn on individual stations, run your “Run Once” programs, check last run time, and much more – all from your Lovelace dashboard.įor reference, I am using the preassembled OpenSprinkler unit. Refresh the page? Or restart Home Assistant? The card should eventually be there.In this tutorial, I am going to show you how to integrate your OpenSprinker smart sprinkler system into Home Assistant.Add /local/opensprinkler-card.js with type JS module. ![]() Go to Configuration -> Lovelace Dashboards -> Resources.Ensure you have advanced mode enabled (accessible via your username in the bottom left corner).Download opensprinkler-card.js from the latest release and move this file to the config/www folder.I only have so much time to play around with the design, and welcome any contribution, whether code or Figma link or pencil sketch, to make the card more accessible, consistent, prettier, or whatever you strive for. You may find other details like the duration input and extra_entities to appear like goblin heads grafted onto puppies. You may find some details, such as loading icons, the run-once program entry, and the layout of the card in its default configuration to be tastefully designed. You can still access entity details by clicking on the station icon (yup, that's not very obvious. You can hide the 3 vertical dots that appear to the right of station controls using hide_dots, which should further remove some sources of accidents.Popup_line_height: small # Spacing between entities (sensors, stations, programs) listed in the popup timer_line_height: medium # Spacing between progress bars (running stations) in the card card_line_height: small # Spacing between extra_entities (entities in the card) The slider or box input will appear in the popup, and if you are using the extra_entities option, in the card as well. ![]() To extend the length they run for, make an input_number entity then link it to the card via the input_number option. Stations also default to a runtime of 1 minute. You can also add programs or even any entity type ( switches, lights, etc). If you'd like to have a few stations controls always accessible from the dashboard, you can add them to the bottom of the card with the extra_entities option.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |