Skip to content

Commit

Permalink
Sleep System is more reliable but Wake on LAN is not working
Browse files Browse the repository at this point in the history
  • Loading branch information
ScottGibb committed Aug 5, 2024
1 parent 7f4f3d9 commit 634acb6
Show file tree
Hide file tree
Showing 6 changed files with 326 additions and 315 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.idea
venv
.venv
SOL.log
9 changes: 9 additions & 0 deletions BUILDING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,21 @@ For building this project, there is only really two steps:
- Change the IP and port number of the main.py script to match your preference and PC.
- Change "PROJECT_PATH" variable as well to have the log file log in the wanted directory
- Modify the runSOLScript.bat to point to the repository main.py python script and the python executable
- Setup Virtual Environment and install requirements.txt
- Setup Task Scheduler to run the main.py the runSOLScript.bat on boot
- Enable Wake on LAN in BIOS and Windows; when doing this it is recommended to have wake on a magic packet to prevent
accidental pings waking up the PC

For understanding how to use the Task Scheduler, please follow the link listed below:

## Setting up Virtual Environment

```powershell
C:\Users\smgib_161\AppData\Local\Programs\Python\Python312\python.exe -m venv ./.venv # Hate windows :(
.\.venv\Scripts\Activate.ps1
pip install -r requirements.txt
```

## Sleep on Lan Task Scheduler

![alt text](docs/task%20scheduler%20screenshots/image.png)
Expand Down
Loading

0 comments on commit 634acb6

Please sign in to comment.