airalab / home-assistant-web3-build

Docker Compose image with Home Assistant and Web3 tools
Apache License 2.0
1 stars 3 forks source link
home-assistant ipfs libp2p robonomics smart-home zigbee2mqtt

home-assistant-web3-build

This repository contains docker compose file with Home Assistant + ipfs daemon + libp2p proxy + zigbee2mqtt.

Requirements

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!

Configuration

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:

Installation and Run

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.

Update

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.

Stop

To stop everything run stop script:

bash stop.sh