SmartThings and Amazon Echo (Using ASK)

you would be correct by that… At this time you would have to make the roomba controlled by a switch… or better a helloHome action and then have alexa call that helloHome action.

Gotcha. The roomba works because @sidjohn1 coded it like a switch, so I can tell it to turn on with “Alexa, tell the house to turn on the roomba.” I was just hoping to simplify the phrase.

So… My Idea would be to create a hello home action that turns on the switch and then you can say, Alexa, Tell home to say clean.

I am looking at moving a lot of the voice processing over to the server side in the future… Just need to figure out how I want to go about that…

I know that there are a few people out there that like to check on the progress of my code…

I have just made my main repo public :slight_smile: The only reason why I didn’t do this before is because I was trying to work out some major bugs and wanted to get those worked out first.

I am sitting at just under 200 commit and starting to work on my third branch - Bringing in Nest support! This code and the documentation are not at a point where it can be used by other people as it is missing many config files and instructions, but the code is there for review.

Github link: https://github.com/zpriddy/ZP_EchoSmartThingsPy

As time goes on this will probably get renamed to something like Zpriddy_Alexa_Services… But this is the core of my code.

2 Likes

Would “Nest support” allow for support of generic thermostats also? Judging by the threads I’ve seen I think the community may have a broader deployment of things like the 2GIGs, Ecobees, etc. I’m guessing most if not all of the utterances you’d use for Nest would also apply to other thermostats.

I will probably add in support for thermostats too… The Alexa and Nest code was the first Alexa Project that I did… So it worked directly with Nest… I am just combining them into one spot for now.

So I am working on more updates. I know that most of the updates over the last few weeks haven’t been too visible except for making everyone re-link their account… This has mostly been backend updates to support more users and to increase the speed of actions. I am now at a point where I can start adding more features.

I have a beta of the Nest service if anyone is interested please PM me and Ill send over some more details.

So far we are up at 40 Users! :slight_smile: (The current number of users is also displayed on the front page at https://alexa.zpriddy.com )

What do you want to see supported? - I need to know where to focus my efforts…

What I have planned:

  • Dimmers
  • Hue Colors
  • Door Locks
  • Current Home Status
  • Thermostats

What is supported:

  • Modes
  • Switches
  • HelloHome Actions

I would like sensor status like, are all the windows shut, what is the thermostat set to along along with what is the temperature in the house.
Changing the thermostat would be nice too :smile:

2 Likes

Dimmers would be my first choice followed by what @swindmiller suggested. It’s all great stuff though!

I would love sensor status. I kind of have door locks working by using HelloHome Actions. Is it possible to have Alexa respond to Smartthings ? example tell me the front door is open? My wife just arrived home ?. Im in no way a programmer so Im just curious if that was at all possible.

1 Like

So those Ideas fall under the ‘Home Status’ part of my roadmap :slight_smile:

1 Like

How about temp sensor? Possible for Alexa to tell us the temperature of a sensor?

Well then I think you have your #1 suggestion :smile:

1 Like

So is this available to everyone yet? Can I run the server on my raspberry pi or do we have to use your server? Where do I start??

The code is on my github: https://github.com/zpriddy/ZP_EchoSmartThingsPy

However there are strict requirements that are needed to run it locally - You need a valid SSL cert for the domain, port 443 open to the public for Amazon… Etc…

I am offering everything as a service for free - Running the same code as that in github at https://alexa.zpriddy.com

::::SHAMELESS WAF PROJECT::::

Using ASK+Virtual Switch+Sonos Mood Music to trigger your team’s fight song.

My significant other, as well as her family, is a HUGE Tennessee Volunteers fan. Myself, I will always bleed green and white for the Michigan State Spartans… but that’s not important here, especially when I am continually looking for ways to justify the significant IoT investment that never seems to end.

I created a Momentary Virtual Switch, that when pushed, triggers the Sonos Mood Music app to play “Rocky Top.” I also created a Hello Home phrase for “Go Big Orange!” that does the same thing.

I also have a couple IFTTT rules using the ESPN channel to push the “Rocky Top” button and change my Hue lights in the den to Tennessee orange whenever a Tennessee football game starts.

4 Likes

Thanks so much for your quick response!
I got it all up and running in a few minutes with no issues.

I then realized that my device names were ridiculous so i renamed them all and then I decided to say “Jarvis” instead of smart things. I added some new hello home actions and then submitted the changes and now I can finally talk to Jarvis!!

I see the echo app just updated as well (just few hours ago it looks like) and there are officially published skills available to download on the echo app now

Thanks again!

Great work here… Groups would be great… if you could parse the Solution SmartApps that SmartThings creates in the mobile app, that would be ideal… so that if we have a set of lights set up in the mobile app and called Outdoor Lights, it would automatically parse the list of lights and control them with one Alexa command… not sure of limitations of a SmartApp having access to the configuration of those special Solution SmartApps, but that would be nice… thanks for the work!

1 Like

You can do the equivalent with a Hello Home phrase. You would have to put the collection of devices into the phrase, but once you do you get the same outcome.

2 Likes

The other way around this is to create a virtual switch and link that with The Big Switch to control a group of physical switches. The pro is that you don’t need two HH phrases (one to turn on and one to turn off) since the virtual switch has the ability to be on or off. You also can control with slightly more natural utterances: “Alexa, tell the house to turn off kitchen lights” vs “Alexa, ask the house to say 'turn off kitchen lights. '”

The con is that the virtual switch may get out of sync with the physical switches if you manually press any of the physical switches. I am running a combination of both HH phrases and virtual switches to control groups like “Kitchen Lights” and “Living Room Lights.”

2 Likes