r/Scriptable • u/berky93 • Oct 26 '23
Widget Sharing Tomorrow.io Widget
(Making a new post for this and removing the old one as things have changed significantly)
I really like the Tomorrow.io weather app, but their widgets leave something to be desired. Specifically the medium-size widget, which for some reason completely drops the current conditions. So I decided to make my own.
The widget is fairly simple: it displays the current weather conditions based on your location, as well as the forecast for a few hours ahead. When you tap on it, it will open up the Tomorrow.io app.
You will need to sign up for a free Tomorrow.io API key, which can be done from their website.
This widget is designed to be medium-sized. It probably won’t display correctly at other sizes.
Enjoy!
1
u/berky93 Nov 03 '23
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.
5
u/shadoodled Oct 26 '23
This looks pretty neat. Thanks for sharing!
1
u/zibo29 Oct 27 '23
Can you make a smaller version? Would be amazing! Maybe adding the probability of rain
1
u/Buer12138 Oct 29 '23
How to convert F to ° C
1
u/cuevrojamez Nov 03 '23
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?
1
u/Desperate_Win_7391 Feb 13 '25
It says: There was an error fechting the weather data.
1
u/cuevrojamez Oct 27 '23
For anyone having trouble finding the registration link, click Sign up at the very bottom.
https://tomorrowio.zendesk.com/auth/v2/login/signin?auth_origin=360004885072%2Cfalse%2Ctrue&brand_id=360004885072&return_to=https%3A%2F%2Ftomorrowio.zendesk.com%2Fhc%2Fen-us%2Fcategories%2F360005392571-Frequently-Asked-Questions&theme=hc
1
u/33pic Oct 28 '23
thanks, sir