@sdetweil I did find this line commented out near the top of the MMM-Remote-Control.js which may be where they are working to resolve this.
// Log.log(this.name + " received a module notification: " + notification + " from sender: " + sender.name);
@sdetweil I did find this line commented out near the top of the MMM-Remote-Control.js which may be where they are working to resolve this.
// Log.log(this.name + " received a module notification: " + notification + " from sender: " + sender.name);
@sdetweil Correct. There were 2 instances in the MMM-Remote-Control.js where I changed console.log to Log.log and this did resolve my issue. I was more curious to know if this was an issue with AlexaOnOff not having an update or if it was due to Remote-Control updating to a newer build.
@sdetweil Is this something that happened because I updated MMM-Remote-Control and MMM-AlexaOnOff does not have an update? If so, would it be better to update AlexaOnOff to have console.log instead of log.log? That being said, I could not find Log.log in AlexaOnOff.js anyways.
Are there other modules that will stop working if I change MMM_Remote_Control to Log.log? I saw it in there a couple of times and changed it. This did resolve the issue but I need to see if there are other Modules throwing red flags now.
Thank you for the Help! Hopefully MMM-AlexaOnOff gets an update to help everyone else with 3rd Gen Alexa devices get discovered.
@dazza120 Correct, nothing in the config.js but the defaults.
So IF I understand this log correctly, my mirror is receiving the Notification from my Alexa Device but the AlexaOnOff module is not operating correctly. Any suggestions?
module.js:154 MMM-WatchDog received a module notification: REMOTE_ACTION from sender: MMM-AlexaOnOff
module.js:154 MMM-Screencast received a module notification: REMOTE_ACTION from sender: MMM-AlexaOnOff
module.js:154 MMM-GoogleMapsTraffic received a module notification: REMOTE_ACTION from sender: MMM-AlexaOnOff
MMM-Remote-Control.js:43 Uncaught TypeError: console.log is not a function
at Class.notificationReceived (MMM-Remote-Control.js:43)
at sendNotification (main.js:95)
at Object.sendNotification (main.js:502)
at Class.sendNotification (module.js:368)
at config.devices.forEach.d (MMM-AlexaOnOff.js:47)
at Array.forEach (<anonymous>)
at Class.socketNotificationReceived (MMM-AlexaOnOff.js:37)
at module.js:246
at r.<anonymous> (socketclient.js:25)
at r.emit (index.js:83)
@dazza120 I have had my image tightly packed onto an 8gb SD Image and then run it on a 16gb image for more space. Overtime Cache and whatever else was maxing out my 8gb. I haven’t had any issues since rebuilding the image with newer MM and Modules. Running WatchDog and having it all on a 16gb image seems to have really helped.
@Stoffbeuteluwe Yeah, I have been reading that the 3rd Gen Alexa devices are not locating the modules. You might try discovery through the app or web browser http://alexa.amazon.com.
@dazza120 I never determined why but my mirror would “hide all modules” regularly. I would constantly wake up or notice that the screen was on but not displaying anything. A restart of MM would resolve but since running WatchDog this hasn’t been the case. It’s like services stopped working and WatchDog is supposed to restart any services that stop. I installed WatchDog at the same time I updated to the latest MM build so it could be coincidental.
YET ANOTHER UPDATE: I have gone through and added a few more modules to include MMM_AssistantMK2, MMM_AlexaOnOff and MMM-Screencast. Having the embedded Google assistant in the mirror helps get additional information when I see something about weather or my calendar. Having AlexaOnOff helps when I want to vocally turn the mirror on/off or even reboot or update. I use the screen cast occasionally to play fitness videos while correcting my form. I even added a much larger list of compliments including ones specific to weather that everyone tends to enjoy.
Lastly, I added the WatchDog module which has really helped stabilize the mirror. I recommend anyone running this on a Pi to have this module. This has been at times challenging but remains on of my favorite projects and gets used daily. I hope everyone enjoys theirs as much as I enjoy mine.
If the REMOTE_ACTION of MONITOROFF works from the remote UI then the notifications are sent and received and executed properly. Does anyone have any recommendations as to how I can test if the Notifications sent from my Alexa device to the module is received? Just trying to hash through this one. Any help is appreciated. Thank you.
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' }
},
}]
}
},
@hannes23 So long as the light in front of the mirror is brighter than the monitor behind the mirror it won’t bleed through. I am using an old LCD screen I had lying around but an OLED would produce the best results as the black on those is truly black. I only get bleed through when I turn the light off in my room. If the light is on, all looks good.
I use MMM-BackgroundSlideshow. Here is list of my modules:

