Read the statement by Michael Teeuw here.
[MMM-AlexaOnOff] Simple Mirror Control from External Home Assistant (Alexa/Google Home/HASS.io)
-
@shbatm Can you help us?
-
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' } }, }] } }, -
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.
-
@SubLim3 open the developers window, ctrl-shift-i, then select the console tab across the top.
U can add text to search the console in the filter field.
You should see all the notification events
-
for me the test device is working (Office lamp or fan) but can’t find my modules
-
@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.
-
@SubLim3 i tried the app but doesn’t work…no device found
-
@MoreLinux I have MM running on Mac I think you have a RPI …maybe this can be my problem
-
@Stoffbeuteluwe is there anybody with a working module MMM-AlexaOnOff on Mac?
test device is working …but no other device
-
@Stoffbeuteluwe anybody an idea?
-
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) -
-
@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.
-
@SubLim3 you are supposed to change console.log TO Log.log
So currently u will not find it.
Log.log is supposed to be used in the module.js file
-
@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.
-
@SubLim3 that is a bug in remote control.
Don’t know how/when it might have got there
-
@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); -
Hi - I’m struggling with this module too. I have it installed with the dependencies. I can see that the ports are opened and listening. Alexa cannot find the devices. I’ve tried the examples too which have not been discovered yet either.
I have an Echo dot gen 3 in the house, on the same network as the mirror. I’ve tried searching for the device from the echo and the web portal - neither has worked. Any tips?
-
@js989 Same situation here. Have not been able to figure it out. I found this resource which I believe may be a possible problem but have not been able to work through it. https://github.com/n8henrie/fauxmo/issues/38
-
looking at this app, I think alexa v2+ devices have removed the builtin support for wemo devices which this depends on.
so, you would have to install the belkin wemo skill… which requires actual devices
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