MMM-AlarmClock icon indicating copy to clipboard operation
MMM-AlarmClock copied to clipboard

ShellExec

Open Dubidubiduu opened this issue 3 years ago • 2 comments

Hey there,

this is more a feature request. I would love to see an option to run Shell commands in case of alarm. This way I could turn on/turn off my light in alarm case..

optional: shell commands in case of touch after alarm and shell command if no one touches.

https://github.com/gfischershaw/MMM-Touch/blob/master/MMM-Touch.js got that ShellExec to work

Thanks for module!!

Dubidubiduu avatar Jan 22 '22 01:01 Dubidubiduu

@Dubidubiduu it sounds like what you want already exists here https://github.com/ralberth/MMM-ScriptScheduler

fewieden avatar Jan 22 '22 05:01 fewieden

Thanks for fast reply @fewieden. Yeah, I know of that module, but it comes with big disadvantes for me, like don't know the alarm was for (only icon, no title/text), also no way to interrupt the "alarm" so I think it makes perfect sense to stick to an alarm clock module, even it doesn't get that ShellExec-functionality (soonish or at all).

Dubidubiduu avatar Jan 22 '22 09:01 Dubidubiduu