Read the statement by Michael Teeuw here.
How to send a notification
-
@alyx not really. if u stop MagicMirror, and then tell Alexa to turn on your notification device, you should get a ‘not responding’ message from alexa
that will tell you the two are really connected.
Alexa turn on selfie
-
@sdetweil Yep that makes sense but it isnt popping up below is a quick snapshot of the dev panel
MMM-MotionDetector.js:75 MMM-MotionDetector: DiffCamEngine init successful. module.js:195 MMM-AlexaControl is suspended. module.js:195 MMM-NASA is suspended. module.js:195 MMM-ISS-Live is suspended. module.js:195 MMM-MotionDetector is suspended. module.js:195 lifecounter is suspended. module.js:195 compliments is suspended. module.js:195 MMM-chromecast is suspended. MMM-NASA.js:132 Hailing NASA module.js:202 MMM-page-indicator is resumed. module.js:202 MMM-Selfieshot is resumed. module.js:202 MMM-Astro is resumed. module.js:202 MMM-MoonPhase is resumed. module.js:202 clock is resumed. eventtracking-log.services.video.ibm.com/eventtracking.web.player/:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT eventtracking-log.services.video.ibm.com/eventtracking.web.player/:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT eventtracking-log.services.video.ibm.com/eventtracking.web.player/:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT eventtracking-log.services.video.ibm.com/eventtracking.web.player/:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT eventtracking-log.services.video.ibm.com/eventtracking.web.player/:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT eventtracking-log.services.video.ibm.com/eventtracking.web.player/:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT MMM-AlexaControl.js:75 RECEIVE monitor NOTIFICATION=SLEEP_WAKE MMM-AlexaControl.js:75 RECEIVE monitor NOTIFICATION=SLEEP_HIDE MMM-AlexaControl.js:75 RECEIVE monitor NOTIFICATION=SLEEP_WAKE MMM-pages.js:97
The errors lead to this page
400 Bad Request
‘json’ or ‘msgpack’ parameter is required -
@alyx said in How to send a notification:
Yep that makes sense but it isnt popping up below is a quick snapshot of the dev panel
one thing at a time
you didn’t answer the question about connection
-
@sdetweil Apoligies, tested there.
So I stopped magic mirror/ restarted the pi and it came up with device unresponsive.
-
@alyx ok, and when MM is running you get the completion sound from alexa, correct?
-
@sdetweil what do mean by a completion sound? Do you mean the confirmation of ‘ok’ after? If so then yes
-
@alyx when u turn on or off a device, alexa does tada sound… to says it processed your request
-
@sdetweil ah my one says ‘ok’ but id assume its the same
-
@alyx I added your config to my MM and added debugging… and it works as expected
samplemodule reports Selfie_shoot was received
SampleModule received a module notification: SELFIE_SHOOT from sender: MMM-AlexaControl
and because u have is as onOff:false
u get a notification every time (on or off)I did this using the alexa app…
-
@sdetweil oh… where do you think I went wrong so?