Remote Controller - HTTP API

Ted.C

Remote Controller - HTTP API

ライブラリ&デモ
  • 0.00
(0 投票)

無料インストール

1000

アプリのインストール

Android 2.2+

最小バージョン

広告付き

広告

20.11.2014

リリース日

最近の変更:

Vibrate notify
Adjust layout

説明:

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 他のアプリ

ダウンロード