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. -
S sdetweil has marked this topic as solved on
-
@chrisfr1976 you can also use my
MMM-CurlToNotification
module
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