MMM-PIR
MMM-PIR copied to clipboard
Execute script when User is detected ?
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.
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.