Page 1 of 1

yowindow.xml problems with units after values

Posted: Thu Jul 29, 2010 5:35 pm
by WetterMan
Hello,

I use Weather-Display. The software generate the file yowindow.xml. Here is the customyowindow.txt I use:

<!-- 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 not using those detectors -->
<response>
<current_weather>
<auto_update>
<interval value="310"/>
</auto_update>
<temperature>
<current value="%temp%"/>
<feels_like value="%feelslikeincelsius%"/>
</temperature>
<humidity value="%hum%"/>
<pressure value="%baro%"/>
<wind>
<speed value="%avdir10minute%"/>
<gusts value="%1mingustwind%"/>
<direction value="45 &deg;"/>
</wind>
<sky>
<icon id="%iconnumber%" format="wd"/>
<description value="%weatherreport%"/>
<precipitation>
<rain>
<rate value="%currentrainrate%"/>
<daily_total value="%dayrn%"/>
</rain>
</precipitation>
</sky>
</current_weather>
</response>

Weather-Display gererates the follow yowindow.xml:

<!-- 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 not using those detectors -->
<response>
<current_weather>
<auto_update>
<interval value="310"/>
</auto_update>
<temperature>
<current value="18.9&deg;C"/>
<feels_like value="19"/>
</temperature>
<humidity value="75"/>
<pressure value="975.6 hpa"/>
<wind>
<speed value="352&deg;"/>
<gusts value="1.9 km/h"/>
<direction value="45 &deg;"/>
</wind>
<sky>
<icon id="5" format="wd"/>
<description value="Trocken"/>
<precipitation>
<rain>
<rate value="0.0"/>
<daily_total value=" 3.3 mm"/>
</rain>
</precipitation>
</sky>
</current_weather>
</response>

This is the Display on my screen:

Image

I think, the problem is:

<temperature>
<current value="18.9&deg;C"/>

and

<wind>
<speed value="352&deg;"/>

and

<pressure value="975.6 hpa"/>

and

<daily_total value=" 3.3 mm"/>

What must I do for the correct parameters for the right view, Can you help me? (Sorry for my bad english!!!)

Best regards from Germany

Re: jowindow.xml

Posted: Thu Jul 29, 2010 6:32 pm
by ikarus1969
Between
WetterMan wrote:...This is the Display on my screen:
and
WetterMan wrote:I think, the problem is:...
there's nothing to see. Did you intend do insert an image there?
If so, could you please try again?

Re: jowindow.xml

Posted: Thu Jul 29, 2010 6:52 pm
by WetterMan
Image

Re: jowindow.xml

Posted: Thu Jul 29, 2010 7:41 pm
by ikarus1969
regarding to the documentation you could try to use the bold, red variables in your customyowindow.txt. They should remove the units from the generated values:
WetterMan wrote: <response>
<current_weather>
<auto_update>
<interval value="310"/>
</auto_update>
<temperature>
<current value="%tempinmetric%"/>
<feels_like value="%feelslikeincelsius%"/>
</temperature>
<humidity value="%hum%"/>
<pressure value="%baroinmetric%"/>
<wind>
<speed value="%10minavspeedinm/s%"/>
<gusts value="%1mingustwind%"/>
<direction value="45 &deg;"/>
</wind>
<sky>
<icon id="%iconnumber%" format="wd"/>
<description value="%weatherreport%"/>
<precipitation>
<rain>
<rate value="%currentrainrate%"/>
<daily_total value="%dayrnmm%"/>
</rain>
</precipitation>
</sky>
</current_weather>
</response>

Weather-Display gererates the follow yowindow.xml:

<!-- 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 not using those detectors -->
<response>
<current_weather>
<auto_update>
<interval value="310"/>
</auto_update>
<temperature>
<current value="18.9&deg;C"/>
<feels_like value="19"/>
</temperature>
<humidity value="75"/>
<pressure value="975.6 hpa"/>
<wind>
<speed value="352&deg;"/>
<gusts value="1.9 km/h"/>
<direction value="45 &deg;"/>
</wind>
<sky>
<icon id="5" format="wd"/>
<description value="Trocken"/>
<precipitation>
<rain>
<rate value="0.0"/>
<daily_total value=" 3.3 mm"/>
</rain>
</precipitation>
</sky>
</current_weather>
</response>

