Snippets for Xively's Electric Imp for communicating with CommonSense