Be careful on how you orient the magnet on the spoke.
If you are in the Northern hemisphere, the north pole of the magnet should be facing the drive side. If you live in Australia, north pole should face the non-drive side.
BTW, you will go faster if you place the magnet and sensor as close to the rim as posible