     }
   }
 
-
-}
-
-
-
-
-
+}
+
+
+void fireNewSensorValue(byte sensorID, float newValue)
+{
+  Serial.print("Sensor=");
+  Serial.print(_app.rx.value.decoded.id);
+  Serial.print(", Value=");
+  Serial.println(_app.rx.value.decoded.value);
+
+
+  // Find in the sensor the SensorDefinition
+  for (int i = 0; i < (_app.nbrSensor); ++i)
+  {
+    if(_app.sensors[i].id==sensorID)
+    {
+      // Update value
+      _app.sensors[i].value = newValue;
+
+      // Render
+      _app.render.sensor = &_app.sensors[i];
+
+      // TODO Ethernet
+
+      break; // Exit loop
+    }
+  }
+}
+
+
+//
+// Update Local sensors
+//
+void updateLocalSensors()
+{
+
+  // Read Pression sensor
+
+  // Read Temp sensor
+
+}
+

    // max message size
    uint8_t messageLen = VW_MAX_MESSAGE_LEN;

    if (vw_get_message(_message, &messageLen)) // Read message
    {
      digitalWrite(rxLed, HIGH);


  vw_setup(2000);

  // Set Up LCD
  _app.render.lcd.begin (16,2); // 16x2 LCD
  _app.render.lcd.setBacklightPin(BACKLIGHT_PIN,POSITIVE);
  _app.render.lcd.setBacklight(HIGH);
  _app.render.lcd.home();
  _app.render.lcd.print("--- Welcome ---");

  // Start the receiver
  vw_rx_start();

  // Initialise 
  if(!_mainSensor.begin())
  {
    /* There was a problem detecting the BMP085 ... check your connections */
    Serial.print("Ooops, no BMP085 detected ...");
  }
}

void loop() {
