Weewx and Yowindow

Personnal Weather Station (PWS) support
Registered users do not see the advertisments

Weewx and Yowindow

Postby Wlarues » Sun Oct 25, 2015 9:21 pm

Registered users do not see the advertisments
Hello everybody!
My name is Miguel, and I'm spanish, so I hope you have enough patience to understand my weak english :D

I have a PWS in Larués (north of Spain). It's a Davis Vantage Vue, and it works with Weewx and a Raspberry Pi. My web page is: http://tiempo-larues.eu5.org/
I have just found this amazing website, and I have added a widget in a personal webpage. As (I think) the weather data comes from METAR, I would like to add my PWS data to the widget.

I haven't read any topic on this forum, but I have searched "Weewx" on the search toolbar, without results. So I think nobody else have connected his PWS with Weewx yet.
I think I could do it by following the Cumulus tutorial, because it seems to be applicable to Weewx.
Could I upload data to your site by uploading a FTP xml archive? (like http://tiempo-larues.eu5.org/meteoclimatic.html)

I think I have explained it correctly, and I hope you to help me.
Thanks for your attention.

Yours,
Miguel.




Share |

YoWindow - weather widget, weather screensaver, desktop weather
Image
Wlarues
 
Posts: 3
Joined: Sun Oct 25, 2015 9:03 pm
Registered users do not see the advertisments




Registered users do not see the advertisments

Re: Weewx and Yowindow

Postby FvE » Mon Oct 26, 2015 12:32 am

Hi Miguel,

Welcome to the YoWindow forum.
Thank you for asking your question in perfect English.

I'm sorry I can't help you with your specific PWS station.
However there is some general information available on the YoWindow.com website under FAQ: http://yowindow.com/help.php#q7.

I hope you will find some usable information here.
Your PWS (software) should have the ability to put your data in a .xml format.
This is normally done on your own site, where it can be read from the YoWindow widget.

Let us know how you are getting on.
Good luck.
Fred



Share |
FvE
 
Posts: 7108
Joined: Mon Oct 19, 2009 11:56 pm
Location: Leiden, Netherlands
Registered users do not see the advertisments





Re: Weewx and Yowindow

Postby Wlarues » Mon Oct 26, 2015 8:24 am

Hi Fred!
Thank you for replying so fast :)

Next Saturday I'll go to my village, so I will be able to try the generic tutorials.
Until then, I am going to read them, and more information in this site.

I think I will be able to upload a .xml archive with the weather data to my FTP account.
If I do it, I'll write here how I did it, for future Weewx users.

If I have any trouble, I will ask here.

Thank you!
Miguel.



Share |
Image
Wlarues
 
Posts: 3
Joined: Sun Oct 25, 2015 9:03 pm
Registered users do not see the advertisments





Re: Weewx and Yowindow

Postby Wlarues » Sun Nov 01, 2015 12:00 pm

Hello again
I have done it!
It has been easy, by following the tutorial for Cumulus and adapting it for Weewx. I'll try to explain it:
-Upload to the weather server the 'crossdomain.xml' file (http://yowindow.com/widget_and_pws.php)
-Create a .xml file, called 'yo_cumulus.xml', and paste on it the following code (it works with METRIC system, I don't know how to do it in Imperial units, but it should be similar):
Code: Select all
<!-- your_PWS_name <#day>/<#month>/<#year> <#hour>:<#minute> -->
<!-- Remove auto_update section if wanting the default, otherwise in seconds -->
<!-- Remove the uv and solar tags if not using those detectors -->
<!-- Remove snow section if not inputting snow -->
<response>
  <current_weather>
    <auto_update>
      <interval value="120"/>
    </auto_update>
    <temperature unit="C">
       <current value="$current.outTemp.formatted"/>
       <feels_like value="$current.windchill.formatted"/>
    </temperature>
    <humidity value="$current.outHumidity.formatted"/>
    <pressure value="$current.barometer.formatted" unit="mb" trend="$trend.barometer.formatted"/>
    <wind>
       <speed value="$current.windSpeed" unit="km/h"/>
       <direction value="$current.windDir.formatted"/>
       <gusts value="$current.windGust" unit="km/h"/>
    </wind>
    <sky>
      <precipitation>
          <rain>
            <rate value="$current.rainRate" unit="mm"/>
            <daily_total value="$day.rain.sum" unit="mm"/>
          </rain>
      </precipitation>
    </sky>
  </current_weather>
</response>

If you don't know how to create an .xml file, you can create a .txt file (for example, using the "notepad" from Windows"), and rename it.
-Copy the 'yo_window.xml' to the Weewx skin directory (usually, /etc/weewx/skin/Standard).
-Edit 'skin.conf' (usually located in the same drectory): search the 'CheetahGenerator' section and add the aditional lines under 'ToDate' subsection:
[[yowindow]]
template = yo_cumuluss.tmpl

-You will obtain an archive that refreshes depending on the Weewx data interval, like this one: http://tiempo-larues.eu5.org/yo_cumulus.xml
-Configure your widget (http://yowindow.com/weatherwidget.php), and add your weather data url (more details at: http://yowindow.com/widget_and_pws.php).

I hope I have explained it correctly (I remember you I have a weak English level :D )
If somebody follow this steps and doesn't understand something, don't hesitate to ask me ;)

Miguel.



Share |
Last edited by ikarus1969 on Mon Nov 02, 2015 5:40 pm, edited 2 times in total.
Reason: embded your code to [code]-tags
Image
Wlarues
 
Posts: 3
Joined: Sun Oct 25, 2015 9:03 pm
Registered users do not see the advertisments





Re: Weewx and Yowindow

Postby FvE » Sun Nov 01, 2015 5:26 pm

Hi Miguel,

That's great news, muy bien!

Thank you for the excellent explanation.
I hope many more weewx (or ather PWS) users can benefit from it.

Fred



Share |
FvE
 
Posts: 7108
Joined: Mon Oct 19, 2009 11:56 pm
Location: Leiden, Netherlands
Registered users do not see the advertisments






Return to PWS: Questions, Suggestions, Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

Registered users do not see the advertisments
cron