Hello,
Since the new widget version 3, I see my PWS data not in the widget. What goes wrong here?
The Widget shows "not available" ("niet beschikbaar" in Dutch), but does let see the ten-day forecast, only the actual data is not visible.
The YoWindow desktop version 2.0 build 510 on my PC shows these data good, so it has to do with the widget seems!
Who can help me to fix this?
Data:
Widget image: http://imageshack.us/photo/my-images/256/image1he.jpg/
YoWindow desktop image: http://imageshack.us/photo/my-images/696/image2bjt.jpg/
Link to the xml: http://www.amvih.nl/weer/yowindow.xml
Website link: http://www.amvih.nl/verwachtingen.html
Crossdomain link: http://www.amvih.nl/crossdomain.xml
IE9 (32 bits)
Adobe flashplayer 11
Windows 7 home premium (64 bits)
A little piece copied out from the widget:
value="location_id=2757872&location_name=Culemborg¤t_weather_url=http://www.amvih.nl/weer/yowindow.xml&time_format=24&us=metric&lang=nl&background=#FFFFFF&view_direction=0
©right_bar=false"
I cleared also internet explorers cache, but nothing seems to work!
Who can give me the solution?
Thanks in advance!
gr.
Arie
Culemborg (The Netherlands)
PWS not seeing in Widget3
Re: PWS not seeing in Widget3
Hi Arie
Welcome on this forum
your pws xml is missing the following code (red):
<?xml version="1.0" encoding="UTF-8" ?>
- <response>
- <current_weather>
- <temperature>
<current value="4.5" />
<feels_like value="0.3" />
</temperature>
<humidity value="82" />
<pressure value="1020.8" />
<visibility value="18.2" unit="km" />
- <wind>
<speed value="21" unit="kph" />
<direction value="248" />
</wind>
- <sky>
- <precipitation>
- <rain>
<rate value="0.0" />
<daily_total value="1.0" />
</rain>
</precipitation>
<description value="licht bewolkt" />
</sky>
<uv value="14" />
<solar radiation="200 W/m2" energy="11 kLUX" />
</current_weather>
</response>
see also the results : http://hermanz.nl/index.php/nl/weer-ani ... -culemborg
gr.
Herman
Welcome on this forum
your pws xml is missing the following code (red):
<?xml version="1.0" encoding="UTF-8" ?>
- <response>
- <current_weather>
- <temperature>
<current value="4.5" />
<feels_like value="0.3" />
</temperature>
<humidity value="82" />
<pressure value="1020.8" />
<visibility value="18.2" unit="km" />
- <wind>
<speed value="21" unit="kph" />
<direction value="248" />
</wind>
- <sky>
- <precipitation>
- <rain>
<rate value="0.0" />
<daily_total value="1.0" />
</rain>
</precipitation>
<description value="licht bewolkt" />
</sky>
<uv value="14" />
<solar radiation="200 W/m2" energy="11 kLUX" />
</current_weather>
</response>
see also the results : http://hermanz.nl/index.php/nl/weer-ani ... -culemborg
gr.
Herman
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )
Re: PWS not seeing in Widget3
Herman,
This didn't work, is still says no available.
I have then taken the script from the forum under WsWin and that works fine.
But I want to remove the data between "<sky>" and </sky> and replace it with the data of a metar station.
But when I do this the widget shows again not available.
What goes wrong?
New yowindow.xml file then:
A little piece copied out from the new widget:
Any help is welcome!
Thanks in advance!
gr.
Arie
This didn't work, is still says no available.
I have then taken the script from the forum under WsWin and that works fine.
Code: Select all
<!-- %customfile=yowindow.xml% -->
<?xml version="1.0" encoding="iso-8859-1"?>
%unit_off% %alwaysseppoint_on%
<response>
<current_weather>
<temperature value="%curval[0]%"/>
<humidity value="%curval[19]%"/>
<pressure value="%curval[33]%"/>
<visibility value="%horiz_view%"/>
<wind>
<speed value="%ws_newunit[45]=1%%curval[45]%"/>
<direction value="%curval[36]%"/>
</wind>
<sky>
<description value="%suntxt%"/>
<clouds>
<icon id="%suneighth%" format="ws-win"/>
</clouds>
<precipitation>
<rain rate="%rainrate%"/>
<snow level="%snowheight%"/>
</precipitation>
</sky>
</current_weather>
</response>
But when I do this the widget shows again not available.
What goes wrong?
New yowindow.xml file then:
Code: Select all
<!-- %customfile=yowindow.xml% -->
<?xml version="1.0" encoding="iso-8859-1"?>
%unit_off% %alwaysseppoint_on%
<response>
<current_weather>
<temperature value="%curval[0]%"/>
<humidity value="%curval[-1]%"/>
<pressure value="%curval[33]%"/>
<wind>
<speed value="%ws_newunit[45]=1%%curval[45]%"/>
<direction value="%curval[36]%"/>
</wind>
</current_weather>
</response>
Code: Select all
value="location_id=2757872&location_name=Culemborg¤t_weather_url=http://www.amvih.nl/weer/yowindow.xml¤t_weather_icao=EHDL&i_temperatureRange=false&i_feelsLike=false&i_observeTime=false&view_direction=0&time_format=24&unit_system=metric&lang=nl&background=#FFFFFF&mini_temperature=true&mini_time=true&mini_locationBar=true&mini_momentBar=true©right_bar=false
Thanks in advance!
gr.
Arie
Re: PWS not seeing in Widget3
Problem solved!
I use now this code:
Thanks to Herman for his input.
gr.
Arie
I use now this code:
Code: Select all
<!-- %customfile=yowindow.xml% -->
<?xml version="1.0" encoding="iso-8859-1"?>
%unit_off% %alwaysseppoint_on%
<response>
<current_weather>
<temperature value="%curval[0]%"/>
<humidity value="%curval[-1]%"/>
<pressure value="%curval[33]%"/>
<wind>
<speed value="%curval[45]%" unit="kph"/>
<direction value="%curval[36]%"/>
</wind>
<sky>
<precipitation>
<rain rate="%rainrate%"/>
<snow level="--"/>
</precipitation>
</sky>
</current_weather>
</response>
Thanks to Herman for his input.
gr.
Arie