kloggy / HA-Irrigation-Version2

225 stars 55 forks source link

Installation difficult #2

Closed malesci closed 4 years ago

malesci commented 4 years ago

Hello I try to install your solution, thank you for this. Great job! I encounter difficults for installing it, I follow these stsps:

  1. I clone the repo into /config/packages
  2. I perform all prerequisites
  3. Than I include the packages dir into the configuration.yaml file homeassistant: packages: !include_dir_merge_named packages/

After these steps, the check for server configuration fails. There are other steps for install this solution properly? How I can do? Also for lovelace? thank you

srerick1 commented 4 years ago

I think the same thing. I think the easiest way is that you upload a clean backup of your hassio and that users install the necessary HACS components because I think you have to imagine your configuration to make it work or at least a clear guide would be very helpful.

Thank you very much for your work! You are number one

kloggy commented 4 years ago

I have recently split the prerequisites out into a separate readme and provide a sample yaml file.

Hopefully this goes some way to helping getting this working.

I am also thinking of ways to somehow make it easier if you don't want to use of SmartWeather.

Finally, I have a new version going up soon. It is a compete restructuring of the Lovelace which breaks out each component into its own file. This should make it a lot easier if you (or anyone) wants to make their own changes. It also includes some system wide small cosmetic improvements (IMO) as well as some very small changes to the code. As far as I can tell, and no one has told me otherwise, everything works perfectly so when I put the new version up I will be considering it to be a 'working' beta (rather than a 'preview' as it is now).

srerick1 commented 4 years ago

Thank you for your progress and for sharing it with the community. Thank you for your wonderful work and for your quick response

malesci commented 4 years ago

thank you for your work above all, much appreciated. I ask you for help for the correct installation of this package. then I did these steps (I state that I have no experience with custom lovelace views).

  1. I followed the prerequisites
  2. I copied the raw content to the /config/ui-lovelace.yaml file
  3. I copied the contents of the package folder into /config/packages
  4. I copied the contents of the lovelace folder into /config/lovelace
  5. in the configuration.yaml file I insert the following configuration to import the packages
    homeassistant:
    packages: !include_dir_named packages/
  6. in the configuration.yaml file I insert the following configuration to add a new dashboard in yaml mode
    lovelace:
    mode: storage
    # Add yaml dashboards
    dashboards:
    lovelace-irrigation:
      mode: yaml
      title: Irrigation
      icon: mdi:flower
      show_in_sidebar: true
      filename: lovelace/view_garden_version2.yaml
  7. check the configuration and Restart the server
  8. No error but I cannot manage to show the dashboard properly

Am I doing something wrong? Are the paths where I copied the files correct? Could you give me a hand please? How can I view your Lovelace custom views? thanks