Dependencies
- Install docker and docker-compose.
sudo apt install -y docker docker-compose
- Install git.
sudo apt install -y git
- Install your favourite text editor. For example, nano.
sudo apt install -y nano
Install process
Open the ports 80 and 443 on your router/firewall if needed.
Create a DDNS domain and set it using your public IP. DuckDNS and no-ip are supported.
Clone the repo and cd into it.
git clone https://github.com/kikeelectronico/Homeware-LAN.git
cd Homeware-LAN
- Create your own
.env
file from.env.template
. Data will be used to generate certs on letsencrypt.
cp configuration_templates/.env.template .env
- Replace the default data with your values.
- DOMAIN: your domain name from step 2.
- EMAIL: your email. It is used for getting the SSL certificate from Let's Encrypt.
- HOMEWARE_USER: the admin username that you will use to log in.
- HOMEWARE_PASSWORD: the admin password that you will use to log in.
- Copy the docker-compose file.
- Debian / Ubuntu
cp docker/docker-compose-debian.yaml docker-compose.yaml
- Raspberry Pi / ARM cores
cp docker/docker-compose-raspberry.yaml docker-compose.yaml
- Start the project.
docker-compose up -d
Follow this steps to link Homeware with Google Home: https://homeware.enriquegomez.me/docs/connect-with-google
Finally, set up the necessary data using the Homeware's Settings page.
Default MQTT user and password
- User: mosquitto
- Password: homewarelan123
You may create a different mosquitto_passwd
file following these steps
Thanks to @ajpl for the PR.