Author Topic: yowindow.xml  (Read 10263 times)

Chet

  • Gentle Breeze
  • **
  • Posts: 55
    • EW1987
    • IBADENWU20
  • Station Details: Davis Vue, iMac OS X, Catalina
yowindow.xml
« on: December 30, 2013, 12:42:23 PM »
Could someone describe for this novice how to create an yowindow.xml from my weathercat software? I want to use it with the you window screen saver.
Thanks.
Chet
Castle Rock Colorado

wvdkuil

  • Strong Breeze
  • ***
  • Posts: 151
    • DW8113 (D8113)
    • IVLAAMSG47
    • Weatherstation Wilsele/Leuven/Belgium
  • Station Details: VantagePro2+ UV,Solar - Macbook/Mini
Re: yowindow.xml
« Reply #1 on: December 30, 2013, 01:00:07 PM »
Could someone describe for this novice how to create an yowindow.xml from my weathercat software? I want to use it with the you window screen saver.
Thanks.
The yowindow.xml is attacheched.
Succes, Wim
Support of Leuven-Template&Scripts: https://support.leuven-template.eu/
Support and demo for the PWS_Dashboard (also for WeatherCat)  https://pwsdashboard.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Chet

  • Gentle Breeze
  • **
  • Posts: 55
    • EW1987
    • IBADENWU20
  • Station Details: Davis Vue, iMac OS X, Catalina
Re: yowindow.xml
« Reply #2 on: December 30, 2013, 04:12:42 PM »
Thank you. I download it and put it in the folder with weather cat and told yowindow to use it but no weather data such as temperature is displayed. Is there more I need to do? Where did the yowindow.xml come from? Thanks
Chet
Castle Rock Colorado

wvdkuil

  • Strong Breeze
  • ***
  • Posts: 151
    • DW8113 (D8113)
    • IVLAAMSG47
    • Weatherstation Wilsele/Leuven/Belgium
  • Station Details: VantagePro2+ UV,Solar - Macbook/Mini
Re: yowindow.xml
« Reply #3 on: December 30, 2013, 04:30:26 PM »
Thank you. I download it and put it in the folder with weather cat and told yowindow to use it but no weather data such as temperature is displayed. Is there more I need to do? Where did the yowindow.xml come from? Thanks
You have to set in WeatherCat that that file has to be translated. The WeatherCat tags has to be replaced by the real values every so many minutes.  If you look into the xml (with textedit not with word or anything like that) you see a lot of WeatherCat descriptions like STAT$TEMPERATURE:CURRENT$. They must be translated into the current temperature value before yowindow can use the file.

So Do you have WeatherCat use custom webpages?

If not please check the forum first if there is a description how to make such a file as English is not my native language and it takes some writing to explain that.
It involves these steps which should be done only once:
1. Create a folder on your desktop  or in your documents  name "tagFiles"
2. Put the input file for WeatherCat (that is the xml I gave you) into that folder
3. Create a folder on your desktop  or in your documents  name "processedFiles"
4.Instruct WeatherCat to put translated files in "processedFiles"
You do that in menu WeatherCat ⇒ Preferences? ⇒ On-Line ⇒ Custom Web ⇒ Main
by clicking button "Set Save Path"
5. Instruct WeatherCat to translate that file every so many minutes and put the translated version in "processedFiles"
You do that in menu WeatherCat ⇒ Preferences? ⇒ On-Line ⇒ Custom Web ⇒ Additional files
6. Instruct yowindo to read the xml from "processedFiles"

So check the forum or WiKi but these steps are relative easy to do.

Succes, Wim

Support of Leuven-Template&Scripts: https://support.leuven-template.eu/
Support and demo for the PWS_Dashboard (also for WeatherCat)  https://pwsdashboard.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6494
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Re: yowindow.xml
« Reply #4 on: December 30, 2013, 10:06:58 PM »
Dear Chet, Wim, and WeatherCat fans,

