Alexa notifications via Notify Me Skill Post a reply

This question is a means of identifying and preventing automated submissions.



:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
BBCode is ON, [img] is ON, [flash] is OFF, [url] is ON, Smilies are ON

Post options


   

Expand view Topic review: Alexa notifications via Notify Me Skill

Re: Alexa notifications via Notify Me Skill

Post by whmoorejr » Thu Jun 04, 2020 12:17 pm

kellermix1 wrote:
all I need alexa to say is "Garage door is open "or "garage door is closed" when it sees a device state changed from sensor value 252 to 147.


Problem... The "Notify Me Skill" doesn't speak. It creates a notification. So you will get the 'ding' followed by the yellow ring. When you ask, "Alexa, what are my notifications, she will say [whatever you script her to say]. To have her just announce stuff via indigo, there are a couple ways to do it... both require some tinkering. Like you, I'm not a programmer. So when I set off to get Alexa to talk to me, there was a lot of trial and error, plenty of cursing and a lot of help from folks on the forum.

kellermix1 wrote:
Could you please send me a sample script and I will paste in the access code.Thanks for your help, Michael keller


Create 2 triggers. One to fire when the garage door is open, the other to fire when it's closed.
The garage door open trigger will perform the action, "Execute Script (Script and File Actions)", "Embedded Python:"
Code: Select all
import json
import requests
body = json.dumps({
 "notification": "The Garage Door is Open",
 "accessCode": "your_access_code_here_inside_the_quotation_marks"
})
requests.post(url = "https://api.notifymyecho.com/v1/NotifyMe", data = body)

So when the "Garage Door Open" trigger fires, it will run that script and create a notification message on your amazon device.

As for making her speak, make sounds, etc., directly from indigo. I think you have 3 options:
1) Wait for Matt & Jay to create a fully functional Alexa plugin (They are working on it)
2) Script method (Two threads to read through because there are a couple ways to do it):
https://forums.indigodomo.com/viewtopic.php?f=138&t=22753
https://forums.indigodomo.com/viewtopic.php?f=138&t=20535
3) Node-Red. This one is unique because it allows for full control of your Alexa devices: Speech, sounds, routines, etc. There is a thread that describes how to install node-red (it runs as a server application in the background) with a web like interface where you drag and drop stuff onto it to create "Flows". It takes a bit to get it figured out, but once you do, it's fun.
https://forums.indigodomo.com/viewtopic.php?f=133&t=23486

Good luck and have fun.

Re: Alexa notifications via Notify Me Skill

Post by kellermix1 » Thu Jun 04, 2020 11:55 am

Hi how are you?
I'm trying to have Indigo talk to the Alexa through the Notify me skill.
I found out that a script should do the trick.
I've enabled the skill and they sent me the access code.
I'm not a programmer so I have no Idea how to set this up.
all I need alexa to say is "Garage door is open "or "garage door is closed" when it sees a device state changed from sensor value 252 to 147.Could you please send me a sample script and I will paste in the access code.Thanks for your help, Michael keller

Re: Alexa notifications via Notify Me Skill

Post by whmoorejr » Thu Jun 21, 2018 11:49 am

ryanbuckner wrote:
There is a "Reminder" native skill that allows you to set a phrase to be announced at a scheduled time. Not sure if there's an API for that tho.


Yes?
https://developer.amazon.com/docs/alexa-voice-service/enable-named-timers-and-reminders.html

Plus you can execute your set "Reminder" phrase by voice command.

Re: Alexa notifications via Notify Me Skill

Post by ryanbuckner » Mon May 14, 2018 9:10 am

There is a "Reminder" native skill that allows you to set a phrase to be announced at a scheduled time. Not sure if there's an API for that tho.

Re: Alexa notifications via Notify Me Skill

Post by jay (support) » Wed May 02, 2018 11:03 am

FYI: viewtopic.php?f=123&t=20641

This could have been made into a plugin, but the script is so simple I thought it probably wasn't worth the effort. Someone else may do it however... :)

Re: Alexa notifications via Notify Me Skill

Post by jay (support) » Tue May 01, 2018 8:54 am

Because the ring flashes continuously (until cleared) and it makes a noise when a new notification arrives, I think that's a good way of getting attention. Particularly if you have enough Echo devices around the house so that it would be obvious wherever you may be.

Re: Alexa notifications via Notify Me Skill

Post by ryanbuckner » Mon Apr 30, 2018 5:07 pm

This is fun, but what's the actual use case if you have to ask Alexa to read your notifications to hear the text?

Re: Alexa notifications via Notify Me Skill

Post by ckeyes888 » Tue Apr 24, 2018 7:13 pm

Thanks. Much more useful.

Carl

Re: Alexa notifications via Notify Me Skill

Post by whmoorejr » Tue Apr 24, 2018 4:54 pm

ckeyes888 wrote:
Can the spoken text be directed to a variable?


Code: Select all
message = indigo.variables[1276581486].value
import json
import requests
body = json.dumps({
 "notification": (message),
 "accessCode":


Add the first line to bring in a variable.

Change the "notification": "Hello World" -> "notification":(message)

Leave everything else the same and it should work. (did for me).

Re: Alexa notifications via Notify Me Skill

Post by whmoorejr » Mon Apr 23, 2018 6:54 am

ckeyes888 wrote:
find the delay a bit long.


Agreed. For a security notification, I don't like delays. I use it primarily for courtesy notifications....

Geofence to announce when I'm arriving
Who just used their code to open the door followed-up by "Welcome home ________."
Reminder announcements, "Kids feed the animals" "Kids, time for bed" "Five minutes until school bus", etc.

For my security notifications, I stick with Pushover and an alert_text variable on control pages.

I would much prefer an immediate announcement of an event over a chime that requires a follow-up action to decipher the chime.

Re: Alexa notifications via Notify Me Skill

Post by ckeyes888 » Sun Apr 22, 2018 9:21 am

Thanks, all good to know. I’ve tried the “ghetto” setup but find the delay a bit long.
Hope they’ll update the notify to actually speak soon.

Carl

Re: Alexa notifications via Notify Me Skill

Post by whmoorejr » Sun Apr 22, 2018 9:10 am

ckeyes888 wrote:
Just upgraded to 10.12 and the script seems to run, causes my Echos to chime but doesn't speak

Any idea why it's not speaking?

Carl


Currently that is all it does. I talked to the developer of the skill and he said that the ability to “announce” isn’t covered in the skills API yet.

The workaround to integrate the “announce” feature is nothing less than ghetto-fabulous..... Place an echo device next to your Indigo server. Create an action that speaks, “Alexa, announce there is someone at the door”. Works pretty well with very short sentences without punctuation. (A comma in the sentence will sometimes cause her to send the message once there is a pause and ignore the second half of the sentence)

I’m using my ghetto setup more than the Notifyme thing at the moment. I’m using notifyme more for leaving little notes for my wife when I’m out of town.

For announcements, it will go to all devices unless you have switched the “do not disturb “ on through the app.

Anyways, my fingers are crossed that directly speaking (announce) will get incorporated into the skill.

Re: Alexa notifications via Notify Me Skill

Post by ckeyes888 » Sat Apr 21, 2018 7:49 pm

Just upgraded to 10.12 and the script seems to run, causes my Echos to chime but doesn't speak the notification.

I'm using this script, (access code edited for posting).

Code: Select all
import json
import requests
body = json.dumps({
 "notification": "Hello World!",
 "accessCode": "amzn1.ask.account.AFGN3ZSDZXZ433ZNV3ORUEDZXKVD6KMKYT5H3LWBTUHQQYG7HNCV572GEV47RBCUGIWLOCA2ZFISZ5EWIAYZHPJ5POAWFSS7AV3LGGUB2VSEYACPTPBYIGPL4NMXB7SVC2A26ZXANCM6DO5YPSU6E6MIBMLWNSHNSOPJ4ZBX46BTILLOR4ZZXK5WZ7SEKHBXZTB5Q"
})
requests.post(url = "https://api.notifymyecho.com/v1/NotifyMe", data = body)


Any idea why it's not speaking?

Edit: Is it supposed to speak or just chime to let you know a notice just came in?
If it's just a chime I'm not sure what use it is.

Thanks,

Carl

Re: Alexa notifications via Notify Me Skill

Post by ckeyes888 » Tue Apr 17, 2018 8:33 pm

Thanks all. I’m moving to a mini running 10.12 which I’m hopeful will solve a number of issues I’ve been having.
Albeit...probably cause a bunch more. :cry:

Carl

Re: Alexa notifications via Notify Me Skill

Post by jay (support) » Tue Apr 17, 2018 4:50 pm

ckeyes888 wrote:
Here's the return:
TV:~ TV$ python --version
Python 2.7.2


Yep, that's the problem. Python 2.7.10 or later fixes an SSL issue that some sites trigger (apparently including the one needed for this script).

Top