T-Res

Daniele Alessandrelli (SSSA)

Introduction

T-Res is a programming abstraction framework for IoT-based WSNs (i.e., 6LoWPAN networks in which sensors and actuators are abstracted as CoAP resources). T-Res allows creating simple "tasks", called T-Res tasks, that can be installed in an IoT-based WSN at run-time.

A T-Res task is written in Python and allows a node to monitor one or more sensors, process their data, and send the produced output to an actuator. Alternatively, the produced output can be stored in a local resource that can be observed by another node or the user. T-Res tasks can be used to implement simple event-detection and control applications.

The main features of T-Res are the following.

  • T-Res has a RESTful interface and, therefore, fits nicely in the IoT architecture.
  • T-Res tasks are platform independent, since they are written in Python.
  • T-Res simplify the development of simple IoT applications: a little knowledge of Python and CoAP is usually enough.
  • T-Res can run on constrained devices like the Wismote platform.

More information about T-Res can be found in the project wiki and in the following paper:

D. Alessandrelli, M. Petracca, and P. Pagano, “T-Res: enabling reconfigurable in-network processing in IoT-based WSNs”, in Proceedings of the 9th IEEE International Conference on Distributed Computing in Sensor Systems (DCoSS'13) and Workshops, Cambridge, MA, May 2013

Trying out T-Res

T-Res can be easily tried out following the instructions on the wiki.

Source code

T-Res code is hosted on github: https://github.com/tecip-nes/contiki-tres

Contacts

For further information feel free to contact Daniele Alessandrelli at: d.alessandrelli [AT] sssup.it