<?xml version="1.0" encoding="UTF-8"?>
<!--YOWINDOW XML - PWS SPECS 

This document was originally created by Meerkat (http://www.bashewa.com). Thank you!
The original is here: http://www.bashewa.com/yowindow-specs.xml
-->
<response>
    <current_weather>
        <temperature unit="[ c | f ]">
            <current value="num"/>
            <feels_like value="num"/>
        </temperature>

        <humidity value="[ 0..100{%} ]"/>

        <pressure value="num" trend="num" unit="[ hPa | inchMerc | mmMerc ]"/>

        <visibility value="[ unlimited | num ]" unit="[ m | km | mile ]"/>

        <uv value="[ {index} ]"/>

        <solar radiation="[ 0..100{%} ]" energy="[ {watts/sqM} ]"/>

        <wind>
            <speed value="num" unit="[ mps | m/s | kph | km/h | mph ]"/>
            <direction value="[ 0..359 ]"/>
            <gusts value="num" unit="[ mps | m/s | kph | km/h | mph ]"/>
        </wind>

        <sky>
            <description value="[ {your sky description eg. Partly Cloudy} ]"/>

<!--By default clouds node is always read by YoWindow.
However, you may control its inclusion with "include" attribute.
This makes sense if your PWS cannot read clouds conditions in the night.

When include = "daylight", clouds node is read by YoWindow in daylight time only,
in the night clouds are provided my METAR station.
-->
            <clouds value="[ clear | fair | partlyCloudy | mostlyCloudy | overcast ]" include="[always | daylight]" />

            <precipitation>
                <rain>
<!--Rain rate per hour.
When rain rate = 0 it's not raining 
-->
                    <rate value="num" unit="[ mmph | mm/hr | mm | cmph | cm/hr | cm | iph | in/hr | in ]"/>
                    <daily_total value="num" unit="[ mm | cm | inch | in]"/>
                </rain>

                <snow>
<!--Snow rain per hour.
When snow rate = 0 it's not snowing 
-->
                    <rate value="num" unit="[ mmph | mm/hr | mm | cmph | cm/hr | cm | iph | in/hr | in ]"/>
<!--Snow level helps YoWindow to choose the season picture.
When snow level > 0 YoWindow will always display winter landscape.
When snow level = 0 YoWindow will always display naked landscape.
If absent then snow level is taken from METAR 
-->
                    <level value="num" unit="[ mm | cm | inch | in | -- ]"/>  
                </snow>

            </precipitation>
<!--Note: when 0 then no thunderstorm, if absent then data are taken from METAR 
Set @value to 'yes' if it's thunderstorm but you don't know the lightening rate
-->
           <thunderstorm value="[ 0 | yes | {lightning strikes/min} ]"/> 
        </sky>

        <auto_update>
            <interval value="[ {seconds} ]"/>
        </auto_update>
    </current_weather>
</response>

<!--
CLOUD VALUES:
  clear        -      0 octas - no clouds in the sky
  fair         - 1 to 2 octas -  25% or less cloud cover
  partlyCloudy - 3 to 4 octas -  50% or less cloud cover
  mostlyCloudy - 5 to 7 octas -  88% cloud cover with clearings
  overcast     -      8 octas - 100% cloud cover
-
NOTES:
. "num" ......... replace with actual numbers from your PWS.
. "[ a | b ]" ... choose one from the list and drop the brackets.
-
. The first value between the brackets is always the default.
. Double dash for snow level means it's unknown and will be taken from METAR.
. If you don't have enough information to choose the right item, don't include the tag.
. In case your weather station does not provide a parameter, "clouds" for instance,
  just don't include the corresponding tag in the XML file.
  Youwindow will get it's info from the nearest METAR if tags are ommitted.


This document was originally created by Rainer (http://www.bashewa.com);
The original is [url=http://www.bashewa.com/yowindow-specs.xml]here[/url].
-->

<!-- Example 
If you want you may save the following XML to a file and test it inside YoWindow even without your station.
-->
<!--
<response>
	<current_weather>
        	<temperature>
                    <current value="5"/>
                    <feels_like value="8"/>
                </temperature>
        	<humidity value="86"/>
        	<pressure value="979"/>
        	<visibility value="9" unit="km"/>
    	        <wind>
    	    	    <speed value="10.2" unit="kph"/>
                    <direction value="220"/>
                </wind>
        	<sky>
        		<clouds value="partlyCloudy"/>
                    <precipitation>
                        <rain>
                            <rate value="1"/>
                            <daily_total value="10"/>
                        </rain>
                        <snow>
                            <rate value = "0"/>
                            <level value="1" unit="cm"/>
                        </snow>
                    </precipitation>
                    <description value="Partly Cloudy"/>
        	</sky>
        <uv value="14"/>
        <solar radiation="39" energy="88"/>
	</current_weather>
</response>
-->
