qconrad / intellistar-emulator

A web application that displays weather information in the same visual presentation as the cable headend unit Intellistar.
https://qconrad.github.io/intellistar-emulator/
MIT License
89 stars 66 forks source link

Add Canada support #30

Closed novatiberium closed 6 months ago

novatiberium commented 2 years ago

Would it be possible to add Canadian support such as taking data/APIs from the Canadian equivalent of TWC (The Weather Network)?

RutherfordR commented 2 years ago

They're totally different API systems. It probably won't work.

igtampe commented 9 months ago

I know I'm nearly two years late but I thought to poke. The current API provides worldwide info. Canada support has been added:

image image
adamssecretcode commented 6 months ago

Just found this project, and luckily I see Canada is an option! Thanks for adding that! In Canada, we use Metric, is there a possibility of having a metric option? I ask this knowing nothing about the complexity of the work. Very cool project!

qconrad commented 6 months ago

Metric is technically supported, there's just no UI for it at the moment. Here's how you can switch to metric.

  1. Before clicking start, open browser developer tools (Ctrl+Shift+I), select the "Console" tab, paste "window.CONFIG.units = 'm'" (without the quotes), and hit enter. You will have to do this every time though.
  2. If running locally, you can edit js/Config.js line 5 for a more persistent option.
adamssecretcode commented 6 months ago

thank you!