About Remote Controller - HTTP API
A Widget
Need to specify server IP, User name, Password, and can do a remote API calling ( SERVER_IP/mobileAPI.php
use POST method sending 3 parameter "action" / "uid" / "pwd"
Github demo of server side program :
https://github.com/Nununene/mobileAPI
Example for "action" value :
When testing connection : action = "ping"
When clicking widget : action = "open" / "action1" / .... whatever
String return from API:
Success : "1"
Invalid ID or Password : "2"
Unauthorized action : "3"
Parameter error : "4"
Other error: String starts with "E1",or any other string
Note : You need server program to work with this APP
A Sample of implementation :
"Remote unlocker"
Raspberry Pi (with nginx) installed a RF 433MHz Module
Nginx receive HTTP request from APP to web API ( /mobileAPI.php ),
execute binary file to sending RF signals through RF Module
Wireless switch(433MHz) connect to electric lock(Electric Dropbolt)
(wireless switch must paired with RPi's RF signal output)
when switch received RF signal from RPi,switch triggers Electric Dropbolt and release the door
Download and install
Remote Controller - HTTP API version 1.2 on your
Android device!
Downloaded 500+ times, content rating: Everyone
Android package:
biz.tedc.unlocker, download Remote Controller - HTTP API.apk