“Ninja Blocks are tiny cloud enabled computers that can sense their environment by receiving input from a variety of sensors & can affect their surroundings by controlling lights, power sockets, and other actuators.”
The company making the Ninja Blocks have written an article about using a Raspberry PI as a Ninja Block. I’ve not tried it out for myself, but it seems like an intriguing way of having the Raspberry Pi as an Internet Of Things device. They’ve also got a post on adding a temperature sensor to the RPi via an Arduino and they’ve also got a dedicated Forum for Raspberry Pi owners who implement the idea.