# Install prerequisites
# Install Theengs Gateway
Doing so is simple as 1 command:
pip3 install TheengsGateway
You can access advanced configuration by typing:
python3 -m TheengsGateway -h
# Install Theengs Gateway as an Add ON in Home Assistant
- Open Home Assistant and navigate to the "Add-on Store". Click on the 3 dots (top right) and select "Repositories".
https://github.com/mihsu81/addon-theengsgwin the box and click on "Add".
- You should now see "TheengsGateway HA Add-on" at the bottom list.
- Click on "TheengsGateway", then click "Install".
- Under the "Configuration" tab, change the settings appropriately (at least MQTT parameters), see Parameters.
- Start the Add-on.
# Advanced users - Build and install
git clone https://github.com/theengs/gateway.git cd gateway git submodule update --init --recursive python3 setup.py sdist cd sdist pip3 install distribution_file_name
When launching the gateway you must be outside of its source code folder to avoid errors