Remote Controller - HTTP API

Ted.C

Remote Controller - HTTP API

Bibliotecas e demos
  • 0.00
(0 votos)

Instalação gratuita

1000

Instalações de aplicativos

Android 2.2+

Versão mínima

Com anúncios

Propaganda

20.11.2014

Data de lançamento

Mudanças recentes:

Vibrate notify
Adjust layout

Descrição:

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

Ted.C Outros aplicativos

Baixar