Can Davis VP2 Barotrend be read by meteohub

Davis Vantage Pro2, Pro1 (not firmware A)

Moderator: Mattk

Post Reply
wfpost
Platinum Boarder
Platinum Boarder
Posts: 591
Joined: Thu Jun 12, 2008 2:24 pm
Location: HONSOLGEN
Contact:

Can Davis VP2 Barotrend be read by meteohub

Post by wfpost »

Q.: Is the VP2 barotrend part of the data that can be read by meteohub? Or is this only visible on the VP2 console?

I´m asking, because if possible I´d like to have a meteohub variable using the VP2 3h barotrend feature.
The one hour variable more or less sticks at steady all the time, regardless how steep the pressure changes. And the 24h variable´s timeframe is to large to reflect a current change in air pressure.

Just in case it would be nice if the 1h baro_trend variable could be changed that it reflects smaller delta p in altering the trend to rise or fall.

Thanks,
Wolfgang
User avatar
HeinrichH
Gold Boarder
Gold Boarder
Posts: 187
Joined: Sun Jan 04, 2009 6:27 pm
Location: Emmen-Netherlands / Panoias-Portugal
Contact:

Re:Can Davis VP2 Barotrend be read by meteohub

Post by HeinrichH »

I'm using the Vantage VP2 with Meteohub, the barometer reading is no problem, The VP2 is connected by LAN to Meteohub.

The barometer is thb0 Image
Checking the remote....
User avatar
admin
Platinum Boarder
Platinum Boarder
Posts: 7854
Joined: Mon Oct 01, 2007 10:51 pm

Re:Can Davis VP2 Barotrend be read by meteohub

Post by admin »

barotrend is supported by variable "hour1_thb0_press_trend" (and also for other time periods as hour1).
skogvaktare
Junior Boarder
Junior Boarder
Posts: 39
Joined: Thu Jan 08, 2009 9:26 am

Re:Can Davis VP2 Barotrend be read by meteohub

Post by skogvaktare »

Hi!

Wolfgang asks for the three hours trend.

But the tag

[last3h_thb0_press_trend]


will not work. There are just the time periods hour1, last60m, last24h, and so on.

But more interesting would be the last3h trend.

Cheers,

Christian
wfpost
Platinum Boarder
Platinum Boarder
Posts: 591
Joined: Thu Jun 12, 2008 2:24 pm
Location: HONSOLGEN
Contact:

Re: Re:Can Davis VP2 Barotrend be read by meteohub

Post by wfpost »

admin wrote:barotrend is supported by variable "hour1_thb0_press_trend" (and also for other time periods as hour1).
I know this is an old story, but I´m now sure that the "hour1_thb0_press_trend" variable isn´t working.
Using it on my website, it shows 99.99% of the time steady (0) - which does not reflect the real pressure trend situation.

If you look at this current graphs it shows exactly that "hour1_thb0_press_trend" calculation is incorrect (most probably using a too large value for the change difference)

Image

I still think the limits Davis VP2 is using for baro trend make sense.

Divided by 3 and it would be "hour1_thb0_press_trend"
"hour1_thb0_press_trend" = 1 --> pressure difference in 1 hour greater equal than 0.23 hPa
"hour1_thb0_press_trend" = 0 --> pressure difference in 1 hour less than 0.23 hPa
"hour1_thb0_press_trend" = -1 --> pressure difference in 1 hour less equal than -0.23 hPa

It would be great, if this variable could be adjusted that it really reflects the change in pressure and showing a correct trend. Thanks

Image
wfpost
Platinum Boarder
Platinum Boarder
Posts: 591
Joined: Thu Jun 12, 2008 2:24 pm
Location: HONSOLGEN
Contact:

Re: Can Davis VP2 Barotrend be read by meteohub

Post by wfpost »

Just saw that VP2´s 3hour Barometer Trend can be read via USB.
That would be really a great thing, if a new variable, lets say "vp2_pressure_trend" could be built and added into meteohubs existing list of variables.

vp2_pressure_trend = 2 --> Rising Rapidly
vp2_pressure_trend = 1 --> Rising Slowly
vp2_pressure_trend = 0 --> Steady
vp2_pressure_trend = -1 --> Falling Slowly
vp2_pressure_trend = -2 --> Falling Rapidly

from Vantage ProTM and Vantage Pro2TM
Serial Communication Reference Manual

Image
User avatar
d_l
Expert Boarder
Expert Boarder
Posts: 140
Joined: Fri Mar 13, 2009 12:58 am
Location: Reno, Nevada USA
Contact:

Re: Can Davis VP2 Barotrend be read by meteohub

Post by d_l »

Is the value reported to clientraw.txt -- item 50 (Baro Trend) from the one hour trend value or the three hour trend of the LOOP packet?

I've noticed that the Baro Trend of clientraw is almost always reported as steady, yet the weatherlink.com site will show increasing/decreasing conditions instead.
wfpost
Platinum Boarder
Platinum Boarder
Posts: 591
Joined: Thu Jun 12, 2008 2:24 pm
Location: HONSOLGEN
Contact:

Re: Can Davis VP2 Barotrend be read by meteohub

Post by wfpost »

I´ve now done it with the subtraction of seqhour1_thb0_press_hpa@3 - actual_thb0_press_hpa
That works, but nevertheless I would be happy, if Boris could look into this, and might getting enthusiastic about above proposals (correction & new barotrend variable for VP2 users)

Thanks,
Wolfgang


...........................

Code: Select all

<script type="text/javascript">
var barotrend={math- [actual_thb0_press_hpa] [seqhour1_thb0_press_hpa@3]}; 

if (barotrend <= -2)
 {document.write( ' Barotrend 3hours: '+barotrend+' hPa &bull; FALLING RAPIDLY &bull; STARK FALLEND');} 
else
if (barotrend <= -0.7)
 {document.write( ' Barotrend 3hours: '+barotrend+' hPa &bull; FALLING SLOWLY &bull; SCHWACH FALLEND');} 

else 
{if ((barotrend > -0.7) && (barotrend < 0.7))
 {document.write( 'Barotrend 3hours: '+barotrend+' hPa &bull; STEADY &bull; GLEICHBLEIBEND');} 

else
if (barotrend >= 2)
 {document.write( ' Barotrend 3hours: '+barotrend+' hPa &bull; RISING RAPIDLY &bull; STARK STEIGEND');} 

else
 {document.write( 'Barotrend 3hours: '+barotrend+' hPa &bull; SLOWLY RISING &bull; SCHWACH STEIGEND');}} 
</script>
wfpost
Platinum Boarder
Platinum Boarder
Posts: 591
Joined: Thu Jun 12, 2008 2:24 pm
Location: HONSOLGEN
Contact:

Re: Can Davis VP2 Barotrend be read by meteohub

Post by wfpost »

Boris,

any plans ro remedy the barotrend glitch?

Thanks ...
Post Reply