Rhiot project comes with a set of quickstarts - the sample projects that can be used as the building blocks of your IoT solution. Quickstarts are hosted at GitHub (rhiot/quickstarts) and can be downloaded using the following shell command:
git clone git@github.com:rhiot/quickstarts.git
mvn clean package