Update: MMM-BackgroundSlideshow stopped working for me so I switched to MMM-EasyBack.
@azscram
No, that was my Echo Dot. The PIR is somewhat visible in the second picture. There is a small ribbon cable going from the Pi to the PIR. It’s on the right side so anytime I want it on I just wave my hand on right of the mirror. It’s incredibly sensitive so I never have a problem waking it up.
I am in process of adding a PS3 Eye cam and using MMM-Hotword and MMM-AssistantMk2. Might even go as far as training facial recognition.
@electros
The app is only a wrapper pointing to my mirror at http://192.168.1.222:8080/remote.html. This is only able to be done as I have statically assigned my mirror as the .222 address. I could run a port forward on my firewall and allow it to work from outside the house but I haven’t got a need to since I wouldn’t be standing in view of the mirror and it’s a security vulnerability. Let me know if you have further questions.
OK, UPDATE: I have continued to program on the Magic Mirror and although it doesn’t look like it, the last few weeks of programming have paid off. I have added Module Schedules and Timers. At night (from 6pm till 4am) it will display Moon Phases. I also added a network scanner that tells me when my kids Xbox or Tablets are online. I caught them once playing in the middle of the night LoL.
I have also built an Android app that lets me control the mirror using the MMM-Remote-Control. I can turn Modules on and off, turn the mirror on and off, update the modules and reboot the whole system. Pretty handy when I am showing it off.
Lastly, to get in the Halloween Spirit I added some scary backgrounds that fade in and out at random. True story, I got good and drunk the night I decided to add these wallpapers. During the middle of the night I get up to go to the bathroom and Scared The Hell out of Myself when I walked past my mirror and saw the Nun!

Same as everyone here, I have took on the awesome project of building my own Smart/Magic Mirror. I’ll spare the details unless someone inquires but I did build my own frame. I utilized an old 20" monitor I had and put it at the top of my 20"x48" mirror. Using a Pi3 to run the server I have attached a PIR Sensor to trigger it on and off. I am really only using the default modules along with the Remote Module. Truly the best part was me putting in the Background Module and scaring family and friends with it!
OK, UPDATE: I have continued to program on the Magic Mirror and although it doesn’t look like it, the last few weeks of programming have paid off. I have added Module Schedules and Timers. At night (from 6pm till 4am) it will display Moon Phases. I also added a network scanner that tells me when my kids Xbox or Tablets are online. I caught them once playing in the middle of the night LoL.
I have also built an Android app that lets me control the mirror using the MMM-Remote-Control. I can turn Modules on and off, turn the mirror on and off, update the modules and reboot the whole system. Pretty handy when I am showing it off.
Lastly, to get in the Halloween Spirit I added some scary backgrounds that fade in and out at random. True story, I got good and drunk the night I decided to add these wallpapers. During the middle of the night I get up to go to the bathroom and Scared The Hell out of Myself when I walked past my mirror and saw the Nun!
YET ANOTHER UPDATE: I have gone through and added a few more modules to include MMM_AssistantMK2, MMM_AlexaOnOff and MMM-Screencast. Having the embedded Google assistant in the mirror helps get additional information when I see something about weather or my calendar. Having AlexaOnOff helps when I want to vocally turn the mirror on/off or even reboot or update. I use the screen cast occasionally to play fitness videos while correcting my form. I even added a much larger list of compliments including ones specific to weather that everyone tends to enjoy.
Lastly, I added the WatchDog module which has really helped stabilize the mirror. I recommend anyone running this on a Pi to have this module.




So I have been working on my mirror for a few weeks now and so far the MMM-AssistantMk2 module is the only thing I cant seem to get working. As mentioned in a number of previous post, when I apply the default module setup in the config.js and restart, I get an all black screen and nothing is responsive. I can SSH into the config.js and comment out the 5 lines for that module, reboot and all is good again. I have removed and rebuild the module with no errors and no new results.
Has anyone found the cause behind this and how to resolve? I do have Hotword and NotificationTrigger modules running with no problem. Let me know if I need to drop an image file or some log files for further help. I’m truly stumped here. Any help would be greatly appreciated. Thanks in advanced.