Read the statement by Michael Teeuw here.
Send a notification to your MagicMirror
-
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?
-
@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. -
@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
-
@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
-
@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. -
-
@chrisfr1976 you can also use my
MMM-CurlToNotification
module