In theory what you propose is do-able. Assuming you could secure the magnet to the fly wheel then you would want to input the diameter of your wheel (not the flywheel) since the speed/distance calculation is computed using rpm and diameter of your wheel. Considering that mounting something to the flywheel is probably not advised I would think that Cycleops might have a computer or some solution. Have you looked at what they offer?