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 °"/>
</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°C"/>
<feels_like value="19"/>
</temperature>
<humidity value="75"/>
<pressure value="975.6 hpa"/>
<wind>
<speed value="352°"/>
<gusts value="1.9 km/h"/>
<direction value="45 °"/>
</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°C"/>
and
<wind>
<speed value="352°"/>
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
yowindow.xml problems with units after values
yowindow.xml problems with units after values
Last edited by WetterMan on Thu Jul 29, 2010 10:48 pm, edited 5 times in total.
-
- Posts: 1645
- Joined: Wed Nov 18, 2009 9:58 am
- Location: Vienna, Austria
Re: jowindow.xml
Between
If so, could you please try again?
andWetterMan wrote:...This is the Display on my screen:
there's nothing to see. Did you intend do insert an image there?WetterMan wrote:I think, the problem is:...
If so, could you please try again?
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
Re: jowindow.xml
Last edited by WetterMan on Thu Jul 29, 2010 10:21 pm, edited 1 time in total.
-
- Posts: 1645
- Joined: Wed Nov 18, 2009 9:58 am
- Location: Vienna, Austria
Re: jowindow.xml
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 °"/>
</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°C"/>
<feels_like value="19"/>
</temperature>
<humidity value="75"/>
<pressure value="975.6 hpa"/>
<wind>
<speed value="352°"/>
<gusts value="1.9 km/h"/>
<direction value="45 °"/>
</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°C"/>
and
<wind>
<speed value="352°"/>
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
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
Re: jowindow.xml
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°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>
<!-- 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°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>
-
- Posts: 1645
- Joined: Wed Nov 18, 2009 9:58 am
- Location: Vienna, Austria
Re: yowindow.xml problems with units after values
So it's a partly success. Now it's up to the specialists who really working with Weather Display.
Thank you :|
Thank you :|
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
- Tihomir Z
- Posts: 180
- Joined: Thu Dec 24, 2009 11:03 am
- Name: Tihomir
- Location: Trnovec Bartolovecki Croatia
- Contact:
Re: How to set the WD to show an icon on Yowindow
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
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
- Tihomir Z
- Posts: 180
- Joined: Thu Dec 24, 2009 11:03 am
- Name: Tihomir
- Location: Trnovec Bartolovecki Croatia
- Contact:
Re: yowindow.xml problems with units after values
Here, as I sent the post I just refresh Yowindow window, and now show exactly what the situation, light rain.
- Tihomir Z
- Posts: 180
- Joined: Thu Dec 24, 2009 11:03 am
- Name: Tihomir
- Location: Trnovec Bartolovecki Croatia
- Contact:
Re: yowindow.xml problems with units after values
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.
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.