General description

The Forum has been wired!

We have spread sensors and various sorts of devices (including an actual robot made of Lego Mindstorms NXT) all over the Forum, and invite you to unleash your creativity by designing an application that will use all the data. Mobile app, augmented reality, social interactivity… the only limit is your imagination.

The winner will get an Apple iPad 2!

If you don't feel like writing a whole application and would like to be part of the contest, just fill in a ticket and join our daily draw to try to win cool swag!

Daily draw

Come by the Sierra Wireless booth, answer the few questions about the sensors and M2M in general, and try to win cool swag brought to you by Sierra and the Eclipse Foundation! We will draw one lucky winner at the end of day 1 and day 2 of the conference. Deadlines to submit your ticket:

Programming contest

Judging criteria

Rule #1
You do speak about the M2M contest with everyone at the conference.

Rule #2
You DO speak about the M2M contest with everyone at the conference!

The Best Application will be selected by a panel of judges. The judges will be evaluating the applications based on the following criteria:

How to participate?

Enter the contest

  1. Describe the killer features you have implemented in your application in less than 300 words,
  2. Take 1 to 3 screenshots showing your application in action, or make a short video or screencast (1-2 minutes),
  3. Send the description and screenshots of your new client to m2mcontest-ece@eclipse.org by Friday, Nov 4th, 2011 at 11:30am CEST.

Judging process

  1. The judges will select a short list of finalists and invite them to demo their applications.
  2. Demos will take place on Nov 4th, 2011 from 12:30pm - 1:30pm CEST.
  3. Winners will be announced at the EclipseCon Europe closing session.

SMS commands

It is possible to control the speed and direction of a fan that is inside the Cube, and it is actually very simple to do so. Just send an SMS to +33617026228, with the following form: "FAN1 {SPEED}" where speed is an integer between -100 and 100 (throttle in % and direction). Example: FAN1 -80.

If the SMS received has a different format, then it will simply be displayed on the LCD display as soon as it is received, and this is definitely something that we encourage you to use in your application!

API

A MongoDB database stores the data history for all the sensors, and you can access it using a very simple REST API.

The URL to which you should make GET requests is: http://m2mcontest.eclipsecon.org/rest_api/<databaseName>/<collectionName>?query_params

Allowed query parameters

sensors database

rfid database

commands database

Application examples

Javascript

We have put a very simple Javascript application on github to help you getting familiar with the API and the manipulation of consolidated data.

You can grab the source code at: https://github.com/kartben/eclipsecon-m2m-contest/tree/master/samples/

OSGi

If you are building an OSGi-based application, then you probably want to use the following bundle. It publishes a service (IM2MServerAccessor) allowing you to easily get sensor data. You wil also automagically get notified when new data is available, by subscribing to the m2m/sensor EventAdmin topic.

The code of this bundle may not be 100% bug-free, but it should help you getting started!

Jury

The winner of the programming contest will be elected by a panel of Eclipse community members and M2M experts on Friday, 4th.

Members of the jury are: