Get CPR certified in 30 minutes at CPR Test Center.
Echo & Alexa Forums

Skills in Routines

0 Members and 1 Guest are viewing this topic.

Vision

Skills in Routines
« on: December 17, 2018, 07:51:19 am »
I would love to add skills into a routine. Anybody know why this isn't available now?

Offline kenf

  • ****
  • 127
Re: Skills in Routines
« Reply #1 on: December 17, 2018, 09:27:39 am »
Because Amazon didn't code it.

It would be relatively simple for Amazon to make a Routine action that we type in the text command we want it to execute and it parses.

well, kind of.  Amazon's API is oddly written such that one variation of that concept, a company takes text, runs it through text-to-speech and feeds the audio into Amazon.  But somewhere, deep inside the code stack, is an engine that takes text and does stuff with it.

I suspect the simplest reason they didn't do that in Routines is security.  A Routine can't lock a door.  It won't run a scene on my SmartThings that includes locking the door. Because Amazon wouldn't touch door locks, probably to avoid liability.  If they ran plain-text, then they'd be touching a door when I write "ask ADT to lock the front door."

There's probably a cascade of concerns, like that one, with opening the door to any command you can say.  Including covering what they can't think of. The "we don't know what hole there could be, but since the possibilities become vast, let's allow that" argument.