Skip to content

Ali1/PlexLocalWOL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Plex Local WOL (Wake-On-Lan) for Raspberry Pi and other local devices

If you have a raspberry pi, why not save some energy and allow the server that hosts a Plex Media Server to go to sleep! The Raspberry Pi can act as an addition Plex server, but will work to also activate a sleeping local server via Wake-On-Lan features once a client device is connected.

Requirements

Installation

Plex set up

First install Plex on the raspberry pi to act as a dummy server. On rasperry pi OS/ubuntu this can be done using apt - there are a number of tutorials to set this up

Go to http://localhost:32400/web/index.html on the pi and link it to your Plex account. It should automatically auto-start on every reboot. This dummy server ensures that the Pi is kept in the loop when you are remotely trying to access Plex media. Now that you have a Plex server on your raspberry pi, connections to the pi will be made every time a Plex client opens on e.g. on your TV or your phone app.

Restart the pi and open a client device and ensure that connections to the pi Plex server work well both locally and also when you turn off Wifi and access via mobile internet to ensure Remote Access is working.

**In Plex settings, "Enable Plex Media Server debug logging" is enabled on the Pi Plex server (under Settings -> General). Verbose logging is not required.

Install and configure the app

sudo adduser --system --no-create-home --group plexlocalwol
sudo mkdir /usr/local/plexlocalwol
cd /usr/local/plexlocalwol
sudo git clone https://github.com/Ali1/PlexLocalWOL/ ./
sudo composer install
sudo cp config/config.php.new config/config.php
sudo nano config/config.php # EDIT the mac and host IP address fields
sudo chown -R plexlocalwol:plexlocalwol /usr/local/plexlocalwol/

Now install as an auto-starting service

cd /usr/local/plexlocalwol
sudo bin/install

Check status

systemctl status plexlocalwol

FAQ

My ethernet connection is slow. Can I use wifi and ethernet

On windows you can enable both and WOL should work. Make sure to prioritise your wifi connection to take advantage of the speed. https://www.windowscentral.com/how-change-priority-order-network-adapters-windows-10

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published