For a list of bugs and future features, take a look at the wiki.
MagicMirror² is an open source modular smart mirror platform, which allows you to convert your hallway or bathroom mirror into your personal assistant. https://magicmirror.builders/
Discourse is an open source Internet forum and mailing list management software application. It allows communities to have civilised discussions. A few examples of sites that use this, can be viewed here: https://www.discourse.org/customers
This module integrates Discourse into the MagicMirror. Notifications can be displayed to the user on the mirror.
These notifications can also be viewed on https://{Discourse site}/u/{your username}/notifications
.
By showing notifications on the mirror, you are always updated. Even when you don't check your mail.
Check which version of NodeJS you have got with:
node --version
If you do not have Node V12 or above, you need to update it to make this module work. For Ubuntu (and Raspbian), to the following (source):
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
You can install the module in one of the 2 ways.
The NPM package comes soon. For now, use the other method.
Go to your modules folder: {MagicMirrorPath}/modules/
and use the follow commands to download the module and its dependencies.
git clone https://github.com/jordy-u/MMM-Discourse-notifications.git
cd MMM-Discourse-notifications
npm install
Add the following code to config.json
in modules[ ... ]
:
{
module: "MMM-Discourse-notifications",
position: "top_left",
config: {
site: "sub.example.com", //If the website does not use a subdomain, try adding 'www.' when the module does not work.
userApiKey: "<YOUR API KEY>",
showIcon: true,
showDurationSeconds : 6,
updateNotificationsAfterSeconds : 60,
}
},
To generate a key, install Ruby and follow this tutorial to get one: https://meta.discourse.org/t/generating-user-api-keys-for-testing/145744
Don't confuse User-Api-Key with Api-Key, which is a key for admins. Generating User-Api-Keys is allowed by default. If it is not allowed, contact your site admin.