Support Terminal Commands for WOL (and other broadcasts) to the App #391
Closed
Nitrousoxide
started this conversation in
Feature requests
Replies: 2 comments
-
Hi, upsnap is meant to be run as a server application only, that's why there are now cli commands to wake individual devices. That would be one reason to have a separate cli client for upsnap... However, can't you make use of the api to wake devices instead of passing commands to the container? Sounds simpler to me. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks, that's a fine solution I can use instead! I'll close this issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
UpSnap works great as a web interface for sending commands to devices on your network. However there doesn't seem to be a way to use it from the terminal as a WoL relay.
Say, for instance, you are on another subnet from the device you wan to wake. You must log into the web interface and manually click the button to send a WoL packet. It does not appear as though you can set up an alias like `fedora-remote-wake="ssh server 'docker exec upsnap upsnapwol device-1'" so you can, with one command, send a wol packet through UpSnap as a proxy. I am aware there are a few concerns with this. First, obviously, you don't want just anyone to be able to pass commands to UpSnap to perform actions on your devices like sleep/wake them. You may need to authenticate the user. You would also need to provide a list of devices saved to UpSnap and the actions it can perform to them so the user can write the command out.
There are obviously other WoL proxies one could use, but this doesn't seem like it would bloat this project much as it's just providing command line access to the already existing actions its taking when commanded via the web interface.
Totally understand though if you say this is outside the scope of this project.
Beta Was this translation helpful? Give feedback.
All reactions