@j-e-f-f That makes sense, thank you very much.
Is there any way that I can track those notifications? Like for example, if I send a notification with the MMM-Buttons, is it registered anyway that I can check?
@j-e-f-f That makes sense, thank you very much.
Is there any way that I can track those notifications? Like for example, if I send a notification with the MMM-Buttons, is it registered anyway that I can check?
@Sean That does make sense, thank you. In some modules’ descriptions they are just mentioned but no indication on how one should use them.
@j-e-f-f So I see that in the MMM-Buttons module the notifications are defined in the config file and you can use the needed payload to send information.
So if I understand correctly, if I send a notification from MMM-Buttons like so:
this.sendNotification('CURRENT_PROFILE', 'DESIRED_PROFILE_NAME_HERE');
Do I just send the desired notification with the payload of the desired profile and the ProfileSwitcher will understand it?
I’m trying to understand how should I use notifications. What I’ve been seeing around is that you can use notifications to signal events from one module to another. For example I could use a button to send a notification to show or hide some module.
What I have not found is how do I use this notifications? Do I write them in the config.js file?
To give a little bit of context, what I am trying to do is to build a small magic mirror that will show one module at a time and will change modules whenever I push a button (or any other notification). I want to achieve this using the MMM-ProfileSwitcher by tosti007. About the notifications, I will probably use MMM-Button.
Hey, that looks very nice.
I’m trying to insert it in my config with the spanish translation but I’m getting the german one. This is my config:
module: "MMM-WordClock",
position: "middle_center",
url:["http://laurenzbremicker.de/wordclock/index.html#l=es"]
The URL seems to be correct, since if I visit it I can see the image displayed in my computer. Do you know what the problem might be?