Weathercat and yowindow.xml

Personnal Weather Station (PWS) support
Post Reply
cdurnal
Posts: 8
Joined: Sun Jan 05, 2014 2:55 pm
Name: Chet

Weathercat and yowindow.xml

Post by cdurnal » Sun Jan 05, 2014 3:01 pm

I can get weather cat on my iMac to replace the tags in a yowindow.xml, but yowindow will not process the resulting data (I get "no weather"). here is a copy pf the yowindow.xml. Can any one help? I have been working on this for a long time!

Code: Select all

<!-- L$ D$ -->
<!--YOWINDOW XML - PWS SPECS WeatherCat  version: 2.30 date: 2013-12-24 14:56:26 -->
<!-- Remove auto_update section if wanting the default, otherwise in seconds -->
<!-- Remove snow section if not inputting snow -->
<!-- Remove the uv and solar tags if those sensors aren't present -->
<response>    
  <current_weather> 
    <auto_update>
      <interval value="300"/> 
    </auto_update>  
    <temperature unit="TEMPUNITS$">
      <current value="STAT$TEMPERATURE:CURRENT$"/> 
      <feels_like value="STAT$AT_US:CURRENT$"/> 	  
    </temperature>	
    <humidity value="STAT$EXTHUMIDITY:CURRENT$"/> 
    <pressure value="STAT$PRESSURE:CURRENT$" unit="PRESSUREUNITS$" trend="STAT$PRESSURE:DELTA1$"/> 
    <wind> 
      <speed value="STAT$AVERAGEWINDSPEED:CURRENT$" unit="WINDSPEEDUNITS$"/> 
      <gusts value="STAT$WINDGUST:CURRENT$"  unit="WINDSPEEDUNITS$" /> 	  
      <direction value="STAT$WINDDIRECTION:CURRENT$" /> 
    </wind> 
    <sky> 
      <precipitation> 
        <rain>
           <daily_total value="STAT$RAIN:TOTAL:TODAY$%"  unit="RAINUNITS$"/>
        </rain>	  
      </precipitation> 
    </sky> 
        
  </current_weather> 
</response>

I forgot: here is the xml when weather cat is finished with it:

<!-- Daisendorf Am G&#228;rtlesberg 4 Jan 2014 3:07 PM -->
<!--YOWINDOW XML - PWS SPECS WeatherCat  version: 2.30 date: 2013-12-24 14:56:26 -->
<!-- Remove auto_update section if wanting the default, otherwise in seconds -->
<!-- Remove snow section if not inputting snow -->
<!-- Remove the uv and solar tags if those sensors aren't present -->
<response>    
  <current_weather> 
    <auto_update>
      <interval value="300"/> 
    </auto_update>  
    <temperature unit="&#176;F">
      <current value="40.9"/> 
      <feels_like value="37.8"/> 	  
    </temperature>	
    <humidity value="96"/> 
    <pressure value="29.51" unit="inHg" trend="-0.00"/> 
    <wind> 
      <speed value="3" unit="MPH"/> 
      <gusts value="8"  unit="MPH" /> 	  
      <direction value="122" /> 
    </wind> 
    <sky> 
      <precipitation> 
        <rain>
           <daily_total value="0.01%"  unit="in"/>
        </rain>	  
      </precipitation> 
    </sky> 
    <uv value="0.0"/> 
    <solar energy="0"/>    
  </current_weather> 
</response>

cdurnal
Posts: 8
Joined: Sun Jan 05, 2014 2:55 pm
Name: Chet

Re: Weathercat and yowindow.xml

Post by cdurnal » Sun Jan 05, 2014 7:03 pm

Problem solved! Weathercat is putting Fahrenheit data in the yo window.xml, and my yowindow units was set to centigrade. :Yahoo!:

User avatar
par
Posts: 7931
Joined: Mon Sep 21, 2009 11:56 am
Name: Pasha
Location: Saint-Petersburg, Russia
Contact:

Re: Weathercat and yowindow.xml

Post by par » Mon Jan 06, 2014 8:31 am

I'm glad you have found the solution, thank you for sharing with the community.
Enjoy YoWindow! :)
Get YoWindow weather app for your phone or tablet.

Image Image Image

Post Reply