• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Send a notification to your MagicMirror

Scheduled Pinned Locked Moved Solved Feature Requests
5 Posts 2 Posters 353 Views 2 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.
  • C Offline
    chrisfr1976
    last edited by Feb 16, 2025, 2:25 PM

    Hi,

    is there a chance to send a notification from outside to the Mirror? I‘d like to use an Apple shortcut to start some actions from outside. Another my could be Alexa but I think all Alexa-modules do not work anymore?!

    I tried so far:

    pm2 send mm emit "Cookidoo_view"
    

    and

    node -e "require('electron').ipcRenderer.send('MY_CUSTOM_NOTIFICATION', { message: 'Hello from Node\!' })"
    

    And i tested a notification script but also without success:

    var NodeHelper = require("node_helper");
    
    var helper = NodeHelper.create({
        start: function () {
            this.sendSocketNotification("Cookidoo_view");
        }
    });
    
    module.exports = helper;
    

    Any ideas?

    Regards, Chris.

    S 2 Replies Last reply Feb 16, 2025, 2:43 PM Reply Quote 0
    • C Offline
      chrisfr1976 @sdetweil
      last edited by Feb 23, 2025, 7:05 PM

      @sdetweil
      Hi, yes but I used a different approach. I wanted to get a link from my module. Now the link is automatic saved an I can get it with an Apple shortcut. See MMM-Cookidoo.

      Regards, Chris.

      S 1 Reply Last reply Mar 5, 2025, 7:40 PM Reply Quote 0
      • S Away
        sdetweil @chrisfr1976
        last edited by sdetweil Feb 16, 2025, 2:44 PM Feb 16, 2025, 2:43 PM

        @chrisfr1976 see the 3rd party list

        https://github.com/Tom-Hirschberger/MMM-CommandToNotification

        AlexaControl still works, but requires a real echo device to do the voice action and interface to MagicMirror

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • S Away
          sdetweil @chrisfr1976
          last edited by Feb 23, 2025, 3:03 PM

          @chrisfr1976 did you resolve this?

          notifications between modules can ONLY be sent/received in/from the modulename.js side,
          in browser…

          socket notifications are ONLY between the modulename.js AND the node_helper loaded with this module

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          C 1 Reply Last reply Feb 23, 2025, 7:05 PM Reply Quote 0
          • C Offline
            chrisfr1976 @sdetweil
            last edited by Feb 23, 2025, 7:05 PM

            @sdetweil
            Hi, yes but I used a different approach. I wanted to get a link from my module. Now the link is automatic saved an I can get it with an Apple shortcut. See MMM-Cookidoo.

            Regards, Chris.

            S 1 Reply Last reply Mar 5, 2025, 7:40 PM Reply Quote 0
            • S sdetweil has marked this topic as solved on Feb 23, 2025, 7:22 PM
            • S Away
              sdetweil @chrisfr1976
              last edited by Mar 5, 2025, 7:40 PM

              @chrisfr1976 you can also use my
              MMM-CurlToNotification
              module

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • 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