I am currently using an SDR stick to read data from my Vantage Vue, using the rtldavis driver
https://github.com/lheijst/weewx-rtldavis
I will probably move to a RFM69 based solution with an Arduino, has my SDR keeps dropping offline, and it will be nice to have multiple options anyway.
Now, I was curious and looked through the code and found that they both use similar (or maybe the same) code for wind error correction.
I am however confused about this part
""" The elder Vantage Pro and Pro2 stations measured
the wind direction with a potentiometer. This type has
a fairly big dead band around the North. The Vantage
Vue station uses a hall effect device to measure the
wind direction. This type has a much smaller dead band,
so there are two different formulas for calculating
the wind direction. To be able to select the right
formula the Vantage type must be known.
For now we use the traditional 'pro' formula for all
wind directions.
"""
Later in the code, we see
data['wind_speed_ec'] = wind_speed_ec
data['wind_speed_raw'] = wind_speed_raw
data['wind_dir'] = wind_dir_pro
data['wind_speed'] = wind_speed_ec * MPH_TO_MPS
So, it's pretty clear the code is using the Pro formula with it's dead band at north, and not the simpler Vue formula, which I think IS being calculate, just not used anywhere.
# Vantage Vue
wind_dir_vue = wind_dir_raw * 1.40625 + 0.3
What's the best way of telling the driver or WeeWX that I have the Vue hardware? I'm not so good at following the code through, so I am unsure where the 'data' dict ends up, and don't want to break someting by naively setting data['wind_dir'] = wind_dir_vue and calling it a day.
Appreciate any help...!