How does Ask Alexa interface with webCoRE?


#1

1) Give a description of the problem
Trying to figure out what webCoRe can actually do for AskAlexa

2) What is the expected behavior?
Learning and example

3) What is happening/not happening?
Nothing

4) Post a Green Snapshot of the pistonimage
(UPLOAD YOUR IMAGE HERE)

5) Attach any logs (From ST IDE and by turning logging level to Full)
(PASTE YOUR LOGS HERE BETWEEN THE MARKS)

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.


#2

I was trying to integrate Ask Alexa and WebCoRE and had the same question after I saw Ask Alexa as an option in WebCoRE’s list of virtual devices. I reached out to Michael Struck (he developed Ask Alexa) about this and he said it’s his understanding that implementation of WebCoRE’s integration between WebCoRE and Ask Alexa is still a work in progress and WebCoRE doesn’t support it yet.

What I ended up doing is using Ask Alexa voice commands to fire WebCoRE pistons (one of the Ask Alexa macro options is Run/Execute WebCoRE Trigger). I have a piston that turns off the inside lights and turns on the outside security lights when I tell Alexa to “Tell the house goodnight.” I created another one that will turn up certain lights if I tell Alexa to “Tell the house to lighten up.” It’s good when someone is cooking and needs more light in the kitchen prep areas. I have others and really like the ability to use Alexa to fire off pistons that can do complex stuff.

I do need to get more Dots, though. I only have one so I’m always yelling across the house, “ALEXA, DO THIS!” or “ALEXA, DO THAT!” My neighbors probably think I’m a jerk who’s always screaming at some poor woman named Alexa.


#3

This is the current code block for the Ask Alexa integration. Still a work in progress.

private Map getAskAlexaOptions() {
return state.askAlexaMacros ?: [null:“AskAlexa not installed - please install or open AskAlexa”]
}


#4

To me this is not enough information to make any sense. At least at this time.


#5

There is no integration yet


#6

Hi guys,

I am trying to create a WebCoRE piston which will execute when Ask alexa macro is triggered. I get a message that Ask alexa is not installed. Am I missing something?


#7

#8

Use Ask Alexa to run pistons. If you go into Ask Alexa’s macros, one of the things a macro can do is Run/Execute WebCoRE trigger. I’m using Ask Alexa to trigger a bunch of WebCoRE pistons and it works well.


#9

Thanks guys. Michael explained this on the smartthings forum. I am trying to do something which is not actually possible. as @markplewis mentioned, I can call a webCoRE piston from an Ask Alexa macro.


#10

Greetings,

Did you go through the entire process of creating a developer/lambda account or did you just install the groovy files?

I realize this has the potential to be a really dumb question, but I’d like to have the ability to use Alexa without going though all the dev account coding stuff. As you can probably surmise I’m very new to this.


#11

Yeah you have to do it all but the instructions are really good and there are easy shortcuts now for pasting the code, i did the whole install in about half an hour just now


#12

I am unfamiliar with “AskAlexa”, but I have over 30 pistons that I can run with a simple phrase to any of my Alexa devices. ie: “Alexa, turn on movie time” will flip a virtual switch. That same switch is being monitored by webCoRE, and runs a complex piston whenever that switch turns on. Works like a charm. Let me know if you have any troubles setting this up, and I’d be glad to help.