GithubHelp home page GithubHelp logo

alexa-awtrix-sleep's Introduction

alexa-awtrix-sleep

Put your AWTRIX into standby with a voice command from Alexa.

Installation

Clone this repository and install node dependencies

$ git clone https://github.com:ivanmarban/alexa-awtrix-sleep.git
$ cd alexa-awtrix-sleep
$ npm install

Configuration

Create a .env file in the root directory of the project. Add environment-specific variables on new lines in the form of NAME=VALUE. For example:

AWTRIX_HOST=192.168.1.100
AWTRIX_PORT=7000
DEVICE_NAME=AWTRIX
DEVICE_UUID=fb091602-1112-42d6-9ba7-06b0852fa329
DEVICE_PORT=54454

Required variables:

AWTRIX_HOST : AWTRIX server hostname or ip address
AWTRIX_PORT : AWTRIX server port
DEVICE_NAME : The human-readable name for the device. You will speak this name when using the Echo
DEVICE_UUID : A unique string identifying the device (UUID v4)
DEVICE_PORT : Port usded by emulated device

Amazon Echo Setup

To discover the new device follow next steps:

  • Open Alexa app
  • Go to the menu, and then select Devices
  • Add device “+”
  • “Other“
  • Let Alexa app scan to look for new devices

Finally the emulated Wemo Socket device should appear.

You will be able to send voice commands like:

  • “Alexa, turn ON Awtrix“
  • “Alexa, turn OFF Awtrix“

alexa-awtrix-sleep's People

Contributors

ivanmarban avatar

Stargazers

 avatar  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.