Yes i do use echo speaks and it works well with the alexas and webcore but i can’t figure out how to get an alexa routine to fire from a webcore piston. there is an option that said executeRoutineid(…) but i do not know what to fill in for the routine id.
Echo Speaks - Fire Alexa Routine from Webcore
I will add “Echo Speaks” to your title here, to give you more exposure.
Unfortunately, I could not find any reference to executeRoutineid
on his webpage.
Thank you
I did see that note and i logged into the site but i’m not sure where to locate the routineid. I don’t see anything in there that says routine id, i see customer id but not routine. Thank you for you help
I have seen many references made by tonesto7 saying basically this element may be hard to get into webCoRE… but in September, he also said, “This item is now possible using the new Actions companion app in v3 beta”
Not sure, I use a different method for Alexa integration.
Side note:
I just found a quote from napalmcsr:
- go to this link
- log into amazon in that link.
- wierd file shows up, copy to notepad
- go to one of your new echo devices in hubitat
- find the executeroutineid in the device
- search the notepad file for the routine you want. there will be a couple routine ids for that routine. I kept trying the different ones until I got it to work. The logs show an error if you don’t get a good routineid.
oh thank you, i believe i found the id i was looking for called automation id. i put that in there and it does work to run the routine. Do you possible know why all of my routines are not listed in that weird file?
I suspect it only shows routines from that Amazon account… Not routines from SmartThings.
Note: you don’t need Echo Speaks to trigger
a SmartThings routine:
That one can be done directly inside webCoRE.
i deleted the routine i couldn’t find and made a new one and it showed up in the api/behaviors/automations site.
I am going to guess that perhaps old (ancient) routines might not have made it over thru all the updates. (IE: internal commands may be worded differently)
Recreating a new routine was going to be my next suggestion.
To assist others who may find this thread in the future, here is a quick summary:
To use Echo Speaks to fire an Alexa Routine:
- Log into Alexa.Amazon in another tab
- Afterwards, click --> alexa.amazon/api/behaviors/automations
- Gibberish text comes up. Save it to a text file, or clean it up first by pasting it here
- Search that text file for the name of your routine. If it’s listed as “Alexa, Quick light”, then search for “Quick light” (you should find it listed as an “utterance”)
- Shortly before that, you will see “
automationId
” - Copy the contents of “
automationId
” to your clipboard
(IE: amzn1.alexa.automation.734a91be-798e-361b-add4-841e7ae05f8b) - Back in your piston, WITH Echo Speaks, executeRoutineId(…)
- Click on Parameters > Add a string parameter
- Paste the URL on your clipboard next to Value
- Save
Afterwards, every time this command runs, your Alexa Routine will fire.
@WCmore, Awesome! I have been wanting to do this for some time now. I will definitely give this try.
What a great FIND ! I love that ! I don’t need an Alexa virtual switch anynmore, so simple !