How to Install Gladys on Windows 11
Gladys is an open-source home automation assistant that can control all smart devices in your home. In this tutorial, we will learn how to install Gladys on a Windows 11 computer.
Prerequisites
Before you start installing Gladys, please ensure you have the following prerequisites:
- A Windows 11 computer with at least 4 GB RAM
- Node.js v14.0 or later
- Git
Step 1 - Download Gladys
- Open your preferred web browser.
- Go to https://gladysassistant.com/download/.
- Select "Windows" from the list of available platforms.
- Click the "Download" button to start the download.
Step 2 - Install Gladys
Open File Explorer and navigate to the folder where Gladys was downloaded.
Double-click the downloaded Gladys ZIP file to extract its contents.
Open the extracted folder and locate the "package.json" file.
Right-click on this file and select "Open with Notepad."
Locate the following section of the file:
"dependencies": { "gladys-gateway-usb": "^1.1.0", "pm2": "^5.1.0" },Change the version of "pm2" to "^4.2.3" to ensure compatibility with Windows 11.
Save the changes and close Notepad.
Open a Command Prompt window by pressing "Windows Key + R" on your keyboard, typing "cmd" and hitting "Enter."
Navigate to the extracted Gladys folder by typing the following command:
cd path/to/gladysOnce you have changed directory to Gladys, run the following command to install all dependencies:
npm install
This process may take a few minutes to complete.
- Once all dependencies have been installed, run the following command to start Gladys:
npm start
Wait for Gladys to start up. This may take a few minutes.
Once Gladys has started up, open your web browser and go to http://localhost:8080 to access the Gladys web interface.
Conclusion
In this tutorial, we learned how to install Gladys on a Windows 11 computer. Now you can start exploring Gladys and controlling all the smart devices in your home!