davidusb-geek / emhass-add-on

The Home Assistant Add-on for EMHASS: Energy Management Optimization for Home Assistant
MIT License
96 stars 29 forks source link

EMHASS Add-on

A Home Assistant Add-on for the EMHASS module: Energy Management for Home Assistant


This add-on uses the EMHASS core module from the following GitHub repository:     EMHASS


The complete documentation for this module can be found here:     Documentation


For any questions on EMHASS or EMHASS-Add-on:     Community


For any Issues/Feature Requests for the EMHASS core module, create a new issue here:     Issues

Installation

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

3) Start the EMHASS addon

4) Open the EMHASS web interface, and configure parameters

Installation Method 2 - Manually changing EMHASS version

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

5) Install local version of EMHASS

Developing EMHASS/EMHASS-Add-on

EMHASS

For those who want to develop the EMHASS package itself. Have a look at the Develop page. (EMHASS docs)

EMHASS-Add-on

For those who want to test the EMHASS addon (EMHASS inside of a virtual Home Assistant Environment). Have a look at Test Markdown.

License

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.