A app that runs on your phone as a REST API server so that you can remotely access the IR blaster (on phones equipped with them).
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.idea
app
gradle/wrapper
.gitignore
LICENSE
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

Java-Infared-REST-API-for-Android

A app that runs on your phone as a REST API server so that you can remotely access the IR blaster (on phones equipped with them).

Usage

Either through your browser or through a REST API client

http://your-ip-here:8080/sendIRcmd/your-ir-cmd-goes-here

Example

(This powers off my LG TV):

http://192.168.1.33:8080/sendIRcmd/340,171,21,21,21,21,21,65,21,22,21,22,21,21,21,21,21,21,21,64,21,64,21,21,21,65,21,65,21,64,21,64,21,64,21,21,21,21,21,21,21,65,21,22,21,22,21,21,21,22,21,65,21,65,21,64,21,21,21,64,21,65,21,65,21,64,21,1554,340,86,21,3677