UML4IoT for Raspberry Pi based lab exercises

We are developing a set of Lab exercises on IoT based on Raspberry Pi for students.

In this context and in order to give to students a basic infrastructure to work on various IoT apps without the need to go into details regarding IoT protocols, we have made a prototype implementation to demonstrate the UML4IoT approach that is described in the following paper

With this approach students may simply annotate (at the UML or Java code level) the properties of their Raspberry application  that should be exposed to IoT and the system automatically generates the IoT wrapper.

Any feedback, comments, ideas on this approach are welcome.