penguin-teal / gnome-openweather

A GNOME Shell extension to show the weather of any location on Earth.
GNU General Public License v3.0
39 stars 11 forks source link

Feature Request: Add Weather Underground as a provider #54

Open derek-shnosh opened 1 week ago

derek-shnosh commented 1 week ago

This request is a bit selfish, but I have a personal weather station with baked in Weather Underground integration and I'd like to be able to use them as a provider and point to my specific weather station for data.

I was using plasmoid-wunderground (or plasmoid-wundergound-extended) when I was running Plasma for my DE, but I've gotten quite familiar with Gnome and would like to see that feature here.

In the interim, I was looking into setting up weewx to gather the data via UDP broadcast from my PWS and push it to OpenWeatherMap, but this is a much more involved process and doesn't seem I'd be able to select my PWS as a weather source within the extension anyways.

mrhoomanwastaken commented 1 week ago

Hello, I was just looking through how to get wunderground data through an api and all the info around it is very foggy and weird. from what I found, wunderground used to have a free api but then it got changed to costing $850 a month. now it seems that wunderground does not have its own api and plasmoid-wunderground seems to be using the weather channels api, which because the weather channel owns wunderground they have the same info. but the weather channels website has no info on its api whatsoever. the only info i can find on the api is from their parent company the weather company (vary creative name). https://www.weathercompany.com/weather-data-apis/ I would think that this gives the weather channels api but it gives no info just saying "contact an expert". also who knows how much it costs, its most likely not free. I bet it would be a lot easier to connect this app to your PWS. Im not a maintainer btw i was just looking into this because my neighbour has a wunderground station.

penguin-teal commented 6 days ago

I'll consider this, but I have another plan that might be even better. I want to work on a JSON format that would allow essentially any provider to be used. It would allow anyone to easily add a provider, and it would allow me to add providers a lot more easily because it is a little bit of a headache even at the level of abstraction I have it at.