Wake-on-LAN Webinterface is a simple web application built with Flask that allows you to manage and wake up devices on your local network using Wake-on-LAN. The application enables you to add, delete, and wake up devices, providing a convenient interface for managing your wake-up requests.
- Device Management: Add, delete, and view devices on your local network.
- Wake-up Functionality: Send Wake-on-LAN magic packets to wake up devices remotely.
- Device Status: Check the online/offline status of devices.
Follow these steps to set up and run the Flask Wake-on-LAN application:
- Clone the Repository:
git clone https://github.com/bhuaysan/Wake-on-Lan-Webinterface.git
- Install Dependencies
pip install flask wakeonlan
- Run the Application
python app.py
-
Add Devices:
- Access the web interface and navigate to the "Add Device" page.
- Enter the device name, MAC address, and IP address, and submit the form.
-
Wake Up Devices:
- On the main page, view the list of devices.
- Click the "Wake Up" button next to a device to send a Wake-on-LAN magic packet.
-
Delete Devices:
- On the main page, view the list of devices.
- Click the "Delete" button next to a device to remove it from the list.
-
View Device Status:
- The main page displays the current online/offline status of each device.
The application stores device information in a JSON file named devices.json. Make sure this file is present in the project directory. If not, the application will create an empty list of devices.
Feel free to contribute to this project. Whether it's fixing a bug, improving the documentation, or adding new features, your contributions are welcome.
This project is licensed under the MIT License.
- Flask: https://flask.palletsprojects.com/
- Wake-on-LAN: https://pypi.org/project/wakeonlan/