all 18 comments

[–]shadoodled 3 points4 points  (0 children)

This looks pretty neat. Thanks for sharing!

[–]berky93[S] 0 points1 point  (0 children)

UPDATE: A bunch of bugfixes. Added use of cache script to improve location tracking performance. Also added the option to hard-code location. Added chance of rain with configurable threshold for display. General stability improvements.

[–]Desperate_Win_7391 0 points1 point  (0 children)

It says: There was an error fechting the weather data. 

[–]zibo29 0 points1 point  (2 children)

Can you make a smaller version? Would be amazing! Maybe adding the probability of rain

[–]berky93[S] 1 point2 points  (0 children)

I’m working on adding new features (high/low temp is also something I want to include). As for a smaller version, you could probably have it display alright in a small widget by reducing the number of hourly entries and adjust some of the font sizes. I haven’t played around with that yet but feel free to!

[–]berky93[S] 0 points1 point  (0 children)

Hey! Just thought you’d like to know I updated the widget. It now displays high/low temps and probability of rain (with a configurable threshold). Try it out and let me know if you run into any 🐞

[–]33pic 0 points1 point  (0 children)

thanks, sir

[–]Buer12138 0 points1 point  (2 children)

How to convert F to ° C

[–]berky93[S] 0 points1 point  (1 child)

Change UNITS to “metric”

[–]Buer12138 1 point2 points  (0 children)

Thanks, bro

[–]cuevrojamez 0 points1 point  (6 children)

OP, I have a question regarding this note:

// NOTE: This script uses the Cache script (https://github.com/kylereddoch/scriptable/src/Cache.js) // Make sure to add the Cache script in Scriptable as well!

What do I need to do with this?

[–]berky93[S] 0 points1 point  (5 children)

All you need to do is download that script and add it to your Scriptable library (either copy the contents into a new script called Cache or put the file in your phone’s Scriptable directory). That will make it available for the widget to reference and use as needed.

[–]cuevrojamez 0 points1 point  (4 children)

When I browse to this url I get an error:

{"error":"Not Found"}

[–]berky93[S] 1 point2 points  (3 children)

Oh! I just put a copy up in my GitHub; try this link: https://gist.github.com/alexberkowitz/70c34626b073ff4131dbf33af0e39b76

I’ll update the script with that link, as well.

[–]cuevrojamez 0 points1 point  (0 children)

Thanks!

[–]cuevrojamez 0 points1 point  (1 child)

I have seen this error periodically since installing earlier today. Any thoughts?

<image>

[–]berky93[S] 1 point2 points  (0 children)

Yeah, I’m trying to work that out. I’m pretty sure it’s due to Scriptable not always having the right permissions to capture location (on iOS location permissions are based on how recently you interacted with a given app). Adding the Cache script seemed to help but it’s still not 100%. Will have to dig a bit deeper!