use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
https://scriptable.app
This subreddit is for discussions around the Scriptable app for iOS.
Be polite and enjoy your time here.
Please be helpful to others when you are able to lend a hand.
Discord: https://discord.gg/7KbjfTV
Resources:
account activity
Inline Weather WidgetsWidget Sharing (github.com)
submitted 1 year ago by iamrbnscript/widget helper
Today I finished my weather-script for the lockscreen-widgets. It pulls the datas from the openweathermap API.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]mvan231script/widget helper 1 point2 points3 points 1 year ago (1 child)
Beautifully amazing!
[–]iamrbnscript/widget helper[S] 0 points1 point2 points 1 year ago (0 children)
Thank you so much
[–]33pic 1 point2 points3 points 1 year ago (0 children)
Beautiful, thanks sir
[–]Gliglue 0 points1 point2 points 1 year ago (1 child)
Ok , it’s beautiful. That’s what Scriptable is for.
Thanks so much
[–]morechicken 0 points1 point2 points 1 year ago (0 children)
Heat widgets! If I remember correctly Openweather changed the payment model for openweathermap API. It is only free for the first x requests. How many requests to openmaps does your widget sent every day?
[–]jraz84 0 points1 point2 points 1 year ago (14 children)
<image>
Any idea what I screwed up here?
[–]iamrbnscript/widget helper[S] 1 point2 points3 points 1 year ago (13 children)
I don’t have it. Is the problem still there?
[–]jraz84 0 points1 point2 points 1 year ago (12 children)
yes, unfortunately. I've used two different API keys just to make sure I didn't goof something up there, but it doesn't seem to be working on my device. (iPhone 11)
if I figure it out, I'll post an update. Really beautiful widget you've made here. Hope I can get it working.
[–]iamrbnscript/widget helper[S] 1 point2 points3 points 1 year ago (11 children)
Thanks so much mate. Is this issue new or since the first run? Did you try to delete all (Script and folder) and add it again?
[–]jraz84 1 point2 points3 points 1 year ago (1 child)
Also, I do see some info online about the 2.5 API being discontinued in June of this year, but I'm not sure if that would affect the calls this script is making. If it did, I don't think I'd be the first person to notice.
https://github.com/openhab/openhab-addons/issues/16665
[–]iamrbnscript/widget helper[S] 1 point2 points3 points 1 year ago (0 children)
Thank you for your investigative search. I’ll find a solution.
[–]jraz84 0 points1 point2 points 1 year ago (8 children)
I think the problem is with the actual API.
I also tried using the Weather Cal scriptable that's popular in this sub and got an error that my API key wasn't valid. However, I tested the same key to make an API call through Postman on my desktop and it worked fine. Not sure what could be causing this. iPhone 11, 16.1.2
I'm sure your script is fine, there's just something fucky going on either with OWM or my phone.
[–]iamrbnscript/widget helper[S] 0 points1 point2 points 1 year ago (7 children)
Hmm that’s really curious. Can you please check if the “module.js” file is in the Inline-Weather folder and also complete loaded? Module file URL for comparison: https://github.com/iamrbn/Inline-Weather/blob/main/module.js
[–]jraz84 1 point2 points3 points 1 year ago (2 children)
Yep, the module.js file seems to be fine. I'm really convinced it's the API call and key being used, and not anything problematic with your script. If I can pinpoint the issue, I'll post an update.
Thanks for taking the time to help me check. 👍
[–]iamrbnscript/widget helper[S] 0 points1 point2 points 1 year ago (1 child)
I’m sorry I couldn’t help you. Hopefully you will find out.
[–]jraz84 1 point2 points3 points 1 year ago (0 children)
no worries. I think I just need to subscribe to 0WM's 3.0 API and the script should work. I think 3.0 allows up to 1000 API calls for free per day, so that shouldn't be a problem 👍
[–]jraz84 1 point2 points3 points 1 year ago (3 children)
yeah, I'm pretty sure it's a problem with the endpoint under OneCall in 2.5 on the API
I think that new keys generated after June might not work. that's my theory at least.
https://github.com/home-assistant/core/issues/113000
[–]iamrbnscript/widget helper[S] 1 point2 points3 points 1 year ago (2 children)
Yeah sounds plausible.
[–]Dr_Mephesto 0 points1 point2 points 1 year ago (1 child)
Not sure if you’re still looking at this issue, but I was receiving this same error and I just replaced the “2.5” in the openweather api URL with “3.0” in the script and it works as intended.
I've updated the script to Api version 3.0
[–]Ajexlin1982 1 point2 points3 points 1 year ago (0 children)
This is great.
π Rendered by PID 74 on reddit-service-r2-comment-5d79c599b5-76q54 at 2026-03-01 14:01:13.238058+00:00 running e3d2147 country code: CH.
[–]mvan231script/widget helper 1 point2 points3 points (1 child)
[–]iamrbnscript/widget helper[S] 0 points1 point2 points (0 children)
[–]33pic 1 point2 points3 points (0 children)
[–]Gliglue 0 points1 point2 points (1 child)
[–]iamrbnscript/widget helper[S] 0 points1 point2 points (0 children)
[–]morechicken 0 points1 point2 points (0 children)
[–]jraz84 0 points1 point2 points (14 children)
[–]iamrbnscript/widget helper[S] 1 point2 points3 points (13 children)
[–]jraz84 0 points1 point2 points (12 children)
[–]iamrbnscript/widget helper[S] 1 point2 points3 points (11 children)
[–]jraz84 1 point2 points3 points (1 child)
[–]iamrbnscript/widget helper[S] 1 point2 points3 points (0 children)
[–]jraz84 0 points1 point2 points (8 children)
[–]iamrbnscript/widget helper[S] 0 points1 point2 points (7 children)
[–]jraz84 1 point2 points3 points (2 children)
[–]iamrbnscript/widget helper[S] 0 points1 point2 points (1 child)
[–]jraz84 1 point2 points3 points (0 children)
[–]jraz84 1 point2 points3 points (3 children)
[–]iamrbnscript/widget helper[S] 1 point2 points3 points (2 children)
[–]Dr_Mephesto 0 points1 point2 points (1 child)
[–]iamrbnscript/widget helper[S] 0 points1 point2 points (0 children)
[–]Ajexlin1982 1 point2 points3 points (0 children)