Skip to content

Quick and dirty implementation of a Wake-on-Lan server that will be hosted in a home network. It was built to bypass the need for a paid service like Google Cloud Functions when waking from outside the home network by using Firebase's free tier.

License

Notifications You must be signed in to change notification settings

wjin-lee/mirus-wol-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Wake-on-LAN Server

Quick and dirty implementation of a Wake-on-Lan server that will be hosted in a home network. It was built to bypass the need for a paid service like Google Cloud Functions when waking from outside the local network by using Firebase's free tier.

Commands (power on, or check status of a local computer) are made by the user via the web frontend, and this server aims to process those commands. It traverses the network-address-translation (NAT) layer by using Firebase's real-time database. A simple setup where the server subscribes to changes is used.

See here for more on the Wake-on-LAN standard.

Running

Note

This script depends on Python version >= 3.11.

python3 ./wol_server.py <service_acc_cert_path>

Where service_acc_cert_path must be substituted for a path to the Google service account secrets file.

Testing

"Someday I'll get around to this" 😭

About

Quick and dirty implementation of a Wake-on-Lan server that will be hosted in a home network. It was built to bypass the need for a paid service like Google Cloud Functions when waking from outside the home network by using Firebase's free tier.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages