ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

[DONE] Command line timer for a computer with screen off, like a better pause.ex

(1/3) > >>

user45454:
What I want: A command line timer for a computer with the screen off, basically a better pause.exe that accepts hour and minutes as input.
Why: To let me know when the washing machine and dryer are done.

Use case
On a computer that has the screen turned off
1) I Press a hotkey that launch a bat file.
2) Bat file Plays a wav file (So I know I started the right bat file).
3a) Timer.exe is started and waiting for my input                                                                          <------------- This is where I need your help.
3c) I input the time with H MM (Example:132=1 hour & 32 min) and press return.                          <------------- This is where I need your help.
3b) The program plays a wave-file (or beeps) to let me know it accepted the input and start the countdown <------------- This is where I need your help.
3c) When the countdown is done the program exists and the bat file can continue.                          <------------- This is where I need your help.
4) The .bat file makes a HTTP call via curl to my IoT-server that in turn will notify me via a voice message on the speakers and a Telegram notification.

I will make two .bat-files, one for washer and one for the dryer.
I'm thinking that an enhanced version of pause.exe or timeout.exe should do the trick.

publicdomain:
Hi & thanks for your request! It's all possible via .exe :)

4) The .bat file makes a HTTP call via curl to my IoT-server
-user45454 (March 16, 2021, 06:41 PM)
--- End quote ---

What's the target IoT server's IP? (to set as default address for your use case)

Cheers!

KodeZwerg:
How about a generic GUI driven calendar tool that support date warnings (birthdays etc) and timer based things, that can perform execution tasks, like calling a .cmd file, or add individual tasks (commands) like a .cmd replacement?
Click icon to quick enable timer and then you turn off screen...
Editor to create tasks as usable preset would be included.
Hotkeys for preset are also an option.

user45454:
I kind of solved it with the following.


--- ---set /P time2="Set delay"
start /wait HourglassPortable.exe %time2%

App used: https://chris.dziemborowicz.com/apps/hourglass/

The problem is I need to write "H" to get hourglass to understand that I want hours.
Example: "1h25" will get me 1 hour and 25 minutes.

It would be nice to be able to skip the "H" and also have it all in comand prompt.

user45454:
Hi & thanks for your request! It's all possible via .exe :)

4) The .bat file makes a HTTP call via curl to my IoT-server
-user45454 (March 16, 2021, 06:41 PM)
--- End quote ---

What's the target IoT server's IP? (to set as default address for your use case)

Cheers!
-publicdomain (March 31, 2021, 11:26 PM)
--- End quote ---

Hi,
 :)
Local server, 192.168.0.232.
But I only need the timer part, the call to ther server can be done with curl.
I attached a picture of what im thinking.

Navigation

[0] Message Index

[#] Next page

Go to full version