Premise TWCi Weather in Metric?

Motorola Premise

manxam

Member
I've recently starting using the TWCi weather plugin. Using my location code (as I'm in Canada) instead of a zip code and it retrieves the correct information BUT it only does so in Fahrenheit. I'd really like for my weather information to be in Celcuis. Has anyone adapted this script with a conversion before it updates the variables? Or does someone have a different weather plugin for us Canucks?

Thanks!
 
... I'd really like for my weather information to be in Celcuis.
... does someone have a different weather plugin for us Canucks?
Check this post to learn how to adapt the Weather Channel URL so that it returns data in metric units (i.e. "unit=m").

I wrote an Environment Canada weather module that displays all of the current weather data (plus moonrise and set), seven-day visual forecast, seven-day forecast details, almanac, and a radar map. I've been using it for about a year and it works well. However, it requires that you convert Premise's AutomationBrowser module to operate in 1024x768. The default resolution of 800x600 is insufficient for displaying the EC module's user-interface.

Environment Canada's icons aren't as sexy as those used by other weather services. In addtion, the icons do not have transparent backgrounds so they will always appear on a solid white field. The CBC uses EnviroCan's weather data however they've created their own set of stylized weather icons. However, they also come on solid white backgrounds and do not include all possible icons in EnviroCan's set. The toughest problem to crack was the fact that EnviroCan's XML feed does not indicate which icon to use! By observing EnviroCan's site (over the last year), I put together a cross-reference table (Access database) that matches the abbreviated forecast (i.e. "Chance of rain") with its associated icon.

If you're willing to be a guinea pig, I'd be happy to share the EC module with you.
 

Attachments

  • EC.jpg
    EC.jpg
    97.3 KB · Views: 24
... I'd really like for my weather information to be in Celcuis.
... does someone have a different weather plugin for us Canucks?
Check this post to learn how to adapt the Weather Channel URL so that it returns data in metric units (i.e. "unit=m").

I wrote an Environment Canada weather module that displays all of the current weather data (plus moonrise and set), seven-day visual forecast, seven-day forecast details, almanac, and a radar map. I've been using it for about a year and it works well. However, it requires that you convert Premise's AutomationBrowser module to operate in 1024x768. The default resolution of 800x600 is insufficient for displaying the EC module's user-interface. The module also uses its own stylesheet and an Access database.

If you're willing to be a guinea pig, I'd be happy to share the EC module with you.

Thanks! I had run across that post before but didn't notice the "&unit=m" which changes the unit of measurement to metric. I had attempted to garner this information from their website but it stores my preferences as a cookie instead of changing the URL.

I'd be happy to break something testing your weather module. ;)

I've already changed AB's resolution to 1024x768.

Cheers!
 
Back
Top