Remote Controller - HTTP API
0好评- 无广告
- 中文
Remote Controller - HTTP API 介绍
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"
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
Demo of server side program :
https://code.google.com/p/remote-controller-http-api/source/browse/trunk/mobileAPI.php
来自应用汇: Remote Controller - HTTP API //www.stclairws.com/app/biz.tedc.unlocker?from=spi-desc
Remote Controller - HTTP API 版本更新
震動提示功能版面微調
用户对 Remote Controller - HTTP API 的评论
亲,想发表评论请下载[应用汇手机客户端]哦~