Install Homeware
To install Homeware, follow these steps. Keep in mind that Homeware is built for Debian, Ubuntu, Raspberry Pi OS and their derivatives.
Dependencies
- Install docker and docker compose plugin following the instructions for your OS:
- Install git following the instructions for your OS:
- Install your favourite text editor.
- For example, nano in Debian:
sudo apt install -y nano
Installation 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
.envfile 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.
Keep in mind that the default MQTT user and password are:
- User: mosquitto
- Password: homewarelan123
You may create a different
mosquitto_passwdfile following these steps
Thanks to @ajpl for the PR.