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

Execute script when User is detected ?

Open essare opened this issue 5 years ago • 1 comments

Thank you for this awesome module. I would like to know if its possible to run custom scripts when user is active ? I want to play random music when user is detected and stop it when he's inactive.

essare avatar Apr 16 '19 20:04 essare

Hi @Ess-Soft, this is not possible 'out-of-the-box' and is not within the scope of this module. However, what you can do is write a module that hooks into the 'USER_PRESENCE' notification and then plays some nice music.

mboskamp avatar Apr 17 '19 14:04 mboskamp