I am running MM version 2.7.1 with the latest MMM-AlexaOnOff module. Below is my config.js details for this module. I get no errors when restarting MM and had no problem with Alexa discovering the devices listed in the module. I get confirmation feedback from Alexa when saying “Turn Magic Mirror Off”, but nothing happens. This used to work on an older build of MM but I wanted to start from scratch with the latest version and this has been the only Mod not working correctly. Any help is appreciated. Thank you.
{
module: 'MMM-AlexaOnOff',
// classes: 'default everyone',
config: {
devices: [{
name: "Magic Mirror",
on: {
notification: "REMOTE_ACTION",
payload: { action:'MONITORON' }
},
off: {
notification: "REMOTE_ACTION",
payload: { action:'MONITOROFF' }
},
},
{
name: "Magic Mirror Modules",
on: {
notification: "REMOTE_ACTION",
payload: { action:'SHOWALL' }
},
off: {
notification: "REMOTE_ACTION",
payload: { action:'HIDEALL' }
},
},
{
name: "Magic Mirror Maps",
on: {
notification: "REMOTE_ACTION",
payload: {action: "SHOW", module: "module_8_MMM-GoogleMapsTraffic"}
},
off: {
notification: "REMOTE_ACTION",
payload: {action: "HIDE", module: "module_8_MMM-GoogleMapsTraffic"}
},
},
{
name: "Magic Mirror Reboot",
on: {
notification: "REMOTE_ACTION",
payload: { action:'REBOOT' }
},
off: {
notification: "REMOTE_ACTION",
payload: { action:'SHUTDOWN' }
},
},
{
name: "Magic Mirror Update",
on: {
notification: "REMOTE_ACTION",
payload: { action:'UPDATE' }
},
off: {
notification: "REMOTE_ACTION",
payload: { action:'RESTART' }
},
}]
}
},