Yaler - access small devices from the Web

A few lines of code make your embedded or mobile device accessible, no matter if it's behind a firewall, a NAT or a mobile network gateway. Publishing your web service through the Yaler REST API requires just a TCP Socket and some basic HTTP. On the client side a standard Web browser is all it takes to remotely monitor and control your device.


How it works

Download

Get the latest source code with hg clone http://hg.yaler.org/yaler or download it as a ZIP file.

Demo

Try http://yaler.net/arduino/led – a Web-enabled Arduino which lets you change the color of an LED from within your browser. Located behind a firewall and lacking a public IP address, it can nevertheless be accessed through Yaler. (If the Arduino is not running you might get a 504 Gateway Timeout.)

About

Yaler aims to provide a simple, open and scalable relay infrastructure for the Web of Things. Yaler is developed by Oberon microsystems, and released for non-commercial use with full source at no charge.

Community

Join http://groups.google.com/group/yaler or subscribe to the mailing list by sending an email to yaler+subscribe@googlegroups.com. And of course there is also an RSS feed for news about the project.

RESTful Yaler

POST /arduino HTTP/1.1
Upgrade: PTTH/1.0
Connection: Upgrade
Host: yaler.net

HTTP/1.1 101 Switching Protocols Upgrade: PTTH/1.0 Connection: Upgrade GET /arduino/led/color HTTP/1.1 Host: yaler.net
HTTP/1.1 204 No Connection GET /arduino/led/color HTTP/1.1 Host: yaler.net
HTTP/1.1 200 OK Connection: close Content-Length: 6 ff0000
HTTP/1.1 504 Gateway Timeout Content-Length: 15 Gateway Timeout