Giter Site home page Giter Site logo

ginamdar / alexa-tv-speaker-control Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 11 KB

Use Alexa Smart home skill to control your TV and Speaker using lambda function, basic circuit using ESP8266, IR Transmitter and simple sketch

C++ 21.12% C 1.01% JavaScript 77.87%
arduino esp8266 lambda alexa-skill alexa infrared adafruit-io

alexa-tv-speaker-control's Introduction

alexa-tv-speaker-control

Use Alexa Smart home skill to control your TV and Speaker using lambda function, basic circuit using ESP8266, IR Transmitter and simple sketch This skill is specifically for older generation TV's which doesnt integrate with Google Home or Amazon Alexa.

Setup

Alexa Smart Home Skill

Create simple smart home alexa skill and point your lambda function for invokation

Lamda Function

  • TV-Speaker-Lambda/ has the code that basically takes user spoken request and store that to adafruit io feeds
  • It also supports hardcoded device discovery request from Alexa along with interface supported. Alexa.Speaker and Alexa.PowerController.
  • User can ask alexa
set volume to 5
Mute the speaker
turn TV Off
turn TV On
etc..

This can further be extended to support channel controls or other TV functions

Arduino Sketch

Sketch uses MQTT Api to listen on feeds for Tv and Speaker and sends Infrared IR Codes based on the message. This is very basic simple circuit that uses ESP with small 5k resistor and IR transmitter

You may need to find out the codes for your Tv, you can search those on web or use another circuit using Arduino, IR Reciever and your TV Remote to print the hex values for each function.

3rd party library

  • for sending IR Code im using @markszabo
  • Using Adafruit IO to capture request from user via alexa.

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.