Page 1 of 1
Custom Weather URL BUTTONS - Force CELSIUS
Posted: Fri Sep 02, 2016 7:50 pm
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.
Re: Custom Weather URL BUTTONS - Force CELSIUS
Posted: Tue Sep 06, 2016 5:09 pm
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.
Re: Custom Weather URL BUTTONS - Force CELSIUS
Posted: Tue May 01, 2018 12:04 am
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
or alternatively
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
or
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.
Re: Custom Weather URL BUTTONS - Force CELSIUS
Posted: Tue May 01, 2018 4:16 pm
by Jeff
Thanks, brian!