Help: Creating a Button to send Wake on Lan from OctoPi to Home PC?

What is the problem?
I want to use the SSH Tunneling through Spaghetti Detective to get to my OctoPrint when I'm away and would like the Pi to send a magic packet over LAN to turn on my PC when I'm away from my home wi-fi

What did you already try to solve it?
Researched online but haven't found any supporting documentation.

Logs (syslog, dmesg, ... no logs, no support) (3.8 MB)

Since I already have the tunnel to the OctoPi I thought I could put something in there to send this request or build a plugin if I have to. Just wanted to see if any other users have ever tried their hand at creating/doing something like this!

Is Spaghetti Detective using SSH tunneling to connect to your OctoPrint instance? That doesn't sound like something that would have been approved on the plugin repo during review.

In any case, if you can find the linux command to send the magic packet you could use Event Manager to do run it on specific events (ie, PrintStart, PrintFail, etc.). The other option would be using GCODE System Commands to run the command from a button you add using Custom Controls in config.yaml.

Whoops my bad I mixed up what I saw - it's SSL not SSH my bad :slight_smile:

I'll give that a try! Gives me something to start with. I'll update the thread if I find anything useful!