My guess is that wind direction senor is a pot and wind speed has a servo which generates voltage proportional to the wind speed. I'd like to make this whole thing solar powered and send NMEA 0183 format messages on a TCP port.. This would go on top of a sailboat. The closet commercial offering costs $400 and I think uses bluetooth to communicate.
http://www.davisnet.com/weather/product ... pnum=06410
This particular sensor is $130 on amazon and seems very high quality at a decent price.