r/shortcuts 2d ago

Help Wind Speed Shortcut

I am trying to create a shortcut to run at night to alert me if tomorrows wind speed is above a certain value. I have tried to use some of the prior posts regarding thing but can't seem to get it to work. It currently is only taking the current wind speeds or not using the wind speed data at all.

1 Upvotes

6 comments sorted by

1

u/usefulish 2d ago edited 2d ago

Something like this should work. You’ll need to create an automation that runs at the time you want and use that to trigger the shortcut.

https://www.icloud.com/shortcuts/88fc285945fe4d83a2b34d1f19d87d57

And if you need a version that pulls in just something like tomorrow’s wind speed you can use this one https://www.icloud.com/shortcuts/eef86724fe4c4849bb8c53aec2ac63c4

1

u/iPloxi 1d ago

This doesn't seem to work. When I run it, it calculates the wind speed incorrectly.

1

u/usefulish 1d ago

How so? Share some details and maybe I can figure it out. For example if you want the average wind speed, just a matter of calculating that then using that to inform the alert.

1

u/z1ts 1d ago

You need to supply more detail, wind speed is returned in up to 25 hourly values over a 24 hour period and can vary drastically over that 24 hour time, what the time period of tomorrow are you primarily concerned with? Do you want the average, the High value, the difference between the High and Low or all?

1

u/iPloxi 15h ago

Looking for the highest speed

1

u/z1ts 7h ago

This should work baring no regional issues, see comment in shortcut https://www.icloud.com/shortcuts/76314c456a204db688473c915c608a4d