Skip to content
Slack announcements module for Magic Mirror 2
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
images Add sample images Oct 18, 2018
LICENSE Change module name to match conventions, add license, add readme Oct 18, 2018
MMM-SlackAnnouncements.js
README.md

README.md

Hacker Home Mountain View Presents...

alt text

MMM-SlackAnnouncements

MagicMirror2 made.

Dependencies

Usage

Point the module at the desired Slack channel (not the channel name, but the ID) and give it a slackToken with valid permissions (authorized to read channel histories), and it will display the latest message on the channel on your mirror as an announcement.

Installation

  1. Clone this repo into ~/MagicMirror/modules directory.

  2. Configure your ~/MagicMirror/config/config.js:

    {
        module: 'MMM-SlackAnnouncements',
        position: 'top_right',
        config: {
               // See 'Configuration options' for more information.
           }
    }
    

Configuration Options

Option Default Description
title Announcements Title for the module
updateMs 3000 Milliseconds in between announcement message refresh
channel [MUST SET] Slack channel to listen for announcements on
slackToken [MUST SET] Slack API token (must be authorized for channel.history)
You can’t perform that action at this time.