current location: home  > android  > Internet Software > Remote Controller - HTTP API
Remote Controller - HTTP API

Remote Controller - HTTP API

safenonpoisonousdetected
tag:
Hot collection
List recommendation
  • introduction
  • picture
  • Boutique
  • Related
Developer's DescriptionBy Ted.CA Widget click to execute API calling, need server side mobileAPI.phpA WidgetNeed to specify server IP, User name, Password, and can do a remote API calling ( SERVER_IP/mobileAPI.phpuse POST method sending 3 parameter "action" / "uid" / "pwd"Example for "action" value :When testing connection : action = "ping"When clicking widget : action = "open" / "action1" / .... whateverString 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 stringNote : You need server program to work with this APPA 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 ModuleWireless switch(433MHz) connect to electric lock(Electric Dropbolt)(wireless switch must paired with RPi's RF signal output)when switch received RF signal from RPiswitch triggers Electric Dropbolt and release the doorDemo of server side program :https://code.google.com/p/remote-controller-http-api/source/browse/trunk/mobileAPI.phpRecent changes:Vibrate notifyAdjust layoutContent rating: Everyone
Screenshot group
Related recommendation