Official website

Tuesday, March 5, 2013

Yahoo! Weather RSS feed

OBSOLETE, please follow this post.

To setup your location for the weather feed you need to visit http://weather.yahoo.com/ and search it by zip code or city name and press go.


From the address bar copy the city number...


Edit the AppConfig.xml file. Under System/Others/YahooForecastFeed we enter the follow URL including the city number we get from Yahoo website.

The final URL should be like this...

http://weather.yahooapis.com/forecastrss?w=946738&u=c

where
&u=c - Celsius
&u=f - Fahrenheit

UPDATE: Framework version 0.2.6.556 (type %about% on terminal tab) supports a GUI for weather setup.



  <!-- SYSTEM SETTINGS -->
  <System>
    <Alerts>
      <MailHeaders>
        <MailFrom>noreply@xxx.net</MailFrom>
        <MailTo>xxx@gmail.com</MailTo>
        <MailSubject>Alert from Jubito</MailSubject>
      </MailHeaders>
    </Alerts>
    <Comm>
      <!-- Addresses that allowed to post notifications to socket specified -->
      <Trusted>192.168.1.10; 192.168.1.11</Trusted>
      <!-- Socket for accepting network messages via telnet, ip cameras, etc -->
      <localHost>192.168.1.10</localHost>
      <localPort>5744</localPort>
      <!-- Web Server -->
      <Hostname>xxx.dyndns.org</Hostname>
      <httpPort>8080</httpPort>
      <!-- Microcontroller -->
      <ComPort>/dev/ttyACM0</ComPort>
      <BaudRate>9600</BaudRate>
    </Comm>
    <Others>
    <YahooForecastFeed>http://weather.yahooapis.com/forecastrss?w=946738&amp;u=c</YahooForecastFeed>
    </Others>
  </System> 


Save and close the file. To test if it's ok, go to terminal tab and give some corresponding functions like %todaylow%, %todayhigh%, etc.

View more weather functions.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.