GPS compass/heading for "apparent wind" direction?
Posted: Thu Jan 07, 2016 11:18 pm
First, let me start with the statement that I'm a total "noob" here, so if this is answered/documented somewhere please send me the memo and I'll go back and hide under my rock.
Here's the summary statement:
I'd like to create a virtual sensor from my existing wind vane & anemometer to report "apparent wind direction".
I've seen the documentation and I'm fairly sure I can write the code to accomplish this, but I'm not sure how to get the GPS compass (heading) data in to meteohub.
Here's the long version of why I want to do this:
I have a boat that is moored in a single-point rotating configuration; The boat's bow is tied to a mooring bouy and it rotates depending on the wind direction. The boat becomes a giant wind vane, because the boat rotates I have no way to align a wind vane to North and have it report with any accuracy to meteohub. I'd like to combine input from a GPS with the wind vane & anemometer data so I can see an accurate report on wind direction.
The *much* easier way to solve this problem would be to find a wind vane that contains an electronic compass and reports apparent wind direction instead of relative wind direction. I haven't been able to find such a windvane, but if you know of one please let me know!
Can anyone suggest a way that I could input GPS data in to meteohub to accomplish this?
Here's the summary statement:
I'd like to create a virtual sensor from my existing wind vane & anemometer to report "apparent wind direction".
I've seen the documentation and I'm fairly sure I can write the code to accomplish this, but I'm not sure how to get the GPS compass (heading) data in to meteohub.
Here's the long version of why I want to do this:
I have a boat that is moored in a single-point rotating configuration; The boat's bow is tied to a mooring bouy and it rotates depending on the wind direction. The boat becomes a giant wind vane, because the boat rotates I have no way to align a wind vane to North and have it report with any accuracy to meteohub. I'd like to combine input from a GPS with the wind vane & anemometer data so I can see an accurate report on wind direction.
The *much* easier way to solve this problem would be to find a wind vane that contains an electronic compass and reports apparent wind direction instead of relative wind direction. I haven't been able to find such a windvane, but if you know of one please let me know!
Can anyone suggest a way that I could input GPS data in to meteohub to accomplish this?