Coder Social home page Coder Social logo

askhome's Introduction

AskHome

A programming platform that uses Amazon Alexa to work with SmartThings. https://youtu.be/OzNKj_LX0-Y

It is unique in that it is Person, Place, Thing (noun) centric, not device centric. This SmartThings smartApp is for groovy programmers....all the logic is in the program not in "fill in the blanks". This gives tremendous freedom for those that know code to generate complex and intuitive interactions.

For those that do not enjoy coding, AskHome is not for you. MichaelS is developing an called AskAlexa that lets end users do more with Alexa. (I'll add the link when Michael is ready)! Go get that App!

The installation requires an Amazon Developer Account. You need to create an Alexa skill and a Lambda Function. I've included screen shots that will help you configure the Alexa Skill, and I've provided the code to talk to smartthings for Lambda, you only need to fill in a smartthings App id and token to make it work.

There are 3 steps for making AskHome.groovy your own.

  1. Decide what nouns you want to interact with.
  2. Add the devices that control or report information about the noun
  3. call capability and noun subroutines based on keywords

Nouns: Person, Place, Thing -- Like: YOU, Living Room, Front Door

Devices: SmartThings! -- Like: A presence sensor to detect YOU; Lights, switches, thermometers that control and sense a place, or a lock and a contact sensor that control and report on a door.

Alexa gives you words...A Noun, and Operator, and sometimes an operand. A switch/case structure lists the Nouns, and performs subroutine calls based on the Operator. An example like setting the color in lighting. So "ask home to light up the outside with green" could give you the words Outside, light up, green.
Yea, "light up" -- you can make up your own operators too, just like the Nouns. You don't have to only use on, off, open, close, that are associated with the capabilities.

So if you like Alexa, and you want to ask her do anything...you're only limited by your imagination now. So what will YOUR version of AskHome do?

askhome's People

Contributors

n8xd avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.