PWS, clouds value, main display says "Description".

Have you found an error? Report here!
Post Reply
wuhu_software

PWS, clouds value, main display says "Description".

Post by wuhu_software »

When a PWS write the XML file with the cloud value, for example:

<clouds value="mostlyCloudy" include="always"/>

On the main display, under the Icon for the cloud condition, it says "Description" rather than "mostlyCloudy".

YoWindow is correctly interpreting the XML file and clouds value, but this text is wrong.

Thanks.

See attached image.
YoWindowBug-1.JPG
YoWindowBug-1.JPG (26.45 KiB) Viewed 5174 times
User avatar
par
Posts: 8741
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: PWS, clouds value, main display says "Description".

Post by par »

Thanks for reporting!
Please provide full yowindow.xml for the reference.
Get YoWindow weather app for your phone or tablet.

Image Image Image
wuhu_software

Re: PWS, clouds value, main display says "Description".

Post by wuhu_software »

Certainly.

As I mentioned, the program does change the sky conditions correctly so this is just apparently a problem with that particular field.

Thank you.

---

<response>
<current_weather>
<temperature unit="f">
<current value="49.0"/>
<feels_like value="49.0"/>
</temperature>
<humidity value="77"/>
<pressure value="30.34" unit="inchMerc"/>
<uv value="0"/>
<solar radiation="9" energy="185"/>
<sky>
<clouds value="fair" include="always"/>
<precipitation>
<rain>
<rate value="0.00" unit="iph"/>
<daily_total value="0.00" unit="inch"/>
</rain>
</precipitation>
</sky>
<auto_update>
<interval value="65"/>
</auto_update>
</current_weather>
</response>
jmcmurry
Posts: 368
Joined: Tue Oct 13, 2009 11:09 am
Name: Jim
Location: Mauston, WI, USA
Contact:

Re: PWS, clouds value, main display says "Description".

Post by jmcmurry »

I believe you're missing the

<description value="Sunny"/>

part which is what will display. That way it can be in any language.

- Jim
wuhu_software

Re: PWS, clouds value, main display says "Description".

Post by wuhu_software »

Ahhhh yes, I just assumed that this Description would be create from the cloud value, my mistake!

I will give that a go.

Thanks.
wuhu_software

Re: PWS, clouds value, main display says "Description".

Post by wuhu_software »

That was my problem.

Thank you for the heads up.
Post Reply