Giter VIP home page Giter VIP logo

phoneremote-server's Introduction

Python Based Server that control IR based appliances using ESP8266

This project helps to control any IR based appliances using ESP8266 chip with IR transmitter.

Goal

This project ultimate goal is to make any smartphone to control any IR based appliance using low cost IR-command sending setup to less than 5$.

To acheive goal, I selected ESP8266 processor and 9$ Chip Computer. ESP8266 code kept as dumb as possible and move all IR-code intelligence (and related IR code database for various possible IR appliances) to a cheap Linux based SoC. For the time being, I chose 9$ Chip, but one can choose Raspberry (or any computer that runs Python and has network connectvity to ESP8266 chip that controls the IR appliance).

Dependent Projects

Architecture

Pre Requisitives

  • Install python 2.7
  • apt-get install python-twisted python-twisted-web

Third party code/tools used

  • Used PyIrToy code for working IR transmitter for USB IR Toy -- Optional (as I was not using USB IR Toy for sending IR codes, as the USB IR Toy costs 19$ and my goal is to reduce the cost of this DIY project to less than 5$)
  • UML diagams -- Optional

Run Server

python phRemote.py --http-url http://esp8266.host.ip/ir

Logs can be seen at phRemote.log in same directory where we run above program

UT

  • Test HTTP communications with python server working or not by using curl command like:
curl http://your_python_server_ipurl/ir/change?code=power&model=tv

Where 'power' and 'tv' are defined PhoneRemote-Server/model2file.properties

Add new codes for new TV/IR-Appliance:

phoneremote-server's People

Contributors

gssmahadevan avatar

Stargazers

 avatar  avatar Humberto Corrêa Kramm avatar

Watchers

 avatar Prasad Madhbhavikar avatar Humberto Corrêa Kramm avatar  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.