This is the Display on my screen:



I think, the problem is:

<temperature>
<current value="18.9&deg;C"/>

and

<wind>
<speed value="352&deg;"/>

and

<pressure value="975.6 hpa"/>

and

<daily_total value=" 3.3 mm"/>

What must I do for the correct parameters for the right view, Can you help me? (Sorry for my bad english!!!)

Best regards from Germany

Re: jowindow.xml

Posted: Thu Jul 29, 2010 10:17 pm
by WetterMan
This txt

<!-- 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 not using those detectors -->
<response>
<current_weather>
<auto_update>
<interval value="310"/>
</auto_update>
<temperature>
<current value="%tempinmetric%"/>
<feels_like value="%feelslikeincelsius%"/>
</temperature>
<humidity value="%hum%"/>
<pressure value="%baroinmetric%"/>
<wind>
<speed value="%10minavspeedinm/s%"/>
<gusts value="%1mingustwind%"/>
<direction value="45"/>
</wind>
<sky>
<icon id="%iconnumber%" format="wd"/>
<description value="%weatherreport%"/>
<precipitation>
<rain>
<rate value="%currentrainrate%"/>
<daily_total value="%dayrnmm%"/>
</rain>
</precipitation>
</sky>
</current_weather>
</response>

brings the follow xml!

<!-- 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 not using those detectors -->
<response>
<current_weather>
<auto_update>
<interval value="310"/>
</auto_update>
<temperature>
<current value="11.2&deg;C"/>
<feels_like value="11"/>
</temperature>
<humidity value="94"/>
<pressure value="977.4"/>
<wind>
<speed value="0.0"/>
<gusts value="0.0 km/h"/>
<direction value="45"/>
</wind>
<sky>
<icon id="1" format="wd"/>
<description value="Trocken"/>
<precipitation>
<rain>
<rate value="0.0"/>
<daily_total value=" 13.5 mm"/>
</rain>
</precipitation>
</sky>
</current_weather>
</response>

Image

Re: yowindow.xml problems with units after values

Posted: Fri Jul 30, 2010 4:46 am
by ikarus1969
So it's a partly success. Now it's up to the specialists who really working with Weather Display.

Thank you :|

Re: How to set the WD to show an icon on Yowindow

Posted: Fri Jul 30, 2010 7:38 am
by Tihomir Z
Hello, everyone
I want to ask who knows how to set up in WD, that my icon shows the actual icons on Yowindowu. One time a good show, and then the weather display program prints entirely different icons, and say, raining outside, and WD program is mostly sunny, so the window to see the sun Yowindow quite the opposite of the real, which is not true, however at the second or third refresh again good views to rain. Please help.
Behold, how it looks in pictures
Image
Image
Image

Re: yowindow.xml problems with units after values

Posted: Fri Jul 30, 2010 7:43 am
by Tihomir Z
Here, as I sent the post I just refresh Yowindow window, and now show exactly what the situation, light rain.
Image

Re: yowindow.xml problems with units after values

Posted: Thu Aug 05, 2010 11:12 am
by Tihomir Z
Hello everyone
Here I have a little work around this problem that has little data, and a little there.
I have done the following. In Wdispleyu I SET UP-YOwindow set up open,
Use custom template (customyowindow.txt in web fails) to put the "NO"
and see how far everything is working properly, the data is all well and accurately printed on both addresses. www.pljusak.com/trnovec1/yowindow-xml.php
and this: c: wdisplay / webfiles / yowindow.xml
It is not something, but for a good lay. :)
yowindow.xml:
<response>
<current_weather>
<temperature value="23.5"/>
<humidity value="65"/>
<pressure value="1007.5"/>
<wind>
<speed value="0.0" unit="kph"/>
<direction value="135"/>
</wind>
<sky>
<icon id="18" format="wd"/>
<description value="Dry"/>
<precipitation>
<rain rate="0.0" daily_total="0.0"/>
</precipitation>
</sky>
</current_weather>
</response>
Now it looks like.