wol-plex-server
SteamStreamScripts
wol-plex-server | SteamStreamScripts | |
---|---|---|
1 | 2 | |
38 | 0 | |
- | - | |
10.0 | 0.0 | |
over 1 year ago | about 8 years ago | |
Python | C# | |
- | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
wol-plex-server
-
Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again
- Time Machine Backups (locally)
To monitor Plex activities, we access the local Plex API and for Time Machine we simply monitor any file access at /mnt using "lsof." In case there has been no activity for 15 consecutive minutes, the server goes to sleep. (Nobody streams, pausing a video doesn't count as activity, and no backup is running.) A Web server on a Raspberry Pi hosts a website that obtains the current state of the home server provided via the Home Assistant REST API. In case the server sleeps, and I like to backup or stream something, I can wake the server using a simple button press that sends a magic packet using a wakeonlan Perl script.
GitHub: https://github.com/m33x/wol-plex-server
SteamStreamScripts
-
Saving Energy: Home Server That Automatically Suspends to RAM and Wakes Up Again
I built something similar to this to turn on / off a windows gaming PC when I first made my switch to 100% full Linux on my main computer: https://github.com/gravypod/SteamStreamScripts
There's a huge amount of savings in energy to be had from automatically sleeping + WOLing PCs.
-
Ask HN: Tools you have made for yourself?
I have not found a good ebook reader that keeps my state on edge devices and syncs to a server my position. When I had more time to read manga I built this: https://github.com/gravypod/ComicReader
It takes a folder of webp files and remembers your page on local storage. It's not perfect but it's ok. It also prefetches the next 10 or so pages which is fine for reading on a train.
Another, tool that sends wake-on-lan packets and shutdown packets to a windows machine that allowed me to steam stream from a dedicated windows machine: https://github.com/gravypod/SteamStreamScripts