This repository contains docker compose file with Home Assistant + ipfs daemon + libp2p proxy + zigbee2mqtt.
Fisrt of all you need to install Docker. Find installation instructions on official website:
Alternatively, good instructions could be found here:
Docker should start without root preventives. This is important to provide correct access to directories.
then, install additional packages:
sudo apt-get install wget unzip git jq
Insert zigbee coordinator in your PC before start script!
First, download the repository and go to it:
git clone https://github.com/airalab/home-assistant-web3-build
cd home-assistant-web3-build/
then you have to create .env
file. Convert it from template.env
file:
cp template.env .env
After that,You may open the file and edit default values such as:
- Versions of packages
- path to repository where will be stored all configurations folders.
- time zone in "tz database name".
Run bash script:
bash setup.sh
After everything started, Home Assistant web interface will be on 8123 port and zigbee2mqtt on 8099 port.
It will stop and delete running docker containers.
To update version of packages, run update.sh
script. It will stop running containers, dowload new version of packages and start everything again. This script will save all configurations files.
To stop everything run stop script:
bash stop.sh