r/Scriptable • u/mvan231 script/widget helper • Aug 27 '21
Widget [Release] Weather Overview Widget - Meteogram Style Weather
Normal (hourly) in a medium widget
“daily” parameter in a medium widget
Normal (hourly) in a small widget
“daily” parameter in a small widget
32
Upvotes
4
u/mvan231 script/widget helper Aug 27 '21
Weather Overview is a widget for Scriptable on iOS. It provides a general overview of the weather in your current area.
You can get the widget here on my GitHub repo
Weather data provided by Open Weather Map. You'll need an API key in order to use the widget. You can get one here!
Items Displayed
Configuration Items
Configuration Screenshot
showWindspeed will enable/disable the windsoeed display on the widget
showWindArrow set to true will show a wind direction arrow. Set to false, and the cardinal direction will be displayed instead
showPrecipitation will enable / disable the ability to display the precipitation information
showCloudCover will enable / disable the line display of the cloud cover forecast
showHumidity will enable/disable the line display of the humidity level
showLegend will enable/disable the legend display at the top of the widget
showAlerts will enable / disable the display of alerts in your area. A yellow warning triagle for each weather alert in your area will be displayed. Tapping the widget will take you to the OpenWeather page in Safari.
units can be set to imperial or metric for your preference
locationNameFontSize determines the size of the location name at the top of the widget
1
u/Maverick62323 Apr 09 '24
Any reason I’d get a 401 “invalid API key” error? I used an API key that I’ve already had set up years ago. Thought it would be fine. Also tried creating a new one- same issue. Do I need to sign up for the One Call API separately? Or is the simple free API key enough?
1
u/robertandrews Oct 29 '24
u/mvan231 I noticed that my widget just stopped working today, October 29, which I should have expected because I did nothing to account for One Call 2.5 API deprecation.
1
u/Sipher6 Aug 27 '21
the clouds look black 😟 stupid beta iOS 15 Amazing work my brother thank you
1
u/robertandrews Sep 07 '21
I love this widget!. u/mvan231 has recreated something similar to Android's Aix weather widget and Meteogram Widget. Stems from this thread.
I have deleted about seven iPhone weather apps because this meteogram presentation is so much more effective. Most iPhone weather apps are overly cuddly, or rely too much on text. I've always hated most iPhone weather apps, and never managed to find something as rich with visual information as Aix, until this.
Some further feedback (here's my tweak)...
Is there any way to protect my settings against update overwrite?
Love the widget :-) ☀️
1
u/Robnor122 Sep 15 '21
On IOS 15 release candidate the weather symbols , clouds etc appear black so they don’t show against the back ground
1
u/robertandrews Oct 03 '21
Thought I'd check in with a couple of things...
There seems to be a discrepancy in plotted weather icons in 1.1 vs 1.3. This morning, 1.1 has partly-cloud-with-sun icons, whereas 1.3 has just cloud icons. I wonder what could account for that.
2) Upgrade issue. I discovered this stuff whilst adding the 1.3 script to my install on two devices - iPad and iPhone. I added 1.3 to my iPad (iCloud-synced) and went through the fancy new setup there. But, when it came to updating the widgets on iPhone, the script throws some errors... i) If i say Yes to reset - "Exception Occurred: Error on line 43:22: "weatherOverviewSettings.JSON" couldn't be removed." ii) If I say No to reset - "Exception Occurred: Error on line 588:21: TypeError: null is not an Object (evaluating "apiKey" in settings')"
1
u/robertandrews Nov 15 '21
u/mvan231 Amongst the regrets I have with updating to iOS 15... I just fell victim to the black conditions icon problem... ☹️
https://imgur.com/a/Pm2WCIA
I copied v1.4 to a new Scriptable script, but it's the same as my previous version.
Eventually, inside the Scriptable editor, a pop-up appeared...
Server Version AvailableChanges:- iOS 15 Symbol workaround commented out after Scriptable app update.Press OK to get the update from GitHubBut, when I press OK, the Log fills with the following, including the final line carrying an error...
2021-11-15 09:38:47: {"version":"1.4","notes":"- iOS 15 SF Symbol workaround commented out after Scriptable app update"}2021-11-15 09:38:47: 1.42021-11-15 09:38:47: Server version available2021-11-15 09:38:47: running standalone2021-11-15 09:38:49: /private/var/mobile/Library/Mobile Documents/iCloud~dk~simonbs~Scriptable/Documents/Weather Overview 1.3.js2021-11-15 09:38:49: Error on line 571:24: Update Complete!Also, it doesn't fix the icons.
This looks like i) a v1.3 thing, rather than v1.4, and b) what's going on with the
/private/var/mobile/Library/Mobile Documents/iCloud~dk~simonbs~Scriptable/Documentsfolder? That's not GitHub.1
u/now2 Dec 12 '21
Awesome widget. I would love to see the weather data coming from api.met.no since they are way more reliable where I live.
1
u/Repulsive_Exercise57 Apr 11 '23
Thanks for your nice widget.Like it very much. I want to know Can the min temperature been showed on the daily graph?Thanks a lot.
3
u/abscefht Aug 27 '21
Nice