Skip to main content

Posts

Showing posts from December, 2017

Voice control Sony Bravia Television through Alexa

This is my second useful thing done through Alexa after simple implementation of switching on/off light. This is not just applicable to Sony Bravia TVs but any device which can be controlled through HTTP/JSON request or via any other protocol.

Hardware prerequisites for making whole thing work are as follows:
1. Sony Bravia Android TV or other devices which can accept input through HTTP or different protocol.
2. Raspberry Pi to keep running program/service.
3. Alexa device.

Software prerequisites:
1. Alexa Skill: https://developer.amazon.com/edw/home.html#/skills
2. Lambda: https://console.aws.amazon.com/lambda/home?region=us-east-1#/functions
3. AWS IoT: https://console.aws.amazon.com/iot/home?region=us-east-1

How the whole process would work? Alexa would accept voice commands and converts it to intend to make a request to Lambda function. Lambda function would use converted user-friendly commands to MQTT request on AWS IoT service which would be listened through MQTT client running…