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
yowindow.xml format update, pressure trend added.
Re: yowindow.xml format update, pressure trend added.
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
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
- par
- Posts: 8629
- Joined: Mon Sep 21, 2009 11:56 am
- Name: Pasha
- Location: Saint-Petersburg, Russia
- Contact:
Re: yowindow.xml format update, pressure trend added.
Thanks!
I have updated WD template at yowindow.com.
I have updated WD template at yowindow.com.
Re: yowindow.xml format update, pressure trend added.
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
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
- par
- Posts: 8629
- Joined: Mon Sep 21, 2009 11:56 am
- Name: Pasha
- Location: Saint-Petersburg, Russia
- Contact:
Re: yowindow.xml format update, pressure trend added.
Thanks, Jose!
- Mallorca
- Posts: 1757
- Joined: Sun Jul 11, 2010 8:59 am
- Name: Werner Heidotting
- Location: Son Servera, Mallorca, Spain
- Contact:
Re: yowindow.xml format update, pressure trend added.
Hi Pasha,
I added the pressure trend to my yowindow.txt for WsWin (see attachement).
Thanks for this new feature!
Werner
I added the pressure trend to my yowindow.txt for WsWin (see attachement).
Thanks for this new feature!
Werner
My weatherstation: TFA-Nexus with WsWin
http://wetter.toernover.com
Wonderground
http://www.wunderground.com/weatherstat ... hspan=year
My Place:
http://goo.gl/maps/VO3i
http://wetter.toernover.com
Wonderground
http://www.wunderground.com/weatherstat ... hspan=year
My Place:
http://goo.gl/maps/VO3i
- par
- Posts: 8629
- Joined: Mon Sep 21, 2009 11:56 am
- Name: Pasha
- Location: Saint-Petersburg, Russia
- Contact:
Re: yowindow.xml format update, pressure trend added.
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.
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.
- Mallorca
- Posts: 1757
- Joined: Sun Jul 11, 2010 8:59 am
- Name: Werner Heidotting
- Location: Son Servera, Mallorca, Spain
- Contact:
Re: yowindow.xml format update, pressure trend added.
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
and on the widget
So I think it should be ok.
Werner
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
and on the widget
So I think it should be ok.
Werner
My weatherstation: TFA-Nexus with WsWin
http://wetter.toernover.com
Wonderground
http://www.wunderground.com/weatherstat ... hspan=year
My Place:
http://goo.gl/maps/VO3i
http://wetter.toernover.com
Wonderground
http://www.wunderground.com/weatherstat ... hspan=year
My Place:
http://goo.gl/maps/VO3i
- par
- Posts: 8629
- Joined: Mon Sep 21, 2009 11:56 am
- Name: Pasha
- Location: Saint-Petersburg, Russia
- Contact:
Re: yowindow.xml format update, pressure trend added.
OK, good to know you've made it work.
Can you give me the name of the tag used for pressure trend in WsWin?
Can you give me the name of the tag used for pressure trend in WsWin?
- Mallorca
- Posts: 1757
- Joined: Sun Jul 11, 2010 8:59 am
- Name: Werner Heidotting
- Location: Son Servera, Mallorca, Spain
- Contact:
Re: yowindow.xml format update, pressure trend added.
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
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
My weatherstation: TFA-Nexus with WsWin
http://wetter.toernover.com
Wonderground
http://www.wunderground.com/weatherstat ... hspan=year
My Place:
http://goo.gl/maps/VO3i
http://wetter.toernover.com
Wonderground
http://www.wunderground.com/weatherstat ... hspan=year
My Place:
http://goo.gl/maps/VO3i