It is currently May 27th, 2020, 2:34 am

WeatherHub weather plugin

Share and get help with Plugins and Addons
element
Posts: 27
Joined: April 24th, 2019, 1:29 am

WeatherHub weather plugin

Post by element »

Note: before using WeatherHub, you'll need a (free) API key from one of the weather services

I recompiled my Samurize WeatherHub plugin for Rainmeter.

The problem with weather feeds is that they come and go every few years. The idea behind WeatherHub is to centralize multiple feeds and output the weather data as consistent, uniform tags in Rainmeter. This way, if a feed goes dead, it can be easily replaced with another, with no changes to the skin, except for the feed variable. Also, if some data is not available from one feed, it can be filled in from another. For any feed, WeatherHub can use any TWC-compatible icon set. Supported feeds: Dark Sky, AccuWeather, Weatherbit, OpenWeather.

More details and instructions: http://permetix.com/rainmeter/index.php?page=weather

AccuWeather API key sign-up: https://developer.accuweather.com/user/register
Weatherbit API key sign-up: https://www.weatherbit.io/account/create
OpenWeather API key sign-up: https://home.openweathermap.org/users/sign_up
Dark Sky no longer accepts new sign-ups, but existing API keys will work until the end of 2021

Image

Image

Image

Sample Rainmeter code (see attached sample skins):

Code: Select all

[msWeatherHub]
Measure=Plugin
Plugin=WeatherHub
UpdateDivider=900
DynamicVariables=1

; Current temperature (F)
[mCurrTempF]
Meter=String
UpdateDivider=900
Text=[&msWeatherHub:GetData("Accu","(c_tempF)")]
DynamicVariables=1
You do not have the required permissions to view the files attached to this post.
Last edited by element on May 7th, 2020, 8:28 pm, edited 7 times in total.
Raiderman
Posts: 27
Joined: September 5th, 2015, 2:49 pm

Re: WeatherHub weather plugin

Post by Raiderman »

Nicely done Element. Always appreciated the hard work you have done for Samurize. Thanks man.
element
Posts: 27
Joined: April 24th, 2019, 1:29 am

Re: WeatherHub weather plugin

Post by element »

Hey, nice to see you. I guess I'm not the only "Samurize refugee" here...
element
Posts: 27
Joined: April 24th, 2019, 1:29 am

Re: WeatherHub weather plugin

Post by element »

Added OpenWeather and language support (rmskin updated)