@Seregeth If I’m reading the documentation correctly, it works like this:
You say: [wake word] [mirror name] [command]
The module will then broadcast [notification].
So when you say “Alexa mirror off”, it’s telling the device “mirror” to use the notification named “off” (which is installed by default with the module).
In order to get the behavior you describe, you’ll need to do an extra step that I’m not sure is in the documentation. But it’s not all that hard. You have the module installed and working already, so we’ll take that as a given.
Work from the result back to the command. Start with the weather module and making it appear & disappear. Probably using MMM-pages but I’m sure there are other ways. With MMM-pages, you can configure it so that the notification SHOW_HIDDEN_PAGE with a package of “weather” will display the page with your weather module on it. Once you can successfully hide & display the weather module, move to the MMM-AlexaControl module.
Now you configure AlexaControl to send the SHOW_HIDDEN_PAGE notification. Something like this:
notifications: [ { name: 'show page 1', port: 11100, OnOff: false, notification: ['SHOW_HIDDEN_PAGE', 'weather'] } ]This configures your module to respond to an Alexa command of “show page 1” by sending the notification SHOW_HIDDEN_PAGE.
Now you move to your phone and the Alexa app. You need to create a “routine” for your Alexa that responds to exactly the phrase that you want. The app interface is pretty intuitive so you shouldn’t have a problem. It basically reads as “When you say…” then “Alexa will…”. You want to configure it to match the phrase and give the command of “mirror show page 1”. Which will match the name of your Magic Mirror device followed by the command that you set up to send the notification.
That should do it, more or less. If not, it should get you close enough that troubleshooting will close any gap.