MMM-Sounds - Play sounds triggered by other Modules

  • MMM-Sounds for any mirror/operating system with Alsa support and speakers attached or built in to the monitor. Full setup instructions in the readme.

    Currently used in my other MMM-IFTTT module.

    To play a sound from another module:

    this.sendNotification('PLAY_SOUND', 'wobble.wav');

    or also specifying a delay:

    this.sendNotification('PLAY_SOUND', {sound: 'wobble.wav', delay: 1000}); // 1 second delay

  • Module Developer

    Interesting… I could add this to the MMM-Mail to play a sound when a new email comes in… nice 🙂