Read the statement by Michael Teeuw here.
How to send a notification
-
@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?
-
@alyx i don’t know… i didn’t change anything in your config…
if you use the alexa app to turn the plug on or off, do you see the notifications?
-
@sdetweil ok I re added the selfie device on the alexa app and it found it fine but its now coming up as unresponsive
-
@alyx so, discovery records the IP address of the ‘device’ and the port.
so, if your pi changes ip address during boot, then it won’t work again …
all my pi type devices have fixed addresses to avoid this problem…