In this tutorial, we will be installing Gladys, an open-source home automation assistant. The installation process will be done on the latest version of Elementary OS. Follow the steps below to install Gladys on your Elementary OS.
Before we start installing Gladys, make sure that the following components are installed on your device:
You can install these prerequisites using the following commands:
sudo apt-get install nodejs npm docker git -y
After these components are installed, you can proceed to install Gladys.
The first step in installing Gladys is to clone the Gladys repository from GitHub. To do so, perform the following steps:
Open the terminal on your system.
Navigate to the directory where you want to keep the Gladys project files using the cd
command.
cd my_folder/
Once inside the desired directory, clone the Gladys repository using the following command:
git clone https://github.com/GladysAssistant/gladys.git
The Gladys repository will be cloned to your system in the gladys
folder.
After cloning the repository, navigate to the gladys
folder and install it by following these steps:
Navigate to the gladys/server
directory using the following command:
cd gladys/server/
Install the required packages and dependencies by running the following command:
npm install
Wait for the installation to complete.
Once the installation is complete, you can start the Gladys server by running the following command:
npm start
The server will start running on your local machine.
To access Gladys, open your web browser and go to http://localhost:1443
. You will be prompted to set up Gladys for the first time.
The first time you access Gladys, you will be prompted to set it up. Follow the on-screen instructions to configure Gladys according to your needs.
In this tutorial, you learned how to set up Gladys on Elementary OS latest. After following the above steps, you can start automating your smart home using Gladys.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!