Chet, if you have never tried to use the WeatherCat custom web system before, you might want to read the documentation that comes with the Seamonkey web templates.  It provides a detailed explanation of how to get a custom web template processed by WeatherCat and includes some helpful illustrations.

http://athena.trixology.com/index.php?topic=956.0

Cheers, Edouard

Chet

  • Gentle Breeze
  • **
  • Posts: 55
    • EW1987
    • IBADENWU20
  • Station Details: Davis Vue, iMac OS X, Catalina
Re: yowindow.xml
« Reply #5 on: January 02, 2014, 06:56:43 PM »
I am trying your directions and creating custom web pages, but weather cat is not replacing the tags in yowindows.xml. I do not understand where I tell weather cat to put the yowindows.xml after it replaces the tags. Sorry for my thickness! [rainyluck]
Chet
Castle Rock Colorado

wurzelmac

  • Storm
  • *****
  • Posts: 1363
    • ITIROLPR2
    • Wetterstation Pr?graten am Gro?venediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1300D | macOS Sonoma 14.2
Re: yowindow.xml
« Reply #6 on: January 02, 2014, 07:33:06 PM »
Hi Chet,

maybe the attached Screenshot will shed some light on this one.  :)

HTML Quelle: Hier den Pfad zu dem Ordner eingeben, wo du deine ganzen "Custom-Web" Seiten ablegen solltest. WeatherCat wird diese verarbeiten und dann im Ordner Zielordner sichern. Der Inhalt dieses Ordners wird an deinen Webspace hochgeladen.

Cheers,
Reinhard
Reinhard


JosBaz

  • Strong Breeze
  • ***
  • Posts: 233
    • INBRSON2
    • Weatherstation Son en Breugel, The Netherlands
  • Station Details: Davis Vantage Pro2 Wireless, WeatherCat on Mac OS X 10.13.6
Re: yowindow.xml
« Reply #7 on: January 03, 2014, 09:06:36 PM »
Hi Chet,

Other than WC recessing the XML file, there are a few other pieces to the puzzle before the yowindow is running on your website:
1 - Go here to get the HTML code for your we site generated: http://yowindow.com/weatherwidget.php?locale=en_US
2 - Use TextWrangler or similar to edit the HTML generated to your liking. To ensure the widget will show your weather station data, you need to change this:
The line after param name="flashvars" needs to include --> current_weather_url=http://www.yourwebsite.com/yowindow.xml
3 - You now need to put a cross domain.xml in your website's root directory. Read here how to do this: http://yowindow.com/widget_and_pws.php

This should do it. Hope it helps.

Jos

Chet

  • Gentle Breeze
  • **
  • Posts: 55
    • EW1987
    • IBADENWU20
  • Station Details: Davis Vue, iMac OS X, Catalina
Re: yowindow.xml
« Reply #8 on: January 04, 2014, 02:36:30 PM »
Well, I finally got weather cat to process the yowindow.xml (below is the contents of the processed yowindow;xml. However, yowindow still says "no weather!

<!-- Daisendorf Am G&#228;rtlesberg 4 Jan 2014 3:31 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.8"/>
      <feels_like value="38.8"/>     
    </temperature>   
    <humidity value="97"/>
    <pressure value="29.51" unit="inHg" trend="0.01"/>
    <wind>
      <speed value="1" unit="MPH"/>
      <gusts value="3"  unit="MPH" />     
      <direction value="96" />
    </wind>
    <sky>
      <precipitation>
        <rain>
           <daily_total value="0.01%"  unit="in"/>
        </rain>    
      </precipitation>
    </sky>
    <uv value="0.0"/>
    <solar energy="0"/>   
  </current_weather>
</response>
Chet
Castle Rock Colorado

JosBaz

  • Strong Breeze
  • ***
  • Posts: 233
    • INBRSON2
    • Weatherstation Son en Breugel, The Netherlands
  • Station Details: Davis Vantage Pro2 Wireless, WeatherCat on Mac OS X 10.13.6
Re: yowindow.xml
« Reply #9 on: January 05, 2014, 02:27:44 PM »
I agree the yowindow documentation and instructions could be improved. The yowindow forum is maybe the good location for suggestions in this area.
Anyway, you have made progress  :) If it says 'no weather' it probably can't find the weather data. Have you adjusted the flashvars to make yowindow pick up your weather stations values from your website (step 2 in my earlier message)?

