Page 1 of 2
yowindow.xml format update, pressure trend added.
Posted: Wed Nov 10, 2010 12:38 pm
by par
I have added a pressure trend support for PWS.
See the fresh build.
The format is the following.
<pressure value="num" trend="num" unit="[ hPa | inchMerc | mmMerc ]"/>
I just have added "trend" attribute.
I need to update the templates for all supported stations.
Friends, please let me know how should I change the templates to reflect pressure trend for your station.
Pasha
Re: yowindow.xml format update, pressure trend added.
Posted: Wed Nov 10, 2010 1:03 pm
by jmcmurry
Pasha,
For the Weather Display template you would use the %pressurechangehourinmb% tag. I'll add this to Rainer's and my PHP script as soon as I get a chance.
- Jim
Re: yowindow.xml format update, pressure trend added.
Posted: Wed Nov 10, 2010 2:06 pm
by par
Thanks!
I have updated WD template at yowindow.com.
Re: yowindow.xml format update, pressure trend added.
Posted: Wed Nov 10, 2010 2:52 pm
by JoseNeto
Hi Par.
I think I must wait for an update on WUHU in order to get the tendency running.
So my PWS is a LaCrosse WS 2810 and it is not supported directly, apart of the currdat.lst file generated still using
[weather_tendency]
comment1=-1=not valid, 0=no change of air pressure
comment2=1=air pressure rising, 2=air pressure falling
number=1
But I am not able to use it, must wait for WUHU.....
By the way do not forget to use (reuse) diferent collors for data comming from PWS in order to be more clear regardind data from metar.
Tanks
Re: yowindow.xml format update, pressure trend added.
Posted: Thu Nov 11, 2010 12:27 pm
by par
Thanks, Jose!
Re: yowindow.xml format update, pressure trend added.
Posted: Thu Nov 11, 2010 3:41 pm
by Mallorca
Hi Pasha,
I added the pressure trend to my yowindow.txt for WsWin (see attachement).
Thanks for this new feature!

- Unbenannt.JPG (31.45 KiB) Viewed 12491 times
Werner
Re: yowindow.xml format update, pressure trend added.
Posted: Thu Nov 11, 2010 5:00 pm
by par
Werner, I think the template you have modified will not work
This will not work

<pressure value="num" trend="num" unit="[ hPa | inchMerc | mmMerc ]"/>
You need to find WsWin pressure-trend variable and pass it inside pressure tag.
Like this
<pressure value="%curval[33]%" trend="%curval[special-pressure-trend-id]%"/>
If you to find the value of "special-pressure-trend-id", please let me know.
Re: yowindow.xml format update, pressure trend added.
Posted: Fri Nov 12, 2010 1:53 pm
by Mallorca
Hi Pasha, sorry but I zipped the wrong file
In WsWin it is possible to set the trend in different hours, so I used the 24 hour trend.
the trend arrow is shown now on my pc

- barotrend pc.JPG (35.79 KiB) Viewed 12474 times
and on the widget

- barotrend web.JPG (60.9 KiB) Viewed 12474 times
So I think it should be ok.
Werner
Re: yowindow.xml format update, pressure trend added.
Posted: Sat Nov 13, 2010 9:55 am
by par
OK, good to know you've made it work.
Can you give me the name of the tag used for pressure trend in WsWin?
Re: yowindow.xml format update, pressure trend added.
Posted: Sat Nov 13, 2010 10:50 am
by Mallorca
Hi Pasha,
here are the tags for pressure trends setting:
pressure actual *%curval[33]%
pressure trend 1h %ws_baro1h%
pressure trend 2h %ws_baro2h%
pressure trend 3h %ws_baro3h%
pressure trend 6h %ws_baro6h%
pressure trend 12h %ws_baro12h%
pressure trend 24h %ws_baro24h%
I used the 24 h trend.
Werner