Sun Rise and Sun Set
------------------------------ Ver. 1.0
Simple and does what it does.
- Change the WOEID (under the variables section) to match your location.
Go to developer.yahoo.com/weather/
Select XML under Responses
Input the following into the YQL Query box:
select * from weather.forecast where woeid in (select woeid from geo.places(1) where text="CITY,STATE") and u='UNIT'
with your correct City, State & unit of measurement (f or c)
Copy the URL in the Endpoint box.
Paste that into SunRiseSet.ini URL= under the MeasureParent section. Overwrite the old url.
Change WebParserSunRiseSet under the Variables section to:
WebParserSunRiseSet=sunrise="(.*):.*(.*) .*(.*)" .*sunset="(.*):.*(.*) .*(.*)"
Save and refresh. Here's the relevant ini changes as an example (set to Birmingham,AL): pastebin.com/ytfvaSq3
Credit goes to this reddit post: www.reddit.com/r/Rainmeter/com…
also, to anyone having trouble finding their "WOEID".... It's listed as "COEID" in the config. To find the number for your location, go to Yahoo weather and look in the HTML of the webpage. I can't tell you exactly where the number is, because I can't remember where it was and have no idea how the hell I noticed it in the first place.
i don't see the WOEID parameter, all i see is this:
;===== Variables ===============;
what do i have to do?
Hi, wonder if you still need this. The WOEID can be found from the Yahoo! Weather website.
Simply look up your location on Yahoo! Weather and copy the (usually) 7 digits from the webpage address.