Custom Weather URL BUTTONS - Force CELSIUS

Aeris Calendar: Tech support, suggestions, discussion, etc.
Post Reply
ZMEU.NET
Posts: 11
Joined: Thu Mar 26, 2009 5:24 pm

Custom Weather URL BUTTONS - Force CELSIUS

Post by ZMEU.NET »

I added my custom url http://www.accuweather.com/ro/ro/buchar ... ail-hourly but i get FAHRENHEIT instead of CELSIUS , despite i have checked use METRIC SYSTEM. So i need to add something to my url to force CELSIUS.
User avatar
Jeff
Admin / Developer
Posts: 9338
Joined: Sat Sep 08, 2001 9:46 pm

Re: Custom Weather URL BUTTONS - Force CELSIUS

Post by Jeff »

I'm not sure if there's a url parameter or not, but on the top-right of that page, you can select celsius. I couldn't get it to work completely "as-expected" in either Aeris or my webbrowser, so if you select celsius and it doesn't seem to update: right-click on the page and select "refresh" and it should update to show celsius. This should also stay after Aeris is restarted.
brian112
Posts: 1
Joined: Mon Apr 30, 2018 5:05 pm

Re: Custom Weather URL BUTTONS - Force CELSIUS

Post by brian112 »

ZMEU.NET wrote: Fri Sep 02, 2016 7:50 pm I added my custom url http://www.accuweather.com/ro/ro/bucharest/287430/hourly-weather-forecast/287430?lang=ro#detail-hourly but i get FAHRENHEIT instead of CELSIUS , despite i have checked use METRIC SYSTEM. So i need to add something to my url to force CELSIUS.
Hello. I found the solution to your problem regarding the AccuWeather feed. To change temperature units from Fahrenheit to Celsius you have to simply add the parameter

Code: Select all

&unit=c
or alternatively

Code: Select all

?unit=c
to the end of the URL. Here are some examples:

Code: Select all

https://www.accuweather.com/ro/ro/bucharest/287430/hourly-weather-forecast/287430?unit=c&lang=ro

Code: Select all

https://www.accuweather.com/en/gb/london/ec4a-2/weather-forecast/328328?lang=en-gb&unit=c
If you're using RSS feeds you can add the parameter

Code: Select all

&metric=1
or

Code: Select all

?metric=1
to show Metric units instead of Imperial units. Here are some examples:

Code: Select all

https://rss.accuweather.com/rss/liveweather_rss.asp?metric=1&locCode=EUR|RO|RO010|BUCURESTI|

Code: Select all

https://rss.accuweather.com/rss/liveweather_rss.asp?locCode=EUR|UK|UK001|LONDON|&metric=1
(this is a list of location codes in case you need them for an RSS feed https://pastebin.com/dbtemx5F)

Hope this helps.
User avatar
Jeff
Admin / Developer
Posts: 9338
Joined: Sat Sep 08, 2001 9:46 pm

Re: Custom Weather URL BUTTONS - Force CELSIUS

Post by Jeff »

Thanks, brian!
Post Reply