JaouherK / streamDeck-weatherPlugin

Popular Stream Deck plugin for Weather reporting
https://jaouherk.github.io/streamDeck-weatherPlugin/
GNU General Public License v3.0
44 stars 15 forks source link

The app doen's work #160

Open Chronny2408 opened 10 months ago

Chronny2408 commented 10 months ago

HI, This app does not work anymore. It shows a triangle error on the streamdeck everytime i push the button.

ragemachinest commented 9 months ago

I got the same thing and don't know if it was a temporary issue or what. If I knew how to code I'd fix it but I did find a workaround, at least for me using OpenWeather. First fill out the details in Stream Deck with the API Key, City Name, Temp, etc. Go find the Coordinates on OpenWeather for your city.

Edit this file (Windows): C:\Users\YourWindowsUser\AppData\Roaming\Elgato\StreamDeck\Plugins\com.jk.weather.sdPlugin\plugin\main.js

Line 98, replace the URL with this, substituting your city's coordinates (lat, lon) from OpenWeather. Save the file. Restart Stream Deck:

https://api.openweathermap.org/data/2.5/weather?lat=32.7668&lon=-96.7836&appid=${apiKey}&units=${u}

jonlev1n commented 9 months ago

+1 for the fix @ragemachinest. For anyone on macOS who stumbles across this: ~/Library/Application\ Support/com.elgato.StreamDeck/Plugins/com.jk.weather.sdPlugin/plugin/main.js

five2seven commented 9 months ago

Thank you @ragemachinest! This worked for me on Windows 11.

EmptyJay commented 8 months ago

Thanks @ragemachinest and @jonlev1n. There being very little in the way of installation/usage instructions, your pointers helped me get it setup.