Checkout the howto on using Javascript with  [email protected] .

For a more in-depth example, see this article which shows how to build a simple home-monitoring system, similar to commercial products like Nest and Hive.

DIYnest

And if you need it, you can get a proto board that fits the  [email protected] aesthetic in the store!