Is there a URL you can share so we can take a look?

Jos

Chet

  • Gentle Breeze
  • **
  • Posts: 55
    • EW1987
    • IBADENWU20
  • Station Details: Davis Vue, iMac OS X, Catalina
Re: yowindow.xml
« Reply #10 on: January 05, 2014, 02:30:40 PM »
I am simply wanting yowindow to read the data from my local weather station. I do not have a web site. Yo window is not reading the data in the yowindo.xml weather cat is creating. [rainyluck]
Chet
Castle Rock Colorado

wvdkuil

  • Strong Breeze
  • ***
  • Posts: 151
    • DW8113 (D8113)
    • IVLAAMSG47
    • Weatherstation Wilsele/Leuven/Belgium
  • Station Details: VantagePro2+ UV,Solar - Macbook/Mini
Re: yowindow.xml
« Reply #11 on: January 05, 2014, 03:03:50 PM »
I am simply wanting yowindow to read the data from my local weather station. I do not have a web site. Yo window is not reading the data in the yowindo.xml weather cat is creating. [rainyluck]
i hink this     http://yowindow.com/pws_setup.php    is all you need then.
Succes, Wim
Support of Leuven-Template&Scripts: https://support.leuven-template.eu/
Support and demo for the PWS_Dashboard (also for WeatherCat)  https://pwsdashboard.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Chet

  • Gentle Breeze
  • **
  • Posts: 55
    • EW1987
    • IBADENWU20
  • Station Details: Davis Vue, iMac OS X, Catalina
Re: yowindow.xml
« Reply #12 on: January 05, 2014, 03:42:19 PM »
I am sorry, but that is the point. I have repeatedly pointed yowindow to the xml locally and it is still not reading it. Above, you can see the yowindow.xml weather cat creates.
Chet
Castle Rock Colorado

wvdkuil

  • Strong Breeze
  • ***
  • Posts: 151
    • DW8113 (D8113)
    • IVLAAMSG47
    • Weatherstation Wilsele/Leuven/Belgium
  • Station Details: VantagePro2+ UV,Solar - Macbook/Mini
Re: yowindow.xml
« Reply #13 on: January 05, 2014, 03:49:22 PM »
I am sorry, but that is the point. I have repeatedly pointed yowindow to the xml locally and it is still not reading it. Above, you can see the yowindow.xml weather cat creates.
The only "strange thing" i see in the xml example is that all is is imperial units. Normally yowindow is more oriented to C, mm, hPa and so on.  And I would expect your YoWinwow also as you are in Germany.
But the Yowindow gadget handles that, probably the screensaver also.

You could check the FAQ and forum of yowindow if some else has the same problem. As this has probably nothing to do with WeatherCat.

I will install the yowindow screensaver myself and be back in an hour.
Wim
Support of Leuven-Template&Scripts: https://support.leuven-template.eu/
Support and demo for the PWS_Dashboard (also for WeatherCat)  https://pwsdashboard.com/ 
My PWS at home https://weer.sluispark.be/
And at my daughters house https://www.weerstation-herent.be/

Chet

  • Gentle Breeze
  • **
  • Posts: 55
    • EW1987
    • IBADENWU20
  • Station Details: Davis Vue, iMac OS X, Catalina
Re: yowindow.xml
« Reply #14 on: January 05, 2014, 03:54:41 PM »
Thank you for your efforts! I believe you gave me the yowindow.xml I am using now.
Chet
Castle Rock Colorado