MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-MessageCenter — a unified inbox for MagicMirror notifications

    Scheduled Pinned Locked Moved Showcase
    1 Posts 1 Posters 37 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B Offline
      bwente
      last edited by

      I’ve been working on MMM-MessageCenter, a module that gives notifications from different sources one consistent place on the mirror.

      The idea came from a pretty simple problem: a notification appears, disappears, and nobody knows whether anyone actually saw it. Different modules and services also handle alerts differently, so important information can easily get lost.

      MessageCenter adds a small notification history with clear unread, viewed, acknowledged, dismissed, and expired states.

      What can send messages?

      Everything:

      • Other MagicMirror modules
      • MagicMirror’s bundled Weather module
      • MMM-Remote-Control
      • Home Assistant
      • REST webhooks
      • MQTT
      • Local Unix-socket scripts and system monitors

      It intentionally doesn’t collect every internal MagicMirror event. Modules either use the MessageCenter API or an explicitly enabled adapter, which keeps refresh, navigation, and module-control traffic out of the inbox.

      A few examples

      A dishwasher notification can briefly appear as an alert and then remain in history until someone views it.

      A doorbell message can include a camera snapshot captured when the event happened, so the image doesn’t change before somebody checks it.

      The standard MagicMirror Weather module can add a “Rain approaching” message without requiring a separate weather service.

      A local monitoring script can report low disk space, high temperature, network trouble, or another condition that should be visible on the mirror.

      489bf62b-9edb-44bc-b4d7-6252e6a60b70-image.jpeg

      Different ways to display it

      MessageCenter can be used as:

      • A compact list in a normal MagicMirror region
      • A full-page message inbox
      • A touch-friendly display with message controls
      • A non-touch display that simply shows the newest messages

      It can show temporary alerts, retain message history, expire old messages, update existing messages by ID, and publish attention events for other integrations. It only says that something needs attention, leaving other modules and integrations free to decide what that means.

      Configuration, payload examples, and documentation:

      https://github.com/bwente/MMM-MessageCenter

      1 Reply Last reply Reply Quote 2

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      • 1 / 1
      • First post
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy