Whenever a sensor is plugged the event onSensorPlug is fired, as parameter it receives the id of the just plugged sensor.