Remote Controller - HTTP API

biz.tedc.unlocker

Total installs
1.1K(1,196)
Rating
0.0
Released
November 20, 2014
Last updated
November 25, 2014
Category
Libraries & Demo
Developer
Ted.C
Developer details
Name
Ted.C
Website
unknown
Country
unknown
Address
unknown
Android SDKs
Remote Controller - HTTP API Header - AppWisp.com

Screenshots

Remote Controller - HTTP API Screenshot 1 - AppWisp.com
Remote Controller - HTTP API Screenshot 2 - AppWisp.com
Remote Controller - HTTP API Screenshot 3 - AppWisp.com

Description

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