We have moved! This forum is now read only. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


Wake On Lan
#4
(24-Oct-2019, 09:25 AM)mkysimes Wrote: That's great info agent_kith! I'm a little behind the times I guess Think I do have the LMS machine set up and it does work when I use the app on my phone, just wasn't sure if there was an option in Snakeoil web config. Of course the LMS machine is running Snakeoil as well so I can shut it down easily with the web app. Cool
I'm a lot behind the times as well. Just can't find the time to expand on the Wiki. There is a reason why I chose to use a REST API with the current version of Snakeoil - for automation Heart.

At the moment these things are not available in the web config (because I'm doing this externally). Once the startup/shutdown links are included, you can perform some simplier automations. This is a open API, with no OAUTH or any form of authentication. You hit the API entry points, and it'll execute the commands. I'm trying to make this as simple as possible so as not to introduce any additional overheads (for latency sake).

E.g. you can add this to your client PC in the shutdown scripts, and it will shutdown the LMS Snakeoil server remotely.
Code:
curl -d "" -X POST http://the_snakeoil_pc_to_shutdown/api/system/shutdown

Documenting the API is in one of my TODO list. And once that is available, technically anybody can use that as a reference to:
  1. Write their own user interface (i.e. a different version of the Snakeoil web app)
  2. Interface Snakeoil into their home automation system

Getting a universal remote control is one of the things to do. And once that is done, imagine the things I can do.... Via Home Assistant, I hope to:
  1. Play a specific song on specific date/time (e.g. Play some birthday songs on birthdays, or anniversaries)
  2. Voice control, probably have to cheat on this a little via IFTTT
  3. infinite possibilities
None of this has to do with audio quality per se.. It just makes life so easy Big Grin Big Grin....
Snakeoil Operating System - Music, your way!
Reply


Messages In This Thread
Wake On Lan - by mkysimes - 24-Oct-2019, 06:17 AM
RE: Wake On Lan - by agent_kith - 24-Oct-2019, 08:27 AM
RE: Wake On Lan - by mkysimes - 24-Oct-2019, 09:25 AM
RE: Wake On Lan - by agent_kith - 24-Oct-2019, 10:20 AM
RE: Wake On Lan - by Bromf - 24-Oct-2019, 12:19 PM
RE: Wake On Lan - by mkysimes - 25-Oct-2019, 04:26 AM



Users browsing this thread: 1 Guest(s)
[-]
Our Sponsors
{myadvertisements[zone_4]}

[-]
Latest Threads
Android Firefox issues with forum
Last Post: agent_kith
10-Jun-2025 04:45 PM
» Replies: 21
» Views: 2194
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
09-Jun-2025 06:43 AM
» Replies: 14
» Views: 1622
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 9267
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 926
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 687
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 5120
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 5662
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 15299
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 4668
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 1255

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.