Imported from http://www.backalleycoder.com/

Imported the code from http://www.backalleycoder.com/ and also inlined
the needed CSS code for the sensors.