The way I'm thinking on the TS plan is the weather vane is somewhere up high on a mast or on top of a building. Doing a home calibration every time power is interrupted, switched off and back on, or other issue, it doesn't seem convenient to have to zero out the vane. That's why I'm thinking something with dedicated directions. The Opto Wheel seems like a good approach, but again, there's the need to zero the weather vane every time power is interrupted. Then comes the need to know every time you zero it, knowing exactly what direction north is. With the dedicated direction once north is established it's always there unless something moves the mast.You just need to do a home calibration when you power up the MCU.
That will work. In my opinion, the goal would be to have contactless, minimum friction and no power connections on the rotor.I have not completed it yet, but I'm attempting to use a triple axis magnetometer chip with a neodymium magnet on the rotor shaft. So far I've taken a NEMA 23 stepper motor, removed the rotor and windings and mounted that in a weather proof enclosure with a weather vane attached to the shaft. This gives me a pair of bearings for the vane to rotate on. The motor shell has a hole in the bottom that exposes the short end of the shaft. I plan on gluing the magnet on that end of the shaft. Then I'll mount the magnetometer (I'm using a ready made Adafruit PCB magnetometer board) beneath it to sense rotation of the magnet on the shaft. Triple axis is necessary because a single axis only gives magnetic field magnitude. Three axes can be translated into a rotational vector. It's a work-in-progress so I don't know really how well it will work.