darickc / MMM-BackgroundSlideshow

MIT License
144 stars 84 forks source link

Stop and Resume slideshow automatically on USER_PRESENCE notification #110

Open DanielHabenicht opened 2 years ago

DanielHabenicht commented 2 years ago

I am using a PIR sensor to detect the presence of people. For that, I am using https://github.com/paviro/MMM-PIR-Sensor. Now I would like to stop the slideshow if nobody is watching. The module I am using sends a USER_PRESENCE notification.

Now I just wanted to ask if it is favoured to A - Provide a PR for this functionality (integrating the listener) or B - Program a custom module for it, which translates the notification to ones that are already implemented.

Thanks, Daniel

darickc commented 2 years ago

I would favor option B. Then the code won't fill up with notifications that everyone wants supported.