I no longer have the interest or hardware to test/develop this plugin.
I invite you to use https://github.com/yanus/LoupedeckWeatherPlugin instead
This plugin is heavily influenced by CZDanol/loupedeck-weatherwidget. I personally couldn't get it to work consistantly and decided to create a smaller, leaner version of the same concepts.
Loupedeck Installation
- Go to latest release, and download the
lplug4
file to you computer - Open (normally double-click) to install, the Loupedeck software should take care of the rest
- Restart Loupedeck (if not handled by the installer)
- In the Loupedeck interface, enable Weather by clicking Manage plugins
- Check the Weather box on to enable
- Drag the desired control onto your layout
Once click it will bring you to a dynamic playback device selection page.
IDE Installation
Made with Visual Studio 2022, C# will likely only compile in VS2019 or greater.Assuming Loupedeck is already installed on your machine, make sure you've stopped it before you debug the project.
Debugging should build the solution, which will then output the DLL, config, and pdb into your %LocalAppData%\Loupedeck\Plugins
directory.
If all goes well, Loupedeck will then open and you can then debug.
First, follow the Loupedeck Installation instructions above.
Then, to use inside the Loupedeck UI:
- Go to https://home.openweathermap.org/users/sign_up and create a free account, if you don't have one already
- Api Key can be created via https://home.openweathermap.org/api_keys
- In the Loupedeck manager Click the [+] button on the same row as Location to add a location
- Now comes the fun part... the value for this control is colon delimited;
postal_code,2_letter_iso_country_code:api_key:hide_name
(ex:90210,us:98c98a0ba57d4a0a33e2a1d2d06ac365:true
to show weather for Beverly Hills and hide the name in the widget).
The last two steps are optional, hiding the location name is default totrue
- Enter postal code and 2-letter ISO Country Code
- :
- API Key
- :
- true/false
- Select Hook from the final dropdown and click Save
So if you look in your registry HKEY_CLASSES_ROOT\weather\shell\open\command
you'll see a crappy placeholder for a CMD prompt running weather.com passing in the first segment from the
the weather action configuration.
You can replace it with your favorite browser explicitly with the %1
being that location-query item.
I personally replaced mine with the Win10 Weather App, "C:\Windows\explorer.exe" shell:AppsFolder\Microsoft.BingWeather_8wekyb3d8bbwe!App
.
You can also just drop the HKEY_CLASSES_ROOT\weather
key if you don't want it to do anything for any of them
Fill out the template to the best of your abilities and send it through.
Easily done. Just open a pull request.
Don't worry about specifics, I'll handle the minutia.
The MIT-License for this plugin can be reviewed at LICENSE attached to this repo.