Posted 26 March 2014 - 12:21 PM
I made this website last weekend to teach myself some HTML, CSS, Javascript and server side infrastructure. You can use it to remote control your Turtles from any browser (made primarily with smartphones in mind). Just download this client on the Turtle and and run it with the same session ID you get for the controller.
Now, the original idea was just to remote control turtles (inspired by this post on the FTB subreddit), hence the game pad form factor on the controller, but while working on this I realized that the same system can easily be used to do much more. As the data relayed by the server is just the name of the button pressed, you can write your own client to map the commands however you want. Want to control your base force field with a phone? Easy. Locked doors openable only by sending the correct button presses with a specific session ID? Done. Pretty sure you can come up with even more interesting applications.
The client should be documented enough to make writing your own fairly straightforward. EDIT: I wrote some API documentation.
Criticism, suggestions and feedback appreciated.
Quick links:
website: http://hbar.kapsi.fi/ccserver/mote
client: pastebin get MmrwLcxS mote
API: http://pastebin.com/rK86KrvL
Now, the original idea was just to remote control turtles (inspired by this post on the FTB subreddit), hence the game pad form factor on the controller, but while working on this I realized that the same system can easily be used to do much more. As the data relayed by the server is just the name of the button pressed, you can write your own client to map the commands however you want. Want to control your base force field with a phone? Easy. Locked doors openable only by sending the correct button presses with a specific session ID? Done. Pretty sure you can come up with even more interesting applications.
The client should be documented enough to make writing your own fairly straightforward. EDIT: I wrote some API documentation.
Criticism, suggestions and feedback appreciated.
Quick links:
website: http://hbar.kapsi.fi/ccserver/mote
client: pastebin get MmrwLcxS mote
API: http://pastebin.com/rK86KrvL
Edited on 26 March 2014 - 10:45 PM