I wanted to know how I can change the code from saying “Alexa, turn on/off the device” to "Alexa, open/close the device? I’ve tried every possibility I could with the below code, but no change seems to work on the Amazon Echo. How can I do this? (I am using the ZigBee Switch template)
tgauchat
(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy)
2
They keywords are programmed on the Amazon side of the cloud. There is nothing that can be done on the SmartThings side to change the words to “open/close” vs “on/off”; … it definitely does not “read” your Tile Labels!
There is a very very slight chance that if you change the Device Type (Capability) to a “door”, then it might accept open/closed … but I doubt it.
1 Like
bamarayne
(Jason "The Enabler" as deemed so by @Smart)
3
You have to use a custom skill.
Take a look at this smartapp, EchoSistant, it allows you to say open and close instead of on and off.
It seems that Alexa is able to accept to commands open/close as posted by “nelemansc” in the forum Echo Naming Quirks. Is this true or false as of today? Also what is the complete list of commands that Alexa is able to accept from Smartthings?
I think the term ‘sometimes’ or ‘used to’ comes into play…With the native integration I HAVE gotten it (in the past) to recognize open/close…but it was not consistent.
There was no trick…it simply recognized them at one time…I use my own skill (which recognizes ALL of the required commands), so I don’t know if this still works…
I am not sure where you are, but this is going to be a good couple hours of your life. But, well worth it when you are able to give some real commands to your home!
It still works for me… I just recently asked Alexa to open\close the garage. I’m not sure if it matters what you name the device…some names may work better than others. Perhaps it also matters what type of ST device you are controlling.
Your skill works great, but do you mind showing me how I can simply make all the code much shorter so that it only takes care of “open, close” commands for a windowShade device only? I am still confused about all the code from Ask Alexa. I’d really appreciate your help.
I guess I am curious what the purpose would be. Just to learn programming? In other words, just a skill to open or close the shades? I can show you how to do this with no skill if you’d like…you just need an app like WebCore.
Let me know your ultimate goal. Stripping out code will be difficult as there are a lot of shared methods within the app. Better to write a whole new one, quite honestly. Or, like I said, not even use my app and a simple virtual switch and WebCore.
My goal is ultimately to get this working, but also learn programming at the same time. I suppose I could start a whole new as one you suggested, following your app and not WebCore. Are you able to help me out on this project? I’d very much appreciate that.