@jezra @tpheine There's need for a "Dr. Strangelove" script. 🚀
Conversation
Notices
-
Embed this notice
morph (morph@morphnet.de)'s status on Thursday, 05-Dec-2024 04:36:40 JST morph -
Embed this notice
jezra (jezra@pleroma.jezra.net)'s status on Thursday, 05-Dec-2024 04:36:42 JST jezra @tpheine There is a machine at my place that handles most of those types of network interactions.
The machine is running a simple server that has an HTTP API that will provide a list of available scripts that can be run, and will allow the user to schedule those scripts to be run at certain times.
For example, there is a script called "Set-7AM-Wakeup-Coffee" and running that script will send the API commands to:
1. set the 'Coffee-On' script to run at 6:15 AM
2. run the 'Set-7-AM-Wakeup' immediately, and that script will send the commands to:
1. update the podcast on my media player at 6:15AM
2. fade the lights on at 7am
3. start streaming KMFA Classical Radio at 7am
For the big red button, I could make a script called "big-red-button" that does a lot of things, and when the button is pressed, a single command would be sent to run the script 'big-red-button'.
That being said, I found another button so now I have 2 buttons to deal with. :) -
Embed this notice
Thomas (tpheine@mstdn.io)'s status on Thursday, 05-Dec-2024 04:36:43 JST Thomas @jezra
Well, 2 I assume? Depending on your infrastructure. -
Embed this notice
jezra (jezra@pleroma.jezra.net)'s status on Thursday, 05-Dec-2024 04:36:44 JST jezra @tpheine perfect. How many API calls is that? -
Embed this notice
Thomas (tpheine@mstdn.io)'s status on Thursday, 05-Dec-2024 04:36:45 JST Thomas @jezra
Shutdown all machines and start the vacuum robots in fight mode -
Embed this notice
jezra (jezra@pleroma.jezra.net)'s status on Thursday, 05-Dec-2024 04:36:47 JST jezra A question as old as time: if you had a big red button, what would you want to happen when it is pressed?
#sipclick
-
Embed this notice