ShareShortcuts
Fork “SmartForecast”

Built something new on top of this Shortcut? Share it as a fork: it becomes a Shortcut of your own, which you manage, and both pages link to each other so dtd4204 gets credit.

  1. 1Get the Shortcut and change it in the Shortcuts app. Give it a name of its own.
  2. 2Share it from the Shortcuts app and copy the iCloud link.
  3. 3Come back here, paste the link and describe what is different, e.g. “Added a step that uses Apple Intelligence to personalise the text.”
Downloads
70K
Saved
1
Actions
32
Category
Weather
Version
1.11
Language
EN

Preview

A fast and clear Weather Forecast that works completely in the Widget, showing Fahrenheit and Celcius.

What's New

Version 1.11

Replaced the clock symbol at the 10-day-forecast, now showing the Day of the date instead of it

Version History
1.11 Mar 22, 2019

Replaced the clock symbol at the 10-day-forecast, now showing the Day of the date instead of it

1.0 Mar 19, 2019

First release

What it does

32 actions
  1. Comment
    RoutineHubUpdate Current Version: "1.11" RoutineHub ID: "2241" RoutineHubUpdate
  2. Text
  3. Set Variable
    Ort
  4. Text
  5. Set Variable
    Chart
  6. Get Current Weather
  7. Text
  8. Calculate
  9. Round Number
  10. Nothing
  11. Get Dictionary Value
  12. Get Variable
  13. Get Dictionary Value
  14. Text
  15. Get Weather Forecast
  16. Repeat with Each
  17. Text
  18. Add to Variable
  19. Text
  20. Text
  21. Set Name
  22. Get Variable
  23. Choose from List
  24. Get Weather Forecast
  25. Repeat with Each
  26. Text
  27. Add to Variable
  28. Text
  29. Text
  30. Set Name
  31. Get Variable
  32. Choose from List

View as code
Beta

Every action of this Shortcut written out as Cherri, a programming language for Shortcuts. Great for learning how it works.

#include 'actions/math'
#include 'actions/location'
#define color yellow
#define glyph cloudService

/*
RoutineHubUpdate

Current Version: "1.11"
RoutineHub ID: "2241"

RoutineHubUpdate
*/
@Ort = "nil"
@Chart = "{\\"0\\":\\"□□□□□□□□□□\\",\\"1\\":\\"■□□□□□□□□□\\",\\"2\\":\\"■■□□□□□□□□\\",\\"3\\":\\"■■■□□□□□□□\\",\\"4\\":\\"■■■■□□□□□□\\",\\"5\\":\\"■■■■■□□□□□\\",\\"6\\":\\"■■■■■■□□□□\\",\\"7\\":\\"■■■■■■■□□□\\",\\"8\\":\\"■■■■■■■■□□\\",\\"9\\":\\"■■■■■■■■■□\\",\\"10\\":\\"■■■■■■■■■■\\"}"
getCurrentWeather(@Ort)
round(0)
nothing()
// TODO: Get Variable not supported: Assign variable here to '@Chart'.
getWeatherForecast("Hourly")

for _ in nil {
	@WetterStdl += "BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8: ◴ {@RepeatItem['Date']}  •  ✹ {@RepeatItem['Temperature']} / {['Temperature']}  •  ☂︎ {@RepeatItem['Precipitation Chance']}%;;;\nORG;CHARSET=utf-8:;;;\nEND:VCARD"
}
const NamenKonfigurieren = setName(nil, "Stdl.vcf")
// TODO: Get Variable not supported: Assign variable here to 'NamenKonfigurieren'.
chooseFromList(nil)
getWeatherForecast("Daily")

for _ in nil {
	@WetterTgl += "BEGIN:VCARD\nVERSION:3.0\nN;CHARSET=utf-8:{@RepeatItem['Date']}  •  ✹ {@RepeatItem['Temperature']} / {@RepeatItem['Temperature']}  •  ☂︎ {@RepeatItem['Precipitation Chance']}%;;;\nORG;CHARSET=utf-8:;;;\nEND:VCARD"
}
const NamenKonfigurieren1 = setName(nil, "Tgl.vcf")
// TODO: Get Variable not supported: Assign variable here to 'NamenKonfigurieren1'.
chooseFromList(nil)
Open in Cherri Playground Decompiled with cherri 2.3.0 (GPL-2.0). May need small fixes before it compiles.

Ratings & Reviews

Write a Review
–
out of 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Advertisement

More by dtd4204

See All

You Might Also Like

See All
Advertisement