The steps to install EMHASS as an Home Assistant addon:
1) Add the EMHASS-Add-on repository to the HAOS add-on store
- To install add the EMHASS Add-on repository in the Home Assistant store, follow [these steps](https://www.home-assistant.io/common-tasks/os/#installing-third-party-add-ons)
- This will be: Configuration > Add-ons & Backups open the add-on store > Add the URL of the repository (e.g https://github.com/davidusb-geek/emhass-add-on) and then press "Add".
2) Install the EMHASS Add-on
install
.
3) Start the EMHASS addon
start
to start the EMHASS web server
Show in sidebar
,Watchdog
and Start on boot
4) Open the EMHASS web interface, and configure parameters
OPEN WEB UI
to enter the EMHASS web serverSolcast
or Forecast.Solar
insert your secrets in the Home Assistant EMHASS configuration page, under Show unused optional configuration options
. (E.g: localhost:8123/hassio/addon/emhass/config
)This method allows the user to select which EMHASS version to run (via adjusting the Docker version tag). This second method of installation may be more preferable for users who wish to test EMHASS or rollback to a older stable version.
Warning: This method will override the Docker image tag, and therefore will require the user to manually adjust the tag to update. The user will also need to regularly check to see if the EMHASS-Add-on repository is up to date with the Github main
branch
1) Have a method of inserting commands
2) Clone the EMHASS-Add-on
repository into your /addons
directory
cd ~/addons/
git clone https://github.com/davidusb-geek/emhass-add-on.git
3) Specify what EMHASS version image to use
emhass-add-on/emhass/config.yml
adjust the version:
line to match the version of choice:
# set version here
emhassVersion=v0.20.0
# sed command to replace version line in config.yml
sed -i.bak "s/version:.*/version: $emhassVersion/g" ~/addons/emhass-add-on/emhass/config.yml
4) Head to the Home Assistant add-on store and refresh addon cache
5) Install local version of EMHASS
Local add-ons
should appear (if not repeat step 4)Current version:
Tag on the top left of the EMHASS card.For those who want to develop the EMHASS package itself. Have a look at the Develop page. (EMHASS docs)
For those who want to test the EMHASS addon (EMHASS inside of a virtual Home Assistant Environment). Have a look at Test Markdown.
MIT License
Copyright (c) 2021-2023 David HERNANDEZ
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.