Page 1 of 1

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

Posted: Mon Oct 04, 2010 12:35 am
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 5176 times

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

Posted: Tue Oct 05, 2010 7:38 am
by par
Thanks for reporting!
Please provide full yowindow.xml for the reference.

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

Posted: Tue Oct 05, 2010 3:55 pm
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>

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

Posted: Tue Oct 05, 2010 4:16 pm
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

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

Posted: Tue Oct 05, 2010 6:47 pm
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.

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

Posted: Tue Oct 05, 2010 6:56 pm
by wuhu_software
That was my problem.

Thank you for the heads up.