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=205353) 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=23486Good luck and have fun.
[quote="kellermix1"]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.[/quote]
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.
[quote="kellermix1"]Could you please send me a sample script and I will paste in the access code.Thanks for your help, Michael keller[/quote]
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]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)[/code]
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):
[url]https://forums.indigodomo.com/viewtopic.php?f=138&t=22753[/url]
[url]https://forums.indigodomo.com/viewtopic.php?f=138&t=20535[/url]
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.
[url]https://forums.indigodomo.com/viewtopic.php?f=133&t=23486[/url]
Good luck and have fun.