Add generic sensor. Make data samples